X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=model_sprite.h;h=d28174dfd957e2a672ba02bec638ec23ad8f9ac4;hp=12ef2414add28d09b484ad0905e7e68f5b6d4f6b;hb=e3c655432c0a5054156e457f53cdae1efc9600b9;hpb=d4c8d7d1f126232f3ed69a97da905d9425a291c2 diff --git a/model_sprite.h b/model_sprite.h index 12ef2414..d28174df 100644 --- a/model_sprite.h +++ b/model_sprite.h @@ -35,12 +35,14 @@ SPRITE MODELS typedef struct mspriteframe_s { float up, down, left, right; - rtexture_t *texture, *fogtexture; } mspriteframe_t; -extern void Mod_IDSP_Load(struct model_s *mod, const void *buffer); -extern void Mod_IDS2_Load(struct model_s *mod, const void *buffer); -extern void Mod_SpriteInit(void); +typedef struct model_sprite_s +{ + int sprnum_type; + mspriteframe_t *sprdata_frames; +} +model_sprite_t; #endif