aboutsummaryrefslogtreecommitdiff
path: root/scumm.h
diff options
context:
space:
mode:
authorMax Horn2002-05-14 23:35:28 +0000
committerMax Horn2002-05-14 23:35:28 +0000
commit64c6113d1541f79bb082c5c75bed88f31fe1b65b (patch)
tree1a23adec5e7b7f6ac526616bf4e19e702f54cca0 /scumm.h
parentb529d80ed7c39f2aa9718adda2828db27bba5df0 (diff)
downloadscummvm-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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm.h b/scumm.h
index 7b1a89645a..80c1131a1d 100644
--- a/scumm.h
+++ b/scumm.h
@@ -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);