]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - spritegn.h
added snd_soundradius cvar (default 1000 as before) to allow games (Nexuiz for instan...
[xonotic/darkplaces.git] / spritegn.h
index 9647311077e8ce5c382f8764366a1367fb0612bc..1f43025b87b794ae36df253c06635c4de385ee8f 100644 (file)
@@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #define SPRITE2_VERSION                2
 
-typedef struct
+typedef struct dsprite_s
 {
        int                     ident;
        int                     version;
@@ -64,7 +64,7 @@ typedef struct
        synctype_t      synctype;
 } dsprite_t;
 
-typedef struct
+typedef struct dspritehl_s
 {
        int                     ident;
        int                     version;
@@ -78,14 +78,14 @@ typedef struct
        synctype_t      synctype;
 } dspritehl_t;
 
-typedef struct
+typedef struct dsprite2frame_s
 {
        int             width, height;
        int             origin_x, origin_y;             // raster coordinates inside pic
        char    name[64];                               // name of pcx file
 } dsprite2frame_t;
 
-typedef struct
+typedef struct dsprite2_s
 {
        int                             ident;
        int                             version;
@@ -104,23 +104,23 @@ typedef struct
 #define SPRHL_INDEXALPHA       2
 #define SPRHL_ALPHATEST        3
 
-typedef struct {
+typedef struct dspriteframe_s {
        int                     origin[2];
        int                     width;
        int                     height;
 } dspriteframe_t;
 
-typedef struct {
+typedef struct dspritegroup_s {
        int                     numframes;
 } dspritegroup_t;
 
-typedef struct {
+typedef struct dspriteinterval_s {
        float   interval;
 } dspriteinterval_t;
 
-typedef enum { SPR_SINGLE=0, SPR_GROUP } spriteframetype_t;
+typedef enum spriteframetype_e { SPR_SINGLE=0, SPR_GROUP } spriteframetype_t;
 
-typedef struct {
+typedef struct dspriteframetype_s {
        spriteframetype_t       type;
 } dspriteframetype_t;