mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 08:24:09 +00:00
CVarConsole
This commit is contained in:
parent
e7c46ac658
commit
42e4a068bb
20 changed files with 1009 additions and 10 deletions
|
@ -72,6 +72,7 @@
|
|||
#include "postfx.h"
|
||||
#include "custompipes.h"
|
||||
#include "screendroplets.h"
|
||||
#include "VarConsole.h"
|
||||
|
||||
GlobalScene Scene;
|
||||
|
||||
|
@ -133,6 +134,9 @@ bool gbNewRenderer;
|
|||
#define CLEARMODE (rwCAMERACLEARZ)
|
||||
#endif
|
||||
|
||||
bool bDisplayNumPfAtomicsRendered = false;
|
||||
bool bDisplayPosn = false;
|
||||
|
||||
void
|
||||
ValidateVersion()
|
||||
{
|
||||
|
@ -473,6 +477,11 @@ Initialise3D(void *param)
|
|||
{
|
||||
PUSH_MEMID(MEMID_RENDER);
|
||||
|
||||
#ifndef MASTER
|
||||
VarConsole.Add("Display number of atomics rendered", &bDisplayNumPfAtomicsRendered, true);
|
||||
VarConsole.Add("Display posn and framerate", &bDisplayPosn, true);
|
||||
#endif
|
||||
|
||||
if (RsRwInitialize(param))
|
||||
{
|
||||
POP_MEMID();
|
||||
|
@ -1008,7 +1017,6 @@ return;
|
|||
void
|
||||
DisplayGameDebugText()
|
||||
{
|
||||
static bool bDisplayPosn = false;
|
||||
static bool bDisplayCheatStr = false; // custom
|
||||
|
||||
#ifndef FINAL
|
||||
|
@ -1382,6 +1390,10 @@ RenderMenus(void)
|
|||
{
|
||||
FrontEndMenuManager.DrawFrontEnd();
|
||||
}
|
||||
#ifndef MASTER
|
||||
else
|
||||
VarConsole.Check();
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue