diff options
author | Nicola Mettifogo | 2008-01-28 16:52:41 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2008-01-28 16:52:41 +0000 |
commit | 3c2c16c705b41e0186cd203bc303a0902bf3059e (patch) | |
tree | f872c9b34aff5a5b1f1d09a4a52e117972249724 /engines/parallaction/graphics.h | |
parent | 1bba7bd04e1ca2cdc20cb2646f7e32a65c0d53f0 (diff) | |
download | scummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.tar.gz scummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.tar.bz2 scummvm-rg350-3c2c16c705b41e0186cd203bc303a0902bf3059e.zip |
Fixed animation sorting: everything should be drawn like before revision 30673 now. Character may still disappear when changing location because of wrong resource management, though.
svn-id: r30680
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r-- | engines/parallaction/graphics.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h index f4f9dc1203..1af1d1e8ea 100644 --- a/engines/parallaction/graphics.h +++ b/engines/parallaction/graphics.h @@ -270,6 +270,7 @@ public: uint16 z; uint type; uint frame; + uint layer; GfxObj(uint type, Frames *frames, const char *name = NULL); virtual ~GfxObj(); @@ -312,6 +313,7 @@ public: void showGfxObj(GfxObj* obj, bool visible); GfxObjList _gfxobjList[3]; void drawGfxObjects(Graphics::Surface &surf); + void sortAnimations(); public: @@ -368,7 +370,7 @@ public: void setProjectorPos(int x, int y); // misc - int16 queryMask(int16 v); + uint16 queryMask(uint16 v); void swapBuffers(); void updateScreen(); void setBackground(Graphics::Surface *surf); @@ -464,3 +466,4 @@ protected: + |