Add GameLump data types

This commit is contained in:
Kawe Mazidjatari 2023-05-21 18:07:04 +02:00
parent 27925d3b7d
commit 5fcf430be5

View File

@ -163,6 +163,28 @@ struct BSPHeader_t
lump_t lumps[HEADER_LUMPS]; lump_t lumps[HEADER_LUMPS];
}; };
enum GameLumpId_t
{
GAMELUMP_DETAIL_PROPS = 'dprp',
GAMELUMP_DETAIL_PROP_LIGHTING = 'dplt',
GAMELUMP_STATIC_PROPS = 'sprp',
GAMELUMP_DETAIL_PROP_LIGHTING_HDR = 'dplh',
};
struct dgamelumpheader_t
{
int lumpCount;
};
struct dgamelump_t
{
GameLumpId_t id;
unsigned short flags;
unsigned short version;
int fileofs;
int filelen;
};
struct dlightprobe_t struct dlightprobe_t
{ {
short ambientSH[12]; // Ambient spherical harmonics coefficients short ambientSH[12]; // Ambient spherical harmonics coefficients