aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova')
-rw-r--r--engines/supernova/game-manager.cpp1
-rw-r--r--engines/supernova/game-manager.h3
-rw-r--r--engines/supernova/supernova.cpp2
-rw-r--r--engines/supernova/supernova2/rooms.h3
-rw-r--r--engines/supernova/supernova2/state.h3
5 files changed, 1 insertions, 11 deletions
diff --git a/engines/supernova/game-manager.cpp b/engines/supernova/game-manager.cpp
index e98218d02b..2672a6fbca 100644
--- a/engines/supernova/game-manager.cpp
+++ b/engines/supernova/game-manager.cpp
@@ -192,7 +192,6 @@ void GameManager::initState() {
_rowsStart[i] = 0;
}
- _prevImgId = 0;
_dead = false;
}
diff --git a/engines/supernova/game-manager.h b/engines/supernova/game-manager.h
index 1700ab84d0..07c1576f39 100644
--- a/engines/supernova/game-manager.h
+++ b/engines/supernova/game-manager.h
@@ -199,9 +199,6 @@ public:
void reply(const char *text, int aus1, int aus2);
void mousePosDialog(int x, int y);
virtual void takeMoney(int amount);
-
-private:
- int _prevImgId;
};
}
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index 10a460a7e7..8ab38e41c6 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -528,7 +528,7 @@ Common::Error SupernovaEngine::showTextReader(const char *extension) {
filename = Common::String::format("ms2.%s", extension);
if (!file.open(filename)) {
- GUIErrorMessageFormat(_("Unable to find '%s' in game folder or the engine data file."), filename);
+ GUIErrorMessageFormat(_("Unable to find '%s' in game folder or the engine data file."), filename.c_str());
return Common::kReadingFailed;
}
stream = file.readStream(file.size());
diff --git a/engines/supernova/supernova2/rooms.h b/engines/supernova/supernova2/rooms.h
index 6d43b4cf1c..2520db8807 100644
--- a/engines/supernova/supernova2/rooms.h
+++ b/engines/supernova/supernova2/rooms.h
@@ -107,9 +107,6 @@ public:
virtual void onEntrance();
virtual void animation();
virtual bool interact(Action verb, Object &obj1, Object &obj2);
-
-private:
- bool _paid;
};
class Kiosk : public Room2 {
diff --git a/engines/supernova/supernova2/state.h b/engines/supernova/supernova2/state.h
index 64d070dcf7..4d98673dfd 100644
--- a/engines/supernova/supernova2/state.h
+++ b/engines/supernova/supernova2/state.h
@@ -128,9 +128,6 @@ public:
void securityEntrance();
void pressureAlarmCount();
void pressureAlarmEntrance();
-
-private:
- int _prevImgId;
};
}