aboutsummaryrefslogtreecommitdiff
path: root/queen/logic.h
diff options
context:
space:
mode:
authorGregory Montoir2003-12-11 22:16:35 +0000
committerGregory Montoir2003-12-11 22:16:35 +0000
commitc2be8ed45dccc04528869bece0ef3f9ff6c9d743 (patch)
tree4591859bb6f6cb2e75b3a7dac4565047c81305af /queen/logic.h
parent38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e (diff)
downloadscummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.tar.gz
scummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.tar.bz2
scummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.zip
constructors cleanup
svn-id: r11589
Diffstat (limited to 'queen/logic.h')
-rw-r--r--queen/logic.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/queen/logic.h b/queen/logic.h
index 97110e6929..f0167d9c77 100644
--- a/queen/logic.h
+++ b/queen/logic.h
@@ -53,19 +53,13 @@ struct ZoneSlot {
Box box;
};
-class Command;
class Debug;
-class Display;
-class Input;
-class Graphics;
-class Resource;
-class Sound;
-class Walk;
+class QueenEngine;
class Logic {
public:
- Logic(Resource *resource, Graphics *graphics, Display *display, Input *input, Sound *sound);
+ Logic(QueenEngine *vm);
~Logic();
uint16 currentRoom() const { return _currentRoom; }
@@ -293,11 +287,6 @@ public:
void asmPanRightToJoeAndRita();
void asmPanLeftToBomb();
- Walk *walk() const { return _walk; }
- Display *display() const { return _display; }
- Command *command() const { return _cmd; }
- Resource *resource() const { return _resource; }
-
typedef void (Logic::*SpecialMoveProc)();
@@ -310,8 +299,6 @@ public:
TALK_SELECTED_COUNT = 86
};
- static Common::RandomSource randomizer;
-
protected:
void initialise();
@@ -436,14 +423,8 @@ protected:
bool _subtitles;
- Resource *_resource;
- Graphics *_graphics;
Debug *_dbg;
- Display *_display;
- Input *_input;
- Sound *_sound;
- Walk *_walk;
- Command *_cmd;
+ QueenEngine *_vm;
//! Verbs (in order) available in panel
static const VerbEnum PANEL_VERBS[];