aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph-Eugene Winzer2017-06-20 11:21:18 +0200
committerThierry Crozat2018-01-22 23:34:49 +0000
commit8f5e712df0bbfe54fd43179a3e9af60ae2d1da78 (patch)
treec428640c0d90b1fd86bb4daa5ef367195516b48a
parentf036ebe3d551c1241166fce3ff8a57751a33ec1e (diff)
downloadscummvm-rg350-8f5e712df0bbfe54fd43179a3e9af60ae2d1da78.tar.gz
scummvm-rg350-8f5e712df0bbfe54fd43179a3e9af60ae2d1da78.tar.bz2
scummvm-rg350-8f5e712df0bbfe54fd43179a3e9af60ae2d1da78.zip
SUPERNOVA: Adds further game logic stubs
Signed-off-by: Joseph-Eugene Winzer <m999@openmailbox.org>
-rw-r--r--engines/supernova/supernova.cpp36
-rw-r--r--engines/supernova/supernova.h7
2 files changed, 42 insertions, 1 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index d644be25ba..52bc379582 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -633,7 +633,16 @@ bool GameManager::airless() {
}
void GameManager::processInput() {
- //
+ // STUB
+}
+
+void GameManager::turnoff() {
+ if (_state.powerOff)
+ return;
+
+ _state.powerOff = true;
+ roomBrightness();
+
}
void GameManager::takeObject(Object &obj) {
@@ -667,8 +676,33 @@ void GameManager::roomBrightness() {
// STUB
}
+void GameManager::load_time() {
+ // STUB
+}
+
+void GameManager::saveTime() {
+ // STUB
+}
+
+void GameManager::saveGame(int) {
+ // STUB
+}
+
+void GameManager::errorTemp() {
+ // STUB
+}
+
+void GameManager::wait2(int) {
+ // STUB
+}
+
+void GameManager::screenShake() {
+ // STUB
+}
+
void GameManager::palette() {
// STUB
+ // Adjust palette to brightness parameters and make it current
}
void GameManager::showMenu() {
diff --git a/engines/supernova/supernova.h b/engines/supernova/supernova.h
index 2667d53995..d46da280fb 100644
--- a/engines/supernova/supernova.h
+++ b/engines/supernova/supernova.h
@@ -160,6 +160,13 @@ public:
void mouseInput2();
void mouseInput3();
void mouseWait(int);
+ void wait2(int);
+ void turnoff();
+ void screenShake();
+ void load_time();
+ void saveTime();
+ void saveGame(int);
+ void errorTemp();
void roomBrightness();
void palette();
void showMenu();