X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=model_sprite.h;h=12ef2414add28d09b484ad0905e7e68f5b6d4f6b;hb=e5026b6eb290b2098c6ce92ae7b777fb4457227b;hp=05b0dce3c9484ebeaa79c6ecf4b4bf0f4bb71368;hpb=e411cc7d14dad08cbbe27f5b3af86700f7eb5184;p=xonotic%2Fdarkplaces.git diff --git a/model_sprite.h b/model_sprite.h index 05b0dce3..12ef2414 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. @@ -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,22 +34,13 @@ 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_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); + +#endif +