Merge pull request #400 from erorcun/erorcun

CMenuManager done and CHud fixes
This commit is contained in:
erorcun 2020-04-12 00:57:46 +03:00 committed by GitHub
commit 207aebc46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 1580 additions and 807 deletions

View file

@ -21,6 +21,7 @@
#include "Particle.h"
#include "Console.h"
#include "Debug.h"
#include "Hud.h"
#include <list>
@ -342,6 +343,7 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Spawn", "Spawn Rhino", [](){ SpawnCar(MI_RHINO); });
DebugMenuAddCmd("Spawn", "Spawn Firetruck", [](){ SpawnCar(MI_FIRETRUCK); });
DebugMenuAddVarBool8("Debug", "Draw hud", (int8*)&CHud::m_Wants_To_Draw_Hud, nil);
DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil);
DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus);
DebugMenuAddCmd("Debug", "Fix Car", FixCar);