mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
ILLUSIONS: Push down the advanced detector include
So the whole engine is not rebuilt when making changes to shared code.
This commit is contained in:
parent
0d1800b605
commit
10ff73e6e0
@ -40,6 +40,15 @@ static const PlainGameDescriptor illusionsGames[] = {
|
||||
|
||||
namespace Illusions {
|
||||
|
||||
struct IllusionsGameDescription {
|
||||
ADGameDescription desc;
|
||||
int gameId;
|
||||
};
|
||||
|
||||
int IllusionsEngine::getGameId() const {
|
||||
return _gameDescription->gameId;
|
||||
}
|
||||
|
||||
static const IllusionsGameDescription gameDescriptions[] = {
|
||||
{
|
||||
{
|
||||
|
@ -36,12 +36,9 @@
|
||||
#include "common/system.h"
|
||||
#include "common/winexe.h"
|
||||
#include "common/winexe_pe.h"
|
||||
#include "engines/advancedDetector.h"
|
||||
#include "engines/engine.h"
|
||||
#include "graphics/surface.h"
|
||||
|
||||
struct ADGameDescription;
|
||||
|
||||
namespace Illusions {
|
||||
|
||||
char *debugW2I(byte *wstr);
|
||||
@ -64,6 +61,7 @@ class Cursor;
|
||||
class Dictionary;
|
||||
struct Fader;
|
||||
class FramesList;
|
||||
struct IllusionsGameDescription;
|
||||
class Input;
|
||||
class Screen;
|
||||
class ScreenText;
|
||||
@ -84,11 +82,6 @@ enum {
|
||||
kGameIdDuckman = 2
|
||||
};
|
||||
|
||||
struct IllusionsGameDescription {
|
||||
ADGameDescription desc;
|
||||
int gameId;
|
||||
};
|
||||
|
||||
class IllusionsEngine : public Engine {
|
||||
public:
|
||||
IllusionsEngine(OSystem *syst, const IllusionsGameDescription *gd);
|
||||
@ -153,9 +146,7 @@ public:
|
||||
|
||||
int16 _menuChoiceOfs;
|
||||
|
||||
int getGameId() const {
|
||||
return _gameDescription->gameId;
|
||||
}
|
||||
int getGameId() const;
|
||||
|
||||
void runUpdateFunctions();
|
||||
int updateActors(uint flags);
|
||||
|
Loading…
Reference in New Issue
Block a user