Added cleaned up structs and classes to proper header files.
This commit is contained in:
@@ -0,0 +1,99 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\compilers\aas2\bspsurface.h
|
||||
// Recovered logical types: 10
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 3262; PDB kind: unknown.
|
||||
enum idBSPSurface::<unnamed_tag> : __int32
|
||||
{
|
||||
ON_EDGE_NOT = 0x0,
|
||||
ON_EDGE_ON_LINE = 0x1,
|
||||
ON_EDGE_ON_EDGE = 0x2,
|
||||
ON_EDGE_ON_START = 0x4,
|
||||
ON_EDGE_ON_END = 0x8,
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23856; PDB kind: class.
|
||||
class idBSPSurfacePlane
|
||||
{
|
||||
public:
|
||||
long double a;
|
||||
long double b;
|
||||
long double c;
|
||||
long double d;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23858; PDB kind: class.
|
||||
class idBSPSurfaceVert
|
||||
{
|
||||
public:
|
||||
idVec3 xyz;
|
||||
int flags;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23860; PDB kind: class.
|
||||
class idBSPSurfaceEdge
|
||||
{
|
||||
public:
|
||||
int verts[2];
|
||||
int tris[2];
|
||||
int numTris;
|
||||
int flags;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23862; PDB kind: class.
|
||||
class idBSPSurfaceTriInfo
|
||||
{
|
||||
public:
|
||||
int flags;
|
||||
int planeNum;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23865; PDB kind: class.
|
||||
class __declspec(align(4)) idBSPSurface
|
||||
{
|
||||
public:
|
||||
idList<idBSPSurfaceVert,5> verts;
|
||||
idList<int,5> indexes;
|
||||
idList<idBSPSurfaceEdge,5> edges;
|
||||
idList<int,5> edgeIndexes;
|
||||
idList<int,5> vertexEdges;
|
||||
idList<int,5> vertexEdgeChain;
|
||||
idList<idBSPSurfaceTriInfo,5> triangleInfo;
|
||||
idList<idBSPSurfacePlane,5> trianglePlanes;
|
||||
struct idBSPSurfaceTracer *tracer;
|
||||
idBounds bounds;
|
||||
bool hasTriInfo;
|
||||
bool boundsValid;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23873; PDB kind: struct.
|
||||
struct idBSPSurface::triangleIntersection_t
|
||||
{
|
||||
idVec3 point;
|
||||
float dist;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23874; PDB kind: struct.
|
||||
struct idBSPSurface::vertexRemap_t
|
||||
{
|
||||
int vertexNum;
|
||||
idBSPSurface::vertexRemap_t *next;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23875; PDB kind: struct.
|
||||
struct idBSPSurface::edgeRemap_t
|
||||
{
|
||||
int e0;
|
||||
int e1;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23876; PDB kind: struct.
|
||||
struct idBSPSurface::step_t
|
||||
{
|
||||
int topEdgeNum;
|
||||
int bottomEdgeNum;
|
||||
};
|
||||
@@ -0,0 +1,110 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\compilers\aas2\edgebsp.h
|
||||
// Recovered logical types: 7
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23857; PDB kind: class.
|
||||
class idEdgeBSPNode
|
||||
{
|
||||
public:
|
||||
idBSPSurfacePlane plane;
|
||||
idEdgeBSPNode *parent;
|
||||
idEdgeBSPNode *children[2];
|
||||
idBSPSurface *surface;
|
||||
idBounds cullBounds;
|
||||
int areaNum;
|
||||
int floorColor;
|
||||
idList<int,37> edges;
|
||||
edgeBSPNodeType_t type;
|
||||
int flags;
|
||||
float height;
|
||||
int nodeNum;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23869; PDB kind: class.
|
||||
class idEdgeBSPEdge
|
||||
{
|
||||
public:
|
||||
int flags;
|
||||
int verts[2];
|
||||
idEdgeBSPNode *nodes[2];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23871; PDB kind: class.
|
||||
class idEdgeBSP
|
||||
{
|
||||
public:
|
||||
idBounds bounds;
|
||||
idVec3 normal;
|
||||
int edgeFlag;
|
||||
int walkableTriangleFlag;
|
||||
int ignoreTriangleFlag;
|
||||
int stepSideTriangleFlag;
|
||||
float minFloorThickness;
|
||||
float minCornerFloorSurfaceArea;
|
||||
float minHighCeiling;
|
||||
idEdgeBSPNode *root;
|
||||
idList<idEdgeBSPNode *,5> nodeList;
|
||||
int numThreads;
|
||||
idList<int,5> threadSilEdges;
|
||||
idList<int,5> threadSilVerts;
|
||||
struct idSysWorkerThreadGroup<idFindSplitterThread> *findSplitter;
|
||||
int numSplits;
|
||||
int numStitchedEdges;
|
||||
int numMergedColinearEdges;
|
||||
int numCollapsedFloors;
|
||||
int numPairwiseMergedFloors;
|
||||
int numThreeTwoMergedFloors;
|
||||
int numPairwiseAfterThreeTwoMergedFloors;
|
||||
int numPrunedNodes;
|
||||
idVectorSet<idVec3,3> vertices;
|
||||
idList<int,5> vertexFlags;
|
||||
idList<idEdgeBSPEdge,5> edges;
|
||||
idList<int,5> firstVertexEdges;
|
||||
idList<int,5> firstVertexEdgeChain;
|
||||
idList<int,5> secondVertexEdges;
|
||||
idList<int,5> secondVertexEdgeChain;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23877; PDB kind: struct.
|
||||
struct idEdgeBSP::idEdgeBSPFloor
|
||||
{
|
||||
int index;
|
||||
float area;
|
||||
float min;
|
||||
float max;
|
||||
bool isOutside;
|
||||
bool hasHighCeiling;
|
||||
idList<int,5> triangles;
|
||||
idList<int,5> edges;
|
||||
idBSPSurface *surface;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23878; PDB kind: struct.
|
||||
struct __declspec(align(4)) idEdgeBSP::idEdgeBSPFloorEdge
|
||||
{
|
||||
int verts[2];
|
||||
int edgeNum;
|
||||
idEdgeBSP::idEdgeBSPFloorEdge *next;
|
||||
bool isVertical;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23879; PDB kind: struct.
|
||||
struct __declspec(align(4)) idEdgeBSP::idEdgeBSPFloorEdgeSequence
|
||||
{
|
||||
idEdgeBSP::idEdgeBSPFloorEdge *firstEdge;
|
||||
idEdgeBSP::idEdgeBSPFloorEdge *lastEdge;
|
||||
int numEdges;
|
||||
bool isClosed;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23882; PDB kind: struct.
|
||||
struct idEdgeBSP::idEdgeBSPFloorEdgeWindings
|
||||
{
|
||||
idList<idEdgeBSP::idEdgeBSPFloorEdgeSequence,5> sequences;
|
||||
idBlockAlloc<idEdgeBSP::idEdgeBSPFloorEdge,128,12> floorEdges;
|
||||
idList<int,5> sharedEdges;
|
||||
};
|
||||
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\compilers\newmap\paralleltask.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 23739; PDB kind: class.
|
||||
class __declspec(align(8)) idParallelTask
|
||||
{
|
||||
public:
|
||||
idList<idStr,5> printLines;
|
||||
unsigned int thread;
|
||||
idStr name;
|
||||
parallelTaskParms_t taskParms;
|
||||
__int64 startMicroseconds;
|
||||
__int64 stopMicroseconds;
|
||||
bool completed;
|
||||
bool taskError;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 23740; PDB kind: struct.
|
||||
struct parallelTaskParms_t
|
||||
{
|
||||
idParallelTask *task;
|
||||
unsigned int (__fastcall *function)(void *);
|
||||
void *parms;
|
||||
};
|
||||
Reference in New Issue
Block a user