dhewm3-sdk/game
Daniel Gibson 76086703ef Fix lingering messages in HUD after loading savegame
If you save, you get a message like "Game Saved..." which goes away
after a few seconds. This happens at the very end of idPlayer::Save():
    if ( hud ) {
        hud->SetStateString( "message", /* .. left out .. */ );
        hud->HandleNamedEvent( "Message" );
    }
And handled in hud.gui, "onNamedEvent Message { ..."

However, if you save again before it's gone, it'll be shown after
loading the savegame and not go away until you save again..
This works around that issue by setting an empty message after loading
a savegame.

The underlying problem (which is not fixed!) seems to be that the
transition GUI command (that's executed when hud.gui handles the
"Message" event that's used to show this message) is probably not
properly saved/restored so fading out the message isn't continued
after loading.
2020-09-06 04:49:18 +02:00
..
ai import AROS changes 2018-08-20 01:46:39 +02:00
anim More logging cleanup 2018-08-20 01:46:36 +02:00
gamesys Make it build as SDK 2018-08-26 01:43:10 +02:00
physics Fixing some spelling errors: s/unkown/unknown, s/seperate/separate. (#107) 2018-08-20 01:46:38 +02:00
script Increase Script MAX_GLOBALS in game/ 2020-09-06 04:27:04 +02:00
Actor.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Actor.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
AF.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
AF.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
AFEntity.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
AFEntity.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
BrittleFracture.cpp Fix "unreachable code" warnings 2018-08-20 01:46:32 +02:00
BrittleFracture.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Camera.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Camera.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
EndLevel.cpp Make game dll names and compiler defines for mods configurable 2018-08-26 04:47:00 +02:00
EndLevel.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Entity.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
Entity.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Fx.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
Fx.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Game_local.cpp Fix some compiler warnings (wrong types, superfluous checks, printf-fuckup) 2018-08-20 01:46:38 +02:00
Game_local.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Game_network.cpp s/ReadDeltaLong/ReadDeltaInt/ 2018-08-20 01:46:33 +02:00
GameBase.h Split Game_local.h 2018-08-20 01:46:27 +02:00
GameEdit.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
GameEdit.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
IK.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
IK.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Item.cpp Fix "unreachable code" warnings 2018-08-20 01:46:32 +02:00
Item.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Light.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
Light.h Fix -Woverloaded-virtual warnings 2018-08-20 01:46:29 +02:00
Misc.cpp Fix "unreachable code" warnings 2018-08-20 01:46:32 +02:00
Misc.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Moveable.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
Moveable.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Mover.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Mover.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
MultiplayerGame.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
MultiplayerGame.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Player.cpp Fix lingering messages in HUD after loading savegame 2020-09-06 04:49:18 +02:00
Player.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
PlayerIcon.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
PlayerIcon.h Fix all whitespace errors 2018-08-20 01:46:22 +02:00
PlayerView.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
PlayerView.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Projectile.cpp s/ReadLong/ReadInt/ to match the return type 2018-08-20 01:46:33 +02:00
Projectile.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Pvs.cpp Fix new[]/delete missmatches and memory leaks found by clang's ASAN 2018-08-20 01:46:39 +02:00
Pvs.h Rename PVS vars to match their type 2018-08-20 01:46:33 +02:00
SecurityCamera.cpp make base build with Visual Studio 14 2018-08-20 01:46:39 +02:00
SecurityCamera.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
SmokeParticles.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
SmokeParticles.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Sound.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Sound.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Target.cpp Get rid of ID_DEMO_BUILD 2018-08-20 01:46:34 +02:00
Target.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Trigger.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Trigger.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
Weapon.cpp Fix crash by assert in last RoE level (and maybe elsewhere) 2018-08-20 01:46:39 +02:00
Weapon.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
WorldSpawn.cpp Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
WorldSpawn.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00