From d5568906739da23154cacd17aca93802901a9baf Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sun, 28 Oct 2018 13:08:41 +0100 Subject: MUTATIONOFJB: Add support for combining items. Introduce game screen and game widget. Add status bar to show currently hovered and picked items. Load hardcoded strings from game executable. --- engines/mutationofjb/game.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/mutationofjb/game.h') diff --git a/engines/mutationofjb/game.h b/engines/mutationofjb/game.h index adb5bf5c48..27804ea8d8 100644 --- a/engines/mutationofjb/game.h +++ b/engines/mutationofjb/game.h @@ -25,9 +25,9 @@ #include "mutationofjb/assets.h" #include "mutationofjb/gamescreen.h" -#include "mutationofjb/script.h" #include "mutationofjb/tasks/taskmanager.h" +#include "common/language.h" #include "common/ptr.h" #include "common/random.h" #include "common/scummsys.h" @@ -51,6 +51,8 @@ struct Bitmap; class Game { public: Game(MutationOfJBEngine *vm); + MutationOfJBEngine &getEngine(); + Common::RandomSource &getRandomSource(); GameData &getGameData(); Room &getRoom(); @@ -68,9 +70,6 @@ public: GameScreen &getGameScreen(); - ActionInfo::Action getCurrentAction() const; - void setCurrentAction(ActionInfo::Action); - static uint8 colorFromString(const char *colorStr); TaskManager &getTaskManager(); @@ -83,6 +82,8 @@ public: bool loadSaveAllowed() const; + Common::Language getLanguage() const; + private: bool loadGameData(bool partB); void runActiveCommand(); @@ -98,7 +99,6 @@ private: Script *_delayedLocalScript; Room *_room; GameScreen _gui; - ActionInfo::Action _currentAction; ScriptExecutionContext _scriptExecCtx; -- cgit v1.2.3