COMPOSER: Fix z-ordering (properly, this time).

This commit is contained in:
Alyssa Milburn 2011-07-16 20:02:19 +02:00
parent 54f26b6c45
commit aa52698d7e
2 changed files with 6 additions and 6 deletions

View file

@ -62,7 +62,7 @@ class ComposerEngine;
struct Sprite {
uint16 id;
uint16 animId;
int16 zorder;
uint16 zorder;
Common::Point pos;
Graphics::Surface surface;
};
@ -205,7 +205,7 @@ private:
void playWaveForAnim(uint16 id, bool bufferingOnly);
void processAnimFrame();
void addSprite(uint16 id, uint16 animId, int16 zorder, const Common::Point &pos);
void addSprite(uint16 id, uint16 animId, uint16 zorder, const Common::Point &pos);
void removeSprite(uint16 id, uint16 animId);
void loadCTBL(uint id, uint fadePercent);