add iw4 tracerdef loading code

This commit is contained in:
Jan
2020-09-09 12:08:09 +02:00
parent 3bf47f058d
commit 0efff7d637
6 changed files with 32 additions and 12 deletions

View File

@ -107,7 +107,7 @@ namespace IW4
struct StringTable;
struct LeaderboardDef;
// struct StructuredDataDefSet;
// struct TracerDef;
struct TracerDef;
// struct VehicleDef;
// struct AddonMapEnts;
@ -147,7 +147,7 @@ namespace IW4
StringTable* stringTable;
LeaderboardDef* leaderboardDef;
// StructuredDataDefSet* structuredDataDefSet;
// TracerDef* tracerDef;
TracerDef* tracerDef;
// VehicleDef* vehDef;
// AddonMapEnts* addonMapEnts;
void* data;
@ -1680,6 +1680,19 @@ namespace IW4
LbColumnDef* columns;
};
struct TracerDef
{
const char* name;
Material* material;
unsigned int drawInterval;
float speed;
float beamLength;
float beamWidth;
float screwRadius;
float screwDist;
float colors[5][4];
};
#ifndef __zonecodegenerator
}
#endif