]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_sprite.h
no more warping meshs of any kind
[xonotic/darkplaces.git] / model_sprite.h
index 05b0dce3c9484ebeaa79c6ecf4b4bf0f4bb71368..3304f2ebce7e4f56edda51310761880430419948 100644 (file)
@@ -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,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
+