Added cleaned up structs and classes to proper header files.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\ambientlighting.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13564; PDB kind: class.
|
||||
class idAmbientLighting
|
||||
{
|
||||
public:
|
||||
ambientMap_t *ambientMap;
|
||||
};
|
||||
@@ -0,0 +1,104 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\autorenderparms.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17440; PDB kind: class.
|
||||
class idAutoRenderParms
|
||||
{
|
||||
public:
|
||||
const idDeclRenderParm *If;
|
||||
const idDeclRenderParm *Time;
|
||||
const idDeclRenderParm *Color;
|
||||
const idDeclRenderParm *coverage;
|
||||
const idDeclRenderParm *modelFade;
|
||||
const idDeclRenderParm *useSkinBlending;
|
||||
const idDeclRenderParm *exposure;
|
||||
const idDeclRenderParm *TimeScale;
|
||||
const idDeclRenderParm *TimeOffset;
|
||||
const idDeclRenderParm *TimeStop;
|
||||
const idDeclRenderParm *Diversity;
|
||||
const idDeclRenderParm *Wind;
|
||||
const idDeclRenderParm *NoShadows;
|
||||
const idDeclRenderParm *polygonOffset;
|
||||
const idDeclRenderParm *lightColor;
|
||||
const idDeclRenderParm *lightScale;
|
||||
const idDeclRenderParm *lightProjectMap;
|
||||
const idDeclRenderParm *lightFalloffMap;
|
||||
const idDeclRenderParm *globalViewOrigin;
|
||||
const idDeclRenderParm *globalViewFwd;
|
||||
const idDeclRenderParm *globalViewLeft;
|
||||
const idDeclRenderParm *globalViewUp;
|
||||
const idDeclRenderParm *stageProgram;
|
||||
const idDeclRenderParm *interactionProgram;
|
||||
const idDeclRenderParm *shadowProgram;
|
||||
const idDeclRenderParm *depthFillProgram;
|
||||
const idDeclRenderParm *addProgram;
|
||||
const idDeclRenderParm *blendProgram;
|
||||
const idDeclRenderParm *stageSort;
|
||||
const idDeclRenderParm *sortCoverage;
|
||||
const idDeclRenderParm *sortSkybox;
|
||||
const idDeclRenderParm *sortBackground;
|
||||
const idDeclRenderParm *sortEmit;
|
||||
const idDeclRenderParm *sortEmitOnly;
|
||||
const idDeclRenderParm *sortLight;
|
||||
const idDeclRenderParm *sortDecal;
|
||||
const idDeclRenderParm *sortTransSort;
|
||||
const idDeclRenderParm *sortTrans;
|
||||
const idDeclRenderParm *sortWater;
|
||||
const idDeclRenderParm *sortPerturber;
|
||||
const idDeclRenderParm *surfaceFlags;
|
||||
const idDeclRenderParm *contentFlags;
|
||||
const idDeclRenderParm *toolsFlags;
|
||||
const idDeclRenderParm *surfaceType;
|
||||
const idDeclRenderParm *skipSurfaceInfo;
|
||||
const idDeclRenderParm *discrete;
|
||||
const idDeclRenderParm *noFragment;
|
||||
const idDeclRenderParm *editorImage;
|
||||
const idDeclRenderParm *editorDraw;
|
||||
const idDeclRenderParm *editorAlpha;
|
||||
const idDeclRenderParm *viewMatrix[4];
|
||||
const idDeclRenderParm *inverseViewMatrix[4];
|
||||
const idDeclRenderParm *modelMatrix[4];
|
||||
const idDeclRenderParm *inverseModelMatrix[4];
|
||||
const idDeclRenderParm *projectionMatrix[4];
|
||||
const idDeclRenderParm *inverseProjectionMatrix[4];
|
||||
const idDeclRenderParm *mvpMatrix[4];
|
||||
const idDeclRenderParm *worldSpaceInverseMVPMatrix[4];
|
||||
const idDeclRenderParm *powerMip;
|
||||
const idDeclRenderParm *diffuseMap;
|
||||
const idDeclRenderParm *specularMap;
|
||||
const idDeclRenderParm *bumpMap;
|
||||
const idDeclRenderParm *powerMap;
|
||||
const idDeclRenderParm *coverMap;
|
||||
const idDeclRenderParm *virtualTransMap;
|
||||
const idDeclRenderParm *transMap;
|
||||
const idDeclRenderParm *textureMap;
|
||||
const idDeclRenderParm *sMatrix;
|
||||
const idDeclRenderParm *tMatrix;
|
||||
const idDeclRenderParm *rMatrix;
|
||||
const idDeclRenderParm *qMatrix;
|
||||
const idDeclRenderParm *select;
|
||||
const idDeclRenderParm *virtualMapping;
|
||||
const idDeclRenderParm *positionToViewTexture;
|
||||
const idDeclRenderParm *renderPositionToViewTexture;
|
||||
const idDeclRenderParm *positionToFeedback;
|
||||
const idDeclRenderParm *ambientLightColor;
|
||||
const idDeclRenderParm *channelLight[6];
|
||||
const idDeclRenderParm *primeLightDir;
|
||||
const idDeclRenderParm *primeLightColor;
|
||||
const idDeclRenderParm *highlightColor;
|
||||
const idDeclRenderParm *landPageFile;
|
||||
const idDeclRenderParm *renderBump;
|
||||
const idDeclRenderParm *stampCovers;
|
||||
const idDeclRenderParm *stampScales;
|
||||
const idDeclRenderParm *stampBlendMode;
|
||||
const idDeclRenderParm *stampBlendModeNone;
|
||||
const idDeclRenderParm *depthOfField;
|
||||
const idDeclRenderParm *radialBlurCenter;
|
||||
const idDeclRenderParm *globalBlur;
|
||||
const idDeclRenderParm *doubleVision;
|
||||
};
|
||||
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\binaryimage.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19092; PDB kind: class.
|
||||
class idBinaryImage::idBinaryImageData
|
||||
{
|
||||
public:
|
||||
int level;
|
||||
int destZ;
|
||||
int width;
|
||||
int height;
|
||||
int dataSize;
|
||||
idList<unsigned char,34> data;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19094; PDB kind: class.
|
||||
class idBinaryImage
|
||||
{
|
||||
public:
|
||||
idStr imgName;
|
||||
unsigned int sourceFileTime;
|
||||
unsigned int binaryFileTime;
|
||||
idImageOpts opts;
|
||||
idList<idBinaryImage::idBinaryImageData,34> images;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\coderenderparm.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19088; PDB kind: class.
|
||||
class idCodeRenderParm
|
||||
{
|
||||
public:
|
||||
idAtomicString name;
|
||||
const char *initString;
|
||||
int parmIndex;
|
||||
parmType_t parmType;
|
||||
bool cubeFilterTexture;
|
||||
parmValue_t declaredValue;
|
||||
parmEdit_t edit;
|
||||
float editRange[2];
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\declmaterial.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22382; PDB kind: class.
|
||||
class idASEMaterial
|
||||
{
|
||||
public:
|
||||
idStr name;
|
||||
float uOffset;
|
||||
float vOffset;
|
||||
float uTiling;
|
||||
float vTiling;
|
||||
float angle;
|
||||
};
|
||||
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\declrenderparm.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13548; PDB kind: class.
|
||||
class idDeclRenderParm : public idDecl
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13549.
|
||||
virtual ~idDeclRenderParm();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
virtual unsigned int GetDeclTimestamp();
|
||||
virtual idDeclInfo *GetDeclInfo();
|
||||
virtual bool RebuildTextSource();
|
||||
virtual bool SetImplicitText();
|
||||
virtual const char *DefaultDefinition();
|
||||
virtual void LogMissingDecl();
|
||||
virtual void Parse(idParser *);
|
||||
virtual void FreeData();
|
||||
virtual unsigned int Size();
|
||||
|
||||
int parmIndex;
|
||||
parmType_t parmType;
|
||||
parmCreator_t creator;
|
||||
bool cubeFilterTexture;
|
||||
parmValue_t declaredValue;
|
||||
parmEdit_t edit;
|
||||
float editRange[2];
|
||||
};
|
||||
@@ -0,0 +1,78 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\declrenderprog.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 2609; PDB kind: enum.
|
||||
enum idDeclRenderProg::programType_t : __int32
|
||||
{
|
||||
PROGRAM_TYPE_VERTEX = 0x0,
|
||||
PROGRAM_TYPE_FRAGMENT = 0x1,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13320; PDB kind: class.
|
||||
class __declspec(align(8)) idDeclRenderProg : public idDecl
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13324.
|
||||
virtual ~idDeclRenderProg();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
virtual unsigned int GetDeclTimestamp();
|
||||
virtual idDeclInfo *GetDeclInfo();
|
||||
virtual bool RebuildTextSource();
|
||||
virtual bool SetImplicitText();
|
||||
virtual const char *DefaultDefinition();
|
||||
virtual void LogMissingDecl();
|
||||
virtual void Parse(idParser *);
|
||||
virtual void FreeData();
|
||||
virtual unsigned int Size();
|
||||
|
||||
const idDeclRenderProg *renamed;
|
||||
unsigned __int64 glState;
|
||||
bool hasClip;
|
||||
bool hasAlphaToCoverage;
|
||||
bool hasHardwareSkinning;
|
||||
bool hasInteractions;
|
||||
bool has16BitScaleBias;
|
||||
bool hasVertexTexture;
|
||||
unsigned __int16 fragmentOutputs;
|
||||
unsigned __int8 registerCountPS3;
|
||||
unsigned __int8 registerCount360;
|
||||
float stageSort;
|
||||
idParmBlock parmBlock;
|
||||
unsigned int vertexMask;
|
||||
unsigned int vertexProgramChecksum;
|
||||
unsigned int fragmentProgramChecksum;
|
||||
__int16 vertexParms[32];
|
||||
int numVertexParms;
|
||||
__int16 fragmentParms[32];
|
||||
int numFragmentParms;
|
||||
__int16 textureParms[16];
|
||||
int numTextureParms;
|
||||
bool hasDerived;
|
||||
const idDeclRenderProg *inheritedVertexProgram;
|
||||
const idDeclRenderProg *inheritedFragmentProgram;
|
||||
idArray<idDeclRenderProg::vertexDeclaration_t,4> vertexDeclarations;
|
||||
int numVertexDeclarations;
|
||||
void *compiledVertexCode;
|
||||
D3DPixelShader *fragmentShaderD3D;
|
||||
bool isFastZ;
|
||||
idStr vertexCode[4];
|
||||
idStr fragmentCode[4];
|
||||
const idDeclRenderProg *versions[4];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13322; PDB kind: struct.
|
||||
struct idDeclRenderProg::vertexDeclaration_t
|
||||
{
|
||||
D3DVertexShader *vertexShaderD3D;
|
||||
unsigned int vertexMask;
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\development\cpugen\clouduser.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23642; PDB kind: class.
|
||||
class idCloud
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23655.
|
||||
virtual ~idCloud();
|
||||
virtual bool IsAvailable();
|
||||
virtual bool IsRemote();
|
||||
virtual void Reset();
|
||||
virtual void Heartbeat();
|
||||
virtual int NumCloudServers();
|
||||
virtual int NumCommandsStillOutstanding();
|
||||
virtual idPageGenClient *GetPageGenClient();
|
||||
virtual idPixelGenClient *GetPixelGenClient();
|
||||
virtual idRenderBumpClient *GetRenderBumpClient();
|
||||
virtual void CloudStamp(idRenderWorld *, const idStr *, int, cloudMode_t, const idList<int,5> *);
|
||||
virtual void CloudRadPreview(const idStr *, idGenWorld *, const cloudMode_t);
|
||||
virtual void CloudRenderBump(const cloudMode_t);
|
||||
virtual void GetClusterInfos(struct idList<idComputeClusterInfo,5> *);
|
||||
virtual int GetNumQualityPresets();
|
||||
virtual const idQualityPreset *GetQualityPreset(const int);
|
||||
virtual void LoadQualityPresets();
|
||||
virtual int ProcessResponses();
|
||||
virtual bool LoadBuildCVars(const idStr *);
|
||||
virtual void AddTraceFile(const idStr *, const idStr *, const idStr *);
|
||||
virtual int GetOutstandingPages();
|
||||
virtual int GetOutstandingMips();
|
||||
virtual float GetPagesPerSecond();
|
||||
virtual float GetMipsPerSecond();
|
||||
virtual void ClearPendingWork();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,50 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\development\cpugen\genmodel.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 21708; PDB kind: class.
|
||||
class idGenModelSurf
|
||||
{
|
||||
public:
|
||||
idList<genVert_t,5> verts;
|
||||
idList<genTri_t,5> tris;
|
||||
idBounds bounds;
|
||||
const idMaterial *material;
|
||||
const idMaterial *mappingMaterial;
|
||||
genModelSurfParms_t parms;
|
||||
int materialNum;
|
||||
int basePoseVertexMask;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21710; PDB kind: class.
|
||||
class idGenModel
|
||||
{
|
||||
public:
|
||||
idStr path;
|
||||
unsigned int timestamp;
|
||||
idList<idGenModelSurf *,5> surfaces;
|
||||
idList<idStr,5> binaryModelNames;
|
||||
idBounds bounds;
|
||||
idBounds staticBounds;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23777; PDB kind: class.
|
||||
class idGenGridModel
|
||||
{
|
||||
public:
|
||||
idList<unsigned short,5> indices;
|
||||
idList<idVec3,5> vertices;
|
||||
idList<cm_edge_t,5> edges;
|
||||
idList<unsigned short,5> polygonEdges;
|
||||
idList<cm_polygon_t,5> polygons;
|
||||
idList<cm_gridPart_t,5> parts;
|
||||
idList<cm_gridNodeBSP_t,5> nodes;
|
||||
int numX;
|
||||
int numY;
|
||||
idVec2i offset;
|
||||
int dimension;
|
||||
};
|
||||
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\development\cpugen\radpreview.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23673; PDB kind: class.
|
||||
class idRadPreview
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23676.
|
||||
virtual ~idRadPreview();
|
||||
virtual bool Start(idRadPreviewToolIface *, const idStr *);
|
||||
virtual void Stop();
|
||||
virtual void Update();
|
||||
virtual void SignalWorldChanged(int);
|
||||
virtual void Pause(bool);
|
||||
virtual void Unpause();
|
||||
virtual void RebuildGeometry();
|
||||
|
||||
};
|
||||
@@ -0,0 +1,105 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\development\manifold.h
|
||||
// Recovered logical types: 9
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3033; PDB kind: enum.
|
||||
enum idManifold::occluders_t : __int32
|
||||
{
|
||||
OCCLUDERS_NONE = 0x0,
|
||||
OCCLUDERS_ALL = 0x1,
|
||||
OCCLUDERS_SIGNIFICANT = 0x2,
|
||||
OCCLUDERS_OMNI_SIGNIFICANT = 0x3,
|
||||
OCCLUDERS_DETAIL = 0x4,
|
||||
OCCLUDERS_PIPE = 0x5,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 3034; PDB kind: enum.
|
||||
enum idManifold::color_t : __int32
|
||||
{
|
||||
COLOR_NONE = 0x0,
|
||||
COLOR_ISLANDS = 0x1,
|
||||
COLOR_NODES = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 3035; PDB kind: unknown.
|
||||
typedef idBSPSurface::<unnamed_tag> idManifold::<unnamed_tag>;
|
||||
|
||||
// IDA Local Type ordinal 22836; PDB kind: struct.
|
||||
struct manifoldEdge_t
|
||||
{
|
||||
manifoldVertex_t *verts[2];
|
||||
manifoldEdgeTriangle_t *tris[2];
|
||||
manifoldEdge_t *split[2];
|
||||
int numTris;
|
||||
int flags;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22837; PDB kind: struct.
|
||||
struct manifoldHint_t
|
||||
{
|
||||
int planeType;
|
||||
float planeDist;
|
||||
idWinding *winding;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22842; PDB kind: struct.
|
||||
struct manifoldNode_t
|
||||
{
|
||||
int planeType;
|
||||
float planeDist;
|
||||
idBounds bounds;
|
||||
idList<manifoldHint_t,5> hints;
|
||||
idList<manifoldTriangle_t *,5> triangles;
|
||||
idHashIndex triangleHash;
|
||||
idList<manifoldIsland_t *,5> islands;
|
||||
manifoldNode_t *children[2];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22845; PDB kind: struct.
|
||||
struct idManifold::tree_t
|
||||
{
|
||||
manifoldNode_t *root;
|
||||
idManifold::occluders_t splitOccluders;
|
||||
int trianglesPerNode;
|
||||
float planarEpsilon;
|
||||
float colinearEpsilon;
|
||||
float flipEpsilon;
|
||||
float convexEpsilon;
|
||||
float textureSpaceEpsilon;
|
||||
int doneTriangles;
|
||||
int donePercent;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22864; PDB kind: class.
|
||||
class idManifold
|
||||
{
|
||||
public:
|
||||
idList<manifoldVertex_t *,5> vertices;
|
||||
idList<manifoldEdge_t *,5> edges;
|
||||
idList<manifoldTriangle_t *,5> triangles;
|
||||
idList<manifoldIsland_t *,5> islands;
|
||||
idHashIndex vertexHash;
|
||||
idHashIndex edgeHash;
|
||||
idHashIndex triangleHash;
|
||||
idList<manifoldEdge_t *,5> splitEdges;
|
||||
idManifold::tree_t tree;
|
||||
idList<idStr,5> binaryModelNames;
|
||||
idList<bool,5> binaryModelState;
|
||||
idBlockAlloc<manifoldVertex_t,1024,12> manifoldVertexAllocator;
|
||||
idBlockAlloc<manifoldEdgeTriangle_t,1024,12> manifoldEdgeTriangleAllocator;
|
||||
idBlockAlloc<manifoldEdge_t,1024,12> manifoldEdgeAllocator;
|
||||
idBlockAlloc<manifoldTriangle_t,1024,12> manifoldTriangleAllocator;
|
||||
idBlockAlloc<manifoldIsland_t,128,12> manifoldIslandAllocator;
|
||||
idBlockAlloc<manifoldNode_t,1024,12> manifoldNodeAllocator;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22865; PDB kind: struct.
|
||||
struct idManifold::tjunction_t
|
||||
{
|
||||
manifoldEdge_t *edge;
|
||||
manifoldVertex_t *vertex;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\development\texturevectors.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22832; PDB kind: class.
|
||||
class idTextureVectors
|
||||
{
|
||||
public:
|
||||
long double texVec[2][4];
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\globalshadows.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13566; PDB kind: class.
|
||||
class idGlobalShadows
|
||||
{
|
||||
public:
|
||||
shadowMap_t *shadowMap;
|
||||
};
|
||||
@@ -0,0 +1,46 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\iesfile.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13573; PDB kind: class.
|
||||
class idIESfile : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13574.
|
||||
virtual ~idIESfile();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
int formatYear;
|
||||
int lampToLuminaireGeometry;
|
||||
int numAngleFactors;
|
||||
idList<float,5> factorAngles;
|
||||
idList<float,5> factorScales;
|
||||
int numLamps;
|
||||
float lumensPerLamp;
|
||||
float candelaMultiplier;
|
||||
int numVerticalAngles;
|
||||
int numHorizontalAngles;
|
||||
int photoMetricType;
|
||||
int unitsType;
|
||||
float width;
|
||||
float length;
|
||||
float height;
|
||||
float ballastFactor;
|
||||
int futureUse;
|
||||
float inputWats;
|
||||
idList<float,5> verticalAngles;
|
||||
idList<float,5> horizontalAngles;
|
||||
idList<float,5> candela;
|
||||
iesRenderInfo_t renderInfo;
|
||||
idStr editorModelName;
|
||||
idStaticModel *editorModel;
|
||||
};
|
||||
@@ -0,0 +1,230 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\image.h
|
||||
// Recovered logical types: 8
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 4963; PDB kind: union.
|
||||
union _IMAGE_PTE
|
||||
{
|
||||
struct
|
||||
{
|
||||
unsigned __int32 ReadOnly : 1;
|
||||
unsigned __int32 Data : 1;
|
||||
unsigned __int32 NoExecute : 1;
|
||||
unsigned __int32 Valid : 1;
|
||||
unsigned __int32 StartOfImage : 1;
|
||||
unsigned __int32 EndOfImage : 1;
|
||||
unsigned __int32 PageFrameNumber : 14;
|
||||
unsigned __int32 Whitening : 10;
|
||||
unsigned __int32 Terabyte : 2;
|
||||
} __s0;
|
||||
struct
|
||||
{
|
||||
unsigned __int32 VNDR : 4;
|
||||
unsigned __int32 Markers : 2;
|
||||
unsigned __int32 RealPageNumber : 26;
|
||||
} __s1;
|
||||
unsigned int AsULONG;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13318; PDB kind: class.
|
||||
class idImage : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13319.
|
||||
virtual ~idImage();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
void *backgroundReadData;
|
||||
volatile bool backgroundReadComplete;
|
||||
bool defaulted;
|
||||
unsigned int sourceFileTime;
|
||||
unsigned int binaryFileTime;
|
||||
int frameUsed;
|
||||
int bindCount;
|
||||
idImageOpts opts;
|
||||
bool optsHasBeenSet;
|
||||
bool allocationFailed;
|
||||
_D3DFORMAT d3dFormat;
|
||||
_D3DLOCKED_RECT lockRect[14];
|
||||
D3DTexture *d3dTexture;
|
||||
void *imageBuffer;
|
||||
int allocWidth;
|
||||
int allocHeight;
|
||||
int _D3DSAMP_MAGFILTER;
|
||||
int _D3DSAMP_MINFILTER;
|
||||
int _D3DSAMP_MIPFILTER;
|
||||
int _D3DSAMP_MAXANISOTROPY;
|
||||
int _D3DSAMP_MIPMAPLODBIAS;
|
||||
int _D3DSAMP_MAXMIPLEVEL;
|
||||
int _D3DSAMP_MINMIPLEVEL;
|
||||
int _D3DSAMP_BORDERCOLOR;
|
||||
int _D3DSAMP_ADDRESSU;
|
||||
int _D3DSAMP_ADDRESSV;
|
||||
int _D3DSAMP_TRILINEARTHRESHOLD;
|
||||
int physicalMemoryBytes;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22948; PDB kind: unknown.
|
||||
struct jxr_image::<unnamed_type_strip>
|
||||
{
|
||||
macroblock_s *up4;
|
||||
macroblock_s *up3;
|
||||
macroblock_s *up2;
|
||||
macroblock_s *up1;
|
||||
macroblock_s *cur;
|
||||
int *upsample_memory_y;
|
||||
int *upsample_memory_x;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22952; PDB kind: struct.
|
||||
struct __declspec(align(8)) jxr_image
|
||||
{
|
||||
int user_flags;
|
||||
unsigned int width1;
|
||||
unsigned int height1;
|
||||
unsigned int extended_width;
|
||||
unsigned int extended_height;
|
||||
unsigned __int8 header_flags1;
|
||||
unsigned __int8 header_flags2;
|
||||
unsigned __int8 header_flags_fmt;
|
||||
jxr_output_clr_fmt_e output_clr_fmt;
|
||||
unsigned __int8 use_clr_fmt;
|
||||
JXRC_GUID_e ePixelFormat;
|
||||
unsigned __int32 : 28;
|
||||
unsigned __int32 trim_flexbits : 4;
|
||||
unsigned __int8 bands_present;
|
||||
unsigned __int8 bands_present_of_primary;
|
||||
unsigned __int8 chroma_centering_x;
|
||||
unsigned __int8 chroma_centering_y;
|
||||
unsigned __int8 num_channels;
|
||||
unsigned int disableTileOverlapFlag;
|
||||
unsigned int tile_rows;
|
||||
unsigned int tile_columns;
|
||||
unsigned int *tile_row_height;
|
||||
unsigned int *tile_column_width;
|
||||
unsigned int *tile_row_height_input;
|
||||
unsigned int *tile_column_width_input;
|
||||
unsigned int *tile_column_position;
|
||||
unsigned int *tile_row_position;
|
||||
__int64 *tile_index_table;
|
||||
__int64 tile_index_table_length;
|
||||
unsigned __int16 window_extra_top;
|
||||
unsigned __int16 window_extra_left;
|
||||
unsigned __int16 window_extra_bottom;
|
||||
unsigned __int16 window_extra_right;
|
||||
unsigned __int32 : 26;
|
||||
unsigned __int32 hp_frame_uniform : 1;
|
||||
unsigned __int32 hp_use_lp_qp : 1;
|
||||
unsigned __int32 lp_frame_uniform : 1;
|
||||
unsigned __int32 lp_use_dc_qp : 1;
|
||||
unsigned __int32 dc_frame_uniform : 1;
|
||||
unsigned __int32 scaled_flag : 1;
|
||||
unsigned __int8 shift_bits;
|
||||
unsigned __int8 len_mantissa;
|
||||
char exp_bias;
|
||||
unsigned int num_lp_qps;
|
||||
unsigned int num_hp_qps;
|
||||
int cur_my;
|
||||
jxr_image::<unnamed_type_strip> strip[16];
|
||||
macroblock_s *mb_row_buffer[16];
|
||||
macroblock_s *mb_row_context[16];
|
||||
adaptive_vlc_s vlc_table[20];
|
||||
int count_max_CBPLP;
|
||||
int count_zero_CBPLP;
|
||||
cbp_model_s hp_cbp_model;
|
||||
unsigned int lopass_scanorder[15];
|
||||
unsigned int lopass_scantotals[15];
|
||||
unsigned int hipass_hor_scanorder[15];
|
||||
unsigned int hipass_hor_scantotals[15];
|
||||
unsigned int hipass_ver_scanorder[15];
|
||||
unsigned int hipass_ver_scantotals[15];
|
||||
jxr_component_mode_e dc_component_mode;
|
||||
jxr_component_mode_e lp_component_mode;
|
||||
jxr_component_mode_e hp_component_mode;
|
||||
unsigned __int8 dc_quant_ch[16];
|
||||
unsigned __int8 lp_quant_ch[16][16];
|
||||
unsigned __int8 hp_quant_ch[16][16];
|
||||
jxr_tile_qp *tile_quant;
|
||||
model_s model_dc;
|
||||
model_s model_lp;
|
||||
model_s model_hp;
|
||||
model_s *model_hp_buffer;
|
||||
cbp_model_s *hp_cbp_model_buffer;
|
||||
void (__fastcall *out_fun)(jxr_image *, int, int, int *);
|
||||
void (__fastcall *inp_fun)(jxr_image *, int, int, int *);
|
||||
void *user_data;
|
||||
jxr_image *alpha;
|
||||
int primary;
|
||||
unsigned __int8 profile_idc;
|
||||
unsigned __int8 level_idc;
|
||||
unsigned __int8 lwf_test;
|
||||
unsigned int container_width;
|
||||
unsigned int container_height;
|
||||
unsigned __int8 container_nc;
|
||||
unsigned __int8 container_alpha;
|
||||
unsigned __int8 container_separate_alpha;
|
||||
jxr_bitdepth_e container_bpc;
|
||||
jxr_output_clr_fmt_e container_color;
|
||||
unsigned __int8 container_image_band_presence;
|
||||
unsigned __int8 container_alpha_band_presence;
|
||||
unsigned __int8 container_current_separate_alpha;
|
||||
rbitstream rbits;
|
||||
wbitstream wbits;
|
||||
unsigned int stripe_tx;
|
||||
unsigned int stripe_ty;
|
||||
unsigned int stripe_my;
|
||||
unsigned int cleanup_state;
|
||||
int freq_buffered_flag;
|
||||
int spatial_buffered_flag;
|
||||
int output_sent;
|
||||
unsigned int spatial_mb_width;
|
||||
unsigned int spatial_mb_height;
|
||||
void *temp_buffer;
|
||||
int temp_buffer_size;
|
||||
int temp_buffer_used;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23018; PDB kind: class.
|
||||
class idImageCPU : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23019.
|
||||
virtual ~idImageCPU();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
struct idHashStoreJar *jar;
|
||||
imageCpuHeader_t *header;
|
||||
int width;
|
||||
int height;
|
||||
unsigned __int8 *data;
|
||||
bool emptyImage;
|
||||
unsigned int fileLength;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23100; PDB kind: class.
|
||||
class idImageDef
|
||||
{
|
||||
public:
|
||||
idImageOpts opts;
|
||||
idStr imageProgram;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 28136; PDB kind: typedef.
|
||||
typedef jxr_image *jxr_image_t;
|
||||
|
||||
// IDA Local Type ordinal 29664; PDB kind: typedef.
|
||||
typedef _IMAGE_PTE IMAGE_PTE;
|
||||
@@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imageatlas.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3016; PDB kind: enum.
|
||||
enum imageFlags_t : __int32
|
||||
{
|
||||
IMAGE_SPECULAR = 0x1,
|
||||
IMAGE_DIFFUSE = 0x2,
|
||||
IMAGE_NORMAL = 0x4,
|
||||
IMAGE_TEST_FBR = 0x8,
|
||||
IMAGE_TEST_VBR = 0x10,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22768; PDB kind: class.
|
||||
class idImageAtlas
|
||||
{
|
||||
public:
|
||||
int ATLAS_WIDTH_BITS;
|
||||
int ATLAS_HEIGHT_BITS;
|
||||
int ATLAS_MIP_LEVELS;
|
||||
int ATLAS_TILE_WIDTH_BITS;
|
||||
int ATLAS_TILE_HEIGHT_BITS;
|
||||
int ATLAS_WIDTH;
|
||||
int ATLAS_HEIGHT;
|
||||
int ATLAS_TILE_WIDTH;
|
||||
int ATLAS_TILE_HEIGHT;
|
||||
int ATLAS_TILES_WIDE;
|
||||
int ATLAS_TILES_HIGH;
|
||||
int ATLAS_TILES;
|
||||
idBitArray tileAlloc;
|
||||
idImage *atlas;
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagedata.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18514; PDB kind: class.
|
||||
class idImageData
|
||||
{
|
||||
public:
|
||||
int width;
|
||||
int height;
|
||||
unsigned __int8 *data;
|
||||
float *floatData;
|
||||
};
|
||||
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagemanager.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22769; PDB kind: class.
|
||||
class idImageManager
|
||||
{
|
||||
public:
|
||||
idImage *defaultImage;
|
||||
idImage *whiteImage;
|
||||
idImage *borderedPointWhiteImage;
|
||||
idImage *blackImage;
|
||||
idImage *ps3ReplacementImage;
|
||||
idImageAtlas *transSortImageAtlas;
|
||||
textureFilter_t textureMinFilter;
|
||||
textureFilter_t textureMaxFilter;
|
||||
textureFilter_t textureMipFilter;
|
||||
float textureAnisotropy;
|
||||
float textureLODBias;
|
||||
idImageOpts newImageOpts;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23016; PDB kind: struct.
|
||||
struct idImageManager::ChangeTextureFilter::__l2::filterName_t
|
||||
{
|
||||
char *name;
|
||||
textureFilter_t minimize;
|
||||
textureFilter_t maximize;
|
||||
textureFilter_t mipimize;
|
||||
};
|
||||
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagetools\color\colorspace.h
|
||||
// Recovered logical types: 5
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 395; PDB kind: enum.
|
||||
enum _D3DCOLORSPACE : __int32
|
||||
{
|
||||
D3DCOLORSPACE_RGB = 0x0,
|
||||
D3DCOLORSPACE_YCbCr601 = 0x1,
|
||||
D3DCOLORSPACE_YCbCr709 = 0x2,
|
||||
D3DCOLORSPACE_FORCE_DWORD = 0x7FFFFFFF,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 3160; PDB kind: enum.
|
||||
enum J_COLOR_SPACE : __int32
|
||||
{
|
||||
JCS_UNKNOWN = 0x0,
|
||||
JCS_GRAYSCALE = 0x1,
|
||||
JCS_RGB = 0x2,
|
||||
JCS_YCbCr = 0x3,
|
||||
JCS_CMYK = 0x4,
|
||||
JCS_YCCK = 0x5,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 5255; PDB kind: struct.
|
||||
struct HCOLORSPACE__
|
||||
{
|
||||
int unused;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 25991; PDB kind: typedef.
|
||||
typedef _D3DCOLORSPACE D3DCOLORSPACE;
|
||||
|
||||
// IDA Local Type ordinal 30658; PDB kind: typedef.
|
||||
typedef HCOLORSPACE__ *HCOLORSPACE;
|
||||
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagetools\filter\filter.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3070; PDB kind: enum.
|
||||
enum idFilter::bicubicFilter_t : __int32
|
||||
{
|
||||
BICUBIC_PHOTOSHOP = 0x0,
|
||||
BICUBIC_SHIFTED = 0x1,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14263; PDB kind: class.
|
||||
class idMD6Filter : public idMD6Node
|
||||
{
|
||||
public:
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21415; PDB kind: struct.
|
||||
struct aiFilter_t
|
||||
{
|
||||
const char *filterName;
|
||||
int filter;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23011; PDB kind: class.
|
||||
class idFilter
|
||||
{
|
||||
public:
|
||||
};
|
||||
@@ -0,0 +1,52 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagetools\filter\mipmap.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 9002; PDB kind: unknown.
|
||||
struct MSI_MAP::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 CAP_ID : 8;
|
||||
unsigned __int32 NEXT_PTR : 8;
|
||||
unsigned __int32 EN : 1;
|
||||
unsigned __int32 FIXD : 1;
|
||||
unsigned __int32 : 9;
|
||||
unsigned __int32 CAP_TYPE : 5;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9003; PDB kind: union.
|
||||
union MSI_MAP
|
||||
{
|
||||
MSI_MAP::<unnamed_type_bitfields> bitfields;
|
||||
MSI_MAP::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 16080; PDB kind: struct.
|
||||
struct mpMap_t
|
||||
{
|
||||
idStrId name;
|
||||
idStr map;
|
||||
idStr titleStorageMapName;
|
||||
idStrId description;
|
||||
idStrId introQuote;
|
||||
idStr material;
|
||||
int type;
|
||||
int cashRequired;
|
||||
int levelRequired;
|
||||
int menuIndex;
|
||||
int loadScreenAlternate;
|
||||
rageStat_t challengeSpecialCollectionStat;
|
||||
idStaticList<mpMapMode_t,16> modes;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22997; PDB kind: class.
|
||||
class idMipMap
|
||||
{
|
||||
public:
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\imagetools\imageprocess.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22932; PDB kind: struct.
|
||||
struct imageProperties_t
|
||||
{
|
||||
const idMaterial *mtr;
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
int area;
|
||||
};
|
||||
@@ -0,0 +1,72 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\ingamevideo.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13819; PDB kind: class.
|
||||
class idInGameVideoFile : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13820.
|
||||
virtual ~idInGameVideoFile();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
unsigned __int8 *buffer;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 17674; PDB kind: class.
|
||||
class idInGameVideoManager
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17675.
|
||||
virtual ~idInGameVideoManager();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void Update();
|
||||
virtual void UnbindAll();
|
||||
virtual void BindVideo(int, const idInGameVideoFile *);
|
||||
virtual void SetVideoTime(int, int);
|
||||
virtual void SetLooping(int, bool);
|
||||
virtual void SetPaused(int, bool);
|
||||
virtual int GetWeaponVideoIndex();
|
||||
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22991; PDB kind: struct.
|
||||
struct idInGameVideoManagerLocal::video_t
|
||||
{
|
||||
int timeOffset;
|
||||
int pausedTime;
|
||||
bool looping;
|
||||
int lastFrame;
|
||||
const idInGameVideoFile *file;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22992; PDB kind: class.
|
||||
class idInGameVideoManagerLocal : public idInGameVideoManager
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22993.
|
||||
virtual ~idInGameVideoManagerLocal();
|
||||
virtual void Init();
|
||||
virtual void Shutdown();
|
||||
virtual void Update();
|
||||
virtual void UnbindAll();
|
||||
virtual void BindVideo(int, const idInGameVideoFile *);
|
||||
virtual void SetVideoTime(int, int);
|
||||
virtual void SetLooping(int, bool);
|
||||
virtual void SetPaused(int, bool);
|
||||
virtual int GetWeaponVideoIndex();
|
||||
|
||||
idParallelJobList *parallelJobList;
|
||||
idInGameVideoManagerLocal::video_t videos[6];
|
||||
videoTranscodeParms_t parms[6];
|
||||
};
|
||||
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\approximatelighting\approximatelighting.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13633; PDB kind: struct.
|
||||
struct approximateLighting_t
|
||||
{
|
||||
idVec4 primeLightDir;
|
||||
idVec4 primeLightColor;
|
||||
idVec4 channelLighting[6];
|
||||
idVec4 lightingModel;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13635; PDB kind: struct.
|
||||
struct approximateLightingParms_t
|
||||
{
|
||||
approximateLighting_t *lighting;
|
||||
lightContribution_t *contributions;
|
||||
const ambientMap_t *ambientMap;
|
||||
const shadowMap_t *shadowMap;
|
||||
const idRenderLightCommitted **lights;
|
||||
int numLights;
|
||||
idVec3 samplePoint;
|
||||
lightingModel_t lightingModel;
|
||||
bool noAmbient;
|
||||
bool noApproximateLighting;
|
||||
bool privateLightOnly;
|
||||
bool unused_padding_byte_1;
|
||||
float ambientChannelScale;
|
||||
float directChannelScale;
|
||||
float primeLightScale;
|
||||
float dynamicLightingScale;
|
||||
float dimShadowHeightTweak;
|
||||
};
|
||||
@@ -0,0 +1,43 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\pagesort\pagesort.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1498; PDB kind: enum.
|
||||
enum pageSource_t : __int32
|
||||
{
|
||||
PAGESOURCE_INVALID = 0x0,
|
||||
PAGESOURCE_VMTR = 0x1,
|
||||
PAGESOURCE_UNIQUE = 0x2,
|
||||
PAGESOURCE_ALLOC2 = 0x3,
|
||||
PAGESOURCE_ALLOC3 = 0x4,
|
||||
PAGESOURCE_ALLOC4 = 0x5,
|
||||
PAGESOURCE_ALLOC5 = 0x6,
|
||||
PAGESOURCE_ALLOC6 = 0x7,
|
||||
PAGESOURCE_ALLOC7 = 0x8,
|
||||
PAGESOURCE_ALLOC8 = 0x9,
|
||||
PAGESOURCE_ALLOC9 = 0xA,
|
||||
PAGESOURCE_ALLOC10 = 0xB,
|
||||
PAGESOURCE_ALLOC11 = 0xC,
|
||||
PAGESOURCE_ALLOC12 = 0xD,
|
||||
PAGESOURCE_ALLOC13 = 0xE,
|
||||
PAGESOURCE_ALLOC14 = 0xF,
|
||||
PAGESOURCE_TOTAL = 0x10,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13650; PDB kind: struct.
|
||||
struct pageSortParms_t
|
||||
{
|
||||
int frameNum;
|
||||
const int *pagePriority;
|
||||
const int *pageFrameNum;
|
||||
const __int64 *physicalPageNums;
|
||||
int *firstPageIndex;
|
||||
int *lastPageIndex;
|
||||
int indexMask;
|
||||
__int64 *sortedPhysicalPageNums;
|
||||
volatile int *done;
|
||||
};
|
||||
@@ -0,0 +1,79 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\parmstate.h
|
||||
// Recovered logical types: 4
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 21766; PDB kind: struct.
|
||||
struct uniqueParmState_t
|
||||
{
|
||||
unsigned __int64 renderParmVersion;
|
||||
unsigned int numBlocks;
|
||||
const idParmBlock *parmBlocks[32];
|
||||
void *userData;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21822; PDB kind: struct.
|
||||
struct idParmState::parmStack_t::parmBlockStack_t
|
||||
{
|
||||
unsigned int lastOpLevel;
|
||||
const idParmBlock *parmBlock;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21823; PDB kind: struct.
|
||||
struct idParmState::parmStack_t
|
||||
{
|
||||
unsigned int virtualParmBlockLevel;
|
||||
unsigned int currentParmBlockLevel;
|
||||
unsigned int currentOpLevel;
|
||||
unsigned int virtualParmBlockStackMask;
|
||||
idParmState::parmStack_t::parmBlockStack_t parmBlockStack[32];
|
||||
parmValue_t opStack[1024];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 21824; PDB kind: class.
|
||||
class idParmState
|
||||
{
|
||||
public:
|
||||
unsigned __int64 renderParmVersion;
|
||||
unsigned __int64 vertexParmVersion;
|
||||
unsigned __int64 fragmentParmVersion;
|
||||
unsigned __int64 textureParmVersion;
|
||||
bool currentMVPHasNegativeDeterminant;
|
||||
__declspec(align(16)) parmValue_t values[2048];
|
||||
unsigned int onParmBlockStack[2048];
|
||||
idParmState::parmStack_t parmStack;
|
||||
const idDeclRenderParm *parmDecl[2048];
|
||||
unsigned __int8 parmUsageMask[2048];
|
||||
const idDeclTable *globalTables[128];
|
||||
const idLookupTable *globalLookupTables[128];
|
||||
int numGlobalTables;
|
||||
int parmIndexPositionToViewTexture;
|
||||
int parmIndexRenderPositionToViewTexture;
|
||||
int parmIndexPositionToFeedback;
|
||||
int parmIndexModelMatrixX;
|
||||
int parmIndexModelMatrixY;
|
||||
int parmIndexModelMatrixZ;
|
||||
int parmIndexModelMatrixW;
|
||||
int parmIndexInverseModelMatrixX;
|
||||
int parmIndexInverseModelMatrixY;
|
||||
int parmIndexInverseModelMatrixZ;
|
||||
int parmIndexInverseModelMatrixW;
|
||||
int parmIndexMVPMatrixX;
|
||||
int parmIndexMVPMatrixY;
|
||||
int parmIndexMVPMatrixZ;
|
||||
int parmIndexMVPMatrixW;
|
||||
int parmIndexPrimeLightDir;
|
||||
int parmIndexPrimeLightColor;
|
||||
int parmIndexChannelLight[6];
|
||||
int parmIndexLightingModel;
|
||||
int parmIndexHighlightColor;
|
||||
int parmIndexVertexStScaleBias;
|
||||
int parmIndexVertexXYZScale;
|
||||
int parmIndexVertexXYZBias;
|
||||
int parmIndexIf;
|
||||
int parmIndexPolygonOffset;
|
||||
int parmIndexVertexMorphScale;
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\render_types.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 669; PDB kind: enum.
|
||||
enum RendererType : __int32
|
||||
{
|
||||
CrossProcessRenderer = 0x0,
|
||||
DirectSoundRenderer = 0x1,
|
||||
XboxRenderer = 0x2,
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderaugment.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22926; PDB kind: struct.
|
||||
struct renderAugmentParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idRenderModelCommitted **viewAugmentModels;
|
||||
int numViewAugmentModels;
|
||||
const idDeclRenderProg *progColorParmOnly;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestAugment;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23652; PDB kind: class.
|
||||
class idRenderBumpClient
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 23653.
|
||||
virtual void Start();
|
||||
virtual void Stop();
|
||||
virtual void QueueScanLine(const int);
|
||||
virtual void GetCompletedScanLines(struct idList<idCloudRenderBumpCmd,5> *);
|
||||
virtual void UpdateParms(const idRbParms *);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendercapture.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3021; PDB kind: enum.
|
||||
enum renderCapture_t : __int32
|
||||
{
|
||||
CAPTURE_VIEW_COLOR = 0x0,
|
||||
CAPTURE_VIEW_DEPTH = 0x1,
|
||||
CAPTURE_FEEDBACK = 0x2,
|
||||
CAPTURE_GLARE_MAP = 0x3,
|
||||
CAPTURE_GUI_IMAGE = 0x4,
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendercull.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22914; PDB kind: struct.
|
||||
struct renderCullParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idBounds *areaNodeBounds;
|
||||
const idBounds *worldAreaSubspaceBounds;
|
||||
const idBounds *worldAreaGeometryBounds;
|
||||
int numAreaNodes;
|
||||
int numWorldAreas;
|
||||
unsigned __int8 *areaNodeBoundsCulled;
|
||||
unsigned __int8 *worldAreaSubspaceBoundsCulled;
|
||||
unsigned __int8 *worldAreaGeometryBoundsCulled;
|
||||
};
|
||||
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderdepth.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22918; PDB kind: struct.
|
||||
struct renderDepthParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const viewWorldArea_t *viewWorldAreas;
|
||||
int numViewWorldAreas;
|
||||
const idRenderModelSurface **viewWorldSurfaces;
|
||||
int numViewWorldSurfaces;
|
||||
const idRenderModelCommitted **viewModels;
|
||||
int numViewModels;
|
||||
const idRenderModelCommitted **sceneModels;
|
||||
int numSceneModels;
|
||||
const bool *binaryModelState;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idTriangles *occlusionBaseTriangles;
|
||||
const idDeclRenderProg *progOccluderDepthOnly;
|
||||
const idDeclRenderProg *progOutside;
|
||||
const idDeclRenderProg *progRadiosityPreview;
|
||||
const idImage *imgBlack;
|
||||
int extraClears;
|
||||
occlusionState_t *occlusionState;
|
||||
drawSurf_t *drawSurfs;
|
||||
int *numDrawSurfs;
|
||||
};
|
||||
@@ -0,0 +1,41 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderdimshadows.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22921; PDB kind: struct.
|
||||
struct renderDimShadowsParms_t
|
||||
{
|
||||
__int16 *dimShadowModelSlaves;
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idRenderModelCommitted *const *linkedRenderModels;
|
||||
int numLinkedRenderModels;
|
||||
const idRenderModelCommitted *dimShadowModels;
|
||||
const idTriangles *extrudeBox;
|
||||
const idRenderDestination *renderDestDimShadow;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idImage *imgViewColor;
|
||||
const idDeclRenderParm *rpViewColor;
|
||||
const idDeclRenderParm *rpDimShadowFade;
|
||||
const idDeclRenderParm *rpDimShadowExtrude;
|
||||
const idDeclRenderParm *rpDimShadowClipPlane;
|
||||
const idDeclRenderParm *rpWindowPosToDimShadowBlurS;
|
||||
const idDeclRenderParm *rpWindowPosToDimShadowBlurT;
|
||||
const idDeclRenderParm *rpWindowPosToDimShadowBlurR;
|
||||
const idDeclRenderParm *rpWindowPosToDimShadowBlurQ;
|
||||
const idDeclRenderParm *rpVertexMorphScale;
|
||||
const idDeclRenderProg *progDimShadowCreate;
|
||||
const idDeclRenderProg *progDimShadowCreateWound;
|
||||
const idDeclRenderProg *progDimShadowCreateAlpha;
|
||||
const idDeclRenderProg *progDimShadowDraw;
|
||||
const idDeclRenderProg *progDimShadowDrawHighQuality;
|
||||
const idDeclRenderProg *progDimShadowStencil;
|
||||
const idDeclRenderProg *progDimShadowDebugDraw;
|
||||
occlusionState_t *occlusionState;
|
||||
int *numDimShadows;
|
||||
unsigned __int8 *modelDimShadowState;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderdrawsurf.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22829; PDB kind: struct.
|
||||
struct renderDrawSurfParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
bool allowInGameGUIs;
|
||||
captureParms_t captureParms;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestGui;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22910; PDB kind: class.
|
||||
class idRenderDrawSurf
|
||||
{
|
||||
public:
|
||||
const idRenderModelCommitted *currentModel;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderdynamicenv.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22917; PDB kind: struct.
|
||||
struct renderDynamicEnvParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idDeclRenderParm *rpEnvBlendMip;
|
||||
const idDeclRenderParm *rpAmbientEnvMap;
|
||||
const idDeclRenderParm *rpUserEnvMap;
|
||||
const idDeclRenderParm *rpColor;
|
||||
const idDeclRenderParm *rpEnvSMatrix;
|
||||
const idDeclRenderParm *rpEnvTMatrix;
|
||||
const idDeclRenderParm *rpEnvRMatrix;
|
||||
const idRenderDestination *renderDestDynamicEnv;
|
||||
const idImage *imgDynamicEnv;
|
||||
const idImage *imgAmbientEnv;
|
||||
const idImage *imgUserEnv;
|
||||
const idTriangles *unitCubeTris;
|
||||
const idDeclRenderProg *progBlend;
|
||||
idMat3 envMapRotation;
|
||||
envBlend_t *envBlend;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderfog.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22924; PDB kind: struct.
|
||||
struct renderFogParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idDeclRenderProg *progGlobalFog;
|
||||
const idTriangles *unitSquareTris;
|
||||
};
|
||||
@@ -0,0 +1,48 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendergather.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22916; PDB kind: struct.
|
||||
struct renderGatherParms_t
|
||||
{
|
||||
unsigned __int8 *temp;
|
||||
int tempSize;
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idRenderModelCommitted *const *linkedRenderModels;
|
||||
int numLinkedRenderModels;
|
||||
const idRenderLightCommitted *const *linkedRenderLights;
|
||||
int numLinkedRenderLights;
|
||||
const nodeWorldArea_t *nodeWorldAreas;
|
||||
const unsigned __int8 *worldAreaSubspaceBoundsCulled;
|
||||
const unsigned __int8 *worldAreaGeometryBoundsCulled;
|
||||
int numNodeWorldAreas;
|
||||
const worldArea_t *worldAreas;
|
||||
int numWorldAreas;
|
||||
const idRenderModelCommitted *addAlwaysModels;
|
||||
occlusionState_t *occlusionState;
|
||||
int *occlusionTestNodes;
|
||||
int *numOcclusionTestNodes;
|
||||
viewWorldArea_t *viewWorldAreas;
|
||||
int *numViewWorldAreas;
|
||||
const idRenderModelSurface **viewWorldSurfaces;
|
||||
int *numViewWorldSurfaces;
|
||||
const idRenderModelCommitted **viewModels;
|
||||
int *numViewModels;
|
||||
const idRenderModelCommitted **sceneModels;
|
||||
int *numSceneModels;
|
||||
const idRenderModelCommitted **viewAugmentModels;
|
||||
int *numViewAugmentModels;
|
||||
const idRenderLightCommitted **viewLights;
|
||||
int *numViewLights;
|
||||
int *occlusionTestWorldAreas;
|
||||
int *numOcclusionTestWorldAreas;
|
||||
const idRenderModelCommitted **occlusionTestModels;
|
||||
int *numOcclusionTestModels;
|
||||
const idRenderLightCommitted **occlusionTestLights;
|
||||
int *numOcclusionTestLights;
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderglare.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22928; PDB kind: struct.
|
||||
struct renderGlareParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
float xScale;
|
||||
float yScale;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestViewColor;
|
||||
const idRenderDestination *renderDestMip3;
|
||||
const idRenderDestination *renderDestMip3Alt;
|
||||
const idImage *imgBlack;
|
||||
const idDeclRenderParm *rpGlareMap;
|
||||
const idDeclRenderParm *rpGlareStep;
|
||||
const idDeclRenderProg *progGauss;
|
||||
const idDeclRenderProg *progGlareScale;
|
||||
const idTriangles *unitSquareTris;
|
||||
};
|
||||
@@ -0,0 +1,204 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendergodrays.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19746; PDB kind: class.
|
||||
class __declspec(align(8)) idGodRays : public idEntity
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19747.
|
||||
virtual idTypeInfo *GetType();
|
||||
virtual ~idGodRays();
|
||||
virtual idEventArg *CallEvent(idEventArg *result, const idEventDef *, const idEventArg *);
|
||||
virtual bool RespondsTo(const idEventDef *);
|
||||
virtual idEventArg *InternalCallEvent(idEventArg *result, const idEventDef *, const idEventArg *);
|
||||
virtual bool InternalRespondsTo(const idEventDef *);
|
||||
virtual void PostSpawn();
|
||||
virtual void Remove();
|
||||
virtual void DeleteSubEntities();
|
||||
virtual bool Draw(idPlayer *);
|
||||
virtual void JobSync();
|
||||
virtual void Think();
|
||||
virtual void PauseThink();
|
||||
virtual bool ShouldEnterDormancy();
|
||||
virtual bool ShouldLeaveDormancy();
|
||||
virtual void DormantBegin();
|
||||
virtual void DormantEnd(const int);
|
||||
virtual idRenderModelInfo *GetRenderModelInfo();
|
||||
virtual const idRenderModelInfo *GetRenderModelInfo_2();
|
||||
virtual void GetScale(idVec3 *);
|
||||
virtual void SetScale(const idVec3 *);
|
||||
virtual void SetModelByName(const char *);
|
||||
virtual void SetModel(idRenderModel *);
|
||||
virtual const idMaterial *GetCustomMaterial();
|
||||
virtual void SetColor(const idVec4 *);
|
||||
virtual void SetColor_2(const idColor *);
|
||||
virtual void SetColor_3(const idVec3 *);
|
||||
virtual void SetColor_4(float, float, float);
|
||||
virtual void SetColor_5(float, float, float, float);
|
||||
virtual void GetColor(idVec4 *);
|
||||
virtual void GetColor_2(idColor *);
|
||||
virtual void GetColor_3(idVec3 *);
|
||||
virtual void Hide(bool);
|
||||
virtual void Hide_2();
|
||||
virtual void Show();
|
||||
virtual void GetModelTransform(idVec3 *, idMat3 *);
|
||||
virtual void GetSoundTransform(idVec3 *, idMat3 *);
|
||||
virtual void UpdateModelTransform();
|
||||
virtual void UpdateFX();
|
||||
virtual void ProjectOverlay(const idVec3 *, const idVec3 *, float, const char *);
|
||||
virtual idPresentable *AllocPresentable(idRenderModel *);
|
||||
virtual const idComponentTimeLine *GetComponentTimeLine();
|
||||
virtual idComponentTimeLine *GetComponentTimeLine_2();
|
||||
virtual bool UpdateAnimationControllers();
|
||||
virtual void UpdateAttachments();
|
||||
virtual const idAnimStack *GetAnimStack();
|
||||
virtual idAnimStack *GetAnimStack_2();
|
||||
virtual idIndex<short,enum invalidJointIndex_t> *GetJointIndexFromTrace(idIndex<short,enum invalidJointIndex_t> *result, trace_t);
|
||||
virtual awPathResult_t ChangeAnimWebState(const char *, const char *);
|
||||
virtual awPathResult_t ChangeAnimWebState_2(const char *);
|
||||
virtual awPathResult_t ForceAnimWebState(const char *);
|
||||
virtual awPathResult_t ChangeAnimWebStateVia(const char *, const char *, const char *, const char *);
|
||||
virtual awPathResult_t ChangeAnimWebStateVia_2(const char *, const char *);
|
||||
virtual idAnimWebCmdCtx *GetAnimWebCmdCtx();
|
||||
virtual const idAnimWebCmdCtx *GetAnimWebCmdCtx_2();
|
||||
virtual const idAnimator_AF *GetAF();
|
||||
virtual idAnimator_AF *GetAF_2();
|
||||
virtual void PreBind();
|
||||
virtual void PostBind();
|
||||
virtual void PreUnbind();
|
||||
virtual void PostUnbind();
|
||||
virtual const splineLocation_t *GetSplineLocation();
|
||||
virtual void SetAxis(const idMat3 *);
|
||||
virtual bool CanDisablePhysics(const idEntity *);
|
||||
virtual collide_t Collide(const int, trace_t *, const idVec3 *);
|
||||
virtual collide_t Contact(const int, contactInfo_t *);
|
||||
virtual void ApplyImpulse(const int, const int, const idVec3 *, const idVec3 *);
|
||||
virtual void ApplyImpulseFromEntity(const idEntity *, const int, const idVec3 *, const idVec3 *);
|
||||
virtual void ApplyForce(const int, const int, const idVec3 *, const idVec3 *);
|
||||
virtual bool Crush(const int);
|
||||
virtual void ApplyDamage(const int, const int, const idDeclDamage *);
|
||||
virtual void ActivatePhysics(const int);
|
||||
virtual void DeactivatePhysics(const int);
|
||||
virtual void ApplyWaterEffects(const int, const int);
|
||||
virtual void ApplyWaterSplashEffects(const int, const int, surfTypes_t, idPhysicsCallbacks::splashState_t);
|
||||
virtual bool TakesDamage();
|
||||
virtual void DamageFeedback(idEntity *, idEntity *, const idDeclDamage *, float *);
|
||||
virtual void KilledNotification(const idEntity *, const idEntity *, const idDeclDamage *, const float);
|
||||
virtual float Damage(idEntity *, idEntity *, const idDeclDamage *, const float, const idVec3 *, trace_t *);
|
||||
virtual bool CalcDamageImpulse(const idEntity *, const idEntity *, const idDeclDamage *, const float, const idVec3 *, const trace_t *, idVec3 *, idVec3 *);
|
||||
virtual bool IsTargetLockable(const idDeclAmmo *);
|
||||
virtual void AddProjectileLock();
|
||||
virtual void RemoveProjectileLock();
|
||||
virtual const idScriptObject *GetScriptObject();
|
||||
virtual idScriptObject *GetScriptObject_2();
|
||||
virtual bool ShouldConstructScriptObjectAtSpawn();
|
||||
virtual idThread *GetStateThread();
|
||||
virtual int AddThread(const idHandle<int,enum invalidThreadHandle_t,0>);
|
||||
virtual void RemoveThread(const idHandle<int,enum invalidThreadHandle_t,0>);
|
||||
virtual idHandle<int,enum invalidThreadHandle_t,0> *GetThread(idHandle<int,enum invalidThreadHandle_t,0> *result, const int);
|
||||
virtual int NumThreads();
|
||||
virtual int MaxThreads();
|
||||
virtual void ExecuteThread(idThread *);
|
||||
virtual void ResetFSMWaitThreadIfPossible(idThread *);
|
||||
virtual bool HandleGuiEvent(const sysEvent_t *);
|
||||
virtual void ActivateTargets(idEntity *);
|
||||
virtual bool GetRcCarCanTarget();
|
||||
virtual const idBaseHealth *GetHealthComponent();
|
||||
virtual idBaseHealth *GetHealthComponent_2();
|
||||
virtual const idSmartLootComponent *GetSmartLootComponent();
|
||||
virtual idSmartLootComponent *GetSmartLootComponent_2();
|
||||
virtual void Teleport(const idVec3 *, const idAngles *);
|
||||
virtual bool IsPusher();
|
||||
virtual const idList<idEntityPtr<idEntity>,5> *GetTriggerTouchList();
|
||||
virtual idList<idEntityPtr<idEntity>,5> *GetTriggerTouchList_2();
|
||||
virtual void TestFunctionality();
|
||||
virtual float GetUsableDistance();
|
||||
virtual float GetCrosshairIconDistance();
|
||||
virtual usableState_t GetUsableState(const idEntity *, const idFocusTrace *);
|
||||
virtual bool ModifyCrosshairInfo(const idEntity *, const idFocusTrace *, const usableState_t, idCrosshairInfo *);
|
||||
virtual bool IsCrosshairDisabled(const idEntity *, const idFocusTrace *, const usableState_t);
|
||||
virtual bool IsCrosshairSubdued(const idEntity *, const idFocusTrace *, const usableState_t);
|
||||
virtual bool IsEverUsable(const idEntity *);
|
||||
virtual bool IsCurrentlyUsable(const idEntity *);
|
||||
virtual bool Use(idEntity *, const usableState_t);
|
||||
virtual void Dropped(idEntity *, const idDeclInventory *);
|
||||
virtual const idInventoryCollection *GetInventory();
|
||||
virtual idInventoryCollection *GetInventory_2();
|
||||
virtual void InventoryAdded(idInventoryItem *, int);
|
||||
virtual void InventoryRemoved(idInventoryItem *);
|
||||
virtual const idAttachmentCollection *GetAttachments();
|
||||
virtual idAttachmentCollection *GetAttachments_2();
|
||||
virtual void EnableAIEventResponse(const idAIEvent::aiEventClass_t);
|
||||
virtual void DisableAIEventResponse(const idAIEvent::aiEventClass_t);
|
||||
virtual bool CanReceiveAIEvents(const int);
|
||||
virtual bool RespondsToAIEvent(const idAIEvent *);
|
||||
virtual void OnAIEvent(const idAIEvent *);
|
||||
virtual bool IsDead();
|
||||
virtual bool IsDying();
|
||||
virtual idFaction *GetFaction();
|
||||
virtual const idFaction *GetFaction_2();
|
||||
virtual idEntityAuditor *GetAuditor();
|
||||
virtual void GetVisibilityPoint(const visPoint_t, idVec3 *);
|
||||
virtual void GetAimPoint(const aimPoint_t, idVec3 *);
|
||||
virtual void GetEyePos(idVec3 *);
|
||||
virtual bool IsVisible();
|
||||
virtual idDynamicCoverMgr *GetDynamicCoverMgr();
|
||||
virtual const idDynamicCoverMgr *GetDynamicCoverMgr_2();
|
||||
virtual const idAAS2 *GetAAS();
|
||||
virtual void GetViewStateFOV(idVec3 *, unsigned __int8 *, unsigned __int8 *);
|
||||
virtual void GetViewStateFOV_2(idVec3 *, unsigned __int8 *, unsigned __int8 *);
|
||||
virtual int GetNumRepairBotTetherPoints();
|
||||
virtual bool GetRepairBotTetherPoint(const int, const int, idVec3 *);
|
||||
virtual idEntityInterface *CreateEntityInterface(idGame *);
|
||||
virtual void ShowEditingDialog();
|
||||
virtual void UpdateEditingDialog();
|
||||
virtual void UpdateModifiedProperties();
|
||||
virtual inputSettings_t *GetInputSettings(inputSettings_t *result, idPlayer *);
|
||||
virtual bool EvaluateControls(usercmd_t *, usercmd_t *);
|
||||
virtual void CheckForErrors(idList<idStr,5> *);
|
||||
virtual void DebugDrawEntity(const idColor *, int);
|
||||
virtual void ClientThink();
|
||||
virtual void Serialize(idSerializer *);
|
||||
virtual void PostSerializeRead(bool);
|
||||
virtual void OnActivate(idEntity *);
|
||||
virtual void OnMakeActivatable(const bool);
|
||||
virtual void OnNotifyProgressionOwner();
|
||||
|
||||
bool isRelativeToCamera;
|
||||
idVec3 direction;
|
||||
int sourceSize;
|
||||
int size;
|
||||
idColor color;
|
||||
float colorScale;
|
||||
const idMaterial *texture;
|
||||
bool enabled;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22925; PDB kind: struct.
|
||||
struct renderGodRaysParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idDeclRenderProg *progCreateGodRays;
|
||||
const idDeclRenderProg *progDrawGodRays;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestOffScreen;
|
||||
const idImage *imgOffScreen;
|
||||
const idTriangles *unitSquareTris;
|
||||
bool godRaysRelativeToCamera;
|
||||
idVec3 godRaysPosition;
|
||||
float godRaysSize;
|
||||
float godRaysSourceSize;
|
||||
idVec3 godRaysColor;
|
||||
const idMaterial *godRaysMaterial;
|
||||
const idDeclRenderParm *rpGodRayMap;
|
||||
const idDeclRenderParm *rpScaleBiasQuad;
|
||||
const idDeclRenderParm *rpScaleBiasSource;
|
||||
const idDeclRenderParm *rpGodRaysColor;
|
||||
const idDeclRenderParm *rpTransMap;
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderocclusion.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22919; PDB kind: struct.
|
||||
struct renderOcclusionParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
int *occlusionTestNodes;
|
||||
int numOcclusionTestNodes;
|
||||
int *occlusionTestWorldAreas;
|
||||
int numOcclusionTestWorldAreas;
|
||||
const idRenderModelCommitted **occlusionTestModels;
|
||||
int numOcclusionTestModels;
|
||||
const idRenderLightCommitted **occlusionTestLights;
|
||||
int numOcclusionTestLights;
|
||||
const int *areaNodeOcclusionIndex;
|
||||
const idBounds *areaNodeBounds;
|
||||
const idBounds *worldAreaGeometryBounds;
|
||||
int numWorldAreas;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idDeclRenderProg *progDepthOnly;
|
||||
const idTriangles *unitCubeTris;
|
||||
const idTriangles *zeroOneCubeTris;
|
||||
occlusionState_t *occlusionState;
|
||||
};
|
||||
@@ -0,0 +1,40 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderpasses.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1721; PDB kind: enum.
|
||||
enum renderPass_t : __int32
|
||||
{
|
||||
RENDERPASS_CLEAR = 0x0,
|
||||
RENDERPASS_EMISSIVE = 0x1,
|
||||
RENDERPASS_EMISSIVE_ONLY = 0x2,
|
||||
RENDERPASS_BLEND = 0x3,
|
||||
RENDERPASS_DISTORTION = 0x4,
|
||||
NUM_RENDER_PASSES = 0x5,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22825; PDB kind: struct.
|
||||
struct renderPassSurfaces_t
|
||||
{
|
||||
int firstSurface;
|
||||
int lastSurface;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22830; PDB kind: struct.
|
||||
struct renderPassParms_t
|
||||
{
|
||||
renderPass_t pass;
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
renderDrawSurfParms_t drawSurfParms;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestDistortion;
|
||||
const idDeclRenderParm *rpViewColor;
|
||||
const renderPassSurfaces_t *renderPasses;
|
||||
drawSurf_t **sortedDrawSurfs;
|
||||
const bool *binaryModelState;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderpostprocess.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22929; PDB kind: struct.
|
||||
struct renderPostProcessParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idDeclRenderParm *rpViewColor;
|
||||
const idDeclRenderParm *rpGlareMap;
|
||||
const idDeclRenderParm *rpAdaptiveGlareMap;
|
||||
const idDeclRenderParm *rpAdaptiveGlareLuminance;
|
||||
const idDeclRenderParm *rpDistortionMap;
|
||||
const idDeclRenderParm *rpDepthOfField;
|
||||
const idDeclRenderParm *rpDepthOfField2;
|
||||
const idDeclRenderProg *progPostProcess;
|
||||
const idImage *imgViewColor;
|
||||
const idImage *imgGlare;
|
||||
const idImage *imgAdaptiveGlare;
|
||||
const idImage *imgAdaptiveGlareLuminance;
|
||||
const idImage *imgBlack;
|
||||
const idImage *imgDistortion;
|
||||
const idTriangles *unitSquareTris;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendershadowbuffer.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22922; PDB kind: struct.
|
||||
struct renderShadowBufferParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const idBounds *worldAreaSubspaceBounds;
|
||||
const idBounds *worldAreaGeometryBounds;
|
||||
const unsigned __int8 *worldAreaSubspaceBoundsCulled;
|
||||
const idRenderModelCommitted *worldModel;
|
||||
const idRenderModelCommitted *const *linkedRenderModels;
|
||||
int numLinkedRenderModels;
|
||||
const idDeclRenderParm *rpShadowBufferResolution;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idRenderDestination *renderDestShadow;
|
||||
shadowBufferOptions_t options;
|
||||
unsigned __int8 *modelConsideredAsOccluder;
|
||||
};
|
||||
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\rendersort.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22920; PDB kind: struct.
|
||||
struct renderSortParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
drawSurf_t *drawSurfs;
|
||||
int numDrawSurfs;
|
||||
drawSurf_t **sortedDrawSurfs;
|
||||
renderPassSurfaces_t *renderPasses;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\renderwalkbsp.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22915; PDB kind: struct.
|
||||
struct renderWalkBSPParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
const unsigned __int8 *areaNodeBoundsCulled;
|
||||
const int *areaNodeOcclusionIndex;
|
||||
const __int64 *areaNodeOcclusionQuery;
|
||||
const idBounds *areaNodeBounds;
|
||||
const areaNode_t *areaNodes;
|
||||
int numAreaNodes;
|
||||
int numWorldAreas;
|
||||
int *occlusionTestNodes;
|
||||
int *numOcclusionTestNodes;
|
||||
nodeWorldArea_t *nodeWorldAreas;
|
||||
int *numNodeWorldAreas;
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\render\setupcolorgrading.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22913; PDB kind: struct.
|
||||
struct setupColorGradingParms_t
|
||||
{
|
||||
const idDeclRenderParm *rpCGShadow;
|
||||
const idDeclRenderParm *rpCGMidtone;
|
||||
const idDeclRenderParm *rpCGHighlight;
|
||||
const idDeclRenderParm *rpCGColorDodgeBlend;
|
||||
const idDeclRenderParm *rpCGColorBurnBlend;
|
||||
const idDeclRenderParm *rpCGColorMultiplyBlend;
|
||||
const idDeclRenderParm *rpCGColorScreenBlend;
|
||||
const idDeclRenderParm *rpCGBlackLevel;
|
||||
const idDeclRenderParm *rpColorGradingLUT;
|
||||
idImage *imageLUT;
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\baredct\baredct.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22789; PDB kind: class.
|
||||
class idBareDctBase
|
||||
{
|
||||
public:
|
||||
int luminanceQuality;
|
||||
int chrominanceQuality;
|
||||
int alphaQuality;
|
||||
sampleMode_t sampleMode;
|
||||
unsigned __int16 quantTableY[64];
|
||||
unsigned __int16 quantTableCoCg[64];
|
||||
unsigned __int16 quantTableA[64];
|
||||
};
|
||||
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\baredct\baredcthuffmantable.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22788; PDB kind: class.
|
||||
class idBareDCTHuffmanTable
|
||||
{
|
||||
public:
|
||||
unsigned int code[256];
|
||||
char size[256];
|
||||
unsigned __int8 look_nbits[256];
|
||||
unsigned __int8 look_sym[256];
|
||||
unsigned __int8 symbols[256];
|
||||
int test_nbits[16];
|
||||
int minCode[17];
|
||||
int maxCode[18];
|
||||
int symOffset[17];
|
||||
};
|
||||
@@ -0,0 +1,451 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\baredct\dct_reference.h
|
||||
// Recovered logical types: 36
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 6002; PDB kind: unknown.
|
||||
struct CP_RT9_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 6003; PDB kind: union.
|
||||
union CP_RT9_REFERENCE
|
||||
{
|
||||
CP_RT9_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT9_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 6834; PDB kind: unknown.
|
||||
struct CP_RT1_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 6835; PDB kind: union.
|
||||
union CP_RT1_REFERENCE
|
||||
{
|
||||
CP_RT1_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT1_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 7465; PDB kind: unknown.
|
||||
struct CP_RT6_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 7466; PDB kind: union.
|
||||
union CP_RT6_REFERENCE
|
||||
{
|
||||
CP_RT6_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT6_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 7907; PDB kind: unknown.
|
||||
struct CP_RT7_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 7908; PDB kind: union.
|
||||
union CP_RT7_REFERENCE
|
||||
{
|
||||
CP_RT7_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT7_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8280; PDB kind: unknown.
|
||||
struct CP_RT14_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8281; PDB kind: union.
|
||||
union CP_RT14_REFERENCE
|
||||
{
|
||||
CP_RT14_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT14_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8329; PDB kind: unknown.
|
||||
struct CP_RT5_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8330; PDB kind: union.
|
||||
union CP_RT5_REFERENCE
|
||||
{
|
||||
CP_RT5_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT5_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8429; PDB kind: unknown.
|
||||
struct CP_RT10_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8430; PDB kind: union.
|
||||
union CP_RT10_REFERENCE
|
||||
{
|
||||
CP_RT10_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT10_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8557; PDB kind: unknown.
|
||||
struct CP_RT15_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8558; PDB kind: union.
|
||||
union CP_RT15_REFERENCE
|
||||
{
|
||||
CP_RT15_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT15_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8628; PDB kind: unknown.
|
||||
struct CP_RT12_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8629; PDB kind: union.
|
||||
union CP_RT12_REFERENCE
|
||||
{
|
||||
CP_RT12_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT12_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8724; PDB kind: unknown.
|
||||
struct CP_RT13_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 8725; PDB kind: union.
|
||||
union CP_RT13_REFERENCE
|
||||
{
|
||||
CP_RT13_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT13_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9209; PDB kind: unknown.
|
||||
struct CP_RT0_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9210; PDB kind: union.
|
||||
union CP_RT0_REFERENCE
|
||||
{
|
||||
CP_RT0_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT0_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9231; PDB kind: unknown.
|
||||
struct CP_RT3_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9232; PDB kind: union.
|
||||
union CP_RT3_REFERENCE
|
||||
{
|
||||
CP_RT3_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT3_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9706; PDB kind: unknown.
|
||||
struct CP_RT2_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9707; PDB kind: union.
|
||||
union CP_RT2_REFERENCE
|
||||
{
|
||||
CP_RT2_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT2_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9984; PDB kind: unknown.
|
||||
struct CP_RT11_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9985; PDB kind: union.
|
||||
union CP_RT11_REFERENCE
|
||||
{
|
||||
CP_RT11_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT11_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9996; PDB kind: unknown.
|
||||
struct CP_RT8_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 9997; PDB kind: union.
|
||||
union CP_RT8_REFERENCE
|
||||
{
|
||||
CP_RT8_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT8_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 10054; PDB kind: unknown.
|
||||
struct CP_RT4_REFERENCE::<unnamed_type_bitfields>
|
||||
{
|
||||
unsigned __int32 REFERENCE : 32;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 10055; PDB kind: union.
|
||||
union CP_RT4_REFERENCE
|
||||
{
|
||||
CP_RT4_REFERENCE::<unnamed_type_bitfields> bitfields;
|
||||
CP_RT4_REFERENCE::<unnamed_type_bitfields> bits;
|
||||
unsigned int u32All;
|
||||
int i32All;
|
||||
float f32All;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19725; PDB kind: class.
|
||||
class __declspec(align(8)) idReferenceMap : public idEntity
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19726.
|
||||
virtual idTypeInfo *GetType();
|
||||
virtual ~idReferenceMap();
|
||||
virtual idEventArg *CallEvent(idEventArg *result, const idEventDef *, const idEventArg *);
|
||||
virtual bool RespondsTo(const idEventDef *);
|
||||
virtual idEventArg *InternalCallEvent(idEventArg *result, const idEventDef *, const idEventArg *);
|
||||
virtual bool InternalRespondsTo(const idEventDef *);
|
||||
virtual void PostSpawn();
|
||||
virtual void Remove();
|
||||
virtual void DeleteSubEntities();
|
||||
virtual bool Draw(idPlayer *);
|
||||
virtual void JobSync();
|
||||
virtual void Think();
|
||||
virtual void PauseThink();
|
||||
virtual bool ShouldEnterDormancy();
|
||||
virtual bool ShouldLeaveDormancy();
|
||||
virtual void DormantBegin();
|
||||
virtual void DormantEnd(const int);
|
||||
virtual idRenderModelInfo *GetRenderModelInfo();
|
||||
virtual const idRenderModelInfo *GetRenderModelInfo_2();
|
||||
virtual void GetScale(idVec3 *);
|
||||
virtual void SetScale(const idVec3 *);
|
||||
virtual void SetModelByName(const char *);
|
||||
virtual void SetModel(idRenderModel *);
|
||||
virtual const idMaterial *GetCustomMaterial();
|
||||
virtual void SetColor(const idVec4 *);
|
||||
virtual void SetColor_2(const idColor *);
|
||||
virtual void SetColor_3(const idVec3 *);
|
||||
virtual void SetColor_4(float, float, float);
|
||||
virtual void SetColor_5(float, float, float, float);
|
||||
virtual void GetColor(idVec4 *);
|
||||
virtual void GetColor_2(idColor *);
|
||||
virtual void GetColor_3(idVec3 *);
|
||||
virtual void Hide(bool);
|
||||
virtual void Hide_2();
|
||||
virtual void Show();
|
||||
virtual void GetModelTransform(idVec3 *, idMat3 *);
|
||||
virtual void GetSoundTransform(idVec3 *, idMat3 *);
|
||||
virtual void UpdateModelTransform();
|
||||
virtual void UpdateFX();
|
||||
virtual void ProjectOverlay(const idVec3 *, const idVec3 *, float, const char *);
|
||||
virtual idPresentable *AllocPresentable(idRenderModel *);
|
||||
virtual const idComponentTimeLine *GetComponentTimeLine();
|
||||
virtual idComponentTimeLine *GetComponentTimeLine_2();
|
||||
virtual bool UpdateAnimationControllers();
|
||||
virtual void UpdateAttachments();
|
||||
virtual const idAnimStack *GetAnimStack();
|
||||
virtual idAnimStack *GetAnimStack_2();
|
||||
virtual idIndex<short,enum invalidJointIndex_t> *GetJointIndexFromTrace(idIndex<short,enum invalidJointIndex_t> *result, trace_t);
|
||||
virtual awPathResult_t ChangeAnimWebState(const char *, const char *);
|
||||
virtual awPathResult_t ChangeAnimWebState_2(const char *);
|
||||
virtual awPathResult_t ForceAnimWebState(const char *);
|
||||
virtual awPathResult_t ChangeAnimWebStateVia(const char *, const char *, const char *, const char *);
|
||||
virtual awPathResult_t ChangeAnimWebStateVia_2(const char *, const char *);
|
||||
virtual idAnimWebCmdCtx *GetAnimWebCmdCtx();
|
||||
virtual const idAnimWebCmdCtx *GetAnimWebCmdCtx_2();
|
||||
virtual const idAnimator_AF *GetAF();
|
||||
virtual idAnimator_AF *GetAF_2();
|
||||
virtual void PreBind();
|
||||
virtual void PostBind();
|
||||
virtual void PreUnbind();
|
||||
virtual void PostUnbind();
|
||||
virtual const splineLocation_t *GetSplineLocation();
|
||||
virtual void SetAxis(const idMat3 *);
|
||||
virtual bool CanDisablePhysics(const idEntity *);
|
||||
virtual collide_t Collide(const int, trace_t *, const idVec3 *);
|
||||
virtual collide_t Contact(const int, contactInfo_t *);
|
||||
virtual void ApplyImpulse(const int, const int, const idVec3 *, const idVec3 *);
|
||||
virtual void ApplyImpulseFromEntity(const idEntity *, const int, const idVec3 *, const idVec3 *);
|
||||
virtual void ApplyForce(const int, const int, const idVec3 *, const idVec3 *);
|
||||
virtual bool Crush(const int);
|
||||
virtual void ApplyDamage(const int, const int, const idDeclDamage *);
|
||||
virtual void ActivatePhysics(const int);
|
||||
virtual void DeactivatePhysics(const int);
|
||||
virtual void ApplyWaterEffects(const int, const int);
|
||||
virtual void ApplyWaterSplashEffects(const int, const int, surfTypes_t, idPhysicsCallbacks::splashState_t);
|
||||
virtual bool TakesDamage();
|
||||
virtual void DamageFeedback(idEntity *, idEntity *, const idDeclDamage *, float *);
|
||||
virtual void KilledNotification(const idEntity *, const idEntity *, const idDeclDamage *, const float);
|
||||
virtual float Damage(idEntity *, idEntity *, const idDeclDamage *, const float, const idVec3 *, trace_t *);
|
||||
virtual bool CalcDamageImpulse(const idEntity *, const idEntity *, const idDeclDamage *, const float, const idVec3 *, const trace_t *, idVec3 *, idVec3 *);
|
||||
virtual bool IsTargetLockable(const idDeclAmmo *);
|
||||
virtual void AddProjectileLock();
|
||||
virtual void RemoveProjectileLock();
|
||||
virtual const idScriptObject *GetScriptObject();
|
||||
virtual idScriptObject *GetScriptObject_2();
|
||||
virtual bool ShouldConstructScriptObjectAtSpawn();
|
||||
virtual idThread *GetStateThread();
|
||||
virtual int AddThread(const idHandle<int,enum invalidThreadHandle_t,0>);
|
||||
virtual void RemoveThread(const idHandle<int,enum invalidThreadHandle_t,0>);
|
||||
virtual idHandle<int,enum invalidThreadHandle_t,0> *GetThread(idHandle<int,enum invalidThreadHandle_t,0> *result, const int);
|
||||
virtual int NumThreads();
|
||||
virtual int MaxThreads();
|
||||
virtual void ExecuteThread(idThread *);
|
||||
virtual void ResetFSMWaitThreadIfPossible(idThread *);
|
||||
virtual bool HandleGuiEvent(const sysEvent_t *);
|
||||
virtual void ActivateTargets(idEntity *);
|
||||
virtual bool GetRcCarCanTarget();
|
||||
virtual const idBaseHealth *GetHealthComponent();
|
||||
virtual idBaseHealth *GetHealthComponent_2();
|
||||
virtual const idSmartLootComponent *GetSmartLootComponent();
|
||||
virtual idSmartLootComponent *GetSmartLootComponent_2();
|
||||
virtual void Teleport(const idVec3 *, const idAngles *);
|
||||
virtual bool IsPusher();
|
||||
virtual const idList<idEntityPtr<idEntity>,5> *GetTriggerTouchList();
|
||||
virtual idList<idEntityPtr<idEntity>,5> *GetTriggerTouchList_2();
|
||||
virtual void TestFunctionality();
|
||||
virtual float GetUsableDistance();
|
||||
virtual float GetCrosshairIconDistance();
|
||||
virtual usableState_t GetUsableState(const idEntity *, const idFocusTrace *);
|
||||
virtual bool ModifyCrosshairInfo(const idEntity *, const idFocusTrace *, const usableState_t, idCrosshairInfo *);
|
||||
virtual bool IsCrosshairDisabled(const idEntity *, const idFocusTrace *, const usableState_t);
|
||||
virtual bool IsCrosshairSubdued(const idEntity *, const idFocusTrace *, const usableState_t);
|
||||
virtual bool IsEverUsable(const idEntity *);
|
||||
virtual bool IsCurrentlyUsable(const idEntity *);
|
||||
virtual bool Use(idEntity *, const usableState_t);
|
||||
virtual void Dropped(idEntity *, const idDeclInventory *);
|
||||
virtual const idInventoryCollection *GetInventory();
|
||||
virtual idInventoryCollection *GetInventory_2();
|
||||
virtual void InventoryAdded(idInventoryItem *, int);
|
||||
virtual void InventoryRemoved(idInventoryItem *);
|
||||
virtual const idAttachmentCollection *GetAttachments();
|
||||
virtual idAttachmentCollection *GetAttachments_2();
|
||||
virtual void EnableAIEventResponse(const idAIEvent::aiEventClass_t);
|
||||
virtual void DisableAIEventResponse(const idAIEvent::aiEventClass_t);
|
||||
virtual bool CanReceiveAIEvents(const int);
|
||||
virtual bool RespondsToAIEvent(const idAIEvent *);
|
||||
virtual void OnAIEvent(const idAIEvent *);
|
||||
virtual bool IsDead();
|
||||
virtual bool IsDying();
|
||||
virtual idFaction *GetFaction();
|
||||
virtual const idFaction *GetFaction_2();
|
||||
virtual idEntityAuditor *GetAuditor();
|
||||
virtual void GetVisibilityPoint(const visPoint_t, idVec3 *);
|
||||
virtual void GetAimPoint(const aimPoint_t, idVec3 *);
|
||||
virtual void GetEyePos(idVec3 *);
|
||||
virtual bool IsVisible();
|
||||
virtual idDynamicCoverMgr *GetDynamicCoverMgr();
|
||||
virtual const idDynamicCoverMgr *GetDynamicCoverMgr_2();
|
||||
virtual const idAAS2 *GetAAS();
|
||||
virtual void GetViewStateFOV(idVec3 *, unsigned __int8 *, unsigned __int8 *);
|
||||
virtual void GetViewStateFOV_2(idVec3 *, unsigned __int8 *, unsigned __int8 *);
|
||||
virtual int GetNumRepairBotTetherPoints();
|
||||
virtual bool GetRepairBotTetherPoint(const int, const int, idVec3 *);
|
||||
virtual idEntityInterface *CreateEntityInterface(idGame *);
|
||||
virtual void ShowEditingDialog();
|
||||
virtual void UpdateEditingDialog();
|
||||
virtual void UpdateModifiedProperties();
|
||||
virtual inputSettings_t *GetInputSettings(inputSettings_t *result, idPlayer *);
|
||||
virtual bool EvaluateControls(usercmd_t *, usercmd_t *);
|
||||
virtual void CheckForErrors(idList<idStr,5> *);
|
||||
virtual void DebugDrawEntity(const idColor *, int);
|
||||
virtual void ClientThink();
|
||||
virtual void Serialize(idSerializer *);
|
||||
virtual void PostSerializeRead(bool);
|
||||
virtual void OnActivate(idEntity *);
|
||||
virtual void OnMakeActivatable(const bool);
|
||||
virtual void OnNotifyProgressionOwner();
|
||||
|
||||
idStrMapName mapname;
|
||||
bool zeroTransform;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22327; PDB kind: class.
|
||||
class idMapReference : public idMapPrimitive
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22328.
|
||||
virtual ~idMapReference();
|
||||
virtual unsigned int GetGeometryCRC();
|
||||
virtual void Transform(const idVec3 *, const idMat3 *);
|
||||
virtual bool Write(idFile *, int);
|
||||
|
||||
idStr mapName;
|
||||
idStr worldSpawnText;
|
||||
idMapFile *map;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 27553; PDB kind: typedef.
|
||||
typedef char *reference;
|
||||
|
||||
// IDA Local Type ordinal 30328; PDB kind: typedef.
|
||||
typedef const char *const_reference;
|
||||
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\barehdp.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22812; PDB kind: class.
|
||||
class idBareHDP
|
||||
{
|
||||
public:
|
||||
int quality;
|
||||
void *tempBuffer;
|
||||
int tempBufferSize;
|
||||
int tempBufferUsed;
|
||||
int imageROILeftX;
|
||||
int imageROITopY;
|
||||
int imageROIWidth;
|
||||
int imageROIHeight;
|
||||
int imageByteStride;
|
||||
hdpCodec_t *codec;
|
||||
unsigned __int8 streamTemp[128];
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdpbitio.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22800; PDB kind: struct.
|
||||
struct hdpBitIO_t
|
||||
{
|
||||
unsigned __int64 bitBuff;
|
||||
unsigned __int64 bitCnt;
|
||||
unsigned __int8 *byteBufStart;
|
||||
unsigned __int8 *byteBufEnd;
|
||||
unsigned __int8 *byteBufCur;
|
||||
unsigned int byteCount;
|
||||
hdpStream_t *stream;
|
||||
unsigned int streamOffset;
|
||||
};
|
||||
@@ -0,0 +1,107 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdpcodec.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22799; PDB kind: struct.
|
||||
struct __declspec(align(4)) hdpCodecParms_t
|
||||
{
|
||||
hdpColorFormat_t colorFormat;
|
||||
unsigned int numChannels;
|
||||
hdpStreamLayout_t streamLayout;
|
||||
hdpSubBands_t subBands;
|
||||
hdpOverlap_t overlap;
|
||||
unsigned __int8 mantissaLengthOrShift;
|
||||
char exponentBias;
|
||||
bool useScaledArith;
|
||||
bool hasAlphaChannel;
|
||||
bool hasPerTileTrimFlexbits;
|
||||
unsigned __int8 uniformTrimFlexBits;
|
||||
unsigned __int8 quantizationDefault;
|
||||
unsigned __int8 quantizationUV;
|
||||
unsigned int quantizationMode;
|
||||
unsigned __int8 quantizerIndexDC[16];
|
||||
unsigned __int8 quantizerIndexLP[16];
|
||||
unsigned __int8 quantizerIndexHP[16];
|
||||
bool hasTileIndex;
|
||||
unsigned int numTilesHighMinusOne;
|
||||
unsigned int numTilesWideMinusOne;
|
||||
unsigned int *tileMacroblockOffsetX;
|
||||
unsigned int *tileMacroblockOffsetY;
|
||||
unsigned int extraPixelsTop;
|
||||
unsigned int extraPixelsLeft;
|
||||
unsigned int extraPixelsBottom;
|
||||
unsigned int extraPixelsRight;
|
||||
bool transcode;
|
||||
bool changeSubsamplingUV;
|
||||
hdpStream_t *baseStream;
|
||||
void *tempBuffer;
|
||||
unsigned int tempBufferSize;
|
||||
unsigned int tempBufferUsed;
|
||||
bool skipFlexbits;
|
||||
bool decodeCoeffientsOnly;
|
||||
unsigned int fullImageROILeftX;
|
||||
unsigned int fullImageROIRightX;
|
||||
unsigned int fullImageROITopY;
|
||||
unsigned int fullImageROIBottomY;
|
||||
unsigned int thumbnailWidth;
|
||||
unsigned int thumbnailHeight;
|
||||
unsigned __int8 postProcStrength;
|
||||
unsigned int fullImageROILeftTile;
|
||||
unsigned int fullImageROIRightTile;
|
||||
unsigned int fullImageROITopTile;
|
||||
unsigned int fullImageROIBottomTile;
|
||||
unsigned int thumbnailScale;
|
||||
bool decodeLP;
|
||||
bool decodeHP;
|
||||
bool decodeFlexbits;
|
||||
bool decodeFullFrame;
|
||||
bool decodeFullWidth;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22811; PDB kind: struct.
|
||||
struct __declspec(align(4)) hdpCodec_t
|
||||
{
|
||||
hdpMacroblockInfo_t MBInfo;
|
||||
hdpImageInfo_t imageInfo;
|
||||
hdpImageBufferInfo_t imageBufferInfo;
|
||||
hdpCodecParms_t codecParms;
|
||||
unsigned int *tileIndex;
|
||||
unsigned int baseTileOffset;
|
||||
hdpBitIO_t *bitIOHeader;
|
||||
hdpStream_t **tileStreams;
|
||||
hdpBitIO_t *tileBitIOs;
|
||||
unsigned int numTileBitIOs;
|
||||
unsigned int numSubBands;
|
||||
hdpTileQuantization_t *tileQuantization;
|
||||
hdpContext_t *tileContexts;
|
||||
unsigned int currentTileRow;
|
||||
unsigned int currentTileColumn;
|
||||
bool atTileLeftMB;
|
||||
bool atTileTopMB;
|
||||
bool resetAdaptiveScanTotals;
|
||||
bool adaptContextHuffman;
|
||||
bool processedFirstMBRow;
|
||||
unsigned int widthInMacroblocks;
|
||||
unsigned int heightInMacroblocks;
|
||||
unsigned int currentMacroblockRow;
|
||||
unsigned int currentMacroblockColumn;
|
||||
__int16 *macroBlockRowBuffer0[16];
|
||||
__int16 *macroBlockRowBuffer1[16];
|
||||
__int16 *macroBlockColumnPtr0[16];
|
||||
__int16 *macroBlockColumnPtr1[16];
|
||||
__int16 *macroBlockPrevColumnPtr[16];
|
||||
hdpPredictionInfo_t *predInfoCurRow[16];
|
||||
hdpPredictionInfo_t *predInfoPrevRow[16];
|
||||
hdpPredictionInfo_t *predInfoMemory;
|
||||
hdpPostProcessInfo_t *postProcInfo[16][2];
|
||||
__int16 *resampleU;
|
||||
__int16 *resampleV;
|
||||
unsigned int *rotFlipOffsetX;
|
||||
unsigned int *rotFlipOffsetY;
|
||||
hdpCodec_t *nextCodec;
|
||||
bool isSecondaryCodec;
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdpcontext.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22808; PDB kind: struct.
|
||||
struct hdpContext_t
|
||||
{
|
||||
hdpBitIO_t *bitIODC;
|
||||
hdpBitIO_t *bitIOLP;
|
||||
hdpBitIO_t *bitIOHP;
|
||||
hdpBitIO_t *bitIOFL;
|
||||
hdpAdaptiveCBPModelLP_t adaptCBPModelLP;
|
||||
hdpAdaptiveCBPModelHP_t adaptCBPModelHP;
|
||||
hdpAdaptiveCNModel_t adaptCNModelDC;
|
||||
hdpAdaptiveCNModel_t adaptCNModelLP;
|
||||
hdpAdaptiveCNModel_t adaptCNModelHP;
|
||||
hdpAdaptiveScan_t adaptScanLP[1][16];
|
||||
hdpAdaptiveScan_t adaptScanHorHP[1][16];
|
||||
hdpAdaptiveScan_t adaptScanVerHP[1][16];
|
||||
hdpAdaptiveHuffman_t adaptHuffDC[3];
|
||||
hdpAdaptiveHuffman_t adaptHuffLP[8];
|
||||
hdpAdaptiveHuffman_t adaptHuffHP[8];
|
||||
hdpAdaptiveHuffman_t adaptHuffCBP[3];
|
||||
int trimTileFlexBits;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 31237; PDB kind: typedef.
|
||||
typedef void *HCONTEXT;
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdppostprocess.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22810; PDB kind: struct.
|
||||
struct __declspec(align(4)) hdpPostProcessInfo_t
|
||||
{
|
||||
int iMBDC;
|
||||
unsigned __int8 ucMBTexture;
|
||||
};
|
||||
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdpprediction.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22809; PDB kind: struct.
|
||||
struct __declspec(align(4)) hdpPredictionInfo_t
|
||||
{
|
||||
int iQPIndex;
|
||||
int iCBP;
|
||||
__int16 iDC;
|
||||
__int16 iLP[6];
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barehdp\hdpquantization.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22802; PDB kind: struct.
|
||||
struct hdpTileQuantization_t
|
||||
{
|
||||
hdpQuantizer_t *pQuantizerDC[16];
|
||||
hdpQuantizer_t *pQuantizerLP[16];
|
||||
hdpQuantizer_t *pQuantizerHP[16];
|
||||
unsigned __int8 cNumQPLP;
|
||||
unsigned __int8 cNumQPHP;
|
||||
unsigned __int8 cBitsLP;
|
||||
unsigned __int8 cBitsHP;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\barejxr\barejxr.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22940; PDB kind: class.
|
||||
class idBareJXR
|
||||
{
|
||||
public:
|
||||
int quality;
|
||||
void *tempBuffer;
|
||||
int tempBufferSize;
|
||||
int tempBufferUsed;
|
||||
int cROILeftX;
|
||||
int cROITopY;
|
||||
int cROIWidth;
|
||||
int cROIHeight;
|
||||
};
|
||||
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\image\dxt\dxtcodec.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22779; PDB kind: class.
|
||||
class idDxtEncoder
|
||||
{
|
||||
public:
|
||||
int width;
|
||||
int height;
|
||||
unsigned __int8 *outData;
|
||||
int srcPadding;
|
||||
int dstPadding;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22780; PDB kind: class.
|
||||
class idDxtDecoder
|
||||
{
|
||||
public:
|
||||
int width;
|
||||
int height;
|
||||
const unsigned __int8 *inData;
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\transcode\pagecompression.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1492; PDB kind: enum.
|
||||
enum pageCompression_t : __int32
|
||||
{
|
||||
COMP_NONE = 0x1,
|
||||
COMP_DXT = 0x2,
|
||||
COMP_LZW = 0x3,
|
||||
COMP_DCT = 0x4,
|
||||
COMP_HDP = 0x5,
|
||||
COMP_JXR = 0x6,
|
||||
COMP_MAX_COMPRESSIONS = 0x7,
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\jobs\videotranscode\videotranscode.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22939; PDB kind: struct.
|
||||
struct __declspec(align(4)) videoTranscodeParms_t
|
||||
{
|
||||
unsigned __int8 dctQualityLuma;
|
||||
unsigned __int8 dctQualityChroma;
|
||||
unsigned __int8 *dctBuffer;
|
||||
int dctBufferSize;
|
||||
idImage *image;
|
||||
unsigned __int8 *dxtBuffer;
|
||||
int targetBytePitch;
|
||||
bool needSubImageUpload;
|
||||
};
|
||||
@@ -0,0 +1,37 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\materialmap.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13328; PDB kind: class.
|
||||
class idMaterialMapping
|
||||
{
|
||||
public:
|
||||
idAtomicString materialName;
|
||||
unsigned int materialChecksum;
|
||||
unsigned int materialTimestamp;
|
||||
int x;
|
||||
int y;
|
||||
int width;
|
||||
int height;
|
||||
idVec4 scaleBias;
|
||||
idVirtualImageFile specularFile;
|
||||
idVirtualImageFile coverFile;
|
||||
idVirtualImageFile diffuseFile;
|
||||
idVirtualImageFile bumpFile;
|
||||
idVirtualImageFile powerFile;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13330; PDB kind: class.
|
||||
class idMaterialMap
|
||||
{
|
||||
public:
|
||||
idStr name;
|
||||
int width;
|
||||
int height;
|
||||
unsigned int skinFileTimeStamp;
|
||||
idList<idMaterialMapping,46> mappings;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\parmblock.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13321; PDB kind: class.
|
||||
class __declspec(align(4)) idParmBlock
|
||||
{
|
||||
public:
|
||||
idList<expOp_t,56> ops;
|
||||
idList<parmValue_t,56> constants;
|
||||
threadId_t thread;
|
||||
bool usingTempOps;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13533; PDB kind: class.
|
||||
class idStaticParmBlock<32> : public idParmBlock
|
||||
{
|
||||
public:
|
||||
expOp_t staticOps[32];
|
||||
__declspec(align(16)) parmValue_t staticConstants[32];
|
||||
};
|
||||
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\parmblockoptimizer.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22930; PDB kind: class.
|
||||
class idParmBlockOptimizer
|
||||
{
|
||||
public:
|
||||
int usedParms[200];
|
||||
int numUsedParms;
|
||||
};
|
||||
@@ -0,0 +1,54 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\render.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22827; PDB kind: class.
|
||||
class idRender
|
||||
{
|
||||
public:
|
||||
unsigned __int8 temp[1024];
|
||||
unsigned __int8 areaNodeBoundsCulled[8192];
|
||||
unsigned __int8 worldAreaSubspaceBoundsCulled[8192];
|
||||
unsigned __int8 worldAreaGeometryBoundsCulled[8192];
|
||||
nodeWorldArea_t nodeWorldAreas[8192];
|
||||
viewWorldArea_t viewWorldAreas[8192];
|
||||
const idRenderModelSurface *viewWorldSurfaces[8192];
|
||||
const idRenderModelCommitted *viewModels[4096];
|
||||
const idRenderModelCommitted *sceneModels[64];
|
||||
const idRenderModelCommitted *viewAugmentModels[32];
|
||||
const idRenderLightCommitted *viewLights[4096];
|
||||
int occlusionTestNodes[64];
|
||||
int occlusionTestWorldAreas[4096];
|
||||
const idRenderModelCommitted *occlusionTestModels[4096];
|
||||
const idRenderLightCommitted *occlusionTestLights[512];
|
||||
drawSurf_t drawSurfs[4096];
|
||||
drawSurf_t *sortedDrawSurfs[4096];
|
||||
__int16 dimShadowModelSlaves[4096];
|
||||
unsigned __int8 modelConsideredAsOccluder[512];
|
||||
unsigned __int8 modelDimShadowState[4096];
|
||||
int numNodeWorldAreas;
|
||||
int numViewWorldAreas;
|
||||
int numViewWorldSurfaces;
|
||||
int numViewModels;
|
||||
int numSceneModels;
|
||||
int numViewAugmentModels;
|
||||
int numViewLights;
|
||||
int numOcclusionTestNodes;
|
||||
int numOcclusionTestWorldAreas;
|
||||
int numOcclusionTestModels;
|
||||
int numOcclusionTestLights;
|
||||
int numDrawSurfs;
|
||||
int numShadows;
|
||||
int numDimShadows;
|
||||
renderPassSurfaces_t renderPasses[5];
|
||||
renderSettings_t settings;
|
||||
idRenderView *renderViewObject;
|
||||
const idRenderWorldLocal *world;
|
||||
const idScreenView *screenView;
|
||||
idRenderModelCommitted worldSpace;
|
||||
idRenderModelCommitted viewSpace;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderdestination.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18485; PDB kind: class.
|
||||
class idRenderDestination
|
||||
{
|
||||
public:
|
||||
bool isDefault;
|
||||
int targetWidth;
|
||||
int targetHeight;
|
||||
idImage *targetImage[4];
|
||||
idImage *depthImage;
|
||||
idImage *stencilImage;
|
||||
D3DSurface *targetSurface[4];
|
||||
D3DSurface *depthSurface;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderlight.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13578; PDB kind: class.
|
||||
class __declspec(align(8)) idRenderLight
|
||||
{
|
||||
public:
|
||||
idRenderLightParms g;
|
||||
idStaticParmBlock<32> gameParmBlock;
|
||||
bool deleteOnSync;
|
||||
bool unlinked;
|
||||
bool needWriteToSnapshot;
|
||||
bool skipAutoReplication;
|
||||
int serializedChangeCount;
|
||||
idRenderLightCommitted *committed;
|
||||
};
|
||||
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderlightcommitted.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13576; PDB kind: class.
|
||||
class __declspec(align(4)) idRenderLightCommitted
|
||||
{
|
||||
public:
|
||||
idRenderWorldLocal *world;
|
||||
idRenderIndex index;
|
||||
idRenderLightParms r;
|
||||
idStaticParmBlock<32> renderParmBlock;
|
||||
idRenderLightCommitted *nextOnPostCommitList;
|
||||
idList<worldArea_t *,62> references;
|
||||
bool needsReferences;
|
||||
idBounds globalReferenceBounds;
|
||||
idVec3 globalLightOrigin;
|
||||
idVec3 currentColor;
|
||||
idVec4 maxVisibleRange;
|
||||
idRenderMatrix baseLightProject;
|
||||
idRenderMatrix inverseBaseLightProject;
|
||||
const idMaterial *lightMtr;
|
||||
bool castsShadows;
|
||||
};
|
||||
@@ -0,0 +1,97 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderlightparms.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13575; PDB kind: class.
|
||||
class idRenderLightParms
|
||||
{
|
||||
public:
|
||||
idMat3 axis;
|
||||
idVec3 origin;
|
||||
int allowLightOnlyInViewID;
|
||||
int suppressLightInViewID;
|
||||
lightType_t lightType;
|
||||
lightClass_t lightClass;
|
||||
lightFallOff_t lightFalloff;
|
||||
bool noShadows;
|
||||
bool slowLight;
|
||||
const idMaterial *shader;
|
||||
idVec3 lightRadius;
|
||||
idVec3 lightCenter;
|
||||
idVec3 target;
|
||||
idVec3 right;
|
||||
idVec3 up;
|
||||
idVec3 start;
|
||||
idVec3 end;
|
||||
idVec3 dynamicModelLightingScale;
|
||||
float dimShadowStretch;
|
||||
float maxVisibleRange;
|
||||
float fadeVisibilityOver;
|
||||
float staticSpecularScale;
|
||||
idVec3 staticSpecularVector;
|
||||
bool bakedParallelShadows;
|
||||
const idIESfile *iesFile;
|
||||
float iesPowerScale;
|
||||
float iesAreaScale;
|
||||
float areaLightSize;
|
||||
float shadowSampleScale;
|
||||
int slowMultiPass;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22923; PDB kind: struct.
|
||||
struct renderLightsParms_t
|
||||
{
|
||||
const renderSettings_t *settings;
|
||||
const idRenderView *renderView;
|
||||
renderDrawSurfParms_t drawSurfParms;
|
||||
renderShadowBufferParms_t shadowBufferParms;
|
||||
const idRenderLightCommitted **viewLights;
|
||||
int numViewLights;
|
||||
const idRenderModelCommitted **viewModels;
|
||||
int numViewModels;
|
||||
const idRenderModelSurface **viewWorldSurfaces;
|
||||
int numViewWorldSurfaces;
|
||||
const idDeclRenderParm *rpLightRotation;
|
||||
const idDeclRenderParm *rpLightTranslation;
|
||||
const idDeclRenderParm *rpLightScale;
|
||||
const idDeclRenderParm *rpLightOscillationAmp;
|
||||
const idDeclRenderParm *rpLightOscillationFreq;
|
||||
const idDeclRenderParm *rpLightOscillationPhase;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedTexS;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedTexT;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedTexR;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedTexQ;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedShadowS;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedShadowT;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedShadowR;
|
||||
const idDeclRenderParm *rpWindowPosToProjectedShadowQ;
|
||||
const idDeclRenderParm *rpShadowProjectionS;
|
||||
const idDeclRenderParm *rpShadowProjectionT;
|
||||
const idDeclRenderParm *rpShadowProjectionR;
|
||||
const idDeclRenderParm *rpShadowProjectionQ;
|
||||
const idDeclRenderParm *rpGlobalLightOrigin;
|
||||
const idDeclRenderParm *rpStaticSpecularScale;
|
||||
const idDeclRenderParm *rpStaticSpecularVector;
|
||||
const idDeclRenderParm *rpLightProjectionS;
|
||||
const idDeclRenderParm *rpLightProjectionT;
|
||||
const idDeclRenderParm *rpLightProjectionR;
|
||||
const idDeclRenderParm *rpLightProjectionQ;
|
||||
const idDeclRenderParm *rpLocalToLightS;
|
||||
const idDeclRenderParm *rpLocalToLightT;
|
||||
const idDeclRenderParm *rpLocalToLightR;
|
||||
const idDeclRenderParm *rpLocalToLightQ;
|
||||
const idDeclRenderParm *rpLightFade;
|
||||
const idDeclRenderProg *progDepthOnly;
|
||||
const idDeclRenderProg *progBlendedLightDebugDraw;
|
||||
const idDeclRenderProg *progDeferredPointLight;
|
||||
const idDeclRenderProg *progDeferredSpotLight;
|
||||
const idDeclRenderProg *progDeferredParallelLight;
|
||||
const idRenderDestination *renderDestDefault;
|
||||
const idTriangles *zeroOneCubeTris;
|
||||
const bool *binaryModelState;
|
||||
int *numShadows;
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderlog.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19083; PDB kind: struct.
|
||||
struct idRenderLog::logStats_t
|
||||
{
|
||||
unsigned __int64 startTiming;
|
||||
int startDraws;
|
||||
int startIndexes;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 19084; PDB kind: class.
|
||||
class __declspec(align(8)) idRenderLog
|
||||
{
|
||||
public:
|
||||
int activeLevel;
|
||||
renderLogIndentLabel_t indentLabel[20];
|
||||
char indentString[80];
|
||||
int indentLevel;
|
||||
renderLogMainBlock_t lastMainBlock;
|
||||
_iobuf *logFile;
|
||||
unsigned __int64 frameStartTime;
|
||||
unsigned __int64 closeBlockTime;
|
||||
idRenderLog::logStats_t logStats[20];
|
||||
int logLevel;
|
||||
};
|
||||
@@ -0,0 +1,42 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\rendermodelcommitted.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13636; PDB kind: class.
|
||||
class __declspec(align(8)) idRenderModelCommitted
|
||||
{
|
||||
public:
|
||||
const char *name;
|
||||
idRenderWorldLocal *world;
|
||||
idRenderIndex index;
|
||||
idBounds referenceBounds;
|
||||
idRenderModelParms r;
|
||||
idStaticParmBlock<32> renderParmBlock;
|
||||
idList<idRenderModelSurface,62> surfaces;
|
||||
idRenderModelCommitted *nextOnPostCommitList;
|
||||
idList<worldArea_t *,62> references;
|
||||
idRenderModelCommitted *nextAddAlwaysModel;
|
||||
idRenderModelCommitted *nextDimShadowModel;
|
||||
idRenderModelCommitted *referenceModel;
|
||||
int guiFrameCount;
|
||||
idVec4 maxVisibleRange;
|
||||
idBounds globalReferenceBounds;
|
||||
idVec3 localLightingPoint;
|
||||
idRenderMatrix modelMatrix;
|
||||
idRenderMatrix inverseModelMatrix;
|
||||
approximateLighting_t approximateLighting;
|
||||
idVec4 highlightColor;
|
||||
__int8 isLitTransSort : 1;
|
||||
__int8 hasUniqueVirtualTexture : 1;
|
||||
__int8 mayMakeInteractions : 1;
|
||||
__int8 mayCastShadows : 1;
|
||||
__int8 mayBeDrawn : 1;
|
||||
__int8 needsApproximatedLighting : 1;
|
||||
__int8 needsReferences : 1;
|
||||
__int8 lightCenterInitialized : 1;
|
||||
idRenderMatrix mvpMatrix;
|
||||
};
|
||||
@@ -0,0 +1,74 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\rendermodelparms.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13664; PDB kind: class.
|
||||
class idRenderModelParms
|
||||
{
|
||||
public:
|
||||
idVec3 origin;
|
||||
idMat3 axis;
|
||||
idVec3 scale;
|
||||
const idMaterial *customMaterial;
|
||||
int customSkin;
|
||||
int groupMasterIndex;
|
||||
int allowSurfaceOnlyInViewID;
|
||||
int suppressSurfaceInViewID;
|
||||
int suppressShadowInViewID;
|
||||
int suppressShadowInLightIndex;
|
||||
int firstVisibleFrameCount;
|
||||
float fovScale;
|
||||
float modelDepthHack;
|
||||
dimShadow_t castDimShadows;
|
||||
__int8 augmentShowOnlyWhenOccluded : 1;
|
||||
__int8 isAugment : 1;
|
||||
__int8 isSceneModel : 1;
|
||||
__int8 isSky : 1;
|
||||
__int8 isWorld : 1;
|
||||
__int8 isStatic : 1;
|
||||
__int8 allowUpShadows : 1;
|
||||
__int8 allowHighQualityDimShadows : 1;
|
||||
__int8 mvpIsIdentity : 1;
|
||||
__int8 viewOriented : 1;
|
||||
__int8 addAlways : 1;
|
||||
__int8 megatexturedModel : 1;
|
||||
__int8 acceptDimShadows : 1;
|
||||
__int8 staticShadowsFromDynamicModel : 1;
|
||||
__int8 noInteractions : 1;
|
||||
__int8 noShadow : 1;
|
||||
__int8 privateLightOnly : 1;
|
||||
__int8 addAlwaysForceOcclusionQuery : 1;
|
||||
__int8 alwaysOcclusionCullBounds : 1;
|
||||
__int8 neverOcclusionCullBounds : 1;
|
||||
__int8 noGPUocclusionTest : 1;
|
||||
__int8 woundsActive : 1;
|
||||
__int8 mvpIsSunFlare : 1;
|
||||
__int8 mvpIsOrthographic : 1;
|
||||
unsigned __int8 : 2;
|
||||
__int8 enableStaticSpecular : 1;
|
||||
__int8 forceApproximatedLighting : 1;
|
||||
__int8 noAmbient : 1;
|
||||
__int8 boostLightingPoint : 1;
|
||||
__int8 moveLightingPoint : 1;
|
||||
__int8 noLocalLighting : 1;
|
||||
unsigned __int32 : 24;
|
||||
__int32 traceGroup : 8;
|
||||
float radiosityScale;
|
||||
unsigned __int8 : 5;
|
||||
__int8 noStippleFade : 1;
|
||||
__int8 rebakeModel : 1;
|
||||
__int8 radiosityPreview : 1;
|
||||
float staticReflectionStrength;
|
||||
highlightColor_t highlightColor;
|
||||
float dimShadowClipZ;
|
||||
float maxTexelDensity;
|
||||
float modelFade;
|
||||
float maxVisibleRange;
|
||||
float fadeVisibilityOver;
|
||||
idRenderModel *referenceModel;
|
||||
idScreenRect viewport;
|
||||
};
|
||||
@@ -0,0 +1,24 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\rendermodelsurface.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13425; PDB kind: class.
|
||||
class idRenderModelSurface
|
||||
{
|
||||
public:
|
||||
const idMaterial *material;
|
||||
int materialNum;
|
||||
unsigned __int64 extraGLState;
|
||||
idTriangles *geometry;
|
||||
bool geometryIsReference;
|
||||
unsigned __int8 referenceMask;
|
||||
int binaryModelId;
|
||||
idJointBuffer *joints;
|
||||
idVertexBuffer *morphMap;
|
||||
idVertexBuffer *stMap;
|
||||
idVec4 skinOffsets;
|
||||
};
|
||||
@@ -0,0 +1,75 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\rendersystem.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 17560; PDB kind: class.
|
||||
class idRenderSystem
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 17566.
|
||||
virtual ~idRenderSystem();
|
||||
virtual void Init();
|
||||
virtual void Init2();
|
||||
virtual void Shutdown();
|
||||
virtual idRenderWorld *AllocRenderWorld(const char *, bool);
|
||||
virtual void RenderFrame(void *const, const idRenderFrameInfo *, const bool, const bool, const bool);
|
||||
virtual void EndFrame(void *, int, int, idRenderWorld *, idRenderModel **, int, bool, bool, bool, int);
|
||||
virtual void ToolEndFrame(void *, int, int, idRenderWorld *, const renderView_t *, idRenderModel *, int);
|
||||
virtual int FrameNumber();
|
||||
virtual bool SyncRenderThread(bool);
|
||||
virtual void BeginBinkVideo(void *, const char *const, const videoFlags_t, idRenderVideoOverlay *);
|
||||
virtual bool BinkVideoIsLoaded();
|
||||
virtual bool BinkVideoIsPlaying();
|
||||
virtual void FreeBinkVideo();
|
||||
virtual void AllowBackgroundSwaps(bool);
|
||||
virtual void BeginAutomaticBackgroundSwaps(void *, bool);
|
||||
virtual void EndAutomaticBackgroundSwaps();
|
||||
virtual void SetLoadingIconInfo(float, float, float, float);
|
||||
virtual void RegenerateReferences();
|
||||
virtual void InhibitEndFrameRendering(int);
|
||||
virtual bool IsEndFrameRenderingInhibited();
|
||||
virtual int GetNumRenderWorlds();
|
||||
virtual idRenderWorld *RenderWorldForIndex(int);
|
||||
virtual int GetNextRenderView(idRenderWorld *const);
|
||||
virtual int GetNumMonitors();
|
||||
virtual void GetMonitorSize(int, int *, int *);
|
||||
virtual int GetCurrentMonitor();
|
||||
virtual bool GPUTranscodeAvailable();
|
||||
virtual void EnableGPUTranscode(bool);
|
||||
virtual bool GPUTranscodeIsEnabled();
|
||||
virtual bool SwapTearAvailable();
|
||||
virtual void ClearOutOfMemory();
|
||||
virtual bool CheckOutOfMemory();
|
||||
virtual void *GetGameWindow();
|
||||
virtual void Restart();
|
||||
virtual void SwapBuffers(void *, bool);
|
||||
virtual void SetBlackLevel(const float);
|
||||
virtual void SetGamma(unsigned __int16 *, unsigned __int16 *, unsigned __int16 *);
|
||||
virtual bool MakeCurrent(void *);
|
||||
virtual int GetWidth();
|
||||
virtual int GetHeight();
|
||||
virtual float GetPixelAspect();
|
||||
virtual float GetScreenAspect();
|
||||
virtual int GetScanoutWidth();
|
||||
virtual int GetScanoutHeight();
|
||||
virtual stereoRenderMode_t GetStereoRenderMode();
|
||||
virtual int GetNumMultisamples();
|
||||
virtual int GetMaxSupportedMultisamples();
|
||||
virtual bool IgnoreSizeMessages();
|
||||
virtual void WindowSizeDragged(int, int);
|
||||
virtual bool WindowChangeMultisamples(const int);
|
||||
virtual bool EnumerateModes(int, int *, int *, int *);
|
||||
virtual void (__fastcall *ExtensionPointer(const char *))();
|
||||
virtual void SetPixelFormat(void *);
|
||||
virtual void ShowGameWindow();
|
||||
virtual void HideGameWindow();
|
||||
virtual bool IsFullscreen();
|
||||
virtual void GoWindowed();
|
||||
virtual void GoFullScreen();
|
||||
virtual void SetStudioMode(bool);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,203 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\rendersystem_local.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19102; PDB kind: class.
|
||||
class __declspec(align(8)) idRenderSystemLocal : public idRenderSystem
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19104.
|
||||
virtual ~idRenderSystemLocal();
|
||||
virtual void Init();
|
||||
virtual void Init2();
|
||||
virtual void Shutdown();
|
||||
virtual idRenderWorld *AllocRenderWorld(const char *, bool);
|
||||
virtual void RenderFrame(void *const, const idRenderFrameInfo *, const bool, const bool, const bool);
|
||||
virtual void EndFrame(void *, int, int, idRenderWorld *, idRenderModel **, int, bool, bool, bool, int);
|
||||
virtual void ToolEndFrame(void *, int, int, idRenderWorld *, const renderView_t *, idRenderModel *, int);
|
||||
virtual int FrameNumber();
|
||||
virtual bool SyncRenderThread(bool);
|
||||
virtual void BeginBinkVideo(void *, const char *const, const videoFlags_t, idRenderVideoOverlay *);
|
||||
virtual bool BinkVideoIsLoaded();
|
||||
virtual bool BinkVideoIsPlaying();
|
||||
virtual void FreeBinkVideo();
|
||||
virtual void AllowBackgroundSwaps(bool);
|
||||
virtual void BeginAutomaticBackgroundSwaps(void *, bool);
|
||||
virtual void EndAutomaticBackgroundSwaps();
|
||||
virtual void SetLoadingIconInfo(float, float, float, float);
|
||||
virtual void RegenerateReferences();
|
||||
virtual void InhibitEndFrameRendering(int);
|
||||
virtual bool IsEndFrameRenderingInhibited();
|
||||
virtual int GetNumRenderWorlds();
|
||||
virtual idRenderWorld *RenderWorldForIndex(int);
|
||||
virtual int GetNextRenderView(idRenderWorld *const);
|
||||
virtual int GetNumMonitors();
|
||||
virtual void GetMonitorSize(int, int *, int *);
|
||||
virtual int GetCurrentMonitor();
|
||||
virtual bool GPUTranscodeAvailable();
|
||||
virtual void EnableGPUTranscode(bool);
|
||||
virtual bool GPUTranscodeIsEnabled();
|
||||
virtual bool SwapTearAvailable();
|
||||
virtual void ClearOutOfMemory();
|
||||
virtual bool CheckOutOfMemory();
|
||||
virtual void *GetGameWindow();
|
||||
virtual void Restart();
|
||||
virtual void SwapBuffers(void *, bool);
|
||||
virtual void SetBlackLevel(const float);
|
||||
virtual void SetGamma(unsigned __int16 *, unsigned __int16 *, unsigned __int16 *);
|
||||
virtual bool MakeCurrent(void *);
|
||||
virtual int GetWidth();
|
||||
virtual int GetHeight();
|
||||
virtual float GetPixelAspect();
|
||||
virtual float GetScreenAspect();
|
||||
virtual int GetScanoutWidth();
|
||||
virtual int GetScanoutHeight();
|
||||
virtual stereoRenderMode_t GetStereoRenderMode();
|
||||
virtual int GetNumMultisamples();
|
||||
virtual int GetMaxSupportedMultisamples();
|
||||
virtual bool IgnoreSizeMessages();
|
||||
virtual void WindowSizeDragged(int, int);
|
||||
virtual bool WindowChangeMultisamples(const int);
|
||||
virtual bool EnumerateModes(int, int *, int *, int *);
|
||||
virtual void (__fastcall *ExtensionPointer(const char *))();
|
||||
virtual void SetPixelFormat(void *);
|
||||
virtual void ShowGameWindow();
|
||||
virtual void HideGameWindow();
|
||||
virtual bool IsFullscreen();
|
||||
virtual void GoWindowed();
|
||||
virtual void GoFullScreen();
|
||||
virtual void SetStudioMode(bool);
|
||||
virtual void InitContext();
|
||||
|
||||
bool insideEndFrame;
|
||||
bool automaticBackgroundSwapsEnabled;
|
||||
bool renderLoadingIcon;
|
||||
bool renderingIsReadyForSwapbuffers;
|
||||
bool allowBackgroundSwaps;
|
||||
volatile bool renderSynced;
|
||||
int frameCount;
|
||||
int inhibitRendering;
|
||||
float loadingIconPosX;
|
||||
float loadingIconPosY;
|
||||
float loadingIconScale;
|
||||
float loadingIconSpeed;
|
||||
idRenderWorldLocal *worlds;
|
||||
idRenderWorldLocal *primaryWorld;
|
||||
idRenderWorldLocal *performanceCounterLogWorld;
|
||||
int performanceCounterLogWorldFrame;
|
||||
idRenderWorldLocal *testWorld;
|
||||
idImage *testImage;
|
||||
idImage *testCubeImage;
|
||||
const idMaterial *testMaterial;
|
||||
performanceCounters_t pc;
|
||||
idRenderVideoOverlay *videoOverlay;
|
||||
const idMaterial *mtrDefault;
|
||||
const idMaterial *mtrDefaultPointLight;
|
||||
const idMaterial *mtrDefaultProjectedLight;
|
||||
const idMaterial *mtrDefaultParallelLight;
|
||||
const idMaterial *mtrDefaultPointBlendLight;
|
||||
const idMaterial *mtrDefaultProjectedBlendLight;
|
||||
const idMaterial *mtrDefaultParallelBlendLight;
|
||||
const idDeclRenderProg *progGauss;
|
||||
const idDeclRenderProg *progGlareScale;
|
||||
const idDeclRenderProg *progOverlappedDownSample;
|
||||
const idDeclRenderProg *progFeedbackDownSample;
|
||||
const idDeclRenderProg *progBloomThreshold;
|
||||
const idDeclRenderProg *progLuminosity;
|
||||
const idDeclRenderProg *progAdaptiveGlareGauss;
|
||||
const idDeclRenderProg *progPostProcess;
|
||||
const idDeclRenderProg *progDepthOnly;
|
||||
const idDeclRenderProg *progColorOnly;
|
||||
const idDeclRenderProg *progColorParmOnly;
|
||||
const idDeclRenderProg *progWireFrame;
|
||||
const idDeclRenderProg *progTextureOnly;
|
||||
const idDeclRenderProg *progCubeImageOnly;
|
||||
const idDeclRenderProg *progTestImage;
|
||||
const idDeclRenderProg *progTestImageShadow;
|
||||
const idDeclRenderProg *progTestImageMultisample;
|
||||
const idDeclRenderProg *progBasicBlend;
|
||||
const idDeclRenderProg *progEnvironmentBlend;
|
||||
const idDeclRenderProg *progOccluderDepthOnly;
|
||||
const idDeclRenderProg *progOccluderUnique;
|
||||
const idDeclRenderProg *progLandUniqueBump;
|
||||
const idDeclRenderProg *progLandUniqueDiffuseOnly;
|
||||
const idDeclRenderProg *progBlendedLightDebugDraw;
|
||||
const idDeclRenderProg *progDeferredPointLight;
|
||||
const idDeclRenderProg *progDeferredSpotLight;
|
||||
const idDeclRenderProg *progDeferredParallelLight;
|
||||
const idDeclRenderProg *progVarianceShadowMap;
|
||||
const idDeclRenderProg *progGlobalFog;
|
||||
const idDeclRenderProg *progCreateGodRayMask;
|
||||
const idDeclRenderProg *progDrawGodRay;
|
||||
const idDeclRenderParm *rpGlareMap;
|
||||
const idDeclRenderParm *rpGlareStep;
|
||||
const idDeclRenderParm *rpDistortionMap;
|
||||
const idDeclRenderParm *rpGrainMap;
|
||||
const idDeclRenderParm *rpDynamicEnvMap;
|
||||
const idDeclRenderParm *rpPowerMip;
|
||||
const idDeclRenderParm *rpFrameNumber;
|
||||
const idDeclRenderParm *rpVirtualTextureFeedbackFloat;
|
||||
const idDeclRenderParm *rpPageTableMap;
|
||||
const idDeclRenderParm *rpVmtrPageTableMap;
|
||||
const idDeclRenderParm *rpDepthOfField2;
|
||||
const idDeclRenderParm *rpGodRayQuadScaleBias;
|
||||
const idDeclRenderParm *rpGodRaySourceScaleBias;
|
||||
const idDeclRenderParm *rpGodRaysColor;
|
||||
const idDeclRenderParm *rpAdaptiveGlareMap;
|
||||
const idDeclRenderParm *rpAdaptiveGlareMapAlt;
|
||||
const idDeclRenderParm *rpLuminosityMap;
|
||||
const idDeclRenderParm *rpLuminosityMapAlt;
|
||||
const idDeclRenderParm *rpAdaptiveLuminance;
|
||||
const idDeclRenderParm *rpAdaptiveGlareBlurMap;
|
||||
const idDeclRenderParm *rpAdaptiveGlareBlurStep;
|
||||
const idDeclRenderParm *rpAdaptiveGlareParms;
|
||||
const idDeclTable *declHighlightTable;
|
||||
const idDeclTable *declHighlightExplodeTable;
|
||||
const idStaticModel *defaultCubeModel;
|
||||
const idStaticModel *unitCubeModel;
|
||||
const idStaticModel *zeroOneCubeModel;
|
||||
const idStaticModel *extrudeBoxModel;
|
||||
const idStaticModel *unitSquareModel;
|
||||
const idStaticModel *zeroOneSquareModel;
|
||||
idTriangles *unitSquareTris;
|
||||
idTriangles *unitSquareGuiTris;
|
||||
idImage *imgViewColor[2];
|
||||
idImage *imgViewDepth;
|
||||
idImage *imgColorGradingLUT[2];
|
||||
idImage *imgDistortion[2];
|
||||
idImage *imgScreenMip3;
|
||||
idImage *imgScreenMip3Alt;
|
||||
idImage *imgGui;
|
||||
idImage *imgDynamicEnvironment[2];
|
||||
idImage *imgGrain;
|
||||
idImage *imgLuminosity;
|
||||
idImage *imgLuminosityAlt;
|
||||
idRenderDestination *renderDestViewColor[2];
|
||||
idRenderDestination *renderDestViewDepth;
|
||||
idRenderDestination *renderDestMip1;
|
||||
idRenderDestination *renderDestMip3;
|
||||
idRenderDestination *renderDestMip3Alt;
|
||||
idRenderDestination *renderDestDistortion[2];
|
||||
idRenderDestination *renderDestGui;
|
||||
idRenderDestination *renderDestDynamicEnv[2];
|
||||
idRenderDestination *renderDestDimShadow;
|
||||
idRenderDestination *renderDestLuminosity;
|
||||
idRenderDestination *renderDestLuminosityAlt;
|
||||
int windowWidth;
|
||||
int windowHeight;
|
||||
int renderWidth;
|
||||
int renderHeight;
|
||||
idRenderFrameInfo currentRenderFrameInfo;
|
||||
idRenderView *currentRenderView;
|
||||
unsigned __int16 gammaTable[256];
|
||||
float blackLevel[2];
|
||||
bool updateGammaTable;
|
||||
idGaugeMetric drawsMetric;
|
||||
idGaugeMetric trisMetric;
|
||||
idGaugeMetric vertsMetric;
|
||||
idRenderThread *renderThread;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderthread.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 19100; PDB kind: class.
|
||||
class __declspec(align(4)) idRenderThread : public idSysThread
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 19101.
|
||||
virtual ~idRenderThread();
|
||||
virtual int Run();
|
||||
|
||||
void *hdc;
|
||||
renderMode_t renderMode;
|
||||
renderMode_t renderModeBeforeSync;
|
||||
bool initialized;
|
||||
};
|
||||
@@ -0,0 +1,122 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderview.h
|
||||
// Recovered logical types: 5
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13534; PDB kind: struct.
|
||||
struct __declspec(align(16)) renderView_t
|
||||
{
|
||||
int renderTime;
|
||||
int viewID;
|
||||
bool forceFullVirtualTextureLoad;
|
||||
bool discontinuousViewPosition;
|
||||
bool skipDimShadows;
|
||||
bool skipPostProcess;
|
||||
bool skipDynamicEnvironment;
|
||||
bool forceFullResolution;
|
||||
bool useHQViewColorMipsGeneration;
|
||||
float fov_x;
|
||||
float fov_y;
|
||||
bool cramZNear;
|
||||
idRenderMatrix explicitProjectionMatrix;
|
||||
bool useExplicitProjectionMatrix;
|
||||
idVec3 vieworg;
|
||||
idMat3 viewaxis;
|
||||
bool forceIdentityViewMatrix;
|
||||
idStaticParmBlock<32> parmBlock;
|
||||
const idDeclEnv *dynEnvOverride;
|
||||
float dynEnvOverrideDuration;
|
||||
int dynEnvOverrideModelIndex;
|
||||
bool applyDynEnvOverride;
|
||||
idStaticParmBlock<32> envOverrideParmBlock;
|
||||
bool radialBlurEnabled;
|
||||
idVec3 radialBlurCenterPos;
|
||||
bool godRaysEnabled;
|
||||
bool godRaysRelativeToCamera;
|
||||
idVec3 godRaysPosition;
|
||||
idVec3 godRaysColor;
|
||||
float godRaysSize;
|
||||
float godRaysSourceSize;
|
||||
const idMaterial *godRaysMaterial;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13537; PDB kind: class.
|
||||
class __declspec(align(16)) idRenderView
|
||||
{
|
||||
public:
|
||||
renderView_t g;
|
||||
idImage *imgViewColor;
|
||||
int viewIndex;
|
||||
envBlend_t envBlend;
|
||||
idParmBlock blendedEnvironmentParms;
|
||||
renderView_t r;
|
||||
idRenderMatrix projectionMatrix;
|
||||
idRenderMatrix inverseProjectionMatrix;
|
||||
idRenderMatrix viewMatrix;
|
||||
idRenderMatrix inverseViewMatrix;
|
||||
idRenderMatrix worldSpaceMVPMatrix;
|
||||
idRenderMatrix worldSpaceInverseMVPMatrix;
|
||||
idRenderMatrix viewSpaceModelMatrix;
|
||||
idRenderMatrix viewSpaceInverseModelMatrix;
|
||||
idRenderMatrix viewSpaceMVPMatrix;
|
||||
int windowWidth;
|
||||
int windowHeight;
|
||||
int renderWidth;
|
||||
int renderHeight;
|
||||
int feedbackWidth;
|
||||
int feedbackHeight;
|
||||
idScreenRect viewport;
|
||||
idScreenRect scissorRect;
|
||||
idScreenRect testScissor;
|
||||
__int64 firstOcclusionQueryInPreviousFrame;
|
||||
occlusionState_t *occlusionState;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13602; PDB kind: struct.
|
||||
const struct foliageRenderView_t
|
||||
{
|
||||
float time;
|
||||
float nearDist;
|
||||
float farDist;
|
||||
float fov[2];
|
||||
idVec3 viewOrg;
|
||||
idVec3 viewFwd;
|
||||
idVec3 viewLeft;
|
||||
idVec3 viewUp;
|
||||
idRenderMatrix mvpMatrix;
|
||||
unsigned __int16 atlasWidth;
|
||||
unsigned __int16 atlasHeight;
|
||||
int pad[2];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13624; PDB kind: struct.
|
||||
const struct detailRenderView_t
|
||||
{
|
||||
float time;
|
||||
float nearDist;
|
||||
float farDist;
|
||||
float fov[2];
|
||||
idVec3 viewOrg;
|
||||
idVec3 viewFwd;
|
||||
idVec3 viewLeft;
|
||||
idVec3 viewUp;
|
||||
int pad[3];
|
||||
idRenderMatrix mvpMatrix;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14014; PDB kind: struct.
|
||||
struct particleRenderView_t
|
||||
{
|
||||
idVec3 viewOrg;
|
||||
idVec3 viewFwd;
|
||||
idVec3 viewLeft;
|
||||
idVec3 viewUp;
|
||||
int renderTime;
|
||||
int deltaTime;
|
||||
unsigned __int16 atlasWidth;
|
||||
unsigned __int16 atlasHeight;
|
||||
int pad;
|
||||
};
|
||||
@@ -0,0 +1,85 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderworld.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13520; PDB kind: class.
|
||||
class idRenderWorld
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13689.
|
||||
virtual ~idRenderWorld();
|
||||
virtual const char *GetName();
|
||||
virtual bool IsComboMap();
|
||||
virtual bool HasGlobalShadows();
|
||||
virtual void UpdateDeferredPositions();
|
||||
virtual void AddEnvironment(const idBounds *, const idDeclEnv *);
|
||||
virtual void ClearEnvironments();
|
||||
virtual int NumEnvironments();
|
||||
virtual const idParmBlock *GetCurrentBlendedParms();
|
||||
virtual const idDeclEnv *GetEnvironmentDeclForCurrentViewPoint();
|
||||
virtual void TestEnvironment(const idDeclEnv *);
|
||||
virtual void SpecificationComplete(bool);
|
||||
virtual idRenderModel *StampModel();
|
||||
virtual idRenderModelFoliageEdit *FoliageEditRenderModel();
|
||||
virtual idRenderModelFoliage *FoliageRenderModel();
|
||||
virtual idRenderModelDetailEdit *DetailEditRenderModel();
|
||||
virtual idRenderModelDetail *DetailRenderModel();
|
||||
virtual idRenderModelTransparency *TransparencyRenderModel();
|
||||
virtual idRenderModelDecal *DecalModel();
|
||||
virtual idRenderLight *AllocRenderLight(bool);
|
||||
virtual idRenderModel *AllocRenderModel(const char *, bool, int);
|
||||
virtual void MarkLightSerialized(idRenderLight *, bool, bool);
|
||||
virtual void MarkAllLightsAsSerialized();
|
||||
virtual void SetBinaryModelState(const char *, const bool);
|
||||
virtual void SetNumRenderViews(int);
|
||||
virtual idRenderView *RenderViewForIndex(int);
|
||||
virtual bool InitForTools(const char *);
|
||||
virtual int GetNumRenderModels();
|
||||
virtual idRenderModel *RenderModelForIndex(int);
|
||||
virtual int GetNumRenderLights();
|
||||
virtual idRenderLight *RenderLightForIndex(int);
|
||||
virtual int GetNumMegatextures();
|
||||
virtual pageSource_t MegatextureForIndex(int);
|
||||
virtual const idStaticModel *GetWorldStaticModel();
|
||||
virtual const idRenderModel *GetWorldRenderModel();
|
||||
virtual void GetStaticWorldBounds(idBounds *);
|
||||
virtual bool Trace(modelTrace_t *, const idVec3 *, const idVec3 *, const idTraceOpts *);
|
||||
virtual float ShadowSample(const idVec3 *);
|
||||
virtual void SaveGame(idFile *);
|
||||
virtual bool LoadGame(idFile *);
|
||||
virtual void WriteToSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual void ReadFromSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual void ResetSnapshots();
|
||||
virtual void DebugClear(int);
|
||||
virtual void DebugLine(const idVec4 *, const idVec3 *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugArrow(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugArrow2(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool, const idVec3 *);
|
||||
virtual void DebugArrow3(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugPyramid(const idVec4 *, const idVec3 *, const idVec3 *, const idVec3 *, float, float, const int, const bool);
|
||||
virtual void DebugWinding(const idVec4 *, const idWinding *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugCircle(const idVec4 *, const idVec3 *, const idVec3 *, const float, const int, const int, const bool);
|
||||
virtual void DebugCylinder(const idVec4 *, const idCylinder *, const idVec3 *, const int, const int, const bool);
|
||||
virtual void DebugArc(const idVec4 *, const idVec3 *, const idVec3 *, const float, const float, const float, const float, const int, const bool, const bool);
|
||||
virtual void DebugShadedArc(const idVec4 *, const idVec3 *, const idVec3 *, const idVec3 *, const float, const float, const float, const float, const int, const bool);
|
||||
virtual void DebugSphere(const idVec4 *, const idSphere *, const int, const int, const bool);
|
||||
virtual void DebugBounds(const idVec4 *, const idBounds *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugOrientedBounds(const idVec4 *, const idBounds *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugBox(const idVec4 *, const idBox *, const int, const bool);
|
||||
virtual void DebugFrustum(const idVec4 *, const idFrustum *, const bool, const int);
|
||||
virtual void DebugCone(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugCone_2(const idVec4 *, const idVec3 *, const idVec3 *, float, float, const int, const bool);
|
||||
virtual void DebugAxis(const idVec4 *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugAxis_2(const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugAxisScaled(const idVec3 *, const idMat3 *, const float, const int, const bool);
|
||||
virtual void DebugPoint(const idVec4 *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugFilledPolygon(const idVec4 *, const idWinding *, const int, const bool);
|
||||
virtual void DebugFilledBounds(const idVec4 *, const idBounds *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugText(const char *, const idVec3 *, float, const idVec4 *, const int, const int, const bool, const bool);
|
||||
virtual void DebugText_2(const char *, const idVec3 *, float, const idVec4 *, const idMat3 *, const int, const int, const bool, const bool);
|
||||
virtual void DebugSpline(const idVec4 *, idCurve_Spline<idVec3> *, float, bool, int, const bool);
|
||||
|
||||
};
|
||||
@@ -0,0 +1,157 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\renderworld_local.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 1742; PDB kind: enum.
|
||||
enum idRenderWorldLocal::layoutPhase_t : __int32
|
||||
{
|
||||
LAYOUT_NORMAL = 0x0,
|
||||
LAYOUT_PHASE1 = 0x1,
|
||||
LAYOUT_PHASE2 = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13553; PDB kind: class.
|
||||
class __declspec(align(4)) idRenderWorldLocal : public idRenderWorld
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 34036.
|
||||
virtual ~idRenderWorldLocal();
|
||||
virtual const char *GetName();
|
||||
virtual bool IsComboMap();
|
||||
virtual bool HasGlobalShadows();
|
||||
virtual void UpdateDeferredPositions();
|
||||
virtual void AddEnvironment(const idBounds *, const idDeclEnv *);
|
||||
virtual void ClearEnvironments();
|
||||
virtual int NumEnvironments();
|
||||
virtual const idParmBlock *GetCurrentBlendedParms();
|
||||
virtual const idDeclEnv *GetEnvironmentDeclForCurrentViewPoint();
|
||||
virtual void TestEnvironment(const idDeclEnv *);
|
||||
virtual void SpecificationComplete(bool);
|
||||
virtual idRenderModel *StampModel();
|
||||
virtual idRenderModelFoliageEdit *FoliageEditRenderModel();
|
||||
virtual idRenderModelFoliage *FoliageRenderModel();
|
||||
virtual idRenderModelDetailEdit *DetailEditRenderModel();
|
||||
virtual idRenderModelDetail *DetailRenderModel();
|
||||
virtual idRenderModelTransparency *TransparencyRenderModel();
|
||||
virtual idRenderModelDecal *DecalModel();
|
||||
virtual idRenderLight *AllocRenderLight(bool);
|
||||
virtual idRenderModel *AllocRenderModel(const char *, bool, int);
|
||||
virtual void MarkLightSerialized(idRenderLight *, bool, bool);
|
||||
virtual void MarkAllLightsAsSerialized();
|
||||
virtual void SetBinaryModelState(const char *, const bool);
|
||||
virtual void SetNumRenderViews(int);
|
||||
virtual idRenderView *RenderViewForIndex(int);
|
||||
virtual bool InitForTools(const char *);
|
||||
virtual int GetNumRenderModels();
|
||||
virtual idRenderModel *RenderModelForIndex(int);
|
||||
virtual int GetNumRenderLights();
|
||||
virtual idRenderLight *RenderLightForIndex(int);
|
||||
virtual int GetNumMegatextures();
|
||||
virtual pageSource_t MegatextureForIndex(int);
|
||||
virtual const idStaticModel *GetWorldStaticModel();
|
||||
virtual const idRenderModel *GetWorldRenderModel();
|
||||
virtual void GetStaticWorldBounds(idBounds *);
|
||||
virtual bool Trace(modelTrace_t *, const idVec3 *, const idVec3 *, const idTraceOpts *);
|
||||
virtual float ShadowSample(const idVec3 *);
|
||||
virtual void SaveGame(idFile *);
|
||||
virtual bool LoadGame(idFile *);
|
||||
virtual void WriteToSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual void ReadFromSnapshot(idSnapShot *, const idSnapShot *);
|
||||
virtual void ResetSnapshots();
|
||||
virtual void DebugClear(int);
|
||||
virtual void DebugLine(const idVec4 *, const idVec3 *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugArrow(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugArrow2(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool, const idVec3 *);
|
||||
virtual void DebugArrow3(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugPyramid(const idVec4 *, const idVec3 *, const idVec3 *, const idVec3 *, float, float, const int, const bool);
|
||||
virtual void DebugWinding(const idVec4 *, const idWinding *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugCircle(const idVec4 *, const idVec3 *, const idVec3 *, const float, const int, const int, const bool);
|
||||
virtual void DebugCylinder(const idVec4 *, const idCylinder *, const idVec3 *, const int, const int, const bool);
|
||||
virtual void DebugArc(const idVec4 *, const idVec3 *, const idVec3 *, const float, const float, const float, const float, const int, const bool, const bool);
|
||||
virtual void DebugShadedArc(const idVec4 *, const idVec3 *, const idVec3 *, const idVec3 *, const float, const float, const float, const float, const int, const bool);
|
||||
virtual void DebugSphere(const idVec4 *, const idSphere *, const int, const int, const bool);
|
||||
virtual void DebugBounds(const idVec4 *, const idBounds *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugOrientedBounds(const idVec4 *, const idBounds *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugBox(const idVec4 *, const idBox *, const int, const bool);
|
||||
virtual void DebugFrustum(const idVec4 *, const idFrustum *, const bool, const int);
|
||||
virtual void DebugCone(const idVec4 *, const idVec3 *, const idVec3 *, float, const int, const bool);
|
||||
virtual void DebugCone_2(const idVec4 *, const idVec3 *, const idVec3 *, float, float, const int, const bool);
|
||||
virtual void DebugAxis(const idVec4 *, const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugAxis_2(const idVec3 *, const idMat3 *, const int, const bool);
|
||||
virtual void DebugAxisScaled(const idVec3 *, const idMat3 *, const float, const int, const bool);
|
||||
virtual void DebugPoint(const idVec4 *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugFilledPolygon(const idVec4 *, const idWinding *, const int, const bool);
|
||||
virtual void DebugFilledBounds(const idVec4 *, const idBounds *, const idVec3 *, const int, const bool);
|
||||
virtual void DebugText(const char *, const idVec3 *, float, const idVec4 *, const int, const int, const bool, const bool);
|
||||
virtual void DebugText_2(const char *, const idVec3 *, float, const idVec4 *, const idMat3 *, const int, const int, const bool, const bool);
|
||||
virtual void DebugSpline(const idVec4 *, idCurve_Spline<idVec3> *, float, bool, int, const bool);
|
||||
virtual bool InitFromMap(const char *, bool);
|
||||
|
||||
idStr mapName;
|
||||
bool isComboMap;
|
||||
bool everInitialized;
|
||||
bool specificationCompleteHasBeenCalled;
|
||||
bool hasWorldSurfaceOffsets;
|
||||
idRenderWorldLocal *nextOnWorldList;
|
||||
areaNode_t *areaNodes;
|
||||
idBounds *areaNodeBounds;
|
||||
int *areaNodeOcclusionIndex;
|
||||
int numAreaNodes;
|
||||
worldArea_t *worldAreas;
|
||||
idBounds *worldAreaSubspaceBounds;
|
||||
idBounds *worldAreaGeometryBounds;
|
||||
int numWorldAreas;
|
||||
idVertexBuffer worldVertexBuffer;
|
||||
idIndexBuffer worldIndexBuffer;
|
||||
idStaticModel *worldStaticModel;
|
||||
idRenderModel *worldRenderModel;
|
||||
idRenderModel *skyModel;
|
||||
idRenderModel *occlusionBaseModel;
|
||||
idAmbientLighting ambientLighting;
|
||||
idGlobalShadows globalShadows;
|
||||
idStaticList<dynamicEnvironment_t,128> dynamicEnvironments;
|
||||
idStaticList<idRenderModel *,4096> renderModels;
|
||||
idStaticList<idRenderLight *,4096> renderLights;
|
||||
idStaticList<idRenderLight *,4096> serializedLights;
|
||||
idStaticList<idRenderView *,2> renderViews;
|
||||
idArray<bool,4096> commitModels;
|
||||
idArray<bool,4096> commitLights;
|
||||
idArray<bool,4096> postCommitModels;
|
||||
idArray<bool,4096> postCommitLights;
|
||||
idArray<bool,4096> deletedModels;
|
||||
idHashIndex binaryModelHash;
|
||||
idStaticList<idStr,1024> binaryModelNames;
|
||||
idStaticList<bool,1024> binaryModelState;
|
||||
idRenderModel *stampModel;
|
||||
idRenderModelFoliageEdit *foliageEditRenderModel;
|
||||
idRenderModelFoliage *foliageRenderModel;
|
||||
idRenderModelDetailEdit *detailEditRenderModel;
|
||||
idRenderModelDetail *detailRenderModel;
|
||||
idRenderModelTransparency *transparencyRenderModel;
|
||||
idRenderModelDecal *decalRenderModel;
|
||||
idParallelJobList *transparencyJobList;
|
||||
idParallelJobList *renderModelJobList;
|
||||
approximateLightingParms_t *approximateLightingParms;
|
||||
int numApproximateLightingParms;
|
||||
const idRenderLightCommitted **approximateLightingLights;
|
||||
int numApproximateLightingLights;
|
||||
idStaticList<idRenderModelCommitted *,4096> linkedRenderModels;
|
||||
idStaticList<idRenderLightCommitted *,4096> linkedRenderLights;
|
||||
idRenderModelCommitted *addAlwaysModels;
|
||||
idRenderModelCommitted *dimShadowModels;
|
||||
idList<idVirtualTexture *,61> megaTextures;
|
||||
const idDeclEnv *testEnv;
|
||||
idList<debugLine_t,3> rb_debugLines;
|
||||
idList<debugText_t,3> rb_debugText;
|
||||
idList<debugPolygon_t,3> rb_debugPolygons;
|
||||
idList<debugBounds_t,3> rb_debugBounds;
|
||||
idList<debugLine_t,3> latchedDebugLines;
|
||||
idList<debugText_t,3> latchedDebugText;
|
||||
idList<debugPolygon_t,3> latchedDebugPolygons;
|
||||
idList<debugBounds_t,3> latchedDebugBounds;
|
||||
bool worldEnableStaticSpecular;
|
||||
};
|
||||
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\resolutionscale.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22821; PDB kind: class.
|
||||
class idResolutionScale
|
||||
{
|
||||
public:
|
||||
float dropMilliseconds;
|
||||
float raiseMilliseconds;
|
||||
int framesAboveRaise;
|
||||
float currentResolution;
|
||||
idGaugeMetric resolutionScaleMetricX;
|
||||
idGaugeMetric resolutionScaleMetricY;
|
||||
};
|
||||
@@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\seenbits.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13646; PDB kind: class.
|
||||
class idSeenBits
|
||||
{
|
||||
public:
|
||||
int merges;
|
||||
int layoutVersion;
|
||||
int width;
|
||||
int coarsestLevel;
|
||||
__int64 bitArraySize;
|
||||
unsigned __int8 *bits;
|
||||
__int64 levelOffset[32];
|
||||
};
|
||||
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\triangles.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13337; PDB kind: class.
|
||||
class idTriangles
|
||||
{
|
||||
public:
|
||||
idBounds bounds;
|
||||
bool generateNormals;
|
||||
int numIndexes;
|
||||
int numVerts;
|
||||
int detailOffset;
|
||||
bool allowGpuHosting;
|
||||
idVertexScaleAndBias vsb;
|
||||
unsigned int cpuVertexMask;
|
||||
idDrawVert *verts;
|
||||
unsigned __int16 *indexes;
|
||||
unsigned int vertexMask;
|
||||
idVertexBuffer vertexBuffer;
|
||||
idIndexBuffer indexBuffer;
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\virtualmaterialatlas.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3015; PDB kind: enum.
|
||||
enum idVirtualMaterial::vmtrFlag_t : __int32
|
||||
{
|
||||
VF_TRANSMAP = 0x1,
|
||||
VF_NO_BORDER = 0x2,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13332; PDB kind: class.
|
||||
class idVirtualMaterial
|
||||
{
|
||||
public:
|
||||
idAtomicString materialName;
|
||||
unsigned int materialChecksum;
|
||||
unsigned int cpuVmtrTimeStamp;
|
||||
int allocX;
|
||||
int allocY;
|
||||
int allocWidth;
|
||||
int allocHeight;
|
||||
int flags;
|
||||
const idMaterial *material;
|
||||
const struct idVmtrCPU *cpuVmtr;
|
||||
idVec4 scaleAndBias;
|
||||
};
|
||||
@@ -0,0 +1,51 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\virtualtexture.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13641; PDB kind: class.
|
||||
class __declspec(align(8)) idVirtualTexture
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13642.
|
||||
virtual ~idVirtualTexture();
|
||||
virtual void FreeData();
|
||||
|
||||
pageFileHeader_t header;
|
||||
idStrStatic<256> pageFilePath;
|
||||
idStrStatic<256> baseName;
|
||||
pageSource_t pageSource;
|
||||
int layoutVersion;
|
||||
idFile *pageFile;
|
||||
idFile *pageFileInstalled;
|
||||
int minMipLevelInstalled;
|
||||
int VIRTUAL_PAGES_WIDE_LOG2;
|
||||
int VIRTUAL_TEXELS_WIDE;
|
||||
int VIRTUAL_MAPPING_PAGES_WIDE;
|
||||
unsigned __int16 mipLevelPagesWide[16];
|
||||
idStrStatic<128> mapName;
|
||||
idSeenBits dirtyPages;
|
||||
idPhysicalPages *physicalPages;
|
||||
texturePage_t *rootTexturePage;
|
||||
idImage *pageTableImage;
|
||||
bool enlargedPageTableAllocationFailed;
|
||||
bool isDirectMapped;
|
||||
int levelResidency[12];
|
||||
idSysMutex headerMutex;
|
||||
bool pageFileIsLocal;
|
||||
bool skipFlush;
|
||||
pageCompression_t forcedPageCompression;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 18488; PDB kind: struct.
|
||||
const struct virtualTextureInfo_t
|
||||
{
|
||||
unsigned int numLevels;
|
||||
unsigned int baseLevel;
|
||||
unsigned int pagesWide;
|
||||
unsigned __int16 physicalPagesPool;
|
||||
unsigned __int16 priorityBias;
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\virtualtexturepreloader.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 22774; PDB kind: class.
|
||||
class __declspec(align(4)) idVirtualTexturePreloadThread : public idSysThread
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 22775.
|
||||
virtual ~idVirtualTexturePreloadThread();
|
||||
virtual int Run();
|
||||
|
||||
preloadCommand_t preloadCommands[8];
|
||||
preloadCommand_t *preloadCommandQueue[16];
|
||||
volatile int preloadCommandQueueStart;
|
||||
volatile int preloadCommandQueueEnd;
|
||||
int currentHandle;
|
||||
volatile bool endCalled;
|
||||
volatile bool cancelToTerminate;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 22776; PDB kind: class.
|
||||
class __declspec(align(4)) idVirtualTexturePreloader
|
||||
{
|
||||
public:
|
||||
idVirtualTexturePreloadThread *thread;
|
||||
bool running;
|
||||
};
|
||||
@@ -0,0 +1,60 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\renderer\virtualtexturesystem.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 18496; PDB kind: class.
|
||||
class __declspec(align(8)) idVirtualTextureSystem
|
||||
{
|
||||
public:
|
||||
char vmtrPath[256];
|
||||
char vmtrName[256];
|
||||
idList<idVirtualMaterial *,5> vmtrs;
|
||||
idHashIndex vmtrHash;
|
||||
idVirtualTexture vts[16];
|
||||
idVirtualTexture *vmtrMega;
|
||||
idVirtualTexture *vtPtrs[16];
|
||||
idList<cachedPageFile_t,5> cachedPagesFiles;
|
||||
int numReferencedVirtualTextures;
|
||||
char referencedVTPath[100][256];
|
||||
char referencedVTName[100][32];
|
||||
idPhysicalPages physicalPagesPool[4];
|
||||
bool mapHasSpecularPages;
|
||||
bool mapHasDiffuseOnlyPages;
|
||||
bool mapHasDiffuseOnly2Pages;
|
||||
char containerPath[256];
|
||||
void *feedbackBuffer;
|
||||
int feedbackBufferPitch;
|
||||
idPixelPackBuffer *feedbackBufferObject;
|
||||
idRenderDestination *renderDestFeedback[3];
|
||||
idImage *feedbackVisualize;
|
||||
idImage *feedbackStreaming;
|
||||
float mipLevelMSE;
|
||||
int feedbackFrameNum;
|
||||
bool flushNextFeedback;
|
||||
int pageUploadCount;
|
||||
int pageTranscodeCount;
|
||||
int emptyCacheTime;
|
||||
vmtrBatch_t vmtrBatchBuild;
|
||||
idBitBlockAllocator *bitBlock;
|
||||
analyzeParms_t analyzeParms;
|
||||
virtualTextureInfo_t *vtInfo;
|
||||
unsigned int currentPageIndices;
|
||||
pageIndices_t *pageIndices[2];
|
||||
unsigned __int8 *explicitPages[2];
|
||||
int numExplicitPages[2];
|
||||
idParallelJobList *analyzeJobList;
|
||||
transcodeJobList_t transcodeJobList[2];
|
||||
int currentTranscodeJobList;
|
||||
volatile bool cancelToTerminate;
|
||||
idSysMutex metricMutex;
|
||||
idGaugeMetric vmtrTotalPagesMetric;
|
||||
idGaugeMetric vmtrBiasMetric;
|
||||
idGaugeMetric specTotalPagesMetric;
|
||||
idGaugeMetric specBiasMetric;
|
||||
idGaugeMetric diffuseTotalPagesMetric;
|
||||
idGaugeMetric diffuseBiasMetric;
|
||||
};
|
||||
Reference in New Issue
Block a user