mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 17:29:11 +00:00
ALL: Fixed compilation after sync with ScummVM
This commit is contained in:
parent
d15f78d502
commit
5c57ef54ad
@ -24,7 +24,7 @@
|
||||
|
||||
#include "base/plugins.h"
|
||||
#include "engines/metaengine.h"
|
||||
#include "engines/advanceddetector.h"
|
||||
#include "engines/advancedDetector.h"
|
||||
#include "engines/detection.h"
|
||||
|
||||
|
||||
|
@ -33,11 +33,11 @@ namespace Grim {
|
||||
|
||||
class GrimMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
const char *getName() const override {
|
||||
return "Grim";
|
||||
}
|
||||
const char *getName() const override {
|
||||
return "Grim";
|
||||
}
|
||||
|
||||
Common::Error createInstance(OSystem *syst, Engine **engine) const override {
|
||||
Common::Error createInstance(OSystem *syst, Engine **engine) const override {
|
||||
Engines::upgradeTargetIfNecessary(obsoleteGameIDsTable);
|
||||
return AdvancedMetaEngine::createInstance(syst, engine);
|
||||
}
|
||||
@ -70,12 +70,6 @@ bool GrimMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
(f == kSupportsLoadingDuringStartup);
|
||||
}
|
||||
|
||||
bool GrimMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
return
|
||||
(f == kSupportsListSaves) ||
|
||||
(f == kSupportsLoadingDuringStartup);
|
||||
}
|
||||
|
||||
SaveStateList GrimMetaEngine::listSaves(const char *target) const {
|
||||
Common::String gameId = ConfMan.get("gameid", target);
|
||||
Common::Platform platform = Common::parsePlatform(ConfMan.get("platform", target));
|
||||
|
@ -115,6 +115,7 @@ MODULE_OBJS := \
|
||||
lua_v1_set.o \
|
||||
lua_v1_sound.o \
|
||||
lua_v1_text.o \
|
||||
metaengine.o \
|
||||
material.o \
|
||||
model.o \
|
||||
objectstate.o \
|
||||
|
@ -28,10 +28,10 @@ namespace ICB {
|
||||
|
||||
class IcbMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
const char *getName() const override {
|
||||
const char *getName() const override {
|
||||
return "icb";
|
||||
}
|
||||
virtual bool hasFeature(MetaEngineFeature f) const override { return false; }
|
||||
virtual bool hasFeature(MetaEngineFeature f) const override { return false; }
|
||||
|
||||
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
|
||||
};
|
||||
|
@ -66,6 +66,7 @@ MODULE_OBJS := \
|
||||
map_marker.o \
|
||||
map_marker_pc.o \
|
||||
mega_interaction.o \
|
||||
metaengine.o \
|
||||
mission.o \
|
||||
mission_functions.o \
|
||||
mouse.o \
|
||||
|
@ -35,11 +35,11 @@ namespace Myst3{
|
||||
|
||||
class Myst3MetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
const char *getName() const override {
|
||||
const char *getName() const override {
|
||||
return "myst3";
|
||||
}
|
||||
|
||||
bool hasFeature(MetaEngineFeature f) const override {
|
||||
bool hasFeature(MetaEngineFeature f) const override {
|
||||
return
|
||||
(f == kSupportsListSaves) ||
|
||||
(f == kSupportsDeleteSave) ||
|
||||
|
@ -17,6 +17,7 @@ MODULE_OBJS := \
|
||||
hotspot.o \
|
||||
inventory.o \
|
||||
menu.o \
|
||||
metaengine.o \
|
||||
movie.o \
|
||||
myst3.o \
|
||||
node.o \
|
||||
|
@ -32,11 +32,11 @@ namespace Stark {
|
||||
|
||||
class StarkMetaEngine : public AdvancedMetaEngine {
|
||||
public:
|
||||
const char *getName() const override {
|
||||
const char *getName() const override {
|
||||
return "stark";
|
||||
}
|
||||
|
||||
bool hasFeature(MetaEngineFeature f) const override {
|
||||
bool hasFeature(MetaEngineFeature f) const override {
|
||||
return
|
||||
(f == kSupportsListSaves) ||
|
||||
(f == kSupportsLoadingDuringStartup) ||
|
||||
|
@ -22,6 +22,7 @@ MODULE_OBJS := \
|
||||
formats/xarc.o \
|
||||
formats/xmg.o \
|
||||
formats/xrc.o \
|
||||
metaengine.o \
|
||||
model/animhandler.o \
|
||||
model/model.o \
|
||||
model/skeleton_anim.o \
|
||||
|
Loading…
x
Reference in New Issue
Block a user