aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-07-28 16:16:55 +0200
committeruruk2014-07-28 16:17:14 +0200
commitfe77bfecf78d499bfb34e353e699e3d56a9f3a5a (patch)
tree6170e800012ba239af0c02df64b9df247082c93e
parentb9d13ae41dfa668b8937d333edb04e571e23c0ad (diff)
downloadscummvm-rg350-fe77bfecf78d499bfb34e353e699e3d56a9f3a5a.tar.gz
scummvm-rg350-fe77bfecf78d499bfb34e353e699e3d56a9f3a5a.tar.bz2
scummvm-rg350-fe77bfecf78d499bfb34e353e699e3d56a9f3a5a.zip
CGE2: Rename Bitmap::paint() to makeSpeechBubleTail().
-rw-r--r--engines/cge2/bitmap.cpp2
-rw-r--r--engines/cge2/bitmap.h2
-rw-r--r--engines/cge2/vga13h.cpp4
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);