mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[saco] Implement cmdDebugLabels(...)
This commit is contained in:
parent
58263d0e96
commit
7565bc1bc1
@ -7,6 +7,7 @@ extern CDeathWindow *pDeathWindow;
|
|||||||
extern CNetGame *pNetGame;
|
extern CNetGame *pNetGame;
|
||||||
extern GAME_SETTINGS tSettings;
|
extern GAME_SETTINGS tSettings;
|
||||||
|
|
||||||
|
extern bool bShowDebugLabels;
|
||||||
|
|
||||||
void cmdDefaultCmdProc(PCHAR szCmd)
|
void cmdDefaultCmdProc(PCHAR szCmd)
|
||||||
{
|
{
|
||||||
@ -143,7 +144,7 @@ void cmdToggleObjectLight(PCHAR szCmd)
|
|||||||
|
|
||||||
void cmdDebugLabels(PCHAR szCmd)
|
void cmdDebugLabels(PCHAR szCmd)
|
||||||
{
|
{
|
||||||
// TODO: cmdDebugLabels
|
bShowDebugLabels = !bShowDebugLabels;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmdRcon(PCHAR szCmd)
|
void cmdRcon(PCHAR szCmd)
|
||||||
|
@ -25,6 +25,8 @@ CFontRender *pDefaultFont=0;
|
|||||||
|
|
||||||
HANDLE hInstance=0;
|
HANDLE hInstance=0;
|
||||||
|
|
||||||
|
bool bShowDebugLabels = false;
|
||||||
|
|
||||||
CGame *pGame=0;
|
CGame *pGame=0;
|
||||||
DWORD dwGraphicsLoop=0;
|
DWORD dwGraphicsLoop=0;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user