1
0
Fork 0
forked from fte/fteqw

for dedicated servers.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4870 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-05-03 20:31:30 +00:00
parent 5ba3ed97ee
commit 6cd5a6a076
2 changed files with 3 additions and 2 deletions

View file

@ -30,6 +30,7 @@ struct wedict_s;
struct model_s; struct model_s;
struct world_s; struct world_s;
struct dlight_s; struct dlight_s;
typedef struct builddata_s builddata_t;
typedef enum { typedef enum {
SHADER_SORT_NONE, SHADER_SORT_NONE,

View file

@ -52,11 +52,11 @@ void AddPointToBounds (vec3_t v, vec3_t mins, vec3_t maxs);
qboolean BoundsIntersect (vec3_t mins1, vec3_t maxs1, vec3_t mins2, vec3_t maxs2); qboolean BoundsIntersect (vec3_t mins1, vec3_t maxs1, vec3_t mins2, vec3_t maxs2);
void ClearBounds (vec3_t mins, vec3_t maxs); void ClearBounds (vec3_t mins, vec3_t maxs);
typedef struct builddata_s struct builddata_s
{ {
void (*buildfunc)(model_t *mod, msurface_t *surf, struct builddata_s *bd); void (*buildfunc)(model_t *mod, msurface_t *surf, struct builddata_s *bd);
void *facedata; void *facedata;
} builddata_t; };
void ModBrush_LoadGLStuff(void *ctx, void *data, size_t a, size_t b); //data === builddata_t void ModBrush_LoadGLStuff(void *ctx, void *data, size_t a, size_t b); //data === builddata_t