From bec37fb830489eaae3eff359c945228d1134e65b Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 8 Oct 2016 20:51:44 +0200 Subject: [PATCH] Remove test structs --- src/Game/Structs.hpp | 81 -------------------------------------------- 1 file changed, 81 deletions(-) diff --git a/src/Game/Structs.hpp b/src/Game/Structs.hpp index acf1d4b3..0ad064b6 100644 --- a/src/Game/Structs.hpp +++ b/src/Game/Structs.hpp @@ -340,15 +340,6 @@ namespace Game MaterialTechnique* techniques[48]; }; - struct MaterialTechniqueSet_new - { - const char* name; - char pad[4]; - MaterialTechniqueSet* remappedTechniques; - int pad2; - MaterialTechnique* techniques[48]; - }; - struct MaterialConstantDef { int nameHash; @@ -377,30 +368,6 @@ namespace Game void *stateBitTable; }; - struct Material_new - { - char drawSurfBegin[4]; // Probably wrong - int surfaceTypeBits; - const char *name; - char drawSurf[6]; - char gameFlags; - char pad; - char sortKey; - char textureAtlasRowCount; - char textureAtlasColumnCount; - char pad2; - char stateBitsEntry[48]; - char textureCount; - char constantCount; - char stateBitsCount; - char stateFlags; - char cameraRegion; - MaterialTechniqueSet_new *techniqueSet; - MaterialTextureDef *textureTable; - MaterialConstantDef *constantTable; - void *stateBitTable; - }; - struct TracerDef { const char * name; @@ -2813,54 +2780,6 @@ namespace Game char * heroOnlyLight; int unknown5; }; - - struct GfxWorld_new - { - const char *name; - const char *baseName; - int planeCount; - int nodeCount; - int unknown2; - unsigned int skyCount; - GfxSky* skies; - char unknown1[0x18]; - GfxWorldDpvsPlanes dpvsPlanes; //The following rely on the count in this - char *unknown4; - GfxAabbTree *aabbTree; // Actually GfxCellTree - GfxCell *cells; - GfxWorldDraw worldDraw; - GfxLightGrid lightGrid; - int modelCount; - GfxBrushModel *models; - float mins[3]; - float maxs[3]; - unsigned int checksum; - int materialMemoryCount; - MaterialMemory *materialMemory; - sunflare_t sun; - - char whatIsThat[968]; - - unsigned int *cellCasterBits[2]; - GfxSceneDynModel *sceneDynModel; - GfxSceneDynBrush *sceneDynBrush; - unsigned int *primaryLightEntityShadowVis; - unsigned int *primaryLightDynEntShadowVis[2]; - char *primaryLightForModelDynEnt; - GfxShadowGeometry *shadowGeom; - GfxLightRegion *lightRegion; - - char pad[68]; - - GfxWorldDpvsStatic dpvs; - GfxWorldDpvsDynamic dpvsDyn; - - char pad2[4]; - - unsigned int heroOnlyLightCount; - char * heroOnlyLight; - int unknown5; - }; #pragma pack(pop) struct rgpStruct