aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/rooms.h
diff options
context:
space:
mode:
authorThierry Crozat2017-10-09 22:28:18 +0100
committerThierry Crozat2018-01-23 02:15:33 +0000
commit69d7b919657ba954f6f8c3dc505f4baf02d1421d (patch)
treeb1600207de48ff552540f91949870703ac700e86 /engines/supernova/rooms.h
parent095679c4f2e2c284c9e2f5f40bd1b0b9fa1417c7 (diff)
downloadscummvm-rg350-69d7b919657ba954f6f8c3dc505f4baf02d1421d.tar.gz
scummvm-rg350-69d7b919657ba954f6f8c3dc505f4baf02d1421d.tar.bz2
scummvm-rg350-69d7b919657ba954f6f8c3dc505f4baf02d1421d.zip
SUPERNOVA: Improve interactivity of title screen and intro cutscene
We can now press the mouse button to leave the title screen instead of having to press a key. Since the mouse cursor was visible, not being able to press the mouse button was strange. Especially as it was possible to use the mouse button earlier in the title screen. Also we can now use the mouse button or any key other than escape during the cutscene to move to the next sentence. And the code is more reactive to pressing the Escape key (we don't need to wait for the current annimation to finish) to exit the cutscene.
Diffstat (limited to 'engines/supernova/rooms.h')
-rw-r--r--engines/supernova/rooms.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/supernova/rooms.h b/engines/supernova/rooms.h
index 11d36b10d9..7e8890b30b 100644
--- a/engines/supernova/rooms.h
+++ b/engines/supernova/rooms.h
@@ -92,10 +92,10 @@ public:
virtual void onEntrance();
private:
- void animate(int filenumber, int section1, int section2, int duration);
- void animate(int filenumber, int section1, int section2, int duration, MessagePosition position,
+ bool animate(int filenumber, int section1, int section2, int duration);
+ bool animate(int filenumber, int section1, int section2, int duration, MessagePosition position,
StringID text);
- void animate(int filenumber, int section1, int section2, int section3, int section4, int duration,
+ bool animate(int filenumber, int section1, int section2, int section3, int section4, int duration,
MessagePosition position, StringID text);
void titleScreen();