aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2003-12-03 10:33:01 +0000
committerGregory Montoir2003-12-03 10:33:01 +0000
commit402b700a133b151ec88b343134947aaad0ed81e1 (patch)
tree7ee9b13ad260e3bd0a61d2a09160760fa8bd30be
parent3ccce8da350c2da34afdaece33e17fa741334998 (diff)
downloadscummvm-rg350-402b700a133b151ec88b343134947aaad0ed81e1.tar.gz
scummvm-rg350-402b700a133b151ec88b343134947aaad0ed81e1.tar.bz2
scummvm-rg350-402b700a133b151ec88b343134947aaad0ed81e1.zip
removed unused stuff
svn-id: r11484
-rw-r--r--queen/queen.cpp7
-rw-r--r--queen/queen.h36
2 files changed, 15 insertions, 28 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp
index 7e3742f629..bdf434a888 100644
--- a/queen/queen.cpp
+++ b/queen/queen.cpp
@@ -102,12 +102,9 @@ QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst)
_mixer->setVolume(ConfMan.getInt("sfx_volume"));
- _debugMode = ConfMan.hasKey("debuglevel");
_debugLevel = ConfMan.getInt("debuglevel");
_detectname = detector->_game.detectname;
- _fastMode = 0;
-
_system->init_size(320, 200);
}
@@ -188,9 +185,6 @@ void QueenEngine::roomChanged() {
void QueenEngine::go() {
- if (!_dump_file)
- _dump_file = stdout;
-
initialise();
_logic->oldRoom(0);
@@ -226,6 +220,7 @@ void QueenEngine::go() {
}
void QueenEngine::initialise(void) {
+
_resource = new Resource(_gameDataPath, _detectname, _system->get_savefile_manager(), getSavePath());
_input = new Input(_resource->getLanguage(), _system);
_display = new Display(_resource->getLanguage(), _system, _input);
diff --git a/queen/queen.h b/queen/queen.h
index e3aa9e0039..213879bbf0 100644
--- a/queen/queen.h
+++ b/queen/queen.h
@@ -36,42 +36,34 @@ class Display;
class Sound;
class QueenEngine : public Engine {
- void errorString(const char *buf_input, char *buf_output);
-protected:
- bool _quickLaunch; // set when starting with -x
-
- uint16 _debugMode;
- int _numScreenUpdates;
-
- int _number_of_savegames;
-
- FILE *_dump_file;
-
- Graphics *_graphics;
- Input *_input;
- Resource *_resource;
- Logic *_logic;
- Display *_display;
- Sound *_sound;
-
- const char *_detectname; // necessary for music
-
public:
+
QueenEngine(GameDetector *detector, OSystem *syst);
virtual ~QueenEngine();
protected:
- byte _fastMode;
- void go();
+ void errorString(const char *buf_input, char *buf_output);
//! Called when we go from one room to another
void roomChanged(); // SETUP_ROOM
+ void go();
+
void initialise();
static void timerHandler(void *ptr);
void gotTimerTick();
+
+
+ Graphics *_graphics;
+ Input *_input;
+ Resource *_resource;
+ Logic *_logic;
+ Display *_display;
+ Sound *_sound;
+
+ const char *_detectname; // necessary for music
};
} // End of namespace Queen