- Exhumed: Changed visibility from 2048 to 1024 because 2048 is clearly far too dark.

GDX also uses 1024 - I have no idea how PCExhumed gets away with 2048 here.
This commit is contained in:
Christoph Oelckers 2020-12-06 20:25:23 +01:00
parent 8d659bad32
commit 88bed95400
3 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ static bool LiteCheat(cheatseq_t* c)
{ {
Printf(PRINT_NOTIFY, "%s\n", GStrings("TXT_EX_FLASHES")); Printf(PRINT_NOTIFY, "%s\n", GStrings("TXT_EX_FLASHES"));
bDoFlashes = !bDoFlashes; bDoFlashes = !bDoFlashes;
g_visibility = 2048 + 512 - g_visibility; // let there be light - for real! g_visibility = 1024 + 512 - g_visibility; // let there be light - for real!
return true; return true;
} }

View file

@ -164,7 +164,7 @@ uint8_t LoadLevel(int nMap)
pSky->horizfrac = 65536; pSky->horizfrac = 65536;
pSky->yscale = 65536; pSky->yscale = 65536;
parallaxtype = 2; parallaxtype = 2;
g_visibility = 2048; g_visibility = 1024;
flash = 0; flash = 0;
precache(); precache();

View file

@ -112,7 +112,7 @@ void GameInterface::SerializeGameState(FSerializer& arc)
pSky->horizfrac = 65536; pSky->horizfrac = 65536;
pSky->yscale = 65536; pSky->yscale = 65536;
parallaxtype = 2; parallaxtype = 2;
g_visibility = 2048; g_visibility = 1024;
if (currentLevel->levelNumber > 15) if (currentLevel->levelNumber > 15)
{ {