dhewm3-sdk/game
Daniel Gibson 335858bd5a 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.
2021-01-18 03:05:01 +01:00
..
ai Make it build in Debugbuilds and only include sourcehook.h where needed 2018-08-27 22:15:30 +02:00
anim Ruiner compiles 2018-08-27 15:13:36 +02:00
gamesys updated a few default settings 2018-11-03 16:17:26 -04:00
physics Ruiner compiles 2018-08-27 15:13:36 +02:00
script Increased max globals 2018-10-21 04:31:15 +02:00
Actor.cpp Fix some (mostly Savegame-related) Crashes 2018-11-18 06:07:31 +01:00
Actor.h Ruiner compiles 2018-08-27 15:13:36 +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 Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
AFEntity.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
BrittleFracture.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
BrittleFracture.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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 Hopefully fix "shooting arrows at Dead Souls" freezing game 2019-01-05 06:09:17 +01:00
Entity.h Ruiner compiles 2018-08-27 15:13:36 +02:00
Fx.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
Fx.h Ruiner compiles 2018-08-27 15:13:36 +02:00
Game_local.cpp (Hopefully) fix one of the assertions rarely happening in Rivensen 2018-11-11 23:55:26 +01:00
Game_local.h Make it build in Debugbuilds and only include sourcehook.h where needed 2018-08-27 22:15:30 +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
Grabber.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
Grabber.h Ruiner compiles 2018-08-27 15:13:36 +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 Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Item.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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 Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Misc.h Ruiner compiles 2018-08-27 15:13:36 +02:00
Moveable.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
Moveable.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Mover.cpp Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Mover.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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 2021-01-18 03:05:01 +01:00
Player.cpp.rej Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Player.h CheckCrossHairOrigin added 2018-10-21 04:31:15 +02:00
PlayerCursor.cpp Weapon firing bug fix 2018-10-21 04:31:15 +02:00
PlayerCursor.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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 Remove SourceHook, use new common->SetCallback() instead 2018-09-30 05:21:12 +02:00
PlayerView.h Remove SourceHook, use new common->SetCallback() instead 2018-09-30 05:21:12 +02:00
Projectile.cpp idProjectile::Launch() warns about missing snd_tracer 2018-11-18 19:12:43 +01:00
Projectile.h Ruiner compiles 2018-08-27 15:13:36 +02:00
Pvs.cpp Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Pvs.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +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 Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Target.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
tracer.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
tracer.h Ruiner compiles 2018-08-27 15:13:36 +02:00
TrailGenerator.cpp Ruiner compiles 2018-08-27 15:13:36 +02:00
TrailGenerator.h Ruiner compiles 2018-08-27 15:13:36 +02:00
Trigger.cpp Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Trigger.h Import Ruiner source (doesn't build yet) 2018-08-27 15:13:17 +02:00
Weapon.cpp weapons may cast shadows now 2020-05-31 22:03:38 +02:00
Weapon.h pm_projectileOrigin added 2018-10-21 04:31:15 +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