mirror of
https://github.com/halpz/re3.git
synced 2025-05-11 13:16:39 +03:00
misc stuff, mostly collision
This commit is contained in:
parent
bbb8a21fe1
commit
48cf8b6629
16 changed files with 389 additions and 46 deletions
31
src/main.cpp
31
src/main.cpp
|
@ -90,6 +90,18 @@ void PrintGameVersion();
|
|||
|
||||
RwRGBA gColourTop;
|
||||
|
||||
#ifndef DEBUG
|
||||
// This is the weirdest shit. In Debug this causes my game to crash in CPed::IsPedInControl shortly after level change
|
||||
void
|
||||
InitialiseGame(void)
|
||||
{
|
||||
LoadingScreen(nil, nil, "loadsc0");
|
||||
CGame::Initialise("DATA\\GTA3.DAT");
|
||||
}
|
||||
#else
|
||||
WRAPPER void InitialiseGame(void) { EAXJMP(0x48E7E0); }
|
||||
#endif
|
||||
|
||||
void
|
||||
Idle(void *arg)
|
||||
{
|
||||
|
@ -591,6 +603,25 @@ ResetLoadingScreenBar(void)
|
|||
NumberOfChunksLoaded = 0.0f;
|
||||
}
|
||||
|
||||
WRAPPER void
|
||||
LoadingIslandScreen(const char *levelName)
|
||||
{
|
||||
EAXJMP(0x48DA50);
|
||||
}
|
||||
|
||||
char*
|
||||
GetLevelSplashScreen(int level)
|
||||
{
|
||||
static char *splashScreens[4] = {
|
||||
nil,
|
||||
"splash1",
|
||||
"splash2",
|
||||
"splash3",
|
||||
};
|
||||
|
||||
return splashScreens[level];
|
||||
}
|
||||
|
||||
char*
|
||||
GetRandomSplashScreen(void)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue