mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 04:20:42 +00:00
parent
a3a7a8f6be
commit
0492c5f4d3
2 changed files with 16 additions and 4 deletions
|
@ -183,20 +183,31 @@ static ReverbContainer Underwater =
|
|||
false
|
||||
};
|
||||
|
||||
static ReverbContainer SewerPipe4 =
|
||||
static ReverbContainer SewerPipe3 =
|
||||
{
|
||||
&Underwater,
|
||||
"Sewer Pipe 2",
|
||||
"Sewer Pipe 3",
|
||||
0x1503,
|
||||
true,
|
||||
false,
|
||||
{0,21, 1.7f, 0.80f, -1000, -1000, 0, 1.54f, 0.14f, 1.0f, 200, 0.014f, 0.0f,0.0f,0.0f, 1023, 0.021f, 0.0f,0.0f,0.0f, 0.250f, 0.00f, 0.25f, 0.000f, -5.0f, 5000.0f, 250.0f, 0.0f, 80.0f, 60.0f, 0x3f },
|
||||
false
|
||||
};
|
||||
|
||||
static ReverbContainer SewerPipe2 =
|
||||
{
|
||||
&SewerPipe3,
|
||||
"Sewer Pipe 2",
|
||||
0x1502,
|
||||
true,
|
||||
false,
|
||||
{0,21, 1.7f, 0.80f, -1000, -1000, 0, 1.81f, 0.14f, 1.0f, 229, 0.014f, 0.0f,0.0f,0.0f, 1023, 0.021f, 0.0f,0.0f,0.0f, 0.250f, 0.00f, 0.25f, 0.000f, -5.0f, 5000.0f, 250.0f, 0.0f, 80.0f, 60.0f, 0x3f },
|
||||
false
|
||||
};
|
||||
|
||||
static ReverbContainer SewerPipe =
|
||||
{
|
||||
&SewerPipe4,
|
||||
&SewerPipe2,
|
||||
"Sewer Pipe",
|
||||
0x1500,
|
||||
true,
|
||||
|
|
|
@ -71,7 +71,8 @@ void FX_SetReverb(int strength)
|
|||
{
|
||||
// todo: optimize environments. The original "reverb" was garbage and not usable as reference.
|
||||
if (strength < 64) strength = 0x1400;
|
||||
else if (strength < 192) strength = 0x1503;
|
||||
else if (strength < 180) strength = 0x1503;
|
||||
else if (strength < 220) strength = 0x1502;
|
||||
else strength = 0x1900;
|
||||
LastReverb = strength;
|
||||
ForcedEnvironment = S_FindEnvironment(strength);
|
||||
|
|
Loading…
Reference in a new issue