mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-01-31 13:20:34 +00:00
Bumb game version value
New code has exported monster footsteps sounds function. Fixes typos.
This commit is contained in:
parent
4946400260
commit
3b583a7143
4 changed files with 6 additions and 4 deletions
|
@ -266,7 +266,7 @@ Set `0` by default.
|
||||||
|
|
||||||
* **s_underwater**: Dampen sounds if submerged. Enabled by default.
|
* **s_underwater**: Dampen sounds if submerged. Enabled by default.
|
||||||
|
|
||||||
* **s_occlusion_strength**: If set bigger than `0` sound occusion effects
|
* **s_occlusion_strength**: If set bigger than `0` sound occlusion effects
|
||||||
are enabled. This is only supported by the OpenAL sound backend. By
|
are enabled. This is only supported by the OpenAL sound backend. By
|
||||||
default this cvar is disabled (set to 0).
|
default this cvar is disabled (set to 0).
|
||||||
|
|
||||||
|
|
|
@ -486,7 +486,7 @@ static char ReverbPresetsNames[][32] = {
|
||||||
static void
|
static void
|
||||||
AL_SetReverb(int reverb_effect)
|
AL_SetReverb(int reverb_effect)
|
||||||
{
|
{
|
||||||
EFXEAXREVERBPROPERTIES reverb = ReverbPresets[reverb_effect];
|
EFXEAXREVERBPROPERTIES reverb;
|
||||||
|
|
||||||
if (reverb_effect == lastreverteffect ||
|
if (reverb_effect == lastreverteffect ||
|
||||||
reverb_effect < 0 ||
|
reverb_effect < 0 ||
|
||||||
|
@ -495,6 +495,7 @@ AL_SetReverb(int reverb_effect)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reverb = ReverbPresets[reverb_effect];
|
||||||
lastreverteffect = reverb_effect;
|
lastreverteffect = reverb_effect;
|
||||||
|
|
||||||
qalEffectf(ReverbEffect[QAL_REVERB_EFFECT], AL_REVERB_DENSITY, reverb.flDensity);
|
qalEffectf(ReverbEffect[QAL_REVERB_EFFECT], AL_REVERB_DENSITY, reverb.flDensity);
|
||||||
|
|
|
@ -105,7 +105,7 @@ ShutdownGame(void)
|
||||||
/*
|
/*
|
||||||
* convert function declarations to correct one
|
* convert function declarations to correct one
|
||||||
* (warning like from incompatible pointer type)
|
* (warning like from incompatible pointer type)
|
||||||
* little bit better than cust function before set
|
* little bit better than cast function before set
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
ReadLevel_f(char *filename)
|
ReadLevel_f(char *filename)
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
* load older savegames. This should be bumped if the files
|
* load older savegames. This should be bumped if the files
|
||||||
* in tables/ are changed, otherwise strange things may happen.
|
* in tables/ are changed, otherwise strange things may happen.
|
||||||
*/
|
*/
|
||||||
#define SAVEGAMEVER "YQ2-4"
|
#define SAVEGAMEVER "YQ2-5"
|
||||||
|
|
||||||
#ifndef BUILD_DATE
|
#ifndef BUILD_DATE
|
||||||
#define BUILD_DATE __DATE__
|
#define BUILD_DATE __DATE__
|
||||||
|
@ -827,6 +827,7 @@ ReadGame(const char *filename)
|
||||||
{"YQ2-2", 2},
|
{"YQ2-2", 2},
|
||||||
{"YQ2-3", 3},
|
{"YQ2-3", 3},
|
||||||
{"YQ2-4", 4},
|
{"YQ2-4", 4},
|
||||||
|
{"YQ2-5", 5},
|
||||||
};
|
};
|
||||||
|
|
||||||
for (i=0; i < sizeof(version_mappings)/sizeof(version_mappings[0]); ++i)
|
for (i=0; i < sizeof(version_mappings)/sizeof(version_mappings[0]); ++i)
|
||||||
|
|
Loading…
Reference in a new issue