From fe77bfecf78d499bfb34e353e699e3d56a9f3a5a Mon Sep 17 00:00:00 2001 From: uruk Date: Mon, 28 Jul 2014 16:16:55 +0200 Subject: CGE2: Rename Bitmap::paint() to makeSpeechBubleTail(). --- engines/cge2/bitmap.cpp | 2 +- engines/cge2/bitmap.h | 2 +- engines/cge2/vga13h.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/engines/cge2/bitmap.cpp b/engines/cge2/bitmap.cpp index fd2f6a441f..2c7c010d53 100644 --- a/engines/cge2/bitmap.cpp +++ b/engines/cge2/bitmap.cpp @@ -414,7 +414,7 @@ bool Bitmap::moveLo() { #define D 3, #define kDesignSize 240 -uint8 *Bitmap::paint(int which, uint8 colorSet[][4]) { +uint8 *Bitmap::makeSpeechBubbleTail(int which, uint8 colorSet[][4]) { uint8 kSLDesign[kDesignSize] = { G G G G G G G G G _ _ _ _ _ _ L G G G G G G G G D _ _ _ _ _ diff --git a/engines/cge2/bitmap.h b/engines/cge2/bitmap.h index 12f7651b36..8643c37467 100644 --- a/engines/cge2/bitmap.h +++ b/engines/cge2/bitmap.h @@ -85,7 +85,7 @@ public: bool moveHi(); bool moveLo(); - static uint8 *paint(int des, uint8 colorSet[][4]); + static uint8 *makeSpeechBubbleTail(int des, uint8 colorSet[][4]); }; diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 617cb7d250..4e43e9e9d8 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -1137,10 +1137,10 @@ void Bitmap::hide(V2D pos) { Speaker::Speaker(CGE2Engine *vm): Sprite(vm), _vm(vm) { // Set the sprite list BitmapPtr SP = new Bitmap[2]; - uint8 *map = Bitmap::paint(0, _vm->_font->_colorSet); + uint8 *map = Bitmap::makeSpeechBubbleTail(0, _vm->_font->_colorSet); SP[0] = Bitmap(_vm, 15, 16, map); delete[] map; - map = Bitmap::paint(1, _vm->_font->_colorSet); + map = Bitmap::makeSpeechBubbleTail(1, _vm->_font->_colorSet); SP[1] = Bitmap(_vm, 15, 16, map); delete[] map; setShapeList(SP, 2); -- cgit v1.2.3