diff options
author | Ľubomír Remák | 2018-08-19 15:38:12 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-25 23:12:01 +0200 |
commit | 9f1c628d4bfbd6600ceb67b5b872cf08825dc1e4 (patch) | |
tree | 4171edbb631a910aa7b201446151906ebf415da9 /engines/mutationofjb | |
parent | 4633b8398642f3005827780313c25479689a72dc (diff) | |
download | scummvm-rg350-9f1c628d4bfbd6600ceb67b5b872cf08825dc1e4.tar.gz scummvm-rg350-9f1c628d4bfbd6600ceb67b5b872cf08825dc1e4.tar.bz2 scummvm-rg350-9f1c628d4bfbd6600ceb67b5b872cf08825dc1e4.zip |
MUTATIONOFJB: Fix forward declarations of structs.
Diffstat (limited to 'engines/mutationofjb')
-rw-r--r-- | engines/mutationofjb/commands/endblockcommand.h | 2 | ||||
-rw-r--r-- | engines/mutationofjb/game.h | 8 | ||||
-rw-r--r-- | engines/mutationofjb/gui.h | 2 | ||||
-rw-r--r-- | engines/mutationofjb/mutationofjb.h | 2 | ||||
-rw-r--r-- | engines/mutationofjb/script.h | 4 | ||||
-rw-r--r-- | engines/mutationofjb/widgets/widget.h | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/engines/mutationofjb/commands/endblockcommand.h b/engines/mutationofjb/commands/endblockcommand.h index 55656aa351..bda50fb60b 100644 --- a/engines/mutationofjb/commands/endblockcommand.h +++ b/engines/mutationofjb/commands/endblockcommand.h @@ -29,7 +29,7 @@ namespace MutationOfJB { -class ActionInfo; +struct ActionInfo; class EndBlockCommandParser : public CommandParser { public: diff --git a/engines/mutationofjb/game.h b/engines/mutationofjb/game.h index 316dc759fc..9ab52ef5b4 100644 --- a/engines/mutationofjb/game.h +++ b/engines/mutationofjb/game.h @@ -40,13 +40,13 @@ namespace MutationOfJB { class Command; class MutationOfJBEngine; -class GameData; class Script; class Room; -class Door; -class Static; -class Bitmap; class SayTask; +struct GameData; +struct Door; +struct Static; +struct Bitmap; class Game { public: diff --git a/engines/mutationofjb/gui.h b/engines/mutationofjb/gui.h index f644517ca9..354d04f960 100644 --- a/engines/mutationofjb/gui.h +++ b/engines/mutationofjb/gui.h @@ -31,7 +31,7 @@ #include "mutationofjb/widgets/buttonwidget.h" namespace Common { -class Event; +struct Event; } namespace Graphics { diff --git a/engines/mutationofjb/mutationofjb.h b/engines/mutationofjb/mutationofjb.h index 050800ee71..91a31389e3 100644 --- a/engines/mutationofjb/mutationofjb.h +++ b/engines/mutationofjb/mutationofjb.h @@ -27,7 +27,7 @@ #include "mutationofjb/script.h" namespace Common { -class Event; +struct Event; } namespace Graphics { diff --git a/engines/mutationofjb/script.h b/engines/mutationofjb/script.h index 17e18102a3..86f2450ce6 100644 --- a/engines/mutationofjb/script.h +++ b/engines/mutationofjb/script.h @@ -39,13 +39,13 @@ namespace MutationOfJB { class Command; class LabelCommand; class Game; -class GameData; class GotoCommand; class ConditionalCommand; class Script; class RandomCommand; -typedef Common::Array<Command *> Commands; +struct GameData; +typedef Common::Array<Command *> Commands; struct ActionInfo { enum Action { diff --git a/engines/mutationofjb/widgets/widget.h b/engines/mutationofjb/widgets/widget.h index ed3a3acd54..a88f628553 100644 --- a/engines/mutationofjb/widgets/widget.h +++ b/engines/mutationofjb/widgets/widget.h @@ -27,7 +27,7 @@ #include <common/rect.h> namespace Common { -class Event; +struct Event; } namespace Graphics { |