diff options
author | David Eriksson | 2003-10-07 03:58:44 +0000 |
---|---|---|
committer | David Eriksson | 2003-10-07 03:58:44 +0000 |
commit | c001e4357bc91cd9b1231fd6c6d05f9b891d118b (patch) | |
tree | 578b3af979cb4067705f8df0faa45aec442590d3 /queen/cutaway.h | |
parent | 5c6469536762483eb149724802381cf362c81e1a (diff) | |
download | scummvm-rg350-c001e4357bc91cd9b1231fd6c6d05f9b891d118b.tar.gz scummvm-rg350-c001e4357bc91cd9b1231fd6c6d05f9b891d118b.tar.bz2 scummvm-rg350-c001e4357bc91cd9b1231fd6c6d05f9b891d118b.zip |
- Add Talk class and begin to use it from Cutaway class
- Move getString() helper function to Talk class
svn-id: r10654
Diffstat (limited to 'queen/cutaway.h')
-rw-r--r-- | queen/cutaway.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/queen/cutaway.h b/queen/cutaway.h index 94e3dd4c5e..2718cd773a 100644 --- a/queen/cutaway.h +++ b/queen/cutaway.h @@ -121,6 +121,7 @@ class Cutaway { }; Logic *_logic; + Resource *_resource; Graphics *_graphics; //! Raw .cut file data (without 20 byte header) @@ -188,7 +189,7 @@ class Cutaway { void run(char *nextFilename); //! Load cutaway data from file - void load(const char *filename, Resource *resource); + void load(const char *filename); //! Used by load to read string data void loadStrings(byte *ptr); @@ -235,9 +236,6 @@ class Cutaway { //! Get CutawayAnim data from ptr and return new ptr byte *getCutawayAnim(byte *ptr, int header, CutawayAnim &anim); - //! Read a string from ptr and return new ptr - static byte *getString(byte *ptr, char *str, int maxLength); - //! Read a CutawayObject from ptr and return new ptr static byte *getCutawayObject(byte *ptr, CutawayObject &object); |