X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=model_sprite.h;h=3304f2ebce7e4f56edda51310761880430419948;hb=32d73f2e1ef4c7f22b283c21c99eaf6abf223304;hp=595f226610c58fbf3d73d791826408ca2583bab9;hpb=e4b3858e7aca0ead91be1d8f675db084d025abad;p=xonotic%2Fdarkplaces.git diff --git a/model_sprite.h b/model_sprite.h index 595f2266..3304f2eb 100644 --- a/model_sprite.h +++ b/model_sprite.h @@ -18,6 +18,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef MODEL_SPRITE_H +#define MODEL_SPRITE_H + /* ============================================================================== @@ -31,19 +34,12 @@ SPRITE MODELS // FIXME: shorten these? typedef struct mspriteframe_s { -// int width; -// int height; float up, down, left, right; rtexture_t *texture, *fogtexture; } mspriteframe_t; -typedef struct -{ - int type; -// int maxwidth; -// int maxheight; -// int numframes; -// float beamlength; // remove? -// void *cachespot; // remove? - int ofs_frames; -} msprite_t; +extern void Mod_LoadSpriteModel (struct model_s *mod, void *buffer); +extern void Mod_SpriteInit(void); + +#endif +