]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_sprite.h
zone: Use the generic linked list
[xonotic/darkplaces.git] / model_sprite.h
index 3304f2ebce7e4f56edda51310761880430419948..d28174dfd957e2a672ba02bec638ec23ad8f9ac4 100644 (file)
@@ -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