mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-23 06:57:31 +08:00
[saco] Implement InitAnimNameHashes()
* Update `CGame::StartGame()`
This commit is contained in:
parent
67f4e5ba51
commit
5a6eb5a43a
1842
saco/game/animlist.cpp
Normal file
1842
saco/game/animlist.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user