Skip to content

Commit

Permalink
Hud customization
Browse files Browse the repository at this point in the history
  • Loading branch information
FileEX committed Nov 1, 2024
1 parent 2c9f48c commit 9437a18
Show file tree
Hide file tree
Showing 14 changed files with 702 additions and 6 deletions.
1 change: 1 addition & 0 deletions Client/game_sa/CGameSA.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ CGameSA::CGameSA()
D3DResourceSystemSA::StaticSetHooks();
CVehicleSA::StaticSetHooks();
CCheckpointSA::StaticSetHooks();
CHudSA::StaticSetHooks();
}

CGameSA::~CGameSA()
Expand Down
1 change: 1 addition & 0 deletions Client/game_sa/CGameSA.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class CGameSA : public CGame
int32_t GetCountOfAllFileIDs() { return (*(char**)(0x5B8AFA + 2) - *(char**)(0x5B8B08 + 6)) / sizeof(CStreamingInfo); }

DWORD GetSystemTime() { return *(DWORD*)0xB7CB84; } // CTimer::m_snTimeInMilliseconds
int GetSystemFrameCounter() { return *(int*)0xB7CB4C; } // CTimer::m_FrameCounter

bool IsAtMenu() { return *(unsigned long*)0xBA677B != 0; } // FrontEndMenuManager + 0x33

Expand Down
Loading

0 comments on commit 9437a18

Please sign in to comment.