aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/rooms.h
diff options
context:
space:
mode:
authorThierry Crozat2017-11-16 03:17:44 +0000
committerThierry Crozat2018-01-23 02:15:40 +0000
commit888930660a5a4bef4fe00e69f267ce0d35492dd8 (patch)
tree8196f70987c2436c2476b80b91b0580fdfa5fe9a /engines/supernova/rooms.h
parent624425077b0353303a72192906c495f619099b7d (diff)
downloadscummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.tar.gz
scummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.tar.bz2
scummvm-rg350-888930660a5a4bef4fe00e69f267ce0d35492dd8.zip
SUPERNOVA: Use setCurrentImage instead of passing the image to renderImage
This is more similar to what the original code does and allows to retire the renderImage variant that takes an image.
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 402c4d6414..89609eabdb 100644
--- a/engines/supernova/rooms.h
+++ b/engines/supernova/rooms.h
@@ -127,10 +127,10 @@ public:
virtual void onEntrance();
private:
- bool animate(int filenumber, int section1, int section2, int duration);
- bool animate(int filenumber, int section1, int section2, int duration, MessagePosition position,
+ bool animate(int section1, int section2, int duration);
+ bool animate(int section1, int section2, int duration, MessagePosition position,
StringID text);
- bool animate(int filenumber, int section1, int section2, int section3, int section4, int duration,
+ bool animate(int section1, int section2, int section3, int section4, int duration,
MessagePosition position, StringID text);
void titleScreen();