]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.h
reworked use of alphatest - now only GL11/GL13/GLES1 paths use it, other
[xonotic/darkplaces.git] / snd_main.h
index dfe72f2595ed386ed77ca13f3460a246fc8549cc..7419e9cec54f381a5b1fc9d2b08649d3c18c23fe 100644 (file)
@@ -84,9 +84,9 @@ struct sfx_s
 
 typedef struct channel_s
 {
-       short                   listener_volume [SND_LISTENERS];        // 0-255 volume per speaker
-       int                             master_vol;             // 0-255 master volume
-       sfx_t                   *sfx;                   // sfx number
+       int                     listener_volume [SND_LISTENERS];        // 0-65536 volume per speaker
+       int                             master_vol;             // 0-65536 master volume
+       sfx_t                   *sfx;                   // pointer to sound sample being used
        unsigned int    flags;                  // cf CHANNELFLAG_* defines
        int                             pos;                    // sample position in sfx, negative values delay the start of the sound playback
        int                             entnum;                 // to allow overriding a specific sound