aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2014-04-20 09:26:24 +0200
committerStrangerke2014-04-20 09:27:20 +0200
commita05f3fef9eb03a0616c602afa4e80ea2e5bb2f92 (patch)
tree23db54d3357ee108fe9b0e3c1438ffe68ecbefd8 /engines
parent1362414e77bfbd17d7a0224ce5fb7275c793c7c4 (diff)
downloadscummvm-rg350-a05f3fef9eb03a0616c602afa4e80ea2e5bb2f92.tar.gz
scummvm-rg350-a05f3fef9eb03a0616c602afa4e80ea2e5bb2f92.tar.bz2
scummvm-rg350-a05f3fef9eb03a0616c602afa4e80ea2e5bb2f92.zip
MADS: Remove unused variables in scene 313
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes3.cpp2
-rw-r--r--engines/mads/nebular/nebular_scenes3.h17
2 files changed, 12 insertions, 7 deletions
diff --git a/engines/mads/nebular/nebular_scenes3.cpp b/engines/mads/nebular/nebular_scenes3.cpp
index 8287605270..7c485481b3 100644
--- a/engines/mads/nebular/nebular_scenes3.cpp
+++ b/engines/mads/nebular/nebular_scenes3.cpp
@@ -1762,8 +1762,6 @@ void Scene313::setup() {
void Scene313::enter() {
_scene->_userInterface.setup(kInputLimitedSentences);
- gender_timer = 0;
- gender_threshold = _vm->getRandomNumber(3, 9) * 600;
if ((_scene->_priorSceneId == 366) || (_scene->_priorSceneId == 316)) {
_game._player._playerPos = Common::Point(30, 80);
diff --git a/engines/mads/nebular/nebular_scenes3.h b/engines/mads/nebular/nebular_scenes3.h
index 57b05e8e16..f746b9f25e 100644
--- a/engines/mads/nebular/nebular_scenes3.h
+++ b/engines/mads/nebular/nebular_scenes3.h
@@ -219,11 +219,6 @@ public:
};
class Scene313: public Scene3xx {
-private:
- uint32 gender_clock;
- uint32 gender_timer;
- uint32 gender_threshold;
-
public:
Scene313(MADSEngine *vm) : Scene3xx(vm) {}
@@ -234,6 +229,18 @@ public:
virtual void actions();
virtual void postActions() {};
};
+
+class Scene316: public Scene3xx {
+public:
+ Scene316(MADSEngine *vm) : Scene3xx(vm) {}
+
+ virtual void setup();
+ virtual void enter();
+ virtual void step();
+ virtual void preActions();
+ virtual void actions();
+ virtual void postActions() {};
+};
} // End of namespace Nebular
} // End of namespace MADS