mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-15 17:44:09 +00:00
CVarConsole
This commit is contained in:
parent
e7c46ac658
commit
42e4a068bb
20 changed files with 1009 additions and 10 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "MemoryHeap.h"
|
||||
#include "Font.h"
|
||||
#include "Frontend.h"
|
||||
#include "VarConsole.h"
|
||||
|
||||
//--MIAMI: file done (possibly bugs)
|
||||
|
||||
|
@ -82,6 +83,12 @@ CEntity *pIslandLODbeachEntity;
|
|||
int32 islandLODmainland;
|
||||
int32 islandLODbeach;
|
||||
|
||||
#ifndef MASTER
|
||||
bool gbPrintStats;
|
||||
bool gbPrintVehiclesInMemory; // TODO
|
||||
bool gbPrintStreamingBuffer; // TODO
|
||||
#endif
|
||||
|
||||
bool
|
||||
CStreamingInfo::GetCdPosnAndSize(uint32 &posn, uint32 &size)
|
||||
{
|
||||
|
@ -237,8 +244,14 @@ CStreaming::Init2(void)
|
|||
pIslandLODbeachEntity = nil;
|
||||
islandLODmainland = -1;
|
||||
islandLODbeach = -1;
|
||||
CModelInfo::GetModelInfo("IslandLODmainland", &islandLODmainland);
|
||||
CModelInfo::GetModelInfo("IslandLODbeach", &islandLODbeach);
|
||||
CModelInfo::GetModelInfo("IslandLODmainland", &islandLODmainland);
|
||||
CModelInfo::GetModelInfo("IslandLODbeach", &islandLODbeach);
|
||||
|
||||
#ifndef MASTER
|
||||
VarConsole.Add("Streaming Debug", &gbPrintStats, true);
|
||||
VarConsole.Add("Streaming Vehicle Debug", &gbPrintVehiclesInMemory, true);
|
||||
VarConsole.Add("Printf Streaming Buffer contents", &gbPrintStreamingBuffer, true);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue