mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
BBVS: Add override keywords
This commit is contained in:
parent
9611f091cc
commit
8df458f869
@ -219,10 +219,10 @@ static const int8 kWalkTurnTbl[] = {
|
||||
class BbvsEngine : public Engine {
|
||||
protected:
|
||||
Common::Error run() override;
|
||||
virtual bool hasFeature(EngineFeature f) const override;
|
||||
bool hasFeature(EngineFeature f) const override;
|
||||
public:
|
||||
BbvsEngine(OSystem *syst, const ADGameDescription *gd);
|
||||
~BbvsEngine();
|
||||
~BbvsEngine() override;
|
||||
void newGame();
|
||||
void continueGameFromQuickSave();
|
||||
void setNewSceneNum(int newSceneNum);
|
||||
|
@ -77,20 +77,20 @@ public:
|
||||
return "bbvs";
|
||||
}
|
||||
|
||||
virtual const char *getName() const override {
|
||||
const char *getName() const override {
|
||||
return "MTV's Beavis and Butt-head in Virtual Stupidity";
|
||||
}
|
||||
|
||||
virtual const char *getOriginalCopyright() const override {
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "(C) 1995 Viacom New Media";
|
||||
}
|
||||
|
||||
virtual bool hasFeature(MetaEngineFeature f) const override;
|
||||
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
|
||||
virtual int getMaximumSaveSlot() const override;
|
||||
virtual SaveStateList listSaves(const char *target) const override;
|
||||
bool hasFeature(MetaEngineFeature f) const override;
|
||||
bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
|
||||
int getMaximumSaveSlot() const override;
|
||||
SaveStateList listSaves(const char *target) const override;
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
|
||||
virtual void removeSaveState(const char *target, int slot) const override;
|
||||
void removeSaveState(const char *target, int slot) const override;
|
||||
};
|
||||
|
||||
bool BbvsMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
@ -62,10 +62,10 @@ enum {
|
||||
class MainMenu : public GUI::Dialog {
|
||||
public:
|
||||
MainMenu(BbvsEngine *vm);
|
||||
~MainMenu();
|
||||
~MainMenu() override;
|
||||
|
||||
void reflowLayout();
|
||||
void handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data);
|
||||
void reflowLayout() override;
|
||||
void handleCommand(GUI::CommandSender *sender, uint32 command, uint32 data) override;
|
||||
|
||||
protected:
|
||||
BbvsEngine *_vm;
|
||||
|
@ -30,7 +30,7 @@ namespace Bbvs {
|
||||
class MinigameBbAirGuitar : public Minigame {
|
||||
public:
|
||||
MinigameBbAirGuitar(BbvsEngine *vm) : Minigame(vm) {};
|
||||
bool run(bool fromMainGame);
|
||||
bool run(bool fromMainGame) override;
|
||||
public:
|
||||
|
||||
struct Obj {
|
||||
|
@ -30,7 +30,7 @@ namespace Bbvs {
|
||||
class MinigameBbAnt : public Minigame {
|
||||
public:
|
||||
MinigameBbAnt(BbvsEngine *vm) : Minigame(vm) {};
|
||||
bool run(bool fromMainGame);
|
||||
bool run(bool fromMainGame) override;
|
||||
public:
|
||||
|
||||
struct Obj {
|
||||
|
@ -30,7 +30,7 @@ namespace Bbvs {
|
||||
class MinigameBbLoogie : public Minigame {
|
||||
public:
|
||||
MinigameBbLoogie(BbvsEngine *vm) : Minigame(vm) {};
|
||||
bool run(bool fromMainGame);
|
||||
bool run(bool fromMainGame) override;
|
||||
public:
|
||||
|
||||
struct Obj {
|
||||
|
@ -30,7 +30,7 @@ namespace Bbvs {
|
||||
class MinigameBbTennis : public Minigame {
|
||||
public:
|
||||
MinigameBbTennis(BbvsEngine *vm) : Minigame(vm) {};
|
||||
bool run(bool fromMainGame);
|
||||
bool run(bool fromMainGame) override;
|
||||
public:
|
||||
|
||||
struct Obj {
|
||||
|
Loading…
x
Reference in New Issue
Block a user