X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_shared.h;h=e87a913363e203ac0549c2c5ee5b8decf1c7e87e;hb=0cb12de96251928cc78a3c68dfafc79391bb3daa;hp=8a296f3d9dfcdff4c80d7ab4dd6595a63f02de86;hpb=584b16bd1bcf1e3683f7c93e93b67d5d7c56cdea;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.h b/model_shared.h index 8a296f3d..e87a9133 100644 --- a/model_shared.h +++ b/model_shared.h @@ -269,6 +269,7 @@ model_brushq2_t; */ #define Q3MTEXTURERENDERFLAGS_NODRAW 1 +#define Q3MTEXTURERENDERFLAGS_SKY 2 typedef struct q3mtexture_s { @@ -514,8 +515,6 @@ typedef struct model_s void(*DrawSky)(struct entity_render_s *ent); // draw the model using lightmap/dlight shading void(*Draw)(struct entity_render_s *ent); - // draw a fake shadow for the model - void(*DrawFakeShadow)(struct entity_render_s *ent); // draw a shadow volume for the model based on light source void(*DrawShadowVolume)(struct entity_render_s *ent, vec3_t relativelightorigin, float lightradius); // draw the lighting on a model (through stencil) @@ -543,6 +542,8 @@ extern rtexture_t *mod_shared_detailtextures[NUM_DETAILTEXTURES]; // every texture must be in a pool... extern rtexturepool_t *mod_shared_texturepool; +extern rtexture_t *mod_shared_distorttexture; + // model loading extern model_t *loadmodel; extern qbyte *mod_base;