[Scummvm-cvs-logs] SF.net SVN: scummvm: [20590] scummvm/trunk/engines/sky
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Feb 11 17:44:16 CET 2006
Revision: 20590
Author: fingolfin
Date: 2006-02-11 17:42:34 -0800 (Sat, 11 Feb 2006)
ViewCVS: http://svn.sourceforge.net/scummvm?rev=20590&view=rev
Log Message:
-----------
The GameDetector is no longer a required parameter for Engine constructors
Modified Paths:
--------------
scummvm/trunk/engines/lure/lure.cpp
scummvm/trunk/engines/lure/lure.h
scummvm/trunk/engines/queen/queen.cpp
scummvm/trunk/engines/queen/queen.h
scummvm/trunk/engines/simon/simon.cpp
scummvm/trunk/engines/simon/simon.h
scummvm/trunk/engines/sky/sky.cpp
scummvm/trunk/engines/sky/sky.h
Modified: scummvm/trunk/engines/lure/lure.cpp
===================================================================
--- scummvm/trunk/engines/lure/lure.cpp 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/lure/lure.cpp 2006-02-12 01:42:34 UTC (rev 20590)
@@ -146,14 +146,14 @@
}
Engine *Engine_LURE_create(GameDetector *detector, OSystem *system) {
- return new LureEngine(detector, system);
+ return new LureEngine(system);
}
REGISTER_PLUGIN(LURE, "Lure of the Temptress Engine")
namespace Lure {
-LureEngine::LureEngine(GameDetector *detector, OSystem *system): Engine(system) {
+LureEngine::LureEngine(OSystem *system): Engine(system) {
// Setup mixer
/*
if (!_mixer->isReady()) {
Modified: scummvm/trunk/engines/lure/lure.h
===================================================================
--- scummvm/trunk/engines/lure/lure.h 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/lure/lure.h 2006-02-12 01:42:34 UTC (rev 20590)
@@ -55,7 +55,7 @@
void detectGame();
public:
- LureEngine(GameDetector *detector, OSystem *system);
+ LureEngine(OSystem *system);
~LureEngine();
virtual int init(GameDetector &detector);
Modified: scummvm/trunk/engines/queen/queen.cpp
===================================================================
--- scummvm/trunk/engines/queen/queen.cpp 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/queen/queen.cpp 2006-02-12 01:42:34 UTC (rev 20590)
@@ -128,14 +128,14 @@
}
Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst) {
- return new Queen::QueenEngine(detector, syst);
+ return new Queen::QueenEngine(syst);
}
REGISTER_PLUGIN(QUEEN, "Flight of the Amazon Queen")
namespace Queen {
-QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst)
+QueenEngine::QueenEngine(OSystem *syst)
: Engine(syst), _debugger(0) {
}
Modified: scummvm/trunk/engines/queen/queen.h
===================================================================
--- scummvm/trunk/engines/queen/queen.h 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/queen/queen.h 2006-02-12 01:42:34 UTC (rev 20590)
@@ -80,7 +80,7 @@
class QueenEngine : public Engine {
public:
- QueenEngine(GameDetector *detector, OSystem *syst);
+ QueenEngine(OSystem *syst);
virtual ~QueenEngine();
BamScene *bam() const { return _bam; }
Modified: scummvm/trunk/engines/simon/simon.cpp
===================================================================
--- scummvm/trunk/engines/simon/simon.cpp 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/simon/simon.cpp 2006-02-12 01:42:34 UTC (rev 20590)
@@ -135,7 +135,7 @@
o++;
}
- return new Simon::SimonEngine(detector, syst);
+ return new Simon::SimonEngine(syst);
}
REGISTER_PLUGIN(SIMON, "Simon the Sorcerer")
@@ -252,7 +252,7 @@
};
#endif
-SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst)
+SimonEngine::SimonEngine(OSystem *syst)
: Engine(syst), midi(syst) {
_vcPtr = 0;
_vc_get_out_of_code = 0;
Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/simon/simon.h 2006-02-12 01:42:34 UTC (rev 20590)
@@ -437,7 +437,7 @@
byte _hebrew_char_widths[32];
public:
- SimonEngine(GameDetector *detector, OSystem *syst);
+ SimonEngine(OSystem *syst);
virtual ~SimonEngine();
protected:
Modified: scummvm/trunk/engines/sky/sky.cpp
===================================================================
--- scummvm/trunk/engines/sky/sky.cpp 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/sky/sky.cpp 2006-02-12 01:42:34 UTC (rev 20590)
@@ -106,7 +106,7 @@
}
Engine *Engine_SKY_create(GameDetector *detector, OSystem *syst) {
- return new Sky::SkyEngine(detector, syst);
+ return new Sky::SkyEngine(syst);
}
REGISTER_PLUGIN(SKY, "Beneath a Steel Sky")
@@ -118,7 +118,7 @@
SystemVars SkyEngine::_systemVars = {0, 0, 0, 0, 4316, 0, 0, false, false, false };
-SkyEngine::SkyEngine(GameDetector *detector, OSystem *syst)
+SkyEngine::SkyEngine(OSystem *syst)
: Engine(syst), _fastMode(0), _debugger(0) {
}
Modified: scummvm/trunk/engines/sky/sky.h
===================================================================
--- scummvm/trunk/engines/sky/sky.h 2006-02-12 01:23:58 UTC (rev 20589)
+++ scummvm/trunk/engines/sky/sky.h 2006-02-12 01:42:34 UTC (rev 20590)
@@ -78,7 +78,7 @@
Intro *_skyIntro;
public:
- SkyEngine(GameDetector *detector, OSystem *syst);
+ SkyEngine(OSystem *syst);
virtual ~SkyEngine();
static bool isDemo(void);
More information about the Scummvm-git-logs
mailing list