aboutsummaryrefslogtreecommitdiff
path: root/queen/talk.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/talk.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/talk.h')
-rw-r--r--queen/talk.h27
1 files changed, 5 insertions, 22 deletions
diff --git a/queen/talk.h b/queen/talk.h
index 3c0887150a..6e3fc4c600 100644
--- a/queen/talk.h
+++ b/queen/talk.h
@@ -27,12 +27,7 @@
namespace Queen {
-class Graphics;
-class Input;
-class Logic;
-class Resource;
-class Sound;
-struct BobSlot;
+class QueenEngine;
class Talk {
public:
@@ -42,22 +37,14 @@ class Talk {
const char *filename,
int personInRoom,
char *cutawayFilename,
- Graphics *graphics,
- Input *input,
- Logic *logic,
- Resource *resource,
- Sound *sound);
+ QueenEngine *vm);
//! Public interface to speak a sentence
static bool speak(
const char *sentence,
Person *person,
const char *voiceFilePrefix,
- Graphics *graphics,
- Input *input,
- Logic *logic,
- Resource *resource,
- Sound *sound);
+ QueenEngine *vm);
//! Read a string from ptr and return new ptr
static byte *getString(byte *ptr, char *str, int maxLength, int align = 2);
@@ -105,11 +92,7 @@ private:
signed char ff;
};
- Graphics *_graphics;
- Input *_input;
- Logic *_logic;
- Resource *_resource;
- Sound *_sound;
+ QueenEngine *_vm;
bool _wasFullscren;
@@ -164,7 +147,7 @@ private:
static const SpeechParameters _speechParameters[];
- Talk(Graphics *graphics, Input *input, Logic *logic, Resource *resource, Sound *sound);
+ Talk(QueenEngine *vm);
~Talk();
//! Perform talk in file and return a cutaway filename