Browse Source

common: com_model: changed common structs reserved fields type to intptr_t

pull/2/head
SNMetamorph 2 years ago committed by Alibek Omarov
parent
commit
080cd146dd
  1. 6
      common/com_model.h

6
common/com_model.h

@ -105,7 +105,7 @@ typedef struct
vec3_t mins, maxs; // terrain bounds (fill by user) vec3_t mins, maxs; // terrain bounds (fill by user)
int reserved[32]; // just for future expansions or mod-makers intptr_t reserved[32]; // just for future expansions or mod-makers
} mfaceinfo_t; } mfaceinfo_t;
typedef struct typedef struct
@ -174,7 +174,7 @@ struct decal_s
// Xash3D specific // Xash3D specific
vec3_t position; // location of the decal center in world space. vec3_t position; // location of the decal center in world space.
glpoly_t *polys; // precomputed decal vertices glpoly_t *polys; // precomputed decal vertices
int reserved[4]; // just for future expansions or mod-makers intptr_t reserved[4]; // just for future expansions or mod-makers
}; };
typedef struct mleaf_s typedef struct mleaf_s
@ -228,7 +228,7 @@ typedef struct mextrasurf_s
unsigned short numverts; // world->vertexes[] unsigned short numverts; // world->vertexes[]
int firstvertex; // fisrt look up in tr.tbn_vectors[], then acess to world->vertexes[] int firstvertex; // fisrt look up in tr.tbn_vectors[], then acess to world->vertexes[]
int reserved[32]; // just for future expansions or mod-makers intptr_t reserved[32]; // just for future expansions or mod-makers
} mextrasurf_t; } mextrasurf_t;
struct msurface_s struct msurface_s

Loading…
Cancel
Save