diff options
author | uruk | 2014-05-23 11:22:43 +0200 |
---|---|---|
committer | uruk | 2014-05-23 11:22:43 +0200 |
commit | c734aa08b1c564e724c8ec2a60719221bb07cff1 (patch) | |
tree | 38943f0513e291cc7c6a40e14e9ce1b87ea8c9b8 | |
parent | 7777a48dabefbd03c0ca986056b3ae81322de4c1 (diff) | |
download | scummvm-rg350-c734aa08b1c564e724c8ec2a60719221bb07cff1.tar.gz scummvm-rg350-c734aa08b1c564e724c8ec2a60719221bb07cff1.tar.bz2 scummvm-rg350-c734aa08b1c564e724c8ec2a60719221bb07cff1.zip |
CGE2: Implement Sprite::show().
-rw-r--r-- | engines/cge2/vga13h.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 46515e7171..b258ae7414 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -565,7 +565,15 @@ void Sprite::center() { } void Sprite::show() { - warning("STUB: Sprite::show()"); + SprExt *e = _ext; + if (e) { + e->_p0 = e->_p1; + e->_b0 = e->_b1; + e->_p1 = _pos2D; + e->_b1 = shp(); + } + if (!_flags._hide) + e->_b1->show(e->_p1.x, e->_p1.y); } void Sprite::show(uint16 pg) { |