mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
removed unused stuff
svn-id: r11484
This commit is contained in:
parent
3ccce8da35
commit
402b700a13
@ -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);
|
||||
|
@ -36,16 +36,25 @@ class Display;
|
||||
class Sound;
|
||||
|
||||
class QueenEngine : public Engine {
|
||||
void errorString(const char *buf_input, char *buf_output);
|
||||
public:
|
||||
|
||||
QueenEngine(GameDetector *detector, OSystem *syst);
|
||||
virtual ~QueenEngine();
|
||||
|
||||
protected:
|
||||
bool _quickLaunch; // set when starting with -x
|
||||
|
||||
uint16 _debugMode;
|
||||
int _numScreenUpdates;
|
||||
void errorString(const char *buf_input, char *buf_output);
|
||||
|
||||
int _number_of_savegames;
|
||||
//! Called when we go from one room to another
|
||||
void roomChanged(); // SETUP_ROOM
|
||||
|
||||
void go();
|
||||
|
||||
void initialise();
|
||||
|
||||
static void timerHandler(void *ptr);
|
||||
void gotTimerTick();
|
||||
|
||||
FILE *_dump_file;
|
||||
|
||||
Graphics *_graphics;
|
||||
Input *_input;
|
||||
@ -55,23 +64,6 @@ protected:
|
||||
Sound *_sound;
|
||||
|
||||
const char *_detectname; // necessary for music
|
||||
|
||||
public:
|
||||
QueenEngine(GameDetector *detector, OSystem *syst);
|
||||
virtual ~QueenEngine();
|
||||
|
||||
protected:
|
||||
byte _fastMode;
|
||||
|
||||
void go();
|
||||
|
||||
//! Called when we go from one room to another
|
||||
void roomChanged(); // SETUP_ROOM
|
||||
|
||||
void initialise();
|
||||
|
||||
static void timerHandler(void *ptr);
|
||||
void gotTimerTick();
|
||||
};
|
||||
|
||||
} // End of namespace Queen
|
||||
|
Loading…
Reference in New Issue
Block a user