mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement/match CGame::SetTimeInMilliseconds(...)
This commit is contained in:
parent
8495b4eeba
commit
3987cb89b3
@ -21,13 +21,13 @@ HWND hWindowHandle;
|
||||
int unnamed_10150340[210];
|
||||
|
||||
IDirectInputDevice8 *pDirectInputMouse;
|
||||
|
||||
BYTE unnamed_10150688;
|
||||
int unnamed_1015068C;
|
||||
|
||||
float unnamed_10116718 = 2.0f;
|
||||
|
||||
BOOL ApplyPreGamePatches();
|
||||
bool GLOBAL_101506A4;
|
||||
|
||||
typedef void (*DrawZone_t)(float *fPos, DWORD *dwColor, BYTE byteMenu);
|
||||
|
||||
@ -1027,3 +1027,13 @@ int CGame::GetLoadedVehicleModelCount()
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
void CGame::SetTimeInMilliseconds(DWORD dwTimeInMs)
|
||||
{
|
||||
if(!field_69) {
|
||||
*(DWORD*)0xB7CB84 = dwTimeInMs & 0x3FFFFFFF;
|
||||
GLOBAL_101506A4 = true;
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
||||
|
@ -129,6 +129,7 @@ public:
|
||||
int GetMemoryUsedForStreaming();
|
||||
int GetMemoryAvailableForStreaming();
|
||||
int GetLoadedVehicleModelCount();
|
||||
void SetTimeInMilliseconds(DWORD dwTimeInMs);
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user