aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/objects.h')
-rw-r--r--engines/teenagent/objects.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/engines/teenagent/objects.h b/engines/teenagent/objects.h
index e5400e7c81..60b5d5ad2c 100644
--- a/engines/teenagent/objects.h
+++ b/engines/teenagent/objects.h
@@ -71,17 +71,19 @@ protected:
struct Object {
enum {kActorUp = 1, kActorRight = 2, kActorDown = 3, kActorLeft = 4 };
- byte id;
- Rect rect;
- Rect actor_rect;
- byte actor_orientation;
- byte enabled; //19 bytes
+ byte id; //0
+ Rect rect; //1
+ Rect actor_rect; //9
+ byte actor_orientation; //17
+ byte enabled; //18
+ //19
Common::String name, description;
Object(): _base(NULL) {}
void dump();
void setName(const Common::String &name);
void load(byte *addr);
+ void save();
static Common::String parse_description(const char *name);