X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=model_sprite.h;h=595f226610c58fbf3d73d791826408ca2583bab9;hb=d7035ef4229a2462ad59a67160494593fbd8f2e0;hp=c07c8883601554cc9d9c8d26e0960af722d14f63;hpb=8dcce44300385b12c46d494c06aadcfa35a8bc14;p=xonotic%2Fdarkplaces.git diff --git a/model_sprite.h b/model_sprite.h index c07c8883..595f2266 100644 --- a/model_sprite.h +++ b/model_sprite.h @@ -31,32 +31,19 @@ SPRITE MODELS // FIXME: shorten these? typedef struct mspriteframe_s { - int width; - int height; +// int width; +// int height; float up, down, left, right; - int gl_texturenum, gl_fogtexturenum; + rtexture_t *texture, *fogtexture; } mspriteframe_t; -typedef struct -{ - int numframes; - float *intervals; - mspriteframe_t *frames[1]; -} mspritegroup_t; - -typedef struct -{ - spriteframetype_t type; - mspriteframe_t *frameptr; -} mspriteframedesc_t; - typedef struct { int type; - int maxwidth; - int maxheight; - int numframes; - float beamlength; // remove? - void *cachespot; // remove? - mspriteframedesc_t frames[1]; +// int maxwidth; +// int maxheight; +// int numframes; +// float beamlength; // remove? +// void *cachespot; // remove? + int ofs_frames; } msprite_t;