You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* TODO These have been temporarily replaced with variables in settingsman to allow for easy tweaking. This needs to be undone once our soundscape is sorted out.
81
-
static constexpr unsigned short c_ListenerZOffset = 50; //!< The Z offset for Audio listeners. Can be used to lessen harsh panning if panning effect strength is at max.
82
-
static constexpr unsigned short c_MinimumDistanceForPanning = 50; //!< The minimum distance before which sound panning should not occur. Not relevant for immobile sounds or in splitscreen.
83
-
*/
84
-
staticconstexprunsignedshort c_DefaultAttenuationStartDistance = 100; //!< The default start distance for attenuating sounds. Individual sounds can have different values for this.
85
-
staticconstexprunsignedint c_SoundMaxAudibleDistance = 100000; //!< The maximum distance at which any sound can possibly be heard, after which point it will have 0 volume. Arbitrary default suggested by FMOD.
/// Square deadzone cuts-off any input from every axis separately. For example if x-axis has less than 20% input and y-axis has more, x-axis input is ignored.
196
-
/// Circle uses a round zone to capture stick position on both axis then cut-off if this position is inside the round dead zone.
197
-
/// </summary>
198
-
enum DeadZoneType { CIRCLE = 0, SQUARE = 1 };
199
-
#pragma endregion
200
-
201
-
#pragma region Global Enumerations
202
-
/// <summary>
203
-
/// Enumeration all available players.
204
-
/// </summary>
205
-
enum Players {
206
-
NoPlayer = -1,
207
-
PlayerOne = 0,
208
-
PlayerTwo,
209
-
PlayerThree,
210
-
PlayerFour,
211
-
MaxPlayerCount
212
-
};
213
-
#pragma endregion
214
-
215
41
#pragma region Un-Definitions
216
42
// Allegro defines these via define in astdint.h and Boost with stdlib go crazy so we need to undefine them manually.
#if defined DEBUG_BUILD || defined MIN_DEBUG_BUILD
20
+
#if defined DEBUG_BUILD
30
21
// Show message box with explanation
31
22
std::snprintf(message, sizeof(message), "Runtime Error in file %s, line %i, because:\n\n%s\n\nThe last frame has been dumped to 'abortscreen.bmp'", file, line, description);
0 commit comments