Added cleaned up structs and classes to proper header files.
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\mgrd\include\rd\common.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17417; PDB kind: class.
|
||||
class idCommon
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17439.
|
||||
virtual ~idCommon();
|
||||
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();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\mgrd\shared\mgsocket\mgsocket.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 26826; PDB kind: typedef.
|
||||
typedef int MGSOCKET;
|
||||
|
||||
// IDA Local Type ordinal 31868; PDB kind: typedef.
|
||||
typedef unsigned int SOCKET;
|
||||
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\mgrd\shared\mgsys\mgringbuf.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 24744; PDB kind: struct.
|
||||
struct MGRINGBUF
|
||||
{
|
||||
char *start;
|
||||
char *end;
|
||||
unsigned int size;
|
||||
char cachelinepad0[116];
|
||||
char *volatile write;
|
||||
char cachelinepad1[124];
|
||||
char *volatile put;
|
||||
char cachelinepad2[124];
|
||||
char *volatile get;
|
||||
char cachelinepad3[124];
|
||||
};
|
||||
@@ -0,0 +1,63 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\include\bfxnavigator.h
|
||||
// Recovered logical types: 7
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 2332; PDB kind: enum.
|
||||
enum idNpNavigator::idAdvanceInfo::posType_t : __int32
|
||||
{
|
||||
POS_SURFACE = 0x0,
|
||||
POS_LINK = 0x1,
|
||||
POS_GOAL = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18243; PDB kind: struct.
|
||||
struct __declspec(align(4)) idNpNavigator::idNextCornerParms
|
||||
{
|
||||
float pathDistance;
|
||||
bool addCornerAtEveryArea;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18244; PDB kind: struct.
|
||||
struct __declspec(align(4)) idNpNavigator::idNpAdvanceSpec
|
||||
{
|
||||
float distAhead;
|
||||
bool stopAtLink;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18245; PDB kind: struct.
|
||||
struct __declspec(align(4)) idNpNavigator::idAdvanceInfo
|
||||
{
|
||||
idNpNavigator::idAdvanceInfo::posType_t advancePosType;
|
||||
idVec3 advancePos;
|
||||
float advanceDistance;
|
||||
idNpAreaHandle advanceArea;
|
||||
idNpLink advanceLink;
|
||||
idNpMover::idLinkUseParms linkInfo;
|
||||
bool linkBackWards;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18246; PDB kind: struct.
|
||||
struct __declspec(align(4)) idNpNavigator::idPosDirectionInfo
|
||||
{
|
||||
idVec3 endPos;
|
||||
idNpAreaHandle endArea;
|
||||
bool endOnEdge;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18247; PDB kind: struct.
|
||||
struct idNpNavigator::idNavWedge
|
||||
{
|
||||
float angleStart;
|
||||
float angleEnd;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18248; PDB kind: class.
|
||||
class idNpNavigator
|
||||
{
|
||||
public:
|
||||
idNpNavigatorImpl *impl;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\include\bfxnavigatorspace.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17153; PDB kind: class.
|
||||
class idNavigationSpace
|
||||
{
|
||||
public:
|
||||
idNavigationSpaceImpl *impl;
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxmover\bfxmoverimpl.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18228; PDB kind: class.
|
||||
class idNpMoverImpl
|
||||
{
|
||||
public:
|
||||
idNavigationSpace moverSpace;
|
||||
bfx::Mover *mover;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18230; PDB kind: struct.
|
||||
struct __declspec(align(2)) idNpMoverImpl::idGotoParms
|
||||
{
|
||||
float stopDistAllowed;
|
||||
float stopDistDesired;
|
||||
idVec3 orientAtGoalDir;
|
||||
bool orientAtGoalEnabled;
|
||||
bool stopAtGoal;
|
||||
bool pushThroughCrowd;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxmover3d\bfxrepulsor3d.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22319; PDB kind: class.
|
||||
class idNpRepulsor3D
|
||||
{
|
||||
public:
|
||||
idNpRepulsor3DImpl *impl;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxnavigator\bfxnavigatorimpl.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1400; PDB kind: unknown.
|
||||
enum idNpNavigatorImpl::CalcCollisionFreeWedges::__l2::<unnamed_tag> : __int32
|
||||
{
|
||||
NumWedges = 0x20,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18242; PDB kind: class.
|
||||
class idNpNavigatorImpl
|
||||
{
|
||||
public:
|
||||
idNavigationSpace moverSpace;
|
||||
bfx::Navigator *navigator;
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxplanner\bfxopenlist.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 28845; PDB kind: typedef.
|
||||
typedef bfx::BinaryHeap<bfx::Area *,unsigned int> OpenList;
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxsystem\bfxcollider.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1035; PDB kind: enum.
|
||||
enum collide_t : __int32
|
||||
{
|
||||
COLLIDE_CONTINUE_SIMULATION = 0x0,
|
||||
COLLIDE_STOP_SIMULATION = 0x1,
|
||||
COLLIDE_IGNORE_COLLISION = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18257; PDB kind: class.
|
||||
class idCollider : public bfx::Collider
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 18258.
|
||||
virtual bool CollideLineSegmentAndWorld(const bfx::CollideData *, const bfx::Vector3 *, bfx::Vector3 *);
|
||||
virtual ~idCollider();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\navpower\src\bfxsystem\bfxinstance.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 4972; PDB kind: struct.
|
||||
struct HINSTANCE__
|
||||
{
|
||||
int unused;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 31908; PDB kind: typedef.
|
||||
typedef HINSTANCE__ *HINSTANCE;
|
||||
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\protobuf-2.4.1\src\google\protobuf\extension_set.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 33136; PDB kind: typedef.
|
||||
typedef void (__fastcall *GLExtension_t)();
|
||||
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\zlib\deflate.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 32752; PDB kind: typedef.
|
||||
typedef internal_state deflate_state;
|
||||
@@ -0,0 +1,78 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\zlib\inflate.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3404; PDB kind: enum.
|
||||
enum inflate_mode : __int32
|
||||
{
|
||||
HEAD = 0x0,
|
||||
FLAGS = 0x1,
|
||||
TIME = 0x2,
|
||||
OS = 0x3,
|
||||
EXLEN = 0x4,
|
||||
EXTRA = 0x5,
|
||||
NAME = 0x6,
|
||||
COMMENT = 0x7,
|
||||
HCRC = 0x8,
|
||||
DICTID = 0x9,
|
||||
DICT = 0xA,
|
||||
TYPE = 0xB,
|
||||
TYPEDO = 0xC,
|
||||
STORED = 0xD,
|
||||
COPY = 0xE,
|
||||
TABLE = 0xF,
|
||||
LENLENS = 0x10,
|
||||
CODELENS = 0x11,
|
||||
LEN = 0x12,
|
||||
LENEXT = 0x13,
|
||||
DIST = 0x14,
|
||||
DISTEXT = 0x15,
|
||||
MATCH = 0x16,
|
||||
LIT = 0x17,
|
||||
CHECK = 0x18,
|
||||
LENGTH = 0x19,
|
||||
DONE = 0x1A,
|
||||
BAD = 0x1B,
|
||||
MEM = 0x1C,
|
||||
SYNC = 0x1D,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 24743; PDB kind: struct.
|
||||
struct inflate_state
|
||||
{
|
||||
inflate_mode mode;
|
||||
int last;
|
||||
int wrap;
|
||||
int havedict;
|
||||
int flags;
|
||||
unsigned int dmax;
|
||||
unsigned int check;
|
||||
unsigned int total;
|
||||
gz_header_s *head;
|
||||
unsigned int wbits;
|
||||
unsigned int wsize;
|
||||
unsigned int whave;
|
||||
unsigned int write;
|
||||
unsigned __int8 *window;
|
||||
unsigned int hold;
|
||||
unsigned int bits;
|
||||
unsigned int length;
|
||||
unsigned int offset;
|
||||
unsigned int extra;
|
||||
const code *lencode;
|
||||
const code *distcode;
|
||||
unsigned int lenbits;
|
||||
unsigned int distbits;
|
||||
unsigned int ncode;
|
||||
unsigned int nlen;
|
||||
unsigned int ndist;
|
||||
unsigned int have;
|
||||
code *next;
|
||||
unsigned __int16 lens[320];
|
||||
unsigned __int16 work[288];
|
||||
code codes[2048];
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\libs\zlib\trees.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23853; PDB kind: class.
|
||||
class idSort_Trees : public idSort_Quick<idIndex<int,enum invalidAASTree_t>,idSort_Trees>
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23854.
|
||||
virtual ~idSort_Trees();
|
||||
virtual void Sort(idIndex<int,enum invalidAASTree_t> *, unsigned int);
|
||||
|
||||
const idAAS2File *file;
|
||||
const idVec3 *normal;
|
||||
};
|
||||
Reference in New Issue
Block a user