From e3afa772e2ad494175b91e011304558150b8901a Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Mon, 23 Feb 2009 12:17:25 +0000 Subject: Cleanup. svn-id: r38817 --- engines/parallaction/objects.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/parallaction/objects.h') diff --git a/engines/parallaction/objects.h b/engines/parallaction/objects.h index 029c498948..034caa56b1 100644 --- a/engines/parallaction/objects.h +++ b/engines/parallaction/objects.h @@ -287,6 +287,10 @@ struct TypeData { } }; +#define ACTIONTYPE(z) ((z)->_type & 0xFFFF) +#define ITEMTYPE(z) ((z)->_type & 0xFFFF0000) + +#define PACK_ZONETYPE(zt,it) ((zt) & 0xFFFF | (((it) & 0xFFFF) << 16)) #define ZONENAME_LENGTH 32 -- cgit v1.2.3