aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
diff options
context:
space:
mode:
authorNicola Mettifogo2008-07-09 10:52:46 +0000
committerNicola Mettifogo2008-07-09 10:52:46 +0000
commit18b48c74a9de417254badf23744d5c5f73c2966c (patch)
tree3406cc24c3e4afdbad48df7a20cf27f7b0b7ca88 /engines/parallaction/graphics.h
parentd24e7706057aaf5d20c31d6eebf6e55440cfb20a (diff)
downloadscummvm-rg350-18b48c74a9de417254badf23744d5c5f73c2966c.tar.gz
scummvm-rg350-18b48c74a9de417254badf23744d5c5f73c2966c.tar.bz2
scummvm-rg350-18b48c74a9de417254badf23744d5c5f73c2966c.zip
Fixed regression introduced with GfxObj: the character sprite was sometimes removed from the rendering list.
svn-id: r32974
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r--engines/parallaction/graphics.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index 00718d8c26..09f4b2f244 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -340,12 +340,15 @@ class Disk;
enum {
kGfxObjVisible = 1,
+ kGfxObjNormal = 2,
+ kGfxObjCharacter = 4,
kGfxObjTypeDoor = 0,
kGfxObjTypeGet = 1,
kGfxObjTypeAnim = 2,
kGfxObjTypeLabel = 3,
- kGfxObjTypeBalloon = 4
+ kGfxObjTypeBalloon = 4,
+ kGfxObjTypeCharacter = 8
};
enum {
@@ -356,7 +359,6 @@ enum {
class GfxObj {
char *_name;
Frames *_frames;
- uint32 _flags;
bool _keep;
@@ -365,6 +367,7 @@ public:
int32 z;
+ uint32 _flags;
uint type;
uint frame;
@@ -478,7 +481,7 @@ public:
GfxObj* loadDoor(const char *name);
void drawGfxObjects(Graphics::Surface &surf);
void showGfxObj(GfxObj* obj, bool visible);
- void clearGfxObjects();
+ void clearGfxObjects(uint filter);
void sortAnimations();