We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57f6bf6 commit c444095Copy full SHA for c444095
public/soundflags.h
@@ -50,7 +50,7 @@ enum
50
// Don't change this without consulting Kelly or Wedge (sjb).
51
#define ATTN_GUNFIRE 0.27f
52
53
-enum soundlevel_t : int
+enum soundlevel_t
54
{
55
SNDLVL_NONE = 0,
56
@@ -95,6 +95,7 @@ enum soundlevel_t : int
95
96
// NOTE: Valid soundlevel_t values are 0-255.
97
// 256-511 are reserved for sounds using goldsrc compatibility attenuation.
98
+ SNDLVBL_MAX = 511
99
};
100
101
#define MAX_SNDLVL_BITS 9 // Used to encode 0-255 for regular soundlevel_t's and 256-511 for goldsrc-compatible ones.
0 commit comments