[saco] Implement InitAnimNameHashes()

* Update `CGame::StartGame()`
This commit is contained in:
RD42 2024-07-11 19:09:33 +08:00
parent 67f4e5ba51
commit 5a6eb5a43a
3 changed files with 1854 additions and 0 deletions

1842
saco/game/animlist.cpp Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,8 @@
extern int iGtaVersion; extern int iGtaVersion;
void InitAnimNameHashes();
char *szGameTextMessage; char *szGameTextMessage;
int unnamed_10150340[210]; int unnamed_10150340[210];
@ -132,6 +134,13 @@ void CGame::InitGame()
void CGame::StartGame() void CGame::StartGame()
{ {
// TODO: CGame::StartGame() .text:100A08E0 // TODO: CGame::StartGame() .text:100A08E0
InitAnimNameHashes();
*(PDWORD)ADDR_ENTRY = 8;
*(PBYTE)ADDR_GAME_STARTED = 1;
*(PBYTE)ADDR_MENU = 0;
*(PBYTE)ADDR_STARTGAME = 0;
} }
//----------------------------------------------------------- //-----------------------------------------------------------

View File

@ -138,6 +138,9 @@
<File <File
RelativePath=".\game\aimstuff.h"> RelativePath=".\game\aimstuff.h">
</File> </File>
<File
RelativePath=".\game\animlist.cpp">
</File>
<File <File
RelativePath=".\game\audio.cpp"> RelativePath=".\game\audio.cpp">
</File> </File>