diff options
author | Max Horn | 2002-05-14 23:35:28 +0000 |
---|---|---|
committer | Max Horn | 2002-05-14 23:35:28 +0000 |
commit | 64c6113d1541f79bb082c5c75bed88f31fe1b65b (patch) | |
tree | 1a23adec5e7b7f6ac526616bf4e19e702f54cca0 /scumm.h | |
parent | b529d80ed7c39f2aa9718adda2828db27bba5df0 (diff) | |
download | scummvm-rg350-64c6113d1541f79bb082c5c75bed88f31fe1b65b.tar.gz scummvm-rg350-64c6113d1541f79bb082c5c75bed88f31fe1b65b.tar.bz2 scummvm-rg350-64c6113d1541f79bb082c5c75bed88f31fe1b65b.zip |
removed actor.h from scumm.h; added _scumm member var to class Actor; some var renaming in preparation of more methord refactoring
svn-id: r4333
Diffstat (limited to 'scumm.h')
-rw-r--r-- | scumm.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -27,7 +27,6 @@ #include "system.h" #include "sound/mixer.h" #include "config-file.h" -#include "actor.h" #define SCUMMVM_VERSION "0.2.0 Release" #define SCUMMVM_CVS "051302" @@ -39,7 +38,7 @@ class GameDetector; class Gui; class Scumm; class IMuse; -struct Actor; +class Actor; struct ScummDebugger; struct Serializer; @@ -547,6 +546,7 @@ public: byte _fastMode; char *getGameName(); Scumm(); // constructor + virtual ~Scumm(); /* video buffer */ byte *_videoBuffer; @@ -597,7 +597,7 @@ public: /* Core class/array definitions */ Gdi gdi; - Actor actor[MAX_ACTORS]; + Actor *actor; // Has MAX_ACTORS elements, see init.cpp uint16 *_inventory; byte *_arrays; @@ -979,7 +979,7 @@ public: /* Should be in Actor class */ - Actor *derefActor(int id) {return &actor[id];} + Actor *derefActor(int id); Actor *derefActorSafe(int id, const char *errmsg); Actor *getFirstActor() {return actor;} void putActor(Actor *a, int x, int y, byte room); |