mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
SHERLOCK: RT: Don't allow skipping intro until title is shown
This commit is contained in:
parent
1a9b30a9d3
commit
169404b5f0
@ -98,6 +98,11 @@ void TattooEngine::startScene() {
|
||||
ui._mask1 = _res->load("res08a.msk");
|
||||
break;
|
||||
|
||||
case STARTING_INTRO_SCENE:
|
||||
// Disable input so that the intro can't be skipped until the game's logo has been shown
|
||||
ui._lockoutTimer = STARTUP_KEYS_DISABLED_DELAY;
|
||||
break;
|
||||
|
||||
case OVERHEAD_MAP:
|
||||
case OVERHEAD_MAP2:
|
||||
// Show the map
|
||||
|
@ -41,7 +41,10 @@ namespace Sherlock {
|
||||
|
||||
namespace Tattoo {
|
||||
|
||||
#define BUTTON_SIZE 15 // Button width/height
|
||||
// Button width/height
|
||||
#define BUTTON_SIZE 15
|
||||
// How long to play the intro before it can be skipped
|
||||
#define STARTUP_KEYS_DISABLED_DELAY 200
|
||||
|
||||
class WidgetBase;
|
||||
|
||||
@ -55,7 +58,6 @@ public:
|
||||
class TattooUserInterface : public UserInterface {
|
||||
friend class WidgetBase;
|
||||
private:
|
||||
int _lockoutTimer;
|
||||
int _scriptZone;
|
||||
int _cAnimFramePause;
|
||||
WidgetInventory _inventoryWidget;
|
||||
@ -104,6 +106,7 @@ public:
|
||||
Common::SeekableReadStream *_mask, *_mask1;
|
||||
Common::Point _maskOffset;
|
||||
int _maskCounter;
|
||||
int _lockoutTimer;
|
||||
ImageFile *_interfaceImages;
|
||||
WidgetCredits _creditsWidget;
|
||||
WidgetOptions _optionsWidget;
|
||||
|
Loading…
x
Reference in New Issue
Block a user