]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - spritegn.h
Fixed streaming of sounds with a sample rate different from the engine output rate...
[xonotic/darkplaces.git] / spritegn.h
index 1bde4d72764812699578e0101693c53ff5f37851..027e64e25160bbaae72d7d369776699bdcb4e3f9 100644 (file)
@@ -27,6 +27,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 // * pass data from one to the other via .spr files.        *
 // **********************************************************
 
+#ifndef SPRITEGEN_H
+#define SPRITEGEN_H
+
 //-------------------------------------------------------
 // This program generates .spr sprite package files.
 // The format of the files is as follows:
@@ -105,6 +108,5 @@ typedef struct {
        spriteframetype_t       type;
 } dspriteframetype_t;
 
-#define IDSPRITEHEADER (('P'<<24)+('S'<<16)+('D'<<8)+'I')
-                                                                                                               // little-endian "IDSP"
+#endif