mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 18:04:09 +00:00
CVarConsole
This commit is contained in:
parent
e7c46ac658
commit
42e4a068bb
20 changed files with 1009 additions and 10 deletions
|
@ -25,6 +25,7 @@
|
|||
#include "CutsceneObject.h"
|
||||
#include "CutsceneShadow.h"
|
||||
#include "Clock.h"
|
||||
#include "VarConsole.h"
|
||||
|
||||
#ifdef DEBUGMENU
|
||||
SETTWEAKPATH("Shadows");
|
||||
|
@ -57,6 +58,9 @@ CStaticShadow CShadows::aStaticShadows [MAX_STATICSHADOWS];
|
|||
CPolyBunch *CShadows::pEmptyBunchList;
|
||||
CPermanentShadow CShadows::aPermanentShadows[MAX_PERMAMENTSHADOWS];
|
||||
|
||||
#ifndef MASTER
|
||||
bool gbCountPolysInShadow;
|
||||
#endif
|
||||
|
||||
void
|
||||
CShadows::Init(void)
|
||||
|
@ -154,6 +158,10 @@ CShadows::Init(void)
|
|||
{
|
||||
aPermanentShadows[i].m_nType = SHADOWTYPE_NONE;
|
||||
}
|
||||
|
||||
#ifndef MASTER
|
||||
VarConsole.Add("Count polys in shadow", &gbCountPolysInShadow, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue