aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/supernova.h
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-06-19 17:59:36 +0200
committerThierry Crozat2019-07-28 15:09:14 +0100
commit5f355734fd8648d03d4e691c7c3bc70cfaeaf0a6 (patch)
tree71a13f299bd9bacf46d43cdd6e5c8dde6fe64d36 /engines/supernova/supernova.h
parentee5b907f6279d8b28b799922ca11e2bbaaa72c46 (diff)
downloadscummvm-rg350-5f355734fd8648d03d4e691c7c3bc70cfaeaf0a6.tar.gz
scummvm-rg350-5f355734fd8648d03d4e691c7c3bc70cfaeaf0a6.tar.bz2
scummvm-rg350-5f355734fd8648d03d4e691c7c3bc70cfaeaf0a6.zip
SUPERNOVA: Partial merge of the engine
I am merging the second engine to the first one. Both should be fully functional as before right now Current merge file status: console: should be done graphics: should be done detection: 0% merged imageid: appears to not be used anywhere, so it may be removed resman: partialy merged rooms: totaly different, 0% merged screen: should be done screenstatic: done sound: partialy done state: a lot different, just started to merge supernova: mostly done
Diffstat (limited to 'engines/supernova/supernova.h')
-rw-r--r--engines/supernova/supernova.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index 94f07ee3bc..afdcf1ccef 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -44,11 +44,15 @@ namespace Common {
namespace Supernova {
#define SAVEGAME_HEADER MKTAG('M','S','N','1')
+#define SAVEGAME_HEADER2 MKTAG('M','S','N','2')
#define SAVEGAME_VERSION 9
#define SUPERNOVA_DAT "supernova.dat"
#define SUPERNOVA_DAT_VERSION 1
+#define SUPERNOVA2_DAT "supernova2.dat"
+#define SUPERNOVA2_DAT_VERSION 1
+
class GuiElement;
class ResourceManager;
class Sound;
@@ -83,6 +87,7 @@ public:
uint _delay;
int _textSpeed;
+ char _MSPart;
Common::Error loadGameStrings();
void init();
@@ -102,7 +107,7 @@ public:
void playSound(AudioId sample);
void playSound(MusicId index);
void paletteFadeIn();
- void paletteFadeOut();
+ void paletteFadeOut(int minBrightness = 0);
void paletteBrightness();
void renderImage(int section);
void renderImage(ImageId id, bool removeImage = false);
@@ -115,6 +120,7 @@ public:
void renderMessage(const Common::String &text, MessagePosition position = kMessageNormal);
void renderMessage(StringId stringId, MessagePosition position = kMessageNormal,
Common::String var1 = "", Common::String var2 = "");
+ void renderMessage(StringId stringId, int x, int y);
void removeMessage();
void renderText(const uint16 character);
void renderText(const char *text);
@@ -128,6 +134,7 @@ public:
void renderBox(int x, int y, int width, int height, byte color);
void renderBox(const GuiElement &guiElement);
void setColor63(byte value);
+ void stopSound();
};
}