mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 18:56:38 +03:00
Fix linux warnings
This commit is contained in:
parent
c40fcdf39a
commit
c2ac6b3759
52 changed files with 165 additions and 70 deletions
|
@ -401,7 +401,7 @@ DestroySplashScreen(void)
|
|||
splashTxdId = -1;
|
||||
}
|
||||
|
||||
char*
|
||||
Const char*
|
||||
GetRandomSplashScreen(void)
|
||||
{
|
||||
int index;
|
||||
|
@ -424,10 +424,10 @@ GetRandomSplashScreen(void)
|
|||
return splashName;
|
||||
}
|
||||
|
||||
char*
|
||||
Const char*
|
||||
GetLevelSplashScreen(int level)
|
||||
{
|
||||
static char *splashScreens[4] = {
|
||||
static Const char *splashScreens[4] = {
|
||||
nil,
|
||||
"splash1",
|
||||
"splash2",
|
||||
|
@ -1278,7 +1278,7 @@ void TheGame(void)
|
|||
CGame::Initialise("DATA\\GTA3.DAT");
|
||||
#endif
|
||||
|
||||
char *splash = GetRandomSplashScreen(); // inlined here
|
||||
Const char *splash = GetRandomSplashScreen(); // inlined here
|
||||
|
||||
LoadingScreen("Starting Game", NULL, splash);
|
||||
|
||||
|
@ -1312,7 +1312,7 @@ void TheGame(void)
|
|||
if (FrontEndMenuManager.m_bWantToLoad)
|
||||
#endif
|
||||
{
|
||||
char *splash1 = GetLevelSplashScreen(CGame::currLevel);
|
||||
Const char *splash1 = GetLevelSplashScreen(CGame::currLevel);
|
||||
LoadSplash(splash1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue