diff options
author | Gregory Montoir | 2003-12-11 22:16:35 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-12-11 22:16:35 +0000 |
commit | c2be8ed45dccc04528869bece0ef3f9ff6c9d743 (patch) | |
tree | 4591859bb6f6cb2e75b3a7dac4565047c81305af /queen/cutaway.h | |
parent | 38c4321f5965c5872e2d4e73d0a9e6ec05a35a2e (diff) | |
download | scummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.tar.gz scummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.tar.bz2 scummvm-rg350-c2be8ed45dccc04528869bece0ef3f9ff6c9d743.zip |
constructors cleanup
svn-id: r11589
Diffstat (limited to 'queen/cutaway.h')
-rw-r--r-- | queen/cutaway.h | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/queen/cutaway.h b/queen/cutaway.h index c876b627c0..45dc1bfb47 100644 --- a/queen/cutaway.h +++ b/queen/cutaway.h @@ -27,13 +27,7 @@ namespace Queen { -class Graphics; -class Input; -class Logic; -class Resource; -class Sound; -class Walk; - +class QueenEngine; class Cutaway { public: @@ -41,11 +35,7 @@ class Cutaway { static void run( const char *filename, char *nextFilename, - Graphics *graphics, - Input *input, - Logic *logic, - Resource *resource, - Sound *sound); + QueenEngine *vm); public: //! Collection of constants used by QueenCutaway @@ -137,12 +127,7 @@ class Cutaway { int16 image; }; - Graphics *_graphics; - Input *_input; - Logic *_logic; - Resource *_resource; - Sound *_sound; - Walk *_walk; + QueenEngine *_vm; //! Raw .cut file data (without 20 byte header) byte *_fileData; @@ -211,13 +196,8 @@ class Cutaway { AnimFrame _cutAnim[17][30]; - Cutaway( - const char *filename, - Graphics *graphics, - Input *input, - Logic *logic, - Resource *resource, - Sound *sound); + Cutaway(const char *filename, + QueenEngine *vm); ~Cutaway(); //! Run this cutaway object |