Added cleaned up structs and classes to proper header files.
This commit is contained in:
@@ -0,0 +1,300 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\common_local.h
|
||||
// Recovered logical types: 11
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 2946; PDB kind: enum.
|
||||
enum idCommonLocal::demoMode_t : __int32
|
||||
{
|
||||
DEMO_NONE = 0x0,
|
||||
DEMO_RECORD = 0x1,
|
||||
DEMO_RECORD_CLIENT = 0x2,
|
||||
DEMO_PLAY = 0x3,
|
||||
DEMO_TIMETRIAL = 0x4,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 2947; PDB kind: unknown.
|
||||
enum idCommonLocal::<unnamed_tag> : __int32
|
||||
{
|
||||
SS_FS_READ = 0x0,
|
||||
SS_FS_WRITE = 0x1,
|
||||
SS_FS_MAX = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22480; PDB kind: class.
|
||||
class __declspec(align(8)) idCommonLocal : public idCommon
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22499.
|
||||
virtual ~idCommonLocal();
|
||||
virtual void Init(int, const char **, const char *);
|
||||
virtual void Quit(int);
|
||||
virtual void Shutdown(int);
|
||||
virtual bool IsInitialized();
|
||||
virtual void BeginTerminationThread();
|
||||
virtual void EndTerminationThread();
|
||||
virtual void SyncAllBackgroundOperations(bool);
|
||||
virtual void Frame();
|
||||
virtual void InitTool(const toolFlag_t);
|
||||
virtual void UpdateTool(const toolFlag_t);
|
||||
virtual void GetToolReferenceMap(const toolFlag_t, idStr *);
|
||||
virtual void ActivateTool(bool);
|
||||
virtual void RegisterMapChangeListener(idMapChangeListener *);
|
||||
virtual void UnRegisterMapChangeListener(idMapChangeListener *);
|
||||
virtual void WriteConfigToFile(const char *);
|
||||
virtual void SetRefreshOnPrint(bool);
|
||||
virtual void PrintWarnings();
|
||||
virtual void ClearWarnings(const char *);
|
||||
virtual void UpdateConsoleDisplay(bool);
|
||||
virtual void UpdateLevelLoadPacifier(float, pacifierState_t, bool, bool);
|
||||
virtual int PlayLoadSound();
|
||||
virtual void SetLoadScreenInfo(const idStr *, const idStr *);
|
||||
virtual idPlayerProfile *GetProfileFromMasterLocalUser();
|
||||
virtual int GetMasterLocalUserInputDevice();
|
||||
virtual int GetMasterLocalUserPlayerId();
|
||||
virtual idLocalUser *GetMasterLocalUser();
|
||||
virtual void ResetPlayerInput(int);
|
||||
virtual void UpdateBotUserCmds(const int, const usercmd_t *);
|
||||
virtual bool IsMainMenuActive();
|
||||
virtual bool IsGamePaused();
|
||||
virtual bool IsInGame();
|
||||
virtual snapshotState_t SnapshotState();
|
||||
virtual void PrepareSnapshot(idSnapShot *, gameReturn_t *, idSnapShot *);
|
||||
virtual bool IsServer();
|
||||
virtual bool IsClient();
|
||||
virtual bool SnapshotsAreStalled();
|
||||
virtual bool IsMultiplayer();
|
||||
virtual bool IsToolActive();
|
||||
virtual bool AllowCheats();
|
||||
virtual void AddDialog(gameDialogMessages_t, dialogType_t, idSWFScriptFunction *, idSWFScriptFunction *, bool, const char *, int, bool, bool, bool);
|
||||
virtual void AddDynamicDialog(gameDialogMessages_t, const idStaticList<idSWFScriptFunction *,4> *, const idStaticList<idStrId,4> *, bool, idStrStatic<256>, bool, bool, bool);
|
||||
virtual void AddDialogIntVal(const char *, int);
|
||||
virtual void ClearDialogs(bool);
|
||||
virtual bool HasDialogMsg(gameDialogMessages_t, bool *);
|
||||
virtual void ClearDialog(gameDialogMessages_t, const char *, int);
|
||||
virtual bool IsDialogActive();
|
||||
virtual bool IsDialogPausing();
|
||||
virtual int GetRecentInputDevice();
|
||||
virtual int GetFocusDeviceNum();
|
||||
virtual void SetFocusDeviceNum(int);
|
||||
virtual int GetPauseMenuDeviceNum();
|
||||
virtual void SetPauseMenuDeviceNum(int);
|
||||
virtual bool GetAutosaveEnabled();
|
||||
virtual void EnableAutosaves(bool);
|
||||
virtual void ShowSaveIndicator(bool, bool);
|
||||
virtual idGame *Game();
|
||||
virtual idRenderWorld *RW();
|
||||
virtual idSoundWorld *SW();
|
||||
virtual void ExecuteMapChange(const idGameSpawnInfo *, idFile *);
|
||||
virtual void RecordPlayback(bool, const char *);
|
||||
virtual recordState_t GetRecordState();
|
||||
virtual idRegression *GetRegression();
|
||||
virtual void RecordSnapshotFile(idFile *, unsigned int);
|
||||
virtual void PlaySnapshotFile(idFile *, unsigned int);
|
||||
virtual void QueueSnapshotMemFile(idFile_Memory *, unsigned int);
|
||||
virtual void ClearQueuedSnapshotFile();
|
||||
virtual void PlayQueuedSnapshotFile();
|
||||
virtual void StopSnapshotFilePlayback();
|
||||
virtual void StopSnapshotFileRecord();
|
||||
virtual void CloseSnapshotFiles();
|
||||
virtual bool DemoPlaying();
|
||||
virtual bool DemoRecording();
|
||||
virtual bool TimeTrialPlaying();
|
||||
virtual bool TimeTrialRecording();
|
||||
virtual idFile *DetachActiveReadSnapshotFile();
|
||||
virtual idFile *DetachActiveWriteSnapshotFile();
|
||||
virtual idFile *GetActiveReadSnapshotFile();
|
||||
virtual idFile *GetActiveWriteSnapshotFile();
|
||||
virtual void NetReceiveReliable(int, idBitMsg *, int);
|
||||
virtual void NetReceiveSnapshot(idSnapShot *);
|
||||
virtual void NetReceiveUsercmds(idBitMsg *);
|
||||
virtual int NetWriteResources(idLZWCompressor *, int, int, bool);
|
||||
virtual void NetReadResources(idLZWCompressor *);
|
||||
virtual int GetSnapRate();
|
||||
virtual bool IsLosingConnectionToHost();
|
||||
virtual idRenderVideoOverlay *VideoOverlay();
|
||||
virtual void PurgeOverlays();
|
||||
virtual idFile *GetLogfile();
|
||||
virtual const idGame *Game_2();
|
||||
|
||||
idCommonLocal::idLogFileWriter logFileWriter;
|
||||
idCommonLocal::idWarningList warningList;
|
||||
idCommonLocal::idRefreshOnPrint refreshOnPrint;
|
||||
bool com_fullyInitialized;
|
||||
bool inConsoleCommand;
|
||||
bool insideUpdateScreen;
|
||||
production_t production;
|
||||
idSourceControlWrapper sourceControl;
|
||||
char savegameCheckpointFolder[64];
|
||||
bool askedToLoadFromCheckpoint;
|
||||
bool showedErrorLoadingGameDialog;
|
||||
unsigned int savegameCheckpointPreviousDeviceId;
|
||||
idGame *game;
|
||||
idFile *eventFile;
|
||||
recordState_t recordState;
|
||||
idRegressionLocal regression;
|
||||
bool readAsciiEvents;
|
||||
int eventFileVersion;
|
||||
idCommonLocal::demoMode_t demoMode;
|
||||
idCommonLocal::<unnamed_type_ssFileState> ssFileState[2];
|
||||
unsigned __int64 snapRate;
|
||||
unsigned __int64 actualRate;
|
||||
unsigned __int64 snapTime;
|
||||
unsigned __int64 snapTimeDelta;
|
||||
unsigned __int64 snapTimeWrite;
|
||||
unsigned __int64 snapCurrentTime;
|
||||
gameReturn_t snapCurrent;
|
||||
gameReturn_t snapPrevious;
|
||||
float snapCurrentResidual;
|
||||
float snapTimeBuffered;
|
||||
float effectiveSnapRate;
|
||||
int totalBufferedTime;
|
||||
int totalRecvTime;
|
||||
idFile_Memory *queuedSnapshotFile;
|
||||
unsigned int queuedSnapshotFileTag;
|
||||
bool shutdownExecuted;
|
||||
bool quitFlag;
|
||||
int quitExitCode;
|
||||
bool autosavesEnabled;
|
||||
int recentInputDevice;
|
||||
int focusDevice;
|
||||
int pauseMenuDevice;
|
||||
idGaugeMetric snapDeltaTime;
|
||||
bool purgeOverlays;
|
||||
bool preventOverlayPurge;
|
||||
idTerminationThread *terminationThread;
|
||||
int readSnapshotIndex;
|
||||
int writeSnapshotIndex;
|
||||
idArray<idSnapShot,16> receivedSnaps;
|
||||
float optimalPCTBuffer;
|
||||
float optimalTimeBuffered;
|
||||
float optimalTimeBufferedWindow;
|
||||
int userCmdFrame;
|
||||
idDebugGraph *graph;
|
||||
idDebugGraph *graphSnapRate;
|
||||
idSnapShot oldss;
|
||||
idList<idMapChangeListener *,5> mapChangeListeners;
|
||||
inputSettings_t inputSettings[4];
|
||||
idUserCmdMgr userCmdMgr;
|
||||
int levelLoadInProgress;
|
||||
idSWF *loadingGui;
|
||||
idRenderModelGui *guiModel;
|
||||
int lastPacifierSessionTime;
|
||||
int lastPacifierGuiTime;
|
||||
int lastPacifierTooltipTime;
|
||||
bool dialogWingstickActive;
|
||||
bool dialogPause;
|
||||
idSWF *dialog;
|
||||
idSWF *saveIndicator;
|
||||
idSubtitles_VideoOverlay *videoOverlay;
|
||||
idRenderModelGui *dialogGuiModel;
|
||||
idRenderModelGui *saveIndicatorGuiModel;
|
||||
bool dialogShowingSaveIndicatorRequested;
|
||||
int dialogShowingSaveIndicatorTimeRemaining;
|
||||
idStaticList<idDialogInfo,4> messageList;
|
||||
idStaticList<idLoadScreenInfo,16> loadScreenInfo;
|
||||
int startSaveTime;
|
||||
int stopSaveTime;
|
||||
bool dialogInUse;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22481; PDB kind: class.
|
||||
class __declspec(align(4)) idCommonLocal::idLogFileWriter : public idPrintListener
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22482.
|
||||
virtual ~idLogFileWriter();
|
||||
virtual void Print(const char *);
|
||||
|
||||
idFile *logFile;
|
||||
bool recursing;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22484; PDB kind: class.
|
||||
class idCommonLocal::idWarningList : public idPrintListener
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22485.
|
||||
virtual ~idWarningList();
|
||||
virtual void Print(const char *);
|
||||
|
||||
idList<idUniqueWarning,3> list;
|
||||
idHashIndex hash;
|
||||
idStrStatic<128> caption;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22486; PDB kind: class.
|
||||
class __declspec(align(4)) idCommonLocal::idRefreshOnPrint : public idPrintListener
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22487.
|
||||
virtual ~idRefreshOnPrint();
|
||||
virtual void Print(const char *);
|
||||
|
||||
idCommonLocal *cl;
|
||||
bool set;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22488; PDB kind: unknown.
|
||||
struct idCommonLocal::<unnamed_type_ssFileState>
|
||||
{
|
||||
idCompressor *compressor;
|
||||
idCompressor *compressor2;
|
||||
idFile *file;
|
||||
idSnapShot *ss;
|
||||
int resources;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23669; PDB kind: struct.
|
||||
struct idCommonLocal::DrawSnapshotMetrics::__l11::local_t
|
||||
{
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23671; PDB kind: class.
|
||||
class idCommonLocal::StartLevelLoad::__l19::idSWFScriptFunction_RandZeroToNMinusOneTipIndex : public idSWFScriptFunction_RefCounted
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23672.
|
||||
virtual ~idSWFScriptFunction_RandZeroToNMinusOneTipIndex();
|
||||
virtual idSWFScriptVar *Call(idSWFScriptVar *result, idSWFScriptObject *, const idSWFParmList *);
|
||||
virtual void AddRef();
|
||||
virtual void Release();
|
||||
virtual idSWFScriptObject *GetPrototype();
|
||||
virtual void SetPrototype(idSWFScriptObject *);
|
||||
|
||||
idSWF *gui;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23677; PDB kind: class.
|
||||
class idCommonLocal::ShowDialog::__l19::idSWFScriptFunction_Accept : public idSWFScriptFunction_RefCounted
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23678.
|
||||
virtual ~idSWFScriptFunction_Accept();
|
||||
virtual idSWFScriptVar *Call(idSWFScriptVar *result, idSWFScriptObject *, const idSWFParmList *);
|
||||
virtual void AddRef();
|
||||
virtual void Release();
|
||||
virtual idSWFScriptObject *GetPrototype();
|
||||
virtual void SetPrototype(idSWFScriptObject *);
|
||||
|
||||
gameDialogMessages_t msg;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23681; PDB kind: class.
|
||||
class __declspec(align(4)) idCommonLocal::UploadCrashDumps::__l2::idCDWriter : public idSysThread
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23682.
|
||||
virtual ~idCDWriter();
|
||||
virtual int Run();
|
||||
|
||||
__int64 writeTimeUS;
|
||||
__int64 writeTotal;
|
||||
void *data;
|
||||
__int64 size;
|
||||
idFile *file;
|
||||
bool result;
|
||||
};
|
||||
@@ -0,0 +1,59 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\compilestatus.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 993; PDB kind: enum.
|
||||
enum scFileStatus_t : __int32
|
||||
{
|
||||
SCF_NOTMANAGED = 0x0,
|
||||
SCF_NOTIMPORTED = 0x1,
|
||||
SCF_CHECKEDOUT = 0x2,
|
||||
SCF_CHECKEDOUT_PLUS = 0x3,
|
||||
SCF_CHECKEDOUT_BYOTHER = 0x4,
|
||||
SCF_CHECKEDOUT_BYOTHER_EXCLUSIVE = 0x5,
|
||||
SCF_CHECKEDIN = 0x6,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21610; PDB kind: class.
|
||||
class idCompileStatus
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21612.
|
||||
virtual ~idCompileStatus();
|
||||
virtual void SetDialog(struct CDialog *);
|
||||
virtual void UnsetDialog();
|
||||
virtual void Begin(const char *, bool, bool);
|
||||
virtual void End(bool);
|
||||
virtual void SetProgressRange(idCompileProgress *, int);
|
||||
virtual void SetProgress(idCompileProgress *, int);
|
||||
virtual void IncProgress(idCompileProgress *);
|
||||
virtual void Indent();
|
||||
virtual void Unindent();
|
||||
virtual void Print(const char *);
|
||||
virtual void Error(const char *);
|
||||
virtual void Cancel();
|
||||
virtual bool IsCompiling();
|
||||
virtual bool IsCancelled();
|
||||
virtual bool IsHandled();
|
||||
virtual bool HadErrors();
|
||||
virtual void SetStatusText(const char *);
|
||||
virtual void ShowRenderWindow(bool);
|
||||
virtual void MakeCurrentForRender();
|
||||
virtual void AddCompileProgress(idCompileProgress *);
|
||||
virtual void RemoveCompileProgress(idCompileProgress *);
|
||||
virtual int GetProgressRecordCount();
|
||||
virtual void StartConsoleListen();
|
||||
virtual void EndConsoleListen();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21613; PDB kind: class.
|
||||
class idCompileStatusHandler
|
||||
{
|
||||
public:
|
||||
idCompileStatus *compileStatus;
|
||||
};
|
||||
@@ -0,0 +1,155 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\console.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17642; PDB kind: class.
|
||||
class idConsole
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17648.
|
||||
virtual ~idConsole();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void InitGuiModel();
|
||||
virtual void LoadGraphics();
|
||||
virtual bool ProcessEvent(const sysEvent_t *, bool);
|
||||
virtual bool IsInitialized();
|
||||
virtual bool IsActive();
|
||||
virtual void ClearNotifyLines();
|
||||
virtual void ClearEditLine();
|
||||
virtual void Close(bool);
|
||||
virtual void Print(const char *);
|
||||
virtual void Dump(const char *, idStr *);
|
||||
virtual void Draw(bool, bool);
|
||||
virtual bool WasLastFullScreen();
|
||||
virtual idRenderModelGui *Gui();
|
||||
virtual void PrintOverlay(idOverlayHandle *, justify_t, float, float, const char *, ...);
|
||||
virtual void AddTimeRange(rangeId_t, const idColor *, unsigned __int64, unsigned __int64);
|
||||
virtual void SetTimeRangeLabel(rangeId_t, const char *);
|
||||
virtual void AddJobListTimeRange(rangeId_t, const idColor *, const idParallelJobList *, const unsigned __int64);
|
||||
virtual void BeginTimeRange(const rangeId_t, const idColor *);
|
||||
virtual idColor *GetTimeRangeColor(idColor *result, const rangeId_t);
|
||||
virtual idDebugGraph *CreateGraph(int);
|
||||
virtual void DestroyGraph(idDebugGraph *);
|
||||
virtual void AddSnapObject(const char *, int, int, float);
|
||||
virtual void ClearSnapshots();
|
||||
virtual void AddSnapshots(const idSnapShot *, const idSnapShot *, int, int, int, int);
|
||||
virtual void AddPresentableObject(const char *, int, bool);
|
||||
virtual void ClearPresentables();
|
||||
virtual void SetBitmapConsole(unsigned __int8 *, unsigned __int8 *, int, int, int);
|
||||
virtual void DrawBitmapConsole();
|
||||
virtual void MarkVBLTime();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23631; PDB kind: class.
|
||||
class idConsoleLocal : public idConsole, public idPrintListener
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23632.
|
||||
virtual ~idConsoleLocal();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void InitGuiModel();
|
||||
virtual void LoadGraphics();
|
||||
virtual bool ProcessEvent(const sysEvent_t *, bool);
|
||||
virtual bool IsInitialized();
|
||||
virtual bool IsActive();
|
||||
virtual void ClearNotifyLines();
|
||||
virtual void ClearEditLine();
|
||||
virtual void Close(bool);
|
||||
virtual void Print(const char *);
|
||||
virtual void Dump(const char *, idStr *);
|
||||
virtual void Draw(bool, bool);
|
||||
virtual bool WasLastFullScreen();
|
||||
virtual idRenderModelGui *Gui();
|
||||
virtual void PrintOverlay(idOverlayHandle *, justify_t, float, float, const char *, ...);
|
||||
virtual void AddTimeRange(rangeId_t, const idColor *, unsigned __int64, unsigned __int64);
|
||||
virtual void SetTimeRangeLabel(rangeId_t, const char *);
|
||||
virtual void AddJobListTimeRange(rangeId_t, const idColor *, const idParallelJobList *, const unsigned __int64);
|
||||
virtual void BeginTimeRange(const rangeId_t, const idColor *);
|
||||
virtual idColor *GetTimeRangeColor(idColor *result, const rangeId_t);
|
||||
virtual idDebugGraph *CreateGraph(int);
|
||||
virtual void DestroyGraph(idDebugGraph *);
|
||||
virtual void AddSnapObject(const char *, int, int, float);
|
||||
virtual void ClearSnapshots();
|
||||
virtual void AddSnapshots(const idSnapShot *, const idSnapShot *, int, int, int, int);
|
||||
virtual void AddPresentableObject(const char *, int, bool);
|
||||
virtual void ClearPresentables();
|
||||
virtual void SetBitmapConsole(unsigned __int8 *, unsigned __int8 *, int, int, int);
|
||||
virtual void DrawBitmapConsole();
|
||||
virtual void MarkVBLTime();
|
||||
|
||||
__int64 lastRangeMicroseconds[39];
|
||||
idColor lastRangeColor[39];
|
||||
int timeLogFirstFrame;
|
||||
idList<unsigned char,5> timeLog;
|
||||
bool keyCatching;
|
||||
idWarningCollector warningCollector;
|
||||
idRenderModelGui *gui;
|
||||
idArray<short,65537> text;
|
||||
idArray<short *,4096> lines;
|
||||
int currentLine;
|
||||
int lineOffset;
|
||||
int textOffset;
|
||||
int displayLine;
|
||||
int nextKeyEvent;
|
||||
float displayFrac;
|
||||
float finalFrac;
|
||||
int fracTime;
|
||||
bool lastFullscreen;
|
||||
bool isInitialized;
|
||||
idArray<int,4> times;
|
||||
idEditField consoleField;
|
||||
unsigned __int8 *bitmapConsoleBuffers[2];
|
||||
int bitmapConsoleBytePitch;
|
||||
int bitmapConsoleWidth;
|
||||
int bitmapConsoleHeight;
|
||||
idList<overlayText_t,5> overlayText;
|
||||
timeRange_t ranges[512];
|
||||
int currentRange;
|
||||
idStrBuffer<48> rangeLabel[39];
|
||||
idSysMutex mutexRange;
|
||||
idDebugGraph *graphFPS;
|
||||
idDebugGraph *graphTotalTime;
|
||||
idDebugGraph *graphRenderTime;
|
||||
idDebugGraph *graphGameTime;
|
||||
idDebugGraph *graphGPUTime;
|
||||
idStaticList<idDebugGraph *,32> debugGraphs;
|
||||
idRunningAverage avgFPS;
|
||||
idRunningAverage avgTotalTime;
|
||||
idRunningAverage avgRenderTime;
|
||||
idRunningAverage avgGameTime;
|
||||
idRunningAverage avgGPUTime;
|
||||
idList<showSoundDebugInfo_t,5> showSoundDebugInfoList;
|
||||
idStaticList<snapObject_t,128> snapObjects;
|
||||
float avgBytesChanged;
|
||||
int maxSnapObjectString;
|
||||
int lastDrawSnapshots;
|
||||
idSnapShot snapshots[2];
|
||||
int snapshotSeqs[2];
|
||||
int snapshotPeerNum;
|
||||
bool snapshotsLocked;
|
||||
int snapshotsMaxSize;
|
||||
idStaticList<presentableObject_t,32> presentableObjects;
|
||||
int maxPresentableObjectString;
|
||||
int lastDrawPresentables;
|
||||
unsigned __int64 lastVblMicroseconds;
|
||||
unsigned __int64 vblIntervalMicroseconds;
|
||||
unsigned __int64 rangeSyncTime;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23665; PDB kind: struct.
|
||||
struct idConsoleLocal::DrawSnapshots::__l18::local_t
|
||||
{
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23666; PDB kind: class.
|
||||
class idConsoleLocal::DrawComSpeeds::__l2::local_t
|
||||
{
|
||||
public:
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\consolehistory.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23111; PDB kind: class.
|
||||
class idConsoleHistory
|
||||
{
|
||||
public:
|
||||
int upPoint;
|
||||
int downPoint;
|
||||
int returnLine;
|
||||
int numHistory;
|
||||
idArray<idStr,64> historyLines;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\consolewatch.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 21980; PDB kind: class.
|
||||
class idConsoleWatch
|
||||
{
|
||||
public:
|
||||
idStr _watchString;
|
||||
int _drawX;
|
||||
int _drawY;
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\debuggraph.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1355; PDB kind: enum.
|
||||
enum idDebugGraph::fillMode_t : __int32
|
||||
{
|
||||
GRAPH_LINE = 0x0,
|
||||
GRAPH_FILL = 0x1,
|
||||
GRAPH_FILL_REVERSE = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 2620; PDB kind: enum.
|
||||
enum idDebugGraph::captionPos_t : __int32
|
||||
{
|
||||
CAP_NONE = 0x0,
|
||||
CAP_LEFT = 0x1,
|
||||
CAP_RIGHT = 0x2,
|
||||
CAP_TOP = 0x3,
|
||||
CAP_BOTTOM = 0x4,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17644; PDB kind: struct.
|
||||
struct idDebugGraph::graphPlot_t
|
||||
{
|
||||
float value;
|
||||
idColor color;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17647; PDB kind: class.
|
||||
class idDebugGraph
|
||||
{
|
||||
public:
|
||||
const idMaterial *white;
|
||||
idColor bgColor;
|
||||
idColor fontColor;
|
||||
idDebugGraph::fillMode_t mode;
|
||||
bool sideways;
|
||||
float border;
|
||||
idVec4 position;
|
||||
bool enable;
|
||||
bool clamp;
|
||||
idStr caption;
|
||||
idDebugGraph::captionPos_t capPos;
|
||||
idList<idDebugGraph::graphPlot_t,3> bars;
|
||||
idList<idDebugGraph::graphPlot_t,3> grid;
|
||||
idList<idStr,3> labels;
|
||||
};
|
||||
@@ -0,0 +1,100 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\debughud.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3207; PDB kind: enum.
|
||||
enum idDebugHUDLocal::debugTextFlags_t : __int32
|
||||
{
|
||||
DTFL_COLOR = 0x1,
|
||||
DTFL_SCALE = 0x2,
|
||||
DTFL_XY = 0x4,
|
||||
DTFL_RIGHTALIGN = 0x8,
|
||||
DTFL_PERSIST = 0x10,
|
||||
DTFL_BACKGROUNDCOLOR = 0x20,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17441; PDB kind: class.
|
||||
class idDebugHUD
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17442.
|
||||
virtual ~idDebugHUD();
|
||||
virtual void Render(idRenderModelGui *);
|
||||
virtual void Frame();
|
||||
virtual void Clear(bool);
|
||||
virtual void Printf(const char *, ...);
|
||||
virtual void Printf_2(int, int, const char *, char *);
|
||||
virtual void Printf_3(int, int, const char *, ...);
|
||||
virtual void Printf_4(int, int, const idColor *, const idColor *, const char *, char *);
|
||||
virtual void Printf_5(int, int, const idColor *, const idColor *, const char *, ...);
|
||||
virtual void Printf_6(int, int, const idColor *, const char *, char *);
|
||||
virtual void Printf_7(int, int, const idColor *, const char *, ...);
|
||||
virtual void Printf_8(int, int, const idColor *, const float, const char *, ...);
|
||||
virtual void Printf_9(int, int, const idColor *, const float, const int, const char *, char *);
|
||||
virtual void Printf_10(int, int, const idColor *, const idColor *, const float, const char *, ...);
|
||||
virtual void Printf_11(int, int, const idColor *, const idColor *, const float, const int, const char *, char *);
|
||||
virtual void AddPersistentText(int, int, const idColor *, const float, const char *, ...);
|
||||
virtual void RemovePersistentText(int, int);
|
||||
virtual void SetLeftAlign();
|
||||
virtual void SetRightAlign();
|
||||
virtual void SetTextPosition(const int, const int);
|
||||
virtual void SetTextScale(const float);
|
||||
virtual void SetTextColor(const idColor *);
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23611; PDB kind: struct.
|
||||
struct idDebugHUDLocal::debugText_t
|
||||
{
|
||||
idStr text;
|
||||
int len;
|
||||
int x;
|
||||
int y;
|
||||
idColor color;
|
||||
int flags;
|
||||
float scale;
|
||||
idColor backgroundColor;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23613; PDB kind: class.
|
||||
class idDebugHUDLocal : public idDebugHUD
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23614.
|
||||
virtual ~idDebugHUDLocal();
|
||||
virtual void Render(idRenderModelGui *);
|
||||
virtual void Frame();
|
||||
virtual void Clear(bool);
|
||||
virtual void Printf(const char *, ...);
|
||||
virtual void Printf_2(int, int, const char *, char *);
|
||||
virtual void Printf_3(int, int, const char *, ...);
|
||||
virtual void Printf_4(int, int, const idColor *, const idColor *, const char *, char *);
|
||||
virtual void Printf_5(int, int, const idColor *, const idColor *, const char *, ...);
|
||||
virtual void Printf_6(int, int, const idColor *, const char *, char *);
|
||||
virtual void Printf_7(int, int, const idColor *, const char *, ...);
|
||||
virtual void Printf_8(int, int, const idColor *, const float, const char *, ...);
|
||||
virtual void Printf_9(int, int, const idColor *, const float, const int, const char *, char *);
|
||||
virtual void Printf_10(int, int, const idColor *, const idColor *, const float, const char *, ...);
|
||||
virtual void Printf_11(int, int, const idColor *, const idColor *, const float, const int, const char *, char *);
|
||||
virtual void AddPersistentText(int, int, const idColor *, const float, const char *, ...);
|
||||
virtual void RemovePersistentText(int, int);
|
||||
virtual void SetLeftAlign();
|
||||
virtual void SetRightAlign();
|
||||
virtual void SetTextPosition(const int, const int);
|
||||
virtual void SetTextScale(const float);
|
||||
virtual void SetTextColor(const idColor *);
|
||||
|
||||
idList<idDebugHUDLocal::debugText_t,5> debugText;
|
||||
idList<idDebugHUDLocal::debugText_t,5> persistentText;
|
||||
idColor curColor;
|
||||
float curScale;
|
||||
int curX;
|
||||
int curY;
|
||||
int startX;
|
||||
bool alignRight;
|
||||
const idMaterial *white;
|
||||
};
|
||||
@@ -0,0 +1,61 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\debugmenu.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 21805; PDB kind: class.
|
||||
class idDebugMenu
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21806.
|
||||
virtual ~idDebugMenu();
|
||||
virtual bool Init();
|
||||
virtual bool IsActive();
|
||||
virtual bool HandleGuiEvent(const sysEvent_t *);
|
||||
virtual idRenderModelGui *Render();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23605; PDB kind: struct.
|
||||
struct idDebugMenuLocal::CEntry
|
||||
{
|
||||
bool valid;
|
||||
int shortcut;
|
||||
idStr title;
|
||||
idStr description;
|
||||
idStr cmd;
|
||||
idStr entityValid;
|
||||
idStr entityDescr;
|
||||
idVec4 color;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23607; PDB kind: class.
|
||||
class idDebugMenuLocal::CGroup
|
||||
{
|
||||
public:
|
||||
idStr title;
|
||||
idList<idDebugMenuLocal::CEntry,3> items;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23609; PDB kind: class.
|
||||
class idDebugMenuLocal : public idDebugMenu
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23610.
|
||||
virtual ~idDebugMenuLocal();
|
||||
virtual bool Init();
|
||||
virtual bool IsActive();
|
||||
virtual bool HandleGuiEvent(const sysEvent_t *);
|
||||
virtual idRenderModelGui *Render();
|
||||
|
||||
bool modKeyPressed;
|
||||
int selectedGroup;
|
||||
int selectedItem;
|
||||
int startItem;
|
||||
idRenderModelGui *guiModel;
|
||||
const idFont *font;
|
||||
idList<idDebugMenuLocal::CGroup,3> groups;
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\editfield.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23604; PDB kind: class.
|
||||
class idEditField
|
||||
{
|
||||
public:
|
||||
bool overstrikeMode;
|
||||
int cursor;
|
||||
int scroll;
|
||||
int widthInChars;
|
||||
idStr buffer;
|
||||
idAutoComplete autoComplete;
|
||||
};
|
||||
@@ -0,0 +1,96 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\entityinterface.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 15127; PDB kind: class.
|
||||
class idEntityInterface
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 15171.
|
||||
virtual ~idEntityInterface();
|
||||
virtual bool IsValid();
|
||||
virtual idGame *Game();
|
||||
virtual void GetWorldOrigin(idVec3 *);
|
||||
virtual void SetWorldOrigin(const idVec3 *);
|
||||
virtual void TranslateWorld(const idVec3 *);
|
||||
virtual void GetWorldAxis(idMat3 *);
|
||||
virtual void SetWorldAxis(const idMat3 *);
|
||||
virtual void UpdateVisuals();
|
||||
virtual bool GetWorldSpaceTagTransform(const char *, const char *, idVec3 *, idMat3 *);
|
||||
virtual void BindToJoint(idEntity *, idIndex<short,enum invalidJointIndex_t>, const bindFlags_t);
|
||||
virtual void Unbind();
|
||||
virtual idHandle<int,enum invalidAttachment_t,-1> *AttachRenderModel(idHandle<int,enum invalidAttachment_t,-1> *result, const char *, const char *, const char *);
|
||||
virtual bool DetachRenderModel(const idHandle<int,enum invalidAttachment_t,-1> *);
|
||||
virtual int GetNumAttachments();
|
||||
virtual idRenderModel *GetAttachment(const idHandle<int,enum invalidAttachment_t,-1> *);
|
||||
virtual bool RebindAttachment(const idHandle<int,enum invalidAttachment_t,-1> *, const tagData_t *);
|
||||
virtual void GetLocalOrigin(idVec3 *);
|
||||
virtual void SetLocalOrigin(const idVec3 *);
|
||||
virtual void GetLocalAxis(idMat3 *);
|
||||
virtual void SetLocalAxis(const idMat3 *);
|
||||
virtual void GetSpawnPosition(idVec3 *);
|
||||
virtual void SetSpawnPosition(const idVec3 *);
|
||||
virtual void GetSpawnOrientation(idMat3 *);
|
||||
virtual void SetSpawnOrientation(const idMat3 *);
|
||||
virtual void SetModel(idRenderModel *);
|
||||
virtual void SetModel_2(const char *);
|
||||
virtual void StopSound();
|
||||
virtual void SetColor(const idColor *);
|
||||
virtual idRenderModel *GetRenderEntity();
|
||||
virtual void DeleteEntity();
|
||||
virtual void GetViewAngles(idAngles *);
|
||||
virtual void SetViewAngles(const idVec3 *);
|
||||
virtual void GetEyePosition(idVec3 *);
|
||||
virtual idTreeAnimator *GetTreeAnimator(const int);
|
||||
virtual idAnimStack *GetAnimStack();
|
||||
virtual bool PlayAnim(const idMD6Anim *, const bool);
|
||||
virtual bool PlayVTR(const idDeclVoiceOver *, const int);
|
||||
virtual bool StopVTR();
|
||||
virtual bool IsAnimPlaying();
|
||||
virtual void ShowUncompressed(const bool);
|
||||
virtual void SetRemoveOriginTranslation(bool);
|
||||
virtual void SetRemoveOriginRotation(bool);
|
||||
virtual bool GetRemoveOriginTranslation();
|
||||
virtual bool GetRemoveOriginRotation();
|
||||
virtual void SetAnimTime(float);
|
||||
virtual float GetAnimTime();
|
||||
virtual int GetCurrentAnimFrame();
|
||||
virtual void AddReference();
|
||||
virtual void RemoveReference();
|
||||
virtual int GetReferenceCount();
|
||||
virtual idTypeInfoObject *GetTypeInfoObject();
|
||||
virtual const idDeclEntityDef *GetEntityDef();
|
||||
virtual idEntity *GetEntity();
|
||||
virtual const char *GetEntityName();
|
||||
virtual void SetLightColor(const idColor *);
|
||||
virtual void GetLightColor(idColor *);
|
||||
virtual void SetLightRadius(const idVec3 *);
|
||||
virtual void GetLightRadius(idVec3 *);
|
||||
virtual void SetCastShadows(const bool);
|
||||
virtual bool GetCastShadows();
|
||||
virtual void SetLightMaterial(const char *);
|
||||
virtual void SetLightSpotlight(const bool);
|
||||
virtual bool GetLightSpotlight();
|
||||
virtual void SetLightParallel(const bool);
|
||||
virtual bool GetLightParallel();
|
||||
virtual void SetLightCenter(const idVec3 *);
|
||||
virtual void GetLightCenter(idVec3 *);
|
||||
virtual void SetLightTarget(const idVec3 *);
|
||||
virtual void SetLightRight(const idVec3 *);
|
||||
virtual void SetLightUp(const idVec3 *);
|
||||
virtual void SetLightStart(const idVec3 *);
|
||||
virtual void SetLightEnd(const idVec3 *);
|
||||
virtual void SetLightClass(lightClass_t);
|
||||
virtual void ReInit();
|
||||
virtual void SetPreviewTime(int);
|
||||
virtual int GetPreviewTime();
|
||||
virtual void RestartPlayback();
|
||||
virtual void StopPlayback();
|
||||
virtual bool RespondsToEvent(const idEventDef *);
|
||||
virtual bool OnCustomFunctionCall();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\entityinterfaceobject.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17935; PDB kind: class.
|
||||
class idEntityInterfaceObject
|
||||
{
|
||||
public:
|
||||
idGameLock lock;
|
||||
idEntityInterface *iface;
|
||||
};
|
||||
@@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\fileresource.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 5027; PDB kind: struct.
|
||||
struct _DXFILELOADRESOURCE
|
||||
{
|
||||
HINSTANCE__ *hModule;
|
||||
const char *lpName;
|
||||
const char *lpType;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22454; PDB kind: class.
|
||||
class idFileResource : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22455.
|
||||
virtual ~idFileResource();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
unsigned int timestamp;
|
||||
unsigned int length;
|
||||
void *data;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 29898; PDB kind: typedef.
|
||||
typedef _DXFILELOADRESOURCE DXFILELOADRESOURCE;
|
||||
@@ -0,0 +1,209 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\game.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1277; PDB kind: unknown.
|
||||
enum idGame::<unnamed_tag> : __int32
|
||||
{
|
||||
GAMEFLAG_MAINMENU = 0x1,
|
||||
GAMEFLAG_TOOL = 0x2,
|
||||
GAMEFLAG_AAS = 0x4,
|
||||
GAMEFLAG_SCRIPT = 0x8,
|
||||
GAMEFLAG_AIGAMESTATE = 0x10,
|
||||
GAMEFLAG_PRELOAD = 0x20,
|
||||
GAMEFLAG_NOENTITIES = 0x40,
|
||||
GAMEFLAG_ALLLAYERS = 0x80,
|
||||
GAMEFLAG_MAIN = 0x100,
|
||||
GAMEFLAG_CLIENTONLY = 0x200,
|
||||
GAMEFLAG_DEFAULT = 0x1C,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 15128; PDB kind: class.
|
||||
class idGame
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 15170.
|
||||
virtual ~idGame();
|
||||
virtual int GetGameVersion();
|
||||
virtual void MinimalCleanup();
|
||||
virtual bool IsGameActive();
|
||||
virtual idRenderWorld *GetRenderWorld();
|
||||
virtual idSoundWorld *GetSoundWorld();
|
||||
virtual idSoundWorld *GetMenuSoundWorld();
|
||||
virtual const char *GetMapName();
|
||||
virtual const idGameSpawnInfo *GetGameSpawnInfo();
|
||||
virtual void LoadDevMenuDataGame();
|
||||
virtual idPlayerProfile *CreatePlayerProfile(int);
|
||||
virtual void Playtest_SaveAndClear();
|
||||
virtual void Playtest_SaveNoClear();
|
||||
virtual void Playtest_CreateMeta();
|
||||
virtual void GetTransitionInformation(idList<idStr,5> *);
|
||||
virtual void RunFrame(idUserCmdMgr *, gameReturn_t *, bool);
|
||||
virtual void UpdateAimAssist(const int, idAngles *);
|
||||
virtual void UpdateWeaponKick(const int, idAngles *);
|
||||
virtual void NetReceiveReliable(int, idBitMsg *, int);
|
||||
virtual bool HandleGuiEvent(const sysEvent_t *, int);
|
||||
virtual bool LoadGame(const char *);
|
||||
virtual bool SaveGame(const char *, bool, bool);
|
||||
virtual bool NextMap(const idCmdArgs *);
|
||||
virtual bool GetGameStartInfoFromSaveLoadParms(idSaveLoadParms *, idFile **, idGameSpawnInfo *);
|
||||
virtual void OnSaveCompleted(idSaveLoadParms *);
|
||||
virtual void OnLoadCompleted(idSaveLoadParms *, const idStr *);
|
||||
virtual void OnEnumerationCompleted(idSaveLoadParms *);
|
||||
virtual void OnDeleteCompleted(idSaveLoadParms *);
|
||||
virtual void LoadMostRecentGame(idSWF *);
|
||||
virtual idFile_SaveGame *GetCheckpointInfoFile();
|
||||
virtual idFile_SaveGame *GetMapStartInfoFile();
|
||||
virtual void SaveCheckpointInfo(idFile *, const idGameSpawnInfo *);
|
||||
virtual void LoadCheckpointInfo(idFile *, idGameSpawnInfo *);
|
||||
virtual void CancelLevelTransition();
|
||||
virtual void RestartPassMainMenu(const idCmdArgs *);
|
||||
virtual idGameTimeManager *GetGameTimeManager();
|
||||
virtual int GetGameHz(const gameTimeType_t);
|
||||
virtual int GetGameFrame();
|
||||
virtual void SetGameMs(const int);
|
||||
virtual int GetGameMs(const gameTimeType_t);
|
||||
virtual int GetPreviousGameMs(const gameTimeType_t);
|
||||
virtual int GetGameMsPerFrame(const gameTimeType_t);
|
||||
virtual float GetGameSecPerFrame(const gameTimeType_t);
|
||||
virtual float GetRealMsPerFrame(const gameTimeType_t);
|
||||
virtual float GetRealSecPerFrame(const gameTimeType_t);
|
||||
virtual int GetGameMsPerRealSec();
|
||||
virtual void SetServerGameTimeMs(const int);
|
||||
virtual int GetServerGameTimeMs();
|
||||
virtual void SetSSTimes(int, int);
|
||||
virtual int GetSSEndTime();
|
||||
virtual int GetSSStartTime();
|
||||
virtual void SetLastInputTime(int);
|
||||
virtual int GetLastInputTime();
|
||||
virtual void Shell_Init(const char *);
|
||||
virtual void Shell_Show(bool);
|
||||
virtual void Shell_CreateMenu(bool);
|
||||
virtual struct idMenuManager_Shell *Shell_GetShell();
|
||||
virtual bool Shell_IsActive();
|
||||
virtual bool Shell_HandleGuiEvent(const sysEvent_t *);
|
||||
virtual idRenderModelGui *Shell_Render();
|
||||
virtual void Shell_ResetMenu();
|
||||
virtual void Shell_SyncWithSession();
|
||||
virtual bool Shell_CanSave(const bool);
|
||||
virtual void Shell_ShowNewContentAvailable();
|
||||
virtual void Shell_RestartMenuMusic();
|
||||
virtual void Shell_AddSaveGameItem(const idSaveGameDetails *);
|
||||
virtual void Shell_WarningShown(const bool);
|
||||
virtual void Shell_RefreshMapNameForLoadScreen();
|
||||
virtual void Shell_ClearBenchmarkCheck();
|
||||
virtual void Shell_SetupMultiplayerMenu();
|
||||
virtual bool Shell_IgnoreSplitScreenEvent(const sysEvent_t *);
|
||||
virtual bool GetGamePaused();
|
||||
virtual void WriteToSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual void ReadFromSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual bool ForceNonDeferred();
|
||||
virtual void SetInterpolation(const float, const int, const int, const int);
|
||||
virtual const netInterpolationInfo_t *GetInterpolationInfo();
|
||||
virtual void OnCloseSnapshot();
|
||||
virtual idRenderModelGui *RenderLocalViewForPlayer(int, int, const renderView_t *, idRenderWorld *);
|
||||
virtual idRenderModelGui *RenderLocalViewForGame(int, idRenderWorld *);
|
||||
virtual bool IsPlayerControlInhibited(int);
|
||||
virtual int GenerateInputToPlayerIndexRouting();
|
||||
virtual int GetPlayerIndexFromInputDevice(int);
|
||||
virtual int GetPlayerPresentableCmds(int, usercmd_t **, const int);
|
||||
virtual void GetPlayerPredictionData(int, usercmd_t **, const int, bool *);
|
||||
virtual void SmoothIncomingUserCmds(usercmd_t *, usercmd_t *, const int);
|
||||
virtual const idList<idViewCallbacks *,5> *GetViewCallbacks();
|
||||
virtual void DrawClientGameDebugHUD();
|
||||
virtual const idTypeInfoTools *GetTypeInfoTools();
|
||||
virtual void GetEntityEditState(idEntity *, idTypeInfoFile *, bool);
|
||||
virtual void SetEntityEditState(idEntity *, idTypeInfoFile *, bool);
|
||||
virtual void GetLayerList(idList<idStr,5> *);
|
||||
virtual void AddNewLayer(idDecl *, const char *);
|
||||
virtual idEntityInterface *AllocEntityInterface(idEntity *);
|
||||
virtual void FreeEntityInterface(idEntityInterface *);
|
||||
virtual void UnloadDLL();
|
||||
virtual void LoadDLL();
|
||||
virtual void GetSuperScriptObjectNames(idList<idStr,5> *);
|
||||
virtual const classMetaDataInfo_t *GetSuperScriptMetaDataForType(const char *);
|
||||
virtual void GetScriptObjectNames(idList<idStr,5> *);
|
||||
virtual bool LoadScriptForMapFile(const char *);
|
||||
virtual bool CompileScriptText(const char *, const char *, const bool, const bool);
|
||||
virtual idStr *GetScriptCompileError(idStr *result);
|
||||
virtual bool FunctionExists(const char *, const char *);
|
||||
virtual bool TracePoint(trace_t *, const idVec3 *, const idVec3 *, int, const idEntity *);
|
||||
virtual void GetBinaryAnimationStates(idList<idTreeAnimator *,5> *, idList<idStr,5> *);
|
||||
virtual idRenderLight *GetEntityRenderLight(idEntity *);
|
||||
virtual const idDeclEnv *GetEnvSettings();
|
||||
virtual bool AF_SpawnEntity(const char *);
|
||||
virtual void AF_UpdateEntities(const char *);
|
||||
virtual void AF_UndoChanges();
|
||||
virtual void ClearEntitySelection();
|
||||
virtual int GetSelectedEntities(idEntity **, int);
|
||||
virtual void AddSelectedEntity(idEntity *);
|
||||
virtual void TriggerSelected();
|
||||
virtual idEntity *CreateClass(const char *);
|
||||
virtual bool CanCreateClass(const char *);
|
||||
virtual void InitEntityWithDef(idEntity *, const idDeclEntityDef *, const idTypeInfoSettings *);
|
||||
virtual idEntity *CreateEntityFromDef(const idDeclEntityDef *, const idTypeInfoSettings *);
|
||||
virtual idEntity *SpawnEntityFromDef(const idDeclEntityDef *, int, int, int);
|
||||
virtual idEntity *RespawnEntityFromDef(idEntity *, const idDeclEntityDef *);
|
||||
virtual bool ActivateEntityFromEditor(idEntity *);
|
||||
virtual void SpawnEntity(idEntity *, int, int, int);
|
||||
virtual void DeleteEntity(idEntity *);
|
||||
virtual void DeleteEntityAndSubEntities(idEntity *);
|
||||
virtual idEntity *FindEntity(const char *);
|
||||
virtual idEntity *GetEntity(int);
|
||||
virtual const char *GetEntityName(idEntity *);
|
||||
virtual void SetEntityName(idEntity *, const char *);
|
||||
virtual const char *GetEntityType(idEntity *);
|
||||
virtual const char *GetUniqueEntityName(const char *);
|
||||
virtual idEntity *FindEntityUsingClass(idEntity *, const char *);
|
||||
virtual void EntityGetOrigin(idEntity *, idVec3 *);
|
||||
virtual void EntitySetOrigin(idEntity *, const idVec3 *);
|
||||
virtual void EntitySetAxis(idEntity *, const idMat3 *);
|
||||
virtual void EntityGetViewAngles(idEntity *, idAngles *);
|
||||
virtual void EntityGetEyePosition(idEntity *, idVec3 *);
|
||||
virtual void EntitySetViewPosition(idEntity *, const idVec3 *, const idAngles *);
|
||||
virtual void EntityTranslate(idEntity *, const idVec3 *, bool);
|
||||
virtual void EntityUpdateVisuals(idEntity *);
|
||||
virtual void EntityUpdateModifiedProperties(idEntity *);
|
||||
virtual bool EntityGetSoundDistances(idEntity *, float *, float *);
|
||||
virtual void EntityStopSound(idEntity *);
|
||||
virtual const idColor *EntityGetColor(const idColor *result, idEntity *);
|
||||
virtual idSoundEmitter *EntityGetSoundEmitter(idEntity *);
|
||||
virtual idRenderModel *EntityGetRenderModel(idEntity *);
|
||||
virtual bool EntityIsNameUnique(const char *, const idEntity *);
|
||||
virtual const idVec3 *EntityGetSpawnPosition(idEntity *);
|
||||
virtual const idMat3 *EntityGetSpawnOrientation(idEntity *);
|
||||
virtual idVec3 *EntityGetScale(idVec3 *result, idEntity *);
|
||||
virtual void EntitySetScale(idEntity *, const idVec3 *);
|
||||
virtual idStr *EntitySetScriptObject(idStr *result, idEntity *, const char *, int, bool);
|
||||
virtual bool EntityIsHidden(idEntity *);
|
||||
virtual const idDeclEntityDef *EntityGetEntityDef(idEntity *);
|
||||
virtual void MapAddEntity(idEntity *);
|
||||
virtual void MapUpdateEntity(idEntity *, bool, idList<idStr,5> *);
|
||||
virtual void MapRemoveEntity(const char *);
|
||||
virtual bool MapSave(const char *, bool);
|
||||
virtual bool MapSaveReference(const char *, const char *, bool);
|
||||
virtual idMapEntity *MapFindEntity(const char *);
|
||||
virtual idMapEntity *MapFindEntity_2(idEntity *);
|
||||
virtual void MapGetEntityLayers(idList<idStr,5> *);
|
||||
virtual void MapSetEntityReferenceId(idEntity *, const char *);
|
||||
virtual idMapFile *GetLevelMap();
|
||||
virtual void UpdateMapFileEntity(idMapFile *, idEntity *, bool, idList<idStr,5> *);
|
||||
virtual int SP_BuildGuardSplineList(idVec3, float, float *);
|
||||
virtual void SP_GetGuardSplineEntry(int, idStr *, float *, float *);
|
||||
virtual float SP_GetSplineLength(idStr);
|
||||
virtual const enumTypeInfo_t *SS_FindEnumTypeInfo(const char *);
|
||||
virtual int GetGameDifficulty();
|
||||
virtual void GetGameDifficultySettingsForTransition(int *, int *);
|
||||
virtual void SetGameDifficultySettingsForTransition(const int, const int);
|
||||
virtual void SetPlayerLoadedGameDifficulty(bool);
|
||||
virtual bool GetPlayerLoadedGameDifficulty();
|
||||
virtual __int64 GetMinSaveStorageRequired(bool);
|
||||
virtual void OnReloadDecls();
|
||||
virtual bool GetConsoleUsed();
|
||||
virtual void SetConsoleUsed(const bool);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\gamesystem.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18667; PDB kind: class.
|
||||
class idGameSystem
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18668.
|
||||
virtual ~idGameSystem();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual bool AllocGame(idGame **, const idGameSpawnInfo *, idFile *);
|
||||
virtual void FreeGame(idGame **);
|
||||
virtual void MinimalGameCleanup(idGame **);
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18679; PDB kind: class.
|
||||
class idGameSystemLocal : public idGameSystem
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18680.
|
||||
virtual ~idGameSystemLocal();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual bool AllocGame(idGame **, const idGameSpawnInfo *, idFile *);
|
||||
virtual void FreeGame(idGame **);
|
||||
virtual void MinimalGameCleanup(idGame **);
|
||||
|
||||
idStaticList<idFile_SaveGame *,2> retainedFiles;
|
||||
mgHttpServer *httpServer;
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\gametimemanager.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 14287; PDB kind: class.
|
||||
class idGameTimeManager
|
||||
{
|
||||
public:
|
||||
int framenum;
|
||||
int hz[2];
|
||||
int ticks[2];
|
||||
float timeDelta[2];
|
||||
int time[2];
|
||||
int previousTime[2];
|
||||
float scale[2];
|
||||
idInterpolate<float> timeScaleExtrapolation[2];
|
||||
slowmoParms_t slowmoParms;
|
||||
unsigned __int8 : 7;
|
||||
__int8 inSlowMotion : 1;
|
||||
bool useInterpolator;
|
||||
float slowmoDuration;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14290; PDB kind: class.
|
||||
class idGameTimeManagerPtr
|
||||
{
|
||||
public:
|
||||
idGameTimeManager *gameTimeManager;
|
||||
};
|
||||
@@ -0,0 +1,183 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\keyinput.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1113; PDB kind: enum.
|
||||
enum keyNum_t : __int32
|
||||
{
|
||||
K_NONE = 0x0,
|
||||
K_ESCAPE = 0x1,
|
||||
K_1 = 0x2,
|
||||
K_2 = 0x3,
|
||||
K_3 = 0x4,
|
||||
K_4 = 0x5,
|
||||
K_5 = 0x6,
|
||||
K_6 = 0x7,
|
||||
K_7 = 0x8,
|
||||
K_8 = 0x9,
|
||||
K_9 = 0xA,
|
||||
K_0 = 0xB,
|
||||
K_MINUS = 0xC,
|
||||
K_EQUALS = 0xD,
|
||||
K_BACKSPACE = 0xE,
|
||||
K_TAB = 0xF,
|
||||
K_Q = 0x10,
|
||||
K_W = 0x11,
|
||||
K_E = 0x12,
|
||||
K_R = 0x13,
|
||||
K_T = 0x14,
|
||||
K_Y = 0x15,
|
||||
K_U = 0x16,
|
||||
K_I = 0x17,
|
||||
K_O = 0x18,
|
||||
K_P = 0x19,
|
||||
K_LBRACKET = 0x1A,
|
||||
K_RBRACKET = 0x1B,
|
||||
K_ENTER = 0x1C,
|
||||
K_LCTRL = 0x1D,
|
||||
K_A = 0x1E,
|
||||
K_S = 0x1F,
|
||||
K_D = 0x20,
|
||||
K_F = 0x21,
|
||||
K_G = 0x22,
|
||||
K_H = 0x23,
|
||||
K_J = 0x24,
|
||||
K_K = 0x25,
|
||||
K_L = 0x26,
|
||||
K_SEMICOLON = 0x27,
|
||||
K_APOSTROPHE = 0x28,
|
||||
K_GRAVE = 0x29,
|
||||
K_LSHIFT = 0x2A,
|
||||
K_BACKSLASH = 0x2B,
|
||||
K_Z = 0x2C,
|
||||
K_X = 0x2D,
|
||||
K_C = 0x2E,
|
||||
K_V = 0x2F,
|
||||
K_B = 0x30,
|
||||
K_N = 0x31,
|
||||
K_M = 0x32,
|
||||
K_COMMA = 0x33,
|
||||
K_PERIOD = 0x34,
|
||||
K_SLASH = 0x35,
|
||||
K_RSHIFT = 0x36,
|
||||
K_KP_STAR = 0x37,
|
||||
K_LALT = 0x38,
|
||||
K_SPACE = 0x39,
|
||||
K_CAPSLOCK = 0x3A,
|
||||
K_F1 = 0x3B,
|
||||
K_F2 = 0x3C,
|
||||
K_F3 = 0x3D,
|
||||
K_F4 = 0x3E,
|
||||
K_F5 = 0x3F,
|
||||
K_F6 = 0x40,
|
||||
K_F7 = 0x41,
|
||||
K_F8 = 0x42,
|
||||
K_F9 = 0x43,
|
||||
K_F10 = 0x44,
|
||||
K_PAUSE = 0x45,
|
||||
K_SCROLL = 0x46,
|
||||
K_KP_7 = 0x47,
|
||||
K_KP_8 = 0x48,
|
||||
K_KP_9 = 0x49,
|
||||
K_KP_MINUS = 0x4A,
|
||||
K_KP_4 = 0x4B,
|
||||
K_KP_5 = 0x4C,
|
||||
K_KP_6 = 0x4D,
|
||||
K_KP_PLUS = 0x4E,
|
||||
K_KP_1 = 0x4F,
|
||||
K_KP_2 = 0x50,
|
||||
K_KP_3 = 0x51,
|
||||
K_KP_0 = 0x52,
|
||||
K_KP_DOT = 0x53,
|
||||
K_F11 = 0x57,
|
||||
K_F12 = 0x58,
|
||||
K_F13 = 0x64,
|
||||
K_F14 = 0x65,
|
||||
K_F15 = 0x66,
|
||||
K_KANA = 0x70,
|
||||
K_CONVERT = 0x79,
|
||||
K_NOCONVERT = 0x7B,
|
||||
K_YEN = 0x7D,
|
||||
K_KP_EQUALS = 0x8D,
|
||||
K_CIRCUMFLEX = 0x90,
|
||||
K_AT = 0x91,
|
||||
K_COLON = 0x92,
|
||||
K_UNDERLINE = 0x93,
|
||||
K_KANJI = 0x94,
|
||||
K_STOP = 0x95,
|
||||
K_AX = 0x96,
|
||||
K_UNLABELED = 0x97,
|
||||
K_KP_ENTER = 0x9C,
|
||||
K_RCTRL = 0x9D,
|
||||
K_KP_COMMA = 0xB3,
|
||||
K_KP_SLASH = 0xB5,
|
||||
K_PRINTSCREEN = 0xB7,
|
||||
K_RALT = 0xB8,
|
||||
K_NUMLOCK = 0xC5,
|
||||
K_HOME = 0xC7,
|
||||
K_UPARROW = 0xC8,
|
||||
K_PGUP = 0xC9,
|
||||
K_LEFTARROW = 0xCB,
|
||||
K_RIGHTARROW = 0xCD,
|
||||
K_END = 0xCF,
|
||||
K_DOWNARROW = 0xD0,
|
||||
K_PGDN = 0xD1,
|
||||
K_INS = 0xD2,
|
||||
K_DEL = 0xD3,
|
||||
K_LWIN = 0xDB,
|
||||
K_RWIN = 0xDC,
|
||||
K_APPS = 0xDD,
|
||||
K_POWER = 0xDE,
|
||||
K_SLEEP = 0xDF,
|
||||
K_JOY1 = 0x100,
|
||||
K_JOY2 = 0x101,
|
||||
K_JOY3 = 0x102,
|
||||
K_JOY4 = 0x103,
|
||||
K_JOY5 = 0x104,
|
||||
K_JOY6 = 0x105,
|
||||
K_JOY7 = 0x106,
|
||||
K_JOY8 = 0x107,
|
||||
K_JOY9 = 0x108,
|
||||
K_JOY10 = 0x109,
|
||||
K_JOY11 = 0x10A,
|
||||
K_JOY12 = 0x10B,
|
||||
K_JOY13 = 0x10C,
|
||||
K_JOY14 = 0x10D,
|
||||
K_JOY15 = 0x10E,
|
||||
K_JOY16 = 0x10F,
|
||||
K_JOY_STICK1_UP = 0x110,
|
||||
K_JOY_STICK1_DOWN = 0x111,
|
||||
K_JOY_STICK1_LEFT = 0x112,
|
||||
K_JOY_STICK1_RIGHT = 0x113,
|
||||
K_JOY_STICK2_UP = 0x114,
|
||||
K_JOY_STICK2_DOWN = 0x115,
|
||||
K_JOY_STICK2_LEFT = 0x116,
|
||||
K_JOY_STICK2_RIGHT = 0x117,
|
||||
K_JOY_TRIGGER1 = 0x118,
|
||||
K_JOY_TRIGGER2 = 0x119,
|
||||
K_JOY_DPAD_UP = 0x11A,
|
||||
K_JOY_DPAD_DOWN = 0x11B,
|
||||
K_JOY_DPAD_LEFT = 0x11C,
|
||||
K_JOY_DPAD_RIGHT = 0x11D,
|
||||
K_MOUSE1 = 0x11E,
|
||||
K_MOUSE2 = 0x11F,
|
||||
K_MOUSE3 = 0x120,
|
||||
K_MOUSE4 = 0x121,
|
||||
K_MOUSE5 = 0x122,
|
||||
K_MOUSE6 = 0x123,
|
||||
K_MOUSE7 = 0x124,
|
||||
K_MOUSE8 = 0x125,
|
||||
K_MWHEELDOWN = 0x126,
|
||||
K_MWHEELUP = 0x127,
|
||||
K_LAST_KEY = 0x128,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21521; PDB kind: class.
|
||||
class idKeyInput
|
||||
{
|
||||
public:
|
||||
};
|
||||
@@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\licensee.h
|
||||
// Recovered logical types: 8
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 414; PDB kind: enum.
|
||||
enum _LICENSEE_TYPE : __int32
|
||||
{
|
||||
LICENSEE_TYPE_CONSOLE_ID = 0xF000,
|
||||
LICENSEE_TYPE_MEDIA_FLAGS = 0xE000,
|
||||
LICENSEE_TYPE_PRIVILEGES = 0xD000,
|
||||
LICENSEE_TYPE_HV_FLAGS = 0xC000,
|
||||
LICENSEE_TYPE_XUID = 0x9,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 3694; PDB kind: struct.
|
||||
struct _LICENSEE_BITS
|
||||
{
|
||||
unsigned __int64 Data : 48;
|
||||
unsigned __int64 Type : 16;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 3883; PDB kind: union.
|
||||
union _LICENSEE
|
||||
{
|
||||
_LICENSEE_BITS Bits;
|
||||
unsigned __int64 AsULONGLONG;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 26724; PDB kind: typedef.
|
||||
typedef _LICENSEE_BITS LICENSEE_BITS;
|
||||
|
||||
// IDA Local Type ordinal 26730; PDB kind: typedef.
|
||||
typedef _LICENSEE_TYPE LICENSEE_TYPE;
|
||||
|
||||
// IDA Local Type ordinal 27423; PDB kind: typedef.
|
||||
typedef _LICENSEE *PLICENSEE;
|
||||
|
||||
// IDA Local Type ordinal 32850; PDB kind: typedef.
|
||||
typedef _LICENSEE_BITS *PLICENSEE_BITS;
|
||||
|
||||
// IDA Local Type ordinal 33071; PDB kind: typedef.
|
||||
typedef _LICENSEE LICENSEE;
|
||||
@@ -0,0 +1,45 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\loadscreen.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22496; PDB kind: class.
|
||||
class idLoadScreenInfo
|
||||
{
|
||||
public:
|
||||
idStr varName;
|
||||
idStr value;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23597; PDB kind: class.
|
||||
class __declspec(align(2)) idLoadScreenThread : public idSysThread
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23598.
|
||||
virtual ~idLoadScreenThread();
|
||||
virtual int Run();
|
||||
|
||||
bool initialized;
|
||||
volatile bool stopRunning;
|
||||
volatile bool isRunning;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23599; PDB kind: class.
|
||||
class idLoadScreen
|
||||
{
|
||||
public:
|
||||
idLoadScreenThread *thread;
|
||||
idSWF *loadingGui;
|
||||
idRenderModelGui *guiModel;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23600; PDB kind: class.
|
||||
class idLoadScreenInfo2
|
||||
{
|
||||
public:
|
||||
idStr varName;
|
||||
idStr value;
|
||||
};
|
||||
@@ -0,0 +1,41 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\memorymappedfile.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3202; PDB kind: enum.
|
||||
enum idMemoryMappedFile::pageState_t : __int32
|
||||
{
|
||||
PGST_UNCOMITTED = 0x0,
|
||||
PGST_READING = 0x1,
|
||||
PGST_FULL = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 20010; PDB kind: struct.
|
||||
struct idMemoryMappedFile::mmPage_t
|
||||
{
|
||||
void *dest;
|
||||
bool completion;
|
||||
idMemoryMappedFile::pageState_t state;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 20012; PDB kind: class.
|
||||
class __declspec(align(8)) idMemoryMappedFile
|
||||
{
|
||||
public:
|
||||
idFile *file;
|
||||
const __int64 alignedFileOffset;
|
||||
const __int64 alignedLength;
|
||||
unsigned __int8 *const virtualBase;
|
||||
idTempArray<idMemoryMappedFile::mmPage_t> pages;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23596; PDB kind: struct.
|
||||
struct idMemoryMappedFile::fileRange_t
|
||||
{
|
||||
__int64 fileOffset;
|
||||
__int64 length;
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\playerprofile.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1505; PDB kind: enum.
|
||||
enum idPlayerProfile::state_t : __int32
|
||||
{
|
||||
SAVING = 0x1,
|
||||
LOADING = 0x2,
|
||||
SAVE_REQUESTED = 0x3,
|
||||
LOAD_REQUESTED = 0x4,
|
||||
ERR = 0x5,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 15132; PDB kind: class.
|
||||
class idPlayerProfile
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 15133.
|
||||
virtual ~idPlayerProfile();
|
||||
virtual void SetDefaults();
|
||||
virtual bool Serialize(idSerializer *);
|
||||
virtual bool UpdateDisplayModeFromCvars();
|
||||
virtual bool CommitDisplayChanges();
|
||||
virtual float GetMouseSensitivity();
|
||||
virtual int GetLevel();
|
||||
virtual int GetChosenEmblem();
|
||||
virtual void SetInvertLook(bool);
|
||||
virtual unsigned int GetSubtitleLanguageMask();
|
||||
|
||||
__declspec(align(8)) idPlayerProfile::state_t state;
|
||||
idPlayerProfile::state_t requestedState;
|
||||
int deviceNum;
|
||||
bool hasUser;
|
||||
unsigned __int64 achievementBits;
|
||||
unsigned __int64 achievementBits2;
|
||||
int dlcReleaseVersion;
|
||||
idStaticList<profileStatValue_t,500> stats;
|
||||
};
|
||||
@@ -0,0 +1,397 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\playteststorage.h
|
||||
// Recovered logical types: 32
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 2915; PDB kind: enum.
|
||||
enum idPlaytestStorage::playerBreadCrumbState_t : __int32
|
||||
{
|
||||
PLAYERBREADCRUMBSTATE_NONE = 0x0,
|
||||
PLAYERBREADCRUMBSTATE_NORMAL = 0x1,
|
||||
PLAYERBREADCRUMBSTATE_MISC = 0x2,
|
||||
PLAYERBREADCRUMBSTATE_VEHICLE = 0x3,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21529; PDB kind: class.
|
||||
class idPlaytestStorage::playerNormalBreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
float health;
|
||||
float healthPercent;
|
||||
float speed;
|
||||
int mainAmmoCount;
|
||||
bool combatHud;
|
||||
bool isCrouching;
|
||||
bool isZooming;
|
||||
bool isCooking;
|
||||
int count;
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21531; PDB kind: class.
|
||||
class idPlaytestStorage::playerNormalBreadCrumbList_t
|
||||
{
|
||||
public:
|
||||
bool inInteraction;
|
||||
idStr interactionEntity;
|
||||
idStr interactionName;
|
||||
idList<idPlaytestStorage::playerNormalBreadCrumbInfo_t,5> breadCrumbs;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21533; PDB kind: class.
|
||||
class idPlaytestStorage::playerMiscControlBreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
float speed;
|
||||
int count;
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21535; PDB kind: class.
|
||||
class idPlaytestStorage::playerMiscControlBreadCrumbList_t
|
||||
{
|
||||
public:
|
||||
idStr controlName;
|
||||
bool isInteraction;
|
||||
idList<idPlaytestStorage::playerMiscControlBreadCrumbInfo_t,5> breadCrumbs;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21537; PDB kind: class.
|
||||
class __declspec(align(4)) idPlaytestStorage::playerVehicleBreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
float health;
|
||||
float healthPercent;
|
||||
float speed;
|
||||
float boost;
|
||||
int ammo;
|
||||
int count;
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
bool combatHud;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21539; PDB kind: class.
|
||||
class idPlaytestStorage::playerVehicleBreadCrumbList_t
|
||||
{
|
||||
public:
|
||||
idStr vehicleName;
|
||||
bool isRCBomb;
|
||||
idList<idPlaytestStorage::playerVehicleBreadCrumbInfo_t,5> breadCrumbs;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21541; PDB kind: class.
|
||||
class idPlaytestStorage::playerMainBreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idPlaytestStorage::playerBreadCrumbState_t state;
|
||||
idList<idPlaytestStorage::playerNormalBreadCrumbList_t,5> normalBreadCrumbs;
|
||||
idList<idPlaytestStorage::playerMiscControlBreadCrumbList_t,5> miscBreadCrumbs;
|
||||
idList<idPlaytestStorage::playerVehicleBreadCrumbList_t,5> vehicleBreadCrumbs;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21543; PDB kind: class.
|
||||
class idPlaytestStorage::playerButtonInfo_t
|
||||
{
|
||||
public:
|
||||
int buttons;
|
||||
char forwardmove;
|
||||
char rightmove;
|
||||
char upmove;
|
||||
int timestamp;
|
||||
int lastTimestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21546; PDB kind: class.
|
||||
class idPlaytestStorage::itemInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idStr itemName;
|
||||
int count;
|
||||
idStr materialName;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21549; PDB kind: class.
|
||||
class idPlaytestStorage::useFocusInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
idStr focusName;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21552; PDB kind: class.
|
||||
class idPlaytestStorage::quickItemInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idStr quickItemName;
|
||||
idStr quickItemMaterial;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21555; PDB kind: class.
|
||||
class idPlaytestStorage::equipItemInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idStr equipedItemName;
|
||||
idStr equipedItemMaterial;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21558; PDB kind: class.
|
||||
class idPlaytestStorage::deathInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 killerLoc;
|
||||
int entityNum;
|
||||
idStr entityName;
|
||||
int killerEntityNum;
|
||||
idStr killerName;
|
||||
idStr damageName;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21561; PDB kind: class.
|
||||
class idPlaytestStorage::weaponFireInfo_t
|
||||
{
|
||||
public:
|
||||
idStr weaponName;
|
||||
idStr projectileName;
|
||||
int attackerNum;
|
||||
idStr attackerName;
|
||||
int targetNum;
|
||||
float spread;
|
||||
idVec3 start;
|
||||
idVec3 dir;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21564; PDB kind: class.
|
||||
class idPlaytestStorage::inventoryElement_t
|
||||
{
|
||||
public:
|
||||
idStr itemName;
|
||||
idStr materialName;
|
||||
int count;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21566; PDB kind: class.
|
||||
class idPlaytestStorage::inventoryInfo_t
|
||||
{
|
||||
public:
|
||||
int timestamp;
|
||||
idVec3 loc;
|
||||
idList<idPlaytestStorage::inventoryElement_t,5> inventoryList;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21569; PDB kind: class.
|
||||
class idPlaytestStorage::radiusDamageInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
float radius;
|
||||
float minDamage;
|
||||
float maxDamage;
|
||||
float playerDamageScale;
|
||||
idStr inflictorName;
|
||||
idStr attackerName;
|
||||
idStr damageDefName;
|
||||
int timestamp;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21571; PDB kind: class.
|
||||
class idPlaytestStorage::ai2FSMStateInfo_t
|
||||
{
|
||||
public:
|
||||
idStr fsmName;
|
||||
idStr stateName;
|
||||
idStr lastTransition;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21573; PDB kind: class.
|
||||
class idPlaytestStorage::ai2StateInfo_t
|
||||
{
|
||||
public:
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
int count;
|
||||
idList<idPlaytestStorage::ai2FSMStateInfo_t,5> states;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21575; PDB kind: class.
|
||||
class __declspec(align(4)) idPlaytestStorage::ai2BreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
float health;
|
||||
float healthPercent;
|
||||
float speed;
|
||||
int count;
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
bool isHostile;
|
||||
bool isTalking;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21578; PDB kind: class.
|
||||
class idPlaytestStorage::ai2Info_t
|
||||
{
|
||||
public:
|
||||
int entNum;
|
||||
idStr entName;
|
||||
int creationTimeStamp;
|
||||
bool isDormant;
|
||||
idList<idPlaytestStorage::ai2StateInfo_t,5> stateLog;
|
||||
idList<idList<idPlaytestStorage::ai2BreadCrumbInfo_t,5>,5> breadCrumbs;
|
||||
idList<int,5> dormantTimeStamps;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21580; PDB kind: class.
|
||||
class __declspec(align(4)) idPlaytestStorage::aiVehicleBreadCrumbInfo_t
|
||||
{
|
||||
public:
|
||||
idVec3 loc;
|
||||
idVec3 dir;
|
||||
float health;
|
||||
float healthPercent;
|
||||
float speed;
|
||||
float boost;
|
||||
int ammo;
|
||||
int count;
|
||||
int timestamp;
|
||||
int lastTimeStamp;
|
||||
bool hasCar;
|
||||
bool isRCBomb;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21582; PDB kind: class.
|
||||
class idPlaytestStorage::aiVehicleInfo_t
|
||||
{
|
||||
public:
|
||||
int entNum;
|
||||
idStr entName;
|
||||
int creationTimeStamp;
|
||||
idList<idPlaytestStorage::aiVehicleBreadCrumbInfo_t,5> breadCrumbs;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21584; PDB kind: class.
|
||||
class idPlaytestStorage
|
||||
{
|
||||
public:
|
||||
idList<idPlaytestStorage::playerMainBreadCrumbInfo_t,5> playerBreadCrumbs;
|
||||
idList<idList<idPlaytestStorage::playerButtonInfo_t,5>,5> playerButtonInfo;
|
||||
idList<idList<idPlaytestStorage::itemInfo_t,5>,5> playerItemInfo;
|
||||
idList<idList<idPlaytestStorage::useFocusInfo_t,5>,5> playerUseFocusInfo;
|
||||
idList<idList<idPlaytestStorage::quickItemInfo_t,5>,5> playerUseQuickItemInfo;
|
||||
idList<idList<idPlaytestStorage::equipItemInfo_t,5>,5> playerEquipItemInfo;
|
||||
idList<idList<idPlaytestStorage::deathInfo_t,5>,5> playerDeathInfo;
|
||||
idList<idList<idPlaytestStorage::weaponFireInfo_t,5>,5> playerWeaponFireInfo;
|
||||
idList<idList<idPlaytestStorage::inventoryInfo_t,5>,5> playerInventoryInfo;
|
||||
idList<idPlaytestStorage::radiusDamageInfo_t,5> radiusDamageInfo;
|
||||
idList<idPlaytestStorage::deathInfo_t,5> otherDeathInfo;
|
||||
idList<idPlaytestStorage::weaponFireInfo_t,5> otherWeaponFireInfo;
|
||||
idList<idPlaytestStorage::ai2Info_t,5> ai2Info;
|
||||
idList<idPlaytestStorage::aiVehicleInfo_t,5> aiVehicleInfo;
|
||||
int numPlayers;
|
||||
int version;
|
||||
idStr buildVersionString;
|
||||
int buildNumberMajor;
|
||||
int buildNumberMinor;
|
||||
idStr machineName;
|
||||
idStr fileName;
|
||||
idStr playMapName;
|
||||
int numActiveLayers;
|
||||
idList<idStr,5> activeLayers;
|
||||
int beginTime;
|
||||
int lastTime;
|
||||
int offsetTime;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21639; PDB kind: class.
|
||||
class idPlaytestStorage::weaponUsageReport_t
|
||||
{
|
||||
public:
|
||||
idStr weaponName;
|
||||
int time;
|
||||
float percentage;
|
||||
int projectilesSpawned;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21813; PDB kind: class.
|
||||
class idPlaytestStorage::quickItemReport_t
|
||||
{
|
||||
public:
|
||||
idStr itemName;
|
||||
int count;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21910; PDB kind: class.
|
||||
class idPlaytestStorage::killReport_t
|
||||
{
|
||||
public:
|
||||
idStr damageName;
|
||||
int count;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21978; PDB kind: class.
|
||||
class idPlaytestMetaStorage
|
||||
{
|
||||
public:
|
||||
int version;
|
||||
int beginTime;
|
||||
int lastTime;
|
||||
idStr fileName;
|
||||
idStr buildVersionString;
|
||||
int buildNumberMajor;
|
||||
int buildNumberMinor;
|
||||
idStr machineName;
|
||||
idList<idPlaytestStorage,5> storageList;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22426; PDB kind: class.
|
||||
class idPlaytestStorage::idSort_WeaponUsageReport : public idSort_Quick<idPlaytestStorage::weaponUsageReport_t,idPlaytestStorage::idSort_WeaponUsageReport>
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22427.
|
||||
virtual ~idSort_WeaponUsageReport();
|
||||
virtual void Sort(idPlaytestStorage::weaponUsageReport_t *, unsigned int);
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22428; PDB kind: class.
|
||||
class idPlaytestStorage::idSort_KillReport : public idSort_Quick<idPlaytestStorage::killReport_t,idPlaytestStorage::idSort_KillReport>
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22429.
|
||||
virtual ~idSort_KillReport();
|
||||
virtual void Sort(idPlaytestStorage::killReport_t *, unsigned int);
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22430; PDB kind: class.
|
||||
class idPlaytestStorage::idSort_QuickItemReport : public idSort_Quick<idPlaytestStorage::quickItemReport_t,idPlaytestStorage::idSort_QuickItemReport>
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22431.
|
||||
virtual ~idSort_QuickItemReport();
|
||||
virtual void Sort(idPlaytestStorage::quickItemReport_t *, unsigned int);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\regression.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17424; PDB kind: class.
|
||||
class idRegression
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17434.
|
||||
virtual ~idRegression();
|
||||
virtual void MakeTest(const idCmdArgs *);
|
||||
virtual void MakeTestLoadGame(const idCmdArgs *);
|
||||
virtual void StopTest();
|
||||
virtual void PlayTest(const char *, bool);
|
||||
virtual void NextTest();
|
||||
virtual void DisplayTextScreen(const char *, int);
|
||||
virtual idTestReport *GetTestReport();
|
||||
virtual void SetName(const char *);
|
||||
virtual const char *GetName();
|
||||
virtual void QueueEventString(const char *);
|
||||
virtual bool ProcessQueuedEvents();
|
||||
virtual void SetTestInProgress(bool);
|
||||
virtual bool GetTestInProgress();
|
||||
virtual void UpdateCurrentTestFile(const char *);
|
||||
virtual void SetForceIgnoreNextTestCommands(bool);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\rendermanager.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22579; PDB kind: class.
|
||||
class __declspec(align(16)) idRenderManager
|
||||
{
|
||||
public:
|
||||
idRenderFrameInfo renderFrameInfo;
|
||||
const screenViewDef_t *currentViewDef;
|
||||
};
|
||||
@@ -0,0 +1,155 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\resource.h
|
||||
// Recovered logical types: 12
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 2777; PDB kind: enum.
|
||||
enum idResource::referenceType_t : __int32
|
||||
{
|
||||
REF_UNKNOWN = 0x0,
|
||||
REF_FREED = 0x1,
|
||||
REF_WEAK = 0x2,
|
||||
REF_STRONG = 0x3,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 2778; PDB kind: enum.
|
||||
enum idResource::resourceError_t : __int32
|
||||
{
|
||||
RESOURCE_ERROR_NONE = 0x0,
|
||||
RESOURCE_ERROR_FILE_NOT_FOUND = 0x1,
|
||||
RESOURCE_ERROR_WRONG_TYPE = 0x2,
|
||||
RESOURCE_ERROR_INVALID_NAME = 0x3,
|
||||
RESOURCE_ERROR_HEADER_VERSION_MISMATCH = 0x4,
|
||||
RESOURCE_ERROR_RESOURCE_VERSION_MISMATCH = 0x5,
|
||||
RESOURCE_ERROR_FATAL = 0x6,
|
||||
RESOURCE_ERROR_TRUNCATED = 0x7,
|
||||
RESOURCE_ERROR_MAX = 0x8,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 2779; PDB kind: enum.
|
||||
enum idResource::resourceHeader_t::resourcePlatform_t : __int32
|
||||
{
|
||||
RESOURCEPLATFORM_WINDOWS = 0x0,
|
||||
RESOURCEPLATFORM_360 = 0x1,
|
||||
RESOURCEPLATFORM_PS3 = 0x2,
|
||||
RESOURCEPLATFORM_MAC = 0x3,
|
||||
RESOURCEPLATFORM_MAX = 0x4,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13299; PDB kind: class.
|
||||
class __declspec(align(4)) idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13302.
|
||||
virtual ~idResource();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
int trackedMemory;
|
||||
idAtomicString name;
|
||||
idResource *nextOnHashChain;
|
||||
idResourceList *resourceListPtr;
|
||||
const char *resourceError;
|
||||
int networkID;
|
||||
int staleCount;
|
||||
unsigned __int8 : 3;
|
||||
__int8 loadDeferred : 1;
|
||||
__int8 forceLoad : 1;
|
||||
__int8 insideRecursiveLoad : 1;
|
||||
__int8 staticResource : 1;
|
||||
__int8 loadedResource : 1;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13653; PDB kind: class.
|
||||
class idCodeResource<idDeclRenderParm> : public idBaseCodeResource
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17567; PDB kind: class.
|
||||
class idCodeResource<idFont> : public idBaseCodeResource
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19095; PDB kind: class.
|
||||
class idAtlasResource : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19096.
|
||||
virtual ~idAtlasResource();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
unsigned int binaryTimestamp;
|
||||
idVec4 scaleBias;
|
||||
int img_tiles_wide;
|
||||
int img_tiles_high;
|
||||
int img_x;
|
||||
int img_y;
|
||||
int img_w;
|
||||
int img_h;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21416; PDB kind: class.
|
||||
class idCodeResource<idMaterial> : public idBaseCodeResource
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22063; PDB kind: struct.
|
||||
struct idResource::resourceHeader_t
|
||||
{
|
||||
unsigned __int16 headerVersionHi;
|
||||
unsigned __int16 headerVersionLo;
|
||||
unsigned int resourceId;
|
||||
unsigned __int16 versionHi;
|
||||
unsigned __int16 versionLo;
|
||||
unsigned int sourceTimestamp;
|
||||
unsigned __int16 sourceFileNameLen;
|
||||
unsigned __int16 uniqueIdNameLen;
|
||||
unsigned __int8 platform;
|
||||
unsigned __int8 pad[3];
|
||||
unsigned __int64 uniqueId;
|
||||
unsigned __int64 hash;
|
||||
unsigned __int64 dataOffset;
|
||||
unsigned __int64 totalSize;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22703; PDB kind: class.
|
||||
class idCodeResource<idSoundShader> : public idBaseCodeResource
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22770; PDB kind: class.
|
||||
class idCodeResource<idDeclRenderProg> : public idBaseCodeResource
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23337; PDB kind: class.
|
||||
class idJointResource : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23338.
|
||||
virtual ~idJointResource();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,353 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\resourcelist.h
|
||||
// Recovered logical types: 31
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13300; PDB kind: class.
|
||||
class idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13301.
|
||||
virtual ~idResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
const char *resourceTypeName;
|
||||
idResourceList *nextResourceList;
|
||||
int num;
|
||||
int staticID;
|
||||
idResource *hashTable[256];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18047; PDB kind: class.
|
||||
class idTypedResourceList<idVoiceTrack> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18048.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18119; PDB kind: class.
|
||||
class idTypedResourceList<idNavigationMesh> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18120.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18306; PDB kind: class.
|
||||
class idTypedResourceList<idCoverPoints> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18307.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18732; PDB kind: class.
|
||||
class idTypedResourceList<idInGameVideoFile> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18733.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18735; PDB kind: class.
|
||||
class idTypedResourceList<idMD6Anim> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18736.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18739; PDB kind: class.
|
||||
class idTypedResourceList<idIESfile> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18740.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19089; PDB kind: class.
|
||||
class idTypedResourceList<idImage> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19090.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19097; PDB kind: class.
|
||||
class idTypedResourceList<idAtlasResource> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19098.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 20001; PDB kind: class.
|
||||
class idTypedResourceList<idCollisionModelLocal> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 20002.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 20076; PDB kind: class.
|
||||
class idTypedResourceList<idFont> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 20077.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21602; PDB kind: class.
|
||||
class idTypedResourceList<idStaticModel> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21603.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21604; PDB kind: class.
|
||||
class idTypedResourceList<idSoundSample> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21605.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21607; PDB kind: class.
|
||||
class idTypedResourceList<idStaticParticleModelData> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21608.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21627; PDB kind: class.
|
||||
class idTypedResourceList<idMD6Skel> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21628.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21701; PDB kind: class.
|
||||
class idTypedResourceList<idMD6Model> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21702.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21755; PDB kind: class.
|
||||
class idTypedResourceList<idDiscreteAnimationModelData> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21756.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21903; PDB kind: class.
|
||||
class idTypedResourceList<idMD6SkeletonConfig> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21904.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21984; PDB kind: class.
|
||||
class idTypedResourceList<idAAS2File> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 21985.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22175; PDB kind: class.
|
||||
class idTypedResourceList<idRenderModelCuttableResource> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22176.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22333; PDB kind: class.
|
||||
class idTypedResourceList<idMorphVertices> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22334.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22456; PDB kind: class.
|
||||
class idTypedResourceList<idFileResource> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22457.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22869; PDB kind: class.
|
||||
class idTypedResourceList<idFoliageModel> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22870.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22873; PDB kind: class.
|
||||
class idTypedResourceList<idDetailModel> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22874.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23020; PDB kind: class.
|
||||
class idTypedResourceList<idImageCPU> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23021.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23026; PDB kind: class.
|
||||
class idTypedResourceList<idImageCubeCPU> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23027.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23308; PDB kind: class.
|
||||
class idTypedResourceList<idJointConversion> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23309.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23335; PDB kind: class.
|
||||
class idTypedResourceList<idJointResource> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23336.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23364; PDB kind: class.
|
||||
class idTypedResourceList<idDetailModelData> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23365.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23512; PDB kind: class.
|
||||
class idTypedResourceList<idAAS2DebugAreaModel> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23513.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23769; PDB kind: class.
|
||||
class idTypedResourceList<idCollisionGridLocal> : public idResourceList
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23770.
|
||||
virtual ~idTypedResourceList();
|
||||
virtual idResource *Alloc(const char *);
|
||||
virtual int AllocSize();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,58 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\resourcemanager.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18479; PDB kind: class.
|
||||
class idResourceManager
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18480.
|
||||
virtual ~idResourceManager();
|
||||
virtual void Init();
|
||||
virtual void Init2(const bool);
|
||||
virtual void Shutdown();
|
||||
virtual void CancelToTerminate();
|
||||
virtual void CloseOpenFileHandles();
|
||||
virtual bool ReOpenFileHandles();
|
||||
virtual void StartupComplete();
|
||||
virtual void SetFileHook();
|
||||
virtual void ReleaseFileHook();
|
||||
virtual bool AllocGameWithResourceFile(idGame **, const idGameSpawnInfo *, idFile *, const char *);
|
||||
virtual idFile_Memory *LoadCacheFile(const char *);
|
||||
virtual idFile_Memory *LoadPatchFile(const char *);
|
||||
virtual idFile_Stat *StatCacheFile(const char *);
|
||||
virtual idFile_Stat *StatPatchFile(const char *);
|
||||
virtual bool GetCacheFileInfo(const char *, __int64 *, unsigned int *, unsigned int *, unsigned int *, bool);
|
||||
virtual bool GetPatchFileInfo(const char *, __int64 *, unsigned int *, unsigned int *, unsigned int *, int *);
|
||||
virtual idFile *GetCacheFile();
|
||||
virtual idFile *GetPatchFile(const int);
|
||||
virtual idFile *GetStreamFile();
|
||||
virtual idFile *GetCachedStreamFile();
|
||||
virtual idFile *GetLocalizedStreamFile();
|
||||
virtual bool IsResourceFile(idFile *);
|
||||
virtual void SetResourceFilePlatform(unsigned int);
|
||||
virtual unsigned int GetBuildPlatforms();
|
||||
virtual void BeginEntity(const char *, const idList<idStr,5> *);
|
||||
virtual void EndEntity();
|
||||
virtual const idList<idStr,5> *GetLanguages();
|
||||
virtual bool ExcludeImage(const char *);
|
||||
virtual bool ExcludeFont(const char *);
|
||||
virtual int GetCurrentDiscNumber();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23418; PDB kind: struct.
|
||||
struct jpeg_source_mgr
|
||||
{
|
||||
const unsigned __int8 *next_input_byte;
|
||||
unsigned int bytes_in_buffer;
|
||||
void (__fastcall *init_source)(jpeg_decompress_struct *);
|
||||
unsigned __int8 (__fastcall *fill_input_buffer)(jpeg_decompress_struct *);
|
||||
void (__fastcall *skip_input_data)(jpeg_decompress_struct *, int);
|
||||
unsigned __int8 (__fastcall *resync_to_restart)(jpeg_decompress_struct *, int);
|
||||
void (__fastcall *term_source)(jpeg_decompress_struct *);
|
||||
};
|
||||
@@ -0,0 +1,69 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\resourcemanager_local.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23578; PDB kind: class.
|
||||
class __declspec(align(4)) idResourceManagerLocal : public idResourceManager
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23579.
|
||||
virtual ~idResourceManagerLocal();
|
||||
virtual void Init();
|
||||
virtual void Init2(const bool);
|
||||
virtual void Shutdown();
|
||||
virtual void CancelToTerminate();
|
||||
virtual void CloseOpenFileHandles();
|
||||
virtual bool ReOpenFileHandles();
|
||||
virtual void StartupComplete();
|
||||
virtual void SetFileHook();
|
||||
virtual void ReleaseFileHook();
|
||||
virtual bool AllocGameWithResourceFile(idGame **, const idGameSpawnInfo *, idFile *, const char *);
|
||||
virtual idFile_Memory *LoadCacheFile(const char *);
|
||||
virtual idFile_Memory *LoadPatchFile(const char *);
|
||||
virtual idFile_Stat *StatCacheFile(const char *);
|
||||
virtual idFile_Stat *StatPatchFile(const char *);
|
||||
virtual bool GetCacheFileInfo(const char *, __int64 *, unsigned int *, unsigned int *, unsigned int *, bool);
|
||||
virtual bool GetPatchFileInfo(const char *, __int64 *, unsigned int *, unsigned int *, unsigned int *, int *);
|
||||
virtual idFile *GetCacheFile();
|
||||
virtual idFile *GetPatchFile(const int);
|
||||
virtual idFile *GetStreamFile();
|
||||
virtual idFile *GetCachedStreamFile();
|
||||
virtual idFile *GetLocalizedStreamFile();
|
||||
virtual bool IsResourceFile(idFile *);
|
||||
virtual void SetResourceFilePlatform(unsigned int);
|
||||
virtual unsigned int GetBuildPlatforms();
|
||||
virtual void BeginEntity(const char *, const idList<idStr,5> *);
|
||||
virtual void EndEntity();
|
||||
virtual const idList<idStr,5> *GetLanguages();
|
||||
virtual bool ExcludeImage(const char *);
|
||||
virtual bool ExcludeFont(const char *);
|
||||
virtual int GetCurrentDiscNumber();
|
||||
|
||||
idFile *resourceFile;
|
||||
idFile *streamFile;
|
||||
idFile *localizedStreamFile;
|
||||
idFile *cachedStreamFile;
|
||||
idStaticList<idFile *,32> patchFiles;
|
||||
unsigned int tableOffset;
|
||||
unsigned int tableLength;
|
||||
unsigned int resourceMagic;
|
||||
idResourceAnnotation *currentSortedResource;
|
||||
idResource *currentResource;
|
||||
idList<idResourceFileEntry,99> writtenResourceTable;
|
||||
idList<idResourceFileEntry,99> fileTable;
|
||||
int fileTableResource;
|
||||
idList<idResourceCacheEntry,99> cacheTable;
|
||||
idHashIndex cacheHash;
|
||||
idList<idResourceCacheEntry,99> patchTable;
|
||||
idHashIndex patchHash;
|
||||
unsigned int filePlatformBits;
|
||||
unsigned int buildPlatforms;
|
||||
int lastUPacifierMsec;
|
||||
idList<idStr,5> languages;
|
||||
bool denyFonts;
|
||||
volatile bool cancelToTerminate;
|
||||
};
|
||||
@@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\sourcecontrolwrapper.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22324; PDB kind: class.
|
||||
class __declspec(align(4)) idSourceControlWrapper : public idSourceControl
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22325.
|
||||
virtual ~idSourceControlWrapper();
|
||||
virtual bool Init();
|
||||
virtual void Shutdown();
|
||||
virtual void SetSilentCheckOut(bool);
|
||||
virtual bool GetSilentCheckOut();
|
||||
virtual void SetSilentCheckIn(bool);
|
||||
virtual bool GetSilentCheckIn();
|
||||
virtual bool IsConnected();
|
||||
virtual bool IsInitialized();
|
||||
virtual int CheckOut(const idList<idStr,5> *);
|
||||
virtual int UndoCheckOut(const idList<idStr,5> *);
|
||||
virtual int Import(const idList<idStr,5> *, bool, bool, scFileType_t);
|
||||
virtual int GetLatest(const idList<idStr,5> *, bool);
|
||||
virtual int CheckIn(const idList<idStr,5> *, const idStr *, bool);
|
||||
virtual int Delete(const idList<idStr,5> *);
|
||||
virtual int UpdateFolder(const char *);
|
||||
virtual scFileStatus_t GetFileStatus(const idStr *);
|
||||
virtual bool GetFileVersion(const idStr *, int *, int *);
|
||||
virtual int GetNumCheckOutUsers(const idStr *);
|
||||
virtual void GetCheckOutUser(const idStr *, int, char *, const int);
|
||||
virtual void GetUsernameForFileVersion(const idStr *, int, idStr *);
|
||||
virtual void GetCurrentWorkspace(idSourceControl::idSourceControlWorkspace *);
|
||||
virtual void GetAvailableWorkspaces(struct idList<idSourceControl::idSourceControlWorkspace,5> *);
|
||||
virtual void SetWorkspace(const char *);
|
||||
virtual void SetWorkspace_2(idSourceControl::idSourceControlWorkspace *);
|
||||
virtual bool IsWorkspaceValid();
|
||||
virtual idStr *GetUsername(idStr *result);
|
||||
|
||||
idSourceControl *sc;
|
||||
unsigned int dllHandle;
|
||||
bool loadFailed;
|
||||
bool autoInitAttempt;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\streamfilecache.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 12275; PDB kind: class.
|
||||
class __declspec(align(4)) idStreamFileCache
|
||||
{
|
||||
public:
|
||||
idSysMutex interfaceMutex;
|
||||
idStreamControlThread *controlThread;
|
||||
volatile bool cancelToTerminate;
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\streamfilelog.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23532; PDB kind: class.
|
||||
class idStreamFileLog
|
||||
{
|
||||
public:
|
||||
int numEntries;
|
||||
int maxEntries;
|
||||
sflEntry_t *entries;
|
||||
idSysMutex mutex;
|
||||
sflIO_t driveState[3];
|
||||
sflEntry_t *currentEntry[3];
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\subtitles.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1223; PDB kind: unknown.
|
||||
enum idSubtitles::<unnamed_tag> : __int32
|
||||
{
|
||||
LANGUAGE_UNDEF = 0x0,
|
||||
LANGUAGE_ENGLISH = 0x1,
|
||||
LANGUAGE_GERMAN = 0x2,
|
||||
LANGUAGE_FRENCH = 0x3,
|
||||
LANGUAGE_SPANISH = 0x4,
|
||||
LANGUAGE_ITALIAN = 0x5,
|
||||
LANGUAGE_POLISH = 0x6,
|
||||
LANGUAGE_RUSSIAN = 0x7,
|
||||
LANGUAGE_JAPANESE = 0x8,
|
||||
LANGUAGE_HEBREW = 0x9,
|
||||
NUM_LANGUAGES = 0xA,
|
||||
MASK_ALL = 0xFFFFFFFF,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 15385; PDB kind: class.
|
||||
class idSubtitles::idPart
|
||||
{
|
||||
public:
|
||||
int flags;
|
||||
int language;
|
||||
float startTime;
|
||||
idStr phrase;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21811; PDB kind: class.
|
||||
class idSubtitles
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 29407; PDB kind: typedef.
|
||||
typedef idList<idVoiceTrack::idSubtitleText,5> subtitleList_t;
|
||||
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\timemanager.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 14456; PDB kind: class.
|
||||
class idJobTimerManager
|
||||
{
|
||||
public:
|
||||
bool active;
|
||||
idList<idJobTimerIteration,5> iterations;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17372; PDB kind: class.
|
||||
class idTimeManager
|
||||
{
|
||||
public:
|
||||
int gameHz;
|
||||
idTypesafeNumber<int,enum gameTimeUnique_t> gameTimePerFrame;
|
||||
};
|
||||
@@ -0,0 +1,114 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\framework\usercmdgen.h
|
||||
// Recovered logical types: 5
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 14079; PDB kind: class.
|
||||
class __declspec(align(4)) usercmd_t
|
||||
{
|
||||
public:
|
||||
int buttons;
|
||||
__int16 buttons2;
|
||||
char forwardmove;
|
||||
char rightmove;
|
||||
char upmove;
|
||||
unsigned __int8 : 6;
|
||||
__int8 fromBot : 1;
|
||||
__int8 inhibited : 1;
|
||||
__int16 angles[3];
|
||||
int clientGameFrame;
|
||||
float pos[3];
|
||||
__int16 pitch;
|
||||
__int16 yaw;
|
||||
__int16 roll;
|
||||
unsigned __int8 predictionStateBits;
|
||||
int serverGameTime;
|
||||
unsigned __int16 fireCount;
|
||||
__int16 fireAngles[2];
|
||||
__int16 firePos[3];
|
||||
unsigned __int8 vehicleThrottle;
|
||||
unsigned __int8 speed;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 15136; PDB kind: class.
|
||||
class idUserCmdMgr
|
||||
{
|
||||
public:
|
||||
usercmd_t cmdBuffer[128][6];
|
||||
int writeFrame[6];
|
||||
int readFrame[6];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17669; PDB kind: class.
|
||||
class idUsercmdGen
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17670.
|
||||
virtual ~idUsercmdGen();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void Clear();
|
||||
virtual void ClearAngles();
|
||||
virtual void SaveGame(idFile *);
|
||||
virtual bool LoadGame(idFile *);
|
||||
virtual cmdGenButton_t BindStringUsercmdAction(const char *);
|
||||
virtual usercmd_t *GetUsercmd(usercmd_t *result, int, const inputSettings_t *, bool, int);
|
||||
virtual void GetRecordedUserCmd(int, usercmd_t *);
|
||||
virtual bool RecordPlay(int, bool, const char *);
|
||||
virtual bool GetUseAimAssist();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23528; PDB kind: struct.
|
||||
struct idUsercmdGenLocal::usercmdDevice_t
|
||||
{
|
||||
int lastPollTime;
|
||||
idAngles angles;
|
||||
bool keyState[296];
|
||||
float joystickAxis[6];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23529; PDB kind: class.
|
||||
class idUsercmdGenLocal : public idUsercmdGen
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23530.
|
||||
virtual ~idUsercmdGenLocal();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void Clear();
|
||||
virtual void ClearAngles();
|
||||
virtual void SaveGame(idFile *);
|
||||
virtual bool LoadGame(idFile *);
|
||||
virtual cmdGenButton_t BindStringUsercmdAction(const char *);
|
||||
virtual usercmd_t *GetUsercmd(usercmd_t *result, int, const inputSettings_t *, bool, int);
|
||||
virtual void GetRecordedUserCmd(int, usercmd_t *);
|
||||
virtual bool RecordPlay(int, bool, const char *);
|
||||
virtual bool GetUseAimAssist();
|
||||
|
||||
int pollTime;
|
||||
idUsercmdGenLocal::usercmdDevice_t devices[4];
|
||||
bool buttonState[59];
|
||||
int lastCommandTime;
|
||||
bool initialized;
|
||||
int currentDeviceNum;
|
||||
idUsercmdGenLocal::usercmdDevice_t *currentDevice;
|
||||
inputSettings_t currentSettings;
|
||||
usercmd_t cmd;
|
||||
float mouseDx;
|
||||
float mouseDy;
|
||||
int lastInputFrame;
|
||||
idFile *cmdFiles[6];
|
||||
bool recording[6];
|
||||
int loopPlayCmds[6];
|
||||
bool aimAssist;
|
||||
bool joystickSnapDisabled;
|
||||
float lastUsedLookValue[4];
|
||||
float lastUsedLookValuePitch[4];
|
||||
bool allowButtonInputDuringPlay;
|
||||
const idDeclTable *sensitivityJoy1;
|
||||
const idDeclTable *sensitivityJoy2;
|
||||
};
|
||||
Reference in New Issue
Block a user