diff options
author | Nicola Mettifogo | 2008-06-29 09:56:44 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-06-29 09:56:44 +0000 |
commit | 206485ffc676c64134774b9873cd8d333deddfee (patch) | |
tree | 6ea7a51b7ea45c679d461ffabd7a106b095495a4 /engines/parallaction/graphics.h | |
parent | d8645297cd174fbbd7059a317975c45adefaa5e5 (diff) | |
download | scummvm-rg350-206485ffc676c64134774b9873cd8d333deddfee.tar.gz scummvm-rg350-206485ffc676c64134774b9873cd8d333deddfee.tar.bz2 scummvm-rg350-206485ffc676c64134774b9873cd8d333deddfee.zip |
Merged the three render lists (for animations, doors and objects) into a single one.
svn-id: r32834
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r-- | engines/parallaction/graphics.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index c4b0c7b321..6439941cc5 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -360,6 +360,11 @@ enum { kGfxObjTypeAnim = 2 }; +enum { + kGfxObjDoorZ = -200, + kGfxObjGetZ = -100 +}; + class GfxObj { char *_name; Frames *_frames; @@ -369,7 +374,10 @@ class GfxObj { public: int16 x, y; - uint16 z; + + int32 z; + + uint type; uint frame; uint layer; @@ -461,7 +469,7 @@ public: Disk *_disk; VarMap _vars; - GfxObjList _gfxobjList[3]; + GfxObjList _gfxobjList; GfxObj* loadAnim(const char *name); GfxObj* loadGet(const char *name); GfxObj* loadDoor(const char *name); |