aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2/vga13h.cpp
diff options
context:
space:
mode:
authoruruk2014-06-10 17:27:59 +0200
committeruruk2014-06-10 17:27:59 +0200
commit5a5fe344a0f26f164b4908109bbf7cfa39e6c47f (patch)
tree6434ac56a54ac09e0302d6dd6c2640ff18c7bf45 /engines/cge2/vga13h.cpp
parent85c55333b334f18f795118a3a3e4a2d2c210253b (diff)
downloadscummvm-rg350-5a5fe344a0f26f164b4908109bbf7cfa39e6c47f.tar.gz
scummvm-rg350-5a5fe344a0f26f164b4908109bbf7cfa39e6c47f.tar.bz2
scummvm-rg350-5a5fe344a0f26f164b4908109bbf7cfa39e6c47f.zip
CGE2: Implement display of speech bubbles.
The sound code connected to them is still gappy.
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r--engines/cge2/vga13h.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp
index 486db29061..61b367b7a5 100644
--- a/engines/cge2/vga13h.cpp
+++ b/engines/cge2/vga13h.cpp
@@ -1114,7 +1114,15 @@ SceneLight::SceneLight(CGE2Engine *vm) : Sprite(vm), _vm(vm) {
}
Speaker::Speaker(CGE2Engine *vm): Sprite(vm), _vm(vm) {
- warning("Speaker::Speaker()");
+ // Set the sprite list
+ BitmapPtr SP = new Bitmap[2];
+ uint8 *map = Bitmap::paint(0, _vm->_font->_colorSet);
+ SP[0] = Bitmap(_vm, 15, 16, map);
+ delete[] map;
+ map = Bitmap::paint(1, _vm->_font->_colorSet);
+ SP[1] = Bitmap(_vm, 15, 16, map);
+ delete[] map;
+ setShapeList(SP, 2);
}
PocLight::PocLight(CGE2Engine *vm): Sprite(vm), _vm(vm) {