X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=model_alias.h;h=e45abc344b2c58f0332696f770af9a9cd3f74cfd;hb=a774e9a9b9adc5d230a1bb3ec8659593428b5366;hp=664c7e30375004ca89a6373c5ab8a2ece8baf727;hpb=bc6e12f9c8c430e98d6cf89c96c3bfeb903e90d1;p=xonotic%2Fdarkplaces.git diff --git a/model_alias.h b/model_alias.h index 664c7e30..e45abc34 100644 --- a/model_alias.h +++ b/model_alias.h @@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef MODEL_ALIAS_H +#define MODEL_ALIAS_H + /* ============================================================================== @@ -29,38 +32,6 @@ Alias models are position independent, so the cache manager can move them. #include "modelgen.h" -/* -typedef struct -{ - int firstpose; - int numposes; - float interval; - trivertx_t bboxmin; - trivertx_t bboxmax; - int frame; - char name[16]; -} maliasframedesc_t; - -typedef struct -{ - trivertx_t bboxmin; - trivertx_t bboxmax; - int frame; -} maliasgroupframedesc_t; - -typedef struct -{ - int numframes; - int intervals; - maliasgroupframedesc_t frames[1]; -} maliasgroup_t; - -typedef struct mtriangle_s { - int facesfront; - int vertindex[3]; -} mtriangle_t; -*/ - typedef struct { int ident; int version; @@ -165,3 +136,6 @@ extern void Mod_LoadQ2AliasModel (struct model_s *mod, void *buffer); extern void Mod_AliasInit(void); #include "model_zymotic.h" + +#endif +