X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=model_sprite.h;h=d28174dfd957e2a672ba02bec638ec23ad8f9ac4;hb=9ed15e5080c058779aa84629a049bdd75fd157fc;hp=3304f2ebce7e4f56edda51310761880430419948;hpb=0256e57e16a302ad45090618b8d6eb5930788809;p=xonotic%2Fdarkplaces.git diff --git a/model_sprite.h b/model_sprite.h index 3304f2eb..d28174df 100644 --- a/model_sprite.h +++ b/model_sprite.h @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -35,11 +35,14 @@ SPRITE MODELS typedef struct mspriteframe_s { float up, down, left, right; - rtexture_t *texture, *fogtexture; } mspriteframe_t; -extern void Mod_LoadSpriteModel (struct model_s *mod, void *buffer); -extern void Mod_SpriteInit(void); +typedef struct model_sprite_s +{ + int sprnum_type; + mspriteframe_t *sprdata_frames; +} +model_sprite_t; #endif