]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
added Nexiuz TE_ effects (prefixed TE_TEI_) and Nexiuz plasma trail (an override...
[xonotic/darkplaces.git] / model_shared.h
index 83d981fdf9d61da98b3503cce5c65c51f2e59dd9..745f2ce5e4dcdf45d73a1049a9e5e654f250e1a9 100644 (file)
@@ -99,6 +99,8 @@ typedef struct model_s
        qboolean                isworldmodel;
        // true if this model is a HalfLife .bsp file
        qboolean                ishlbsp;
+       // true if this model was not successfully loaded and should be purged
+       qboolean                error;
 
        // mod_brush, mod_alias, mod_sprite
        modtype_t               type;
@@ -286,6 +288,7 @@ extern cvar_t r_fullbrights;
 void Mod_Init (void);
 void Mod_CheckLoaded (model_t *mod);
 void Mod_ClearAll (void);
+void Mod_ClearErrorModels (void);
 model_t *Mod_FindName (const char *name);
 model_t *Mod_ForName (const char *name, qboolean crash, qboolean checkdisk, qboolean isworldmodel);
 void Mod_TouchModel (const char *name);