aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-bots.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2019-07-08 01:41:38 +0200
committerEugene Sandulenko2019-09-03 17:17:14 +0200
commit168ca5fc0d831ef8fbba8e697e5b4b3f5cdc204b (patch)
treedefb553c902b5ed02acd450bce8ab6d11b8ccf07 /engines/hdb/ai-bots.cpp
parent3851c2d9a6bd17c8dd4ca116711120f893167ab6 (diff)
downloadscummvm-rg350-168ca5fc0d831ef8fbba8e697e5b4b3f5cdc204b.tar.gz
scummvm-rg350-168ca5fc0d831ef8fbba8e697e5b4b3f5cdc204b.tar.bz2
scummvm-rg350-168ca5fc0d831ef8fbba8e697e5b4b3f5cdc204b.zip
HDB: Used transparent alpha blitting
Diffstat (limited to 'engines/hdb/ai-bots.cpp')
-rw-r--r--engines/hdb/ai-bots.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/hdb/ai-bots.cpp b/engines/hdb/ai-bots.cpp
index fafeadc0d1..ec1cc6b6e7 100644
--- a/engines/hdb/ai-bots.cpp
+++ b/engines/hdb/ai-bots.cpp
@@ -1685,8 +1685,7 @@ void aiMeerkatInit2(AIEntity *e) {
void aiMeerkatDraw(AIEntity *e, int mx, int my) {
char word[3];
- debug(9, "FIXME: Replace MaskedBlitting with AlphaMaskedBlitting");
- g_hdb->_window->getGemGfx()->drawMasked(e->value1 - mx, e->value2 - my);
+ g_hdb->_window->getGemGfx()->drawMasked(e->value1 - mx, e->value2 - my, 255 - e->blinkFrames * 16);
g_hdb->_gfx->setCursor(e->value1 + 12 - mx, e->value2 - 8 - my);
word[2] = 0;
if (!e->special1Frames) {
@@ -1848,7 +1847,7 @@ void aiMeerkatLookAround(AIEntity *e) {
//-------------------------------------------------------------------
//
-// FATFROG : Just sits in place and blasts out his tongue if you're
+// FATFROG : Just sits in place and blasts out his tongue if you're
// within range.
//
//-------------------------------------------------------------------