Added cleaned up structs and classes to proper header files.

This commit is contained in:
Justin Marshall
2026-08-08 17:17:36 -07:00
parent 2b5e5a2c2a
commit 61cb846dd5
791 changed files with 85858 additions and 0 deletions
@@ -0,0 +1,22 @@
#pragma once
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
// Original PDB header: w:\tech5\engine\models\transparency\jobs\influencespherecull.h
// Recovered logical types: 1
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
// IDA Local Type ordinal 13544; PDB kind: struct.
struct influenceSphereCullParms_t
{
float nearDist;
float farDist;
idVec2 fov;
idVec3 viewOrg;
idVec3 viewFwd;
idVec3 viewLeft;
idVec3 viewUp;
const influenceSphere_t *influenceSpheres;
int numInfluenceSpheres;
visibleInfluenceSpheres_t *visibleInfluenceSpheres;
};
@@ -0,0 +1,10 @@
#pragma once
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
// Original PDB header: w:\tech5\engine\models\transparency\jobs\influencespheredata.h
// Recovered logical types: 1
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
// IDA Local Type ordinal 27582; PDB kind: typedef.
typedef __int16 influenceSphereIndex_t;
@@ -0,0 +1,19 @@
#pragma once
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
// Original PDB header: w:\tech5\engine\models\transparency\jobs\transparencyvert.h
// Recovered logical types: 1
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
// IDA Local Type ordinal 13539; PDB kind: class.
class idTransparencyVert
{
public:
idVec3 xyz;
__int16 st[2];
__int16 st1[2];
unsigned __int8 normal[4];
unsigned __int8 tangent[4];
unsigned __int8 color[4];
};
@@ -0,0 +1,34 @@
#pragma once
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
// Original PDB header: w:\tech5\engine\models\transparency\rendermodeltransparency.h
// Recovered logical types: 1
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
// IDA Local Type ordinal 13545; PDB kind: class.
class __declspec(align(16)) idRenderModelTransparency : public idRenderModel
{
public:
// Recovered virtual interface; IDA vtable ordinal 34035.
virtual void Save(idFile *);
virtual bool Load(idFile *);
virtual void SerializeSnapshot(idSerializer *, bool);
virtual const idDeclSkins *GetSkins();
virtual idHandle<int,enum invalidDecalHandle_t,-1> *AddDecalFromPoint(idHandle<int,enum invalidDecalHandle_t,-1> *result, const decalParams_t *, const int, const idVec3 *, const idVec3 *, idIndex<short,enum invalidJointIndex_t>);
virtual bool RemoveDecal(const idHandle<int,enum invalidDecalHandle_t,-1>);
virtual void RemoveDecals();
virtual void FreeSurfaces();
virtual bool CommitSubclass();
virtual bool UpdateInView(const idRenderView *, const idRenderView *, idRenderModelUpdateTools *);
virtual const idList<sourceSurface_t,5> *GetSourceSurfaces();
virtual ~idRenderModelTransparency();
transSortParms_t *sortParms;
transSortResult_t *sortResult;
influenceSphere_t *influenceSpheres[2];
int numInfluenceSpheres[2];
int currentSphereIndex;
visibleInfluenceSpheres_t *visibleInfluenceSpheres;
influenceSphereCullParms_t *influenceSphereCullParms;
};