Added cleaned up structs and classes to proper header files.
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\declparticle.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13460; PDB kind: class.
|
||||
class idDeclParticle : public idDecl
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13461.
|
||||
virtual ~idDeclParticle();
|
||||
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();
|
||||
|
||||
idList<idParticleStage *,79> stages;
|
||||
idList<idAtomicString,79> stageNames;
|
||||
idList<idAtomicString,79> stageInheritNames;
|
||||
idList<idDeclTable const *,79> tableDecls;
|
||||
idList<idLookupTable,79> tables;
|
||||
idBounds bounds;
|
||||
int maxSystemDuration;
|
||||
int lodRadius;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 15209; PDB kind: class.
|
||||
class idClothParticle
|
||||
{
|
||||
public:
|
||||
idVec3 origin;
|
||||
idVec3 lastOrigin;
|
||||
idVec3 velocity;
|
||||
idVec3 force;
|
||||
idMat3 axis;
|
||||
float mass;
|
||||
unsigned __int8 neighbors[4];
|
||||
unsigned __int8 anchored;
|
||||
unsigned __int16 state;
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\jobs\particlegen.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 21646; PDB kind: struct.
|
||||
struct particleGen_t
|
||||
{
|
||||
int index;
|
||||
float cycleAge;
|
||||
float totalAge;
|
||||
float particleLife;
|
||||
float frac;
|
||||
float parmVal;
|
||||
idRandom2 random;
|
||||
idRandom2 originalRandom;
|
||||
idVec4 vertColor;
|
||||
};
|
||||
@@ -0,0 +1,58 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\jobs\particleparm.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13433; PDB kind: class.
|
||||
class idParticleParm
|
||||
{
|
||||
public:
|
||||
float val0;
|
||||
float val1;
|
||||
float variance;
|
||||
__int16 tableIdx;
|
||||
__int16 table2Idx;
|
||||
particleCalcType_t calcType;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14008; PDB kind: struct.
|
||||
struct effectParticleParms_t
|
||||
{
|
||||
int startTime;
|
||||
int duration;
|
||||
const idParticleStage *stage;
|
||||
const idLookupTable *tables;
|
||||
int numTables;
|
||||
int diversity;
|
||||
idVec3 origin;
|
||||
idMat3 axis;
|
||||
idVec3 velocity;
|
||||
idVec3 wind;
|
||||
float shadow;
|
||||
int currTime;
|
||||
int numParticles;
|
||||
unsigned int color;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14015; PDB kind: struct.
|
||||
const struct modelParticleParms_t
|
||||
{
|
||||
int stopTime;
|
||||
float timeOffset;
|
||||
int diversity;
|
||||
float coverage;
|
||||
idVec4 color;
|
||||
idVec4 wind;
|
||||
idVec3 distribScale;
|
||||
idVec3 origin;
|
||||
idMat3 axis;
|
||||
idVec3 scale;
|
||||
idVec3 velocity;
|
||||
float shadow;
|
||||
float alphaScaleOverride;
|
||||
unsigned __int8 lod;
|
||||
unsigned __int8 pad[3];
|
||||
};
|
||||
@@ -0,0 +1,213 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\jobs\particlestage.h
|
||||
// Recovered logical types: 20
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13434; PDB kind: struct.
|
||||
struct __declspec(align(4)) idParticleStage::prtStageProperties_t
|
||||
{
|
||||
const idMaterial *material;
|
||||
__int16 totalParticles;
|
||||
__int16 cycles;
|
||||
int diversity;
|
||||
idParticleParm particleLife;
|
||||
float timeOffset;
|
||||
idParticleParm deadTime;
|
||||
float useSysTime;
|
||||
float spawnBunching;
|
||||
float emissionTime;
|
||||
prtTextureFlipMode_t textureFlipS;
|
||||
prtTextureFlipMode_t textureFlipT;
|
||||
idParticleParm windBias;
|
||||
prtSortType_t sortType;
|
||||
float boundsExpansion;
|
||||
bool randomOnCycle;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13435; PDB kind: struct.
|
||||
struct __declspec(align(4)) idParticleStage::prtDistribution_t
|
||||
{
|
||||
prtDistributionType_t type;
|
||||
idParticleParm size[3];
|
||||
bool random;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13436; PDB kind: struct.
|
||||
struct idParticleStage::prtOrientation_t
|
||||
{
|
||||
prtOrientationType_t type;
|
||||
__int16 numTrails;
|
||||
float segmentLength;
|
||||
float viewFade;
|
||||
bool orientToVelOnly;
|
||||
bool world;
|
||||
bool aimedSafeQuad;
|
||||
float aimedSafeQuadAlign;
|
||||
float depthOffset;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13437; PDB kind: struct.
|
||||
struct idParticleStage::prtDirection_t
|
||||
{
|
||||
prtDirectionType_t type;
|
||||
float parms[4];
|
||||
float angleOffsetStart[2];
|
||||
float angleOffsetRange[2];
|
||||
idMat3 coneAxis;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13438; PDB kind: struct.
|
||||
struct idParticleStage::prtSpeed_t
|
||||
{
|
||||
idParticleParm speed[3];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13439; PDB kind: struct.
|
||||
struct __declspec(align(4)) idParticleStage::prtAcceleration_t
|
||||
{
|
||||
idParticleParm acceleration[3];
|
||||
bool world;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13440; PDB kind: struct.
|
||||
struct __declspec(align(4)) idParticleStage::prtGravity_t
|
||||
{
|
||||
idParticleParm gravity;
|
||||
bool world;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13441; PDB kind: struct.
|
||||
struct idParticleStage::prtFriction_t
|
||||
{
|
||||
idParticleParm friction[3];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13442; PDB kind: struct.
|
||||
struct idParticleStage::prtOffset_t
|
||||
{
|
||||
idParticleParm offset[3];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13443; PDB kind: struct.
|
||||
struct idParticleStage::prtSpawnLocation_t
|
||||
{
|
||||
idParticleParm spawnLocation[3];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13444; PDB kind: struct.
|
||||
struct idParticleStage::prtColorAttributes_t
|
||||
{
|
||||
idParticleParm baseColor[4];
|
||||
idVec4 fadeColor;
|
||||
float fadeInFraction;
|
||||
float fadeOutFraction;
|
||||
float fadeIndexFraction;
|
||||
float softParticleAlphaScale;
|
||||
idParticleParm brightness;
|
||||
bool useGlobalShadows;
|
||||
float minShadowVal;
|
||||
float entityColorBlendVal;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13445; PDB kind: struct.
|
||||
struct __declspec(align(4)) idParticleStage::prtRotation_t
|
||||
{
|
||||
idParticleParm rotation[3];
|
||||
bool allowRotDirOverride;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13446; PDB kind: struct.
|
||||
struct idParticleStage::prtInitialRotation_t
|
||||
{
|
||||
idParticleParm initialAngle[3];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13447; PDB kind: struct.
|
||||
struct idParticleStage::prtPivot_t
|
||||
{
|
||||
idVec2 pivotOffset;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13448; PDB kind: struct.
|
||||
struct idParticleStage::prtSize_t
|
||||
{
|
||||
idParticleParm size[3];
|
||||
idParticleParm aspectRatio;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13449; PDB kind: struct.
|
||||
struct idParticleStage::prtTexAnimation_t
|
||||
{
|
||||
prtAnimationType_t type;
|
||||
unsigned __int16 numColumns;
|
||||
unsigned __int16 numRows;
|
||||
idParticleParm rate;
|
||||
__int16 startFrame;
|
||||
bool useRandomRow;
|
||||
bool useFrameBlending;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13450; PDB kind: struct.
|
||||
struct idParticleStage::prtCustomPath_t
|
||||
{
|
||||
prtCustomPthType_t type;
|
||||
idParticleParm parms[5];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13451; PDB kind: struct.
|
||||
struct idParticleStage::prtGenericParms_t
|
||||
{
|
||||
idParticleParm genericParm[4];
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13452; PDB kind: struct.
|
||||
struct idParticleStage::prtLODParms_t
|
||||
{
|
||||
float sizeScale;
|
||||
float lerpAmount;
|
||||
__int16 radius;
|
||||
__int16 totalParticles;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 13453; PDB kind: class.
|
||||
class idParticleStage
|
||||
{
|
||||
public:
|
||||
const idStaticParticleModelData *staticData;
|
||||
const idDrawVert *staticVerts;
|
||||
int numStaticVerts;
|
||||
int cycleMsec;
|
||||
float maxParticleLife;
|
||||
float maxDeadTime;
|
||||
float bunchTime;
|
||||
idBounds bounds;
|
||||
idVec4 atlasScaleBias;
|
||||
unsigned __int8 : 3;
|
||||
__int8 hidden : 1;
|
||||
__int8 hasEmissivePass : 1;
|
||||
__int8 usesTransSortAtlas : 1;
|
||||
__int8 isTransparencySorted : 1;
|
||||
__int8 alphaBlended : 1;
|
||||
idParticleStage::prtStageProperties_t systemProperties;
|
||||
idParticleStage::prtDistribution_t distribution;
|
||||
idParticleStage::prtOrientation_t orientation;
|
||||
idParticleStage::prtDirection_t direction;
|
||||
idParticleStage::prtSpeed_t speed;
|
||||
idParticleStage::prtAcceleration_t acceleration;
|
||||
idParticleStage::prtGravity_t gravity;
|
||||
idParticleStage::prtFriction_t friction;
|
||||
idParticleStage::prtOffset_t offset;
|
||||
idParticleStage::prtSpawnLocation_t spawnLocation;
|
||||
idParticleStage::prtColorAttributes_t colorAttributes;
|
||||
idParticleStage::prtRotation_t rotation;
|
||||
idParticleStage::prtInitialRotation_t initialRotation;
|
||||
idParticleStage::prtPivot_t pivot;
|
||||
idParticleStage::prtSize_t size;
|
||||
idParticleStage::prtTexAnimation_t texAnimation;
|
||||
idParticleStage::prtCustomPath_t customPath;
|
||||
idParticleStage::prtGenericParms_t genericParm;
|
||||
idParticleStage::prtLODParms_t lodParms;
|
||||
};
|
||||
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\jobs\staticparticlemodeldata.h
|
||||
// Recovered logical types: 1
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 13431; PDB kind: class.
|
||||
class idStaticParticleModelData : public idResource
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 13432.
|
||||
virtual ~idStaticParticleModelData();
|
||||
virtual void LoadResource();
|
||||
virtual bool ReloadIfStale();
|
||||
virtual void WriteResourceFile();
|
||||
virtual idResourceList *GetResourceList();
|
||||
virtual void Print();
|
||||
virtual void List();
|
||||
|
||||
unsigned int timestamp;
|
||||
idDrawVert *staticVerts;
|
||||
int numStaticVerts;
|
||||
};
|
||||
@@ -0,0 +1,65 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\rendermodeleffects.h
|
||||
// Recovered logical types: 3
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 14013; PDB kind: struct.
|
||||
struct idRenderModelEffects::sortedParticleStage_t
|
||||
{
|
||||
const idParticleStage *stage;
|
||||
int first;
|
||||
int num;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14017; PDB kind: struct.
|
||||
struct idRenderModelEffects::deferredStage_t
|
||||
{
|
||||
const idMaterial *mtr;
|
||||
int vertCount;
|
||||
int indexOffset;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14019; PDB kind: class.
|
||||
class idRenderModelEffects : public idRenderModel
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 14020.
|
||||
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 ~idRenderModelEffects();
|
||||
|
||||
effectParticleParms_t *particles;
|
||||
int particleRange[2];
|
||||
particleTrailParms_t *particleTrails;
|
||||
int particleTrailRange[2];
|
||||
tracerParms_t *tracers;
|
||||
int tracerRange[2];
|
||||
decalParms_t *decals;
|
||||
decalVerts_t *decalVerts;
|
||||
int decalRange[2];
|
||||
int gameTime;
|
||||
int deltaTime;
|
||||
int latchedTime;
|
||||
int lastLatchedParticleRange[2];
|
||||
int latchedParticleRange[2];
|
||||
int latchedTracerRange[2];
|
||||
int latchedDecalRange[2];
|
||||
idRenderModelEffects::sortedParticleStage_t sortedParticleStages[1024];
|
||||
int numSortedParticleStages;
|
||||
particleRenderView_t *particleRenderView;
|
||||
deferredParticleGenParms_t *particleGenParms;
|
||||
idList<idRenderModelEffects::deferredStage_t,5> deferredStages[3];
|
||||
idTriangles *triangles;
|
||||
};
|
||||
@@ -0,0 +1,39 @@
|
||||
#pragma once
|
||||
|
||||
// Reconstructed C++ declarations from IDA Local Types and PDB/DIA metadata.
|
||||
// Original PDB header: w:\tech5\engine\models\particles\rendermodelparticle.h
|
||||
// Recovered logical types: 2
|
||||
// Signatures retain Xbox 360 ABI evidence and may still require manual review.
|
||||
|
||||
|
||||
// IDA Local Type ordinal 14030; PDB kind: struct.
|
||||
struct idRenderModelParticle::stageCounts_t
|
||||
{
|
||||
int vertCount;
|
||||
int indexOffset;
|
||||
};
|
||||
|
||||
// IDA Local Type ordinal 14032; PDB kind: class.
|
||||
class __declspec(align(8)) idRenderModelParticle : public idRenderModel
|
||||
{
|
||||
public:
|
||||
// Recovered virtual interface; IDA vtable ordinal 14033.
|
||||
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 ~idRenderModelParticle();
|
||||
|
||||
idList<deferredParticleGenParms_t,5> genParms;
|
||||
particleRenderView_t *particleRenderView;
|
||||
modelParticleParms_t *modelParms;
|
||||
idList<idRenderModelParticle::stageCounts_t,5> stageCounts[3];
|
||||
const idDeclParticle *particleDecl;
|
||||
};
|
||||
Reference in New Issue
Block a user