Dynamic Dialogue update: pressing 'ESC' in tactical also fast forwards the dialogue boxes.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7298 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-06-28 10:15:02 +00:00
parent 3a9cb5ecc3
commit a83f38a36e
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -120,6 +120,7 @@
#include "DisplayCover.h" // added by Sevenfm
#include "InterfaceItemImages.h" // added by Sevenfm
#include "DynamicDialogueWidget.h" // added by Flugente for DelayBoxDestructionBy(...)
//forward declarations of common classes to eliminate includes
class OBJECTTYPE;
@@ -1720,6 +1721,10 @@ void GetKeyboardInput( UINT32 *puiNewEvent )
DeleteTalkingMenu();
EndMeanwhile();
}
// Flugente: speed up dynamic dialogue boxes
// Note that this will behave oddly on the morning of January 1st 1970 :-)
DelayBoxDestructionBy( - gGameExternalOptions.usDynamicDialogueTimeOffset );
}
#endif