]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_sprite.h
rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced...
[xonotic/darkplaces.git] / model_sprite.h
index 595f226610c58fbf3d73d791826408ca2583bab9..394fb830c3c52c48d83542cfb488cc6a208f6776 100644 (file)
@@ -31,19 +31,9 @@ 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);