dhewm3-sdk/game
Daniel Gibson 755431c8fa 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-02-23 03:26:59 +01:00
..
ai Make Hardqore2 build 2018-08-26 23:55:54 +02:00
anim Make Hardqore2 build 2018-08-26 23:55:54 +02:00
gamesys Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
physics Make Hardqore2 build 2018-08-26 23:55:54 +02:00
script Make Hardqore2 work 2018-08-27 02:02:13 +02:00
Actor.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Actor.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
AF.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
AF.h Untangle the epic precompiled.h mess 2018-08-20 01:46:28 +02:00
AFEntity.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
AFEntity.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
BrittleFracture.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
BrittleFracture.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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 Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Entity.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Fx.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Fx.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Fx_old.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Fx_old.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Game_local.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Game_local.h Make Hardqore2 build 2018-08-26 23:55:54 +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 Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Item.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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
Liquid.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Liquid.h Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Misc.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Misc.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Moveable.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Moveable.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Mover.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Mover.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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-02-23 03:26:59 +01:00
Player.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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 Make Hardqore2 build 2018-08-26 23:55:54 +02:00
PlayerView.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Projectile.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Projectile.h Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Pvs.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Pvs.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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 Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Target.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
tracer.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
tracer.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Trigger.cpp Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Trigger.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +02:00
Weapon.cpp Make Hardqore2 build 2018-08-26 23:55:54 +02:00
Weapon.h Import Hardqore2 (doesn't build yet) 2018-08-26 23:52:13 +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