aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/font.cpp
diff options
context:
space:
mode:
authorStrangerke2012-12-10 07:54:03 +0100
committerStrangerke2012-12-10 07:54:03 +0100
commit269a6f9caeccc8e311d03d8df9e9aaa84c67224b (patch)
tree9d2a6154a220fe4b8f05332d5c7d4e93d3acbf60 /engines/hopkins/font.cpp
parent663bf3139f5091b61f2c9f43b90ffe31793dece1 (diff)
downloadscummvm-rg350-269a6f9caeccc8e311d03d8df9e9aaa84c67224b.tar.gz
scummvm-rg350-269a6f9caeccc8e311d03d8df9e9aaa84c67224b.tar.bz2
scummvm-rg350-269a6f9caeccc8e311d03d8df9e9aaa84c67224b.zip
HOPKINS: Some more function renaming
Diffstat (limited to 'engines/hopkins/font.cpp')
-rw-r--r--engines/hopkins/font.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/hopkins/font.cpp b/engines/hopkins/font.cpp
index c7fae50218..dccba0d3ea 100644
--- a/engines/hopkins/font.cpp
+++ b/engines/hopkins/font.cpp
@@ -254,7 +254,7 @@ void FontManager::BOITE(int idx, int messageId, const Common::String &filename,
byte v16 = *(v60 + v15);
if ((byte)v16 <= 0x1Fu)
v16 = 32;
- _vm->_globals.largeur_boite += _vm->_objectsManager.Get_Largeur(_vm->_globals.police, (byte)v16 - 32);
+ _vm->_globals.largeur_boite += _vm->_objectsManager.getWidth(_vm->_globals.police, (byte)v16 - 32);
}
}
_vm->_globals.largeur_boite += 2;
@@ -327,7 +327,7 @@ LABEL_57:
byte v24 = (v23 >= (int)line.size()) ? '\0' : line.c_str()[v23];
if ((byte)v24 <= 0x1Fu)
v24 = 32;
- ptrc += _vm->_objectsManager.Get_Largeur(_vm->_globals.police, (byte)v24 - 32);
+ ptrc += _vm->_objectsManager.getWidth(_vm->_globals.police, (byte)v24 - 32);
}
}
TRIER_TEXT[i] = ptrc;
@@ -450,7 +450,7 @@ void FontManager::TEXT_NOW(int xp, int yp, const Common::String &message, int co
charIndex = currChar - 32;
_vm->_graphicsManager.Affiche_Fonte(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.police,
currentX, yp, currChar - 32, col);
- currentX += _vm->_objectsManager.Get_Largeur(_vm->_globals.police, charIndex);
+ currentX += _vm->_objectsManager.getWidth(_vm->_globals.police, charIndex);
}
}
@@ -466,7 +466,7 @@ void FontManager::TEXT_NOW1(int xp, int yp, const Common::String &message, int c
int characterIndex = currentChar - 32;
_vm->_graphicsManager.Affiche_Fonte(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.police,
xp, yp, characterIndex, col);
- xp += _vm->_objectsManager.Get_Largeur(_vm->_globals.police, characterIndex);
+ xp += _vm->_objectsManager.getWidth(_vm->_globals.police, characterIndex);
}
}
}
@@ -497,8 +497,8 @@ void FontManager::TEXT_COMPUT(int xp, int yp, const Common::String &msg, int col
if (v7 >= 32) {
v5 = v7 - 32;
_vm->_graphicsManager.Affiche_Fonte(_vm->_graphicsManager.VESA_BUFFER, _vm->_globals.police, v9, yp, v7 - 32, fontCol);
- v9 += _vm->_objectsManager.Get_Largeur(_vm->_globals.police, v5);
- v6 = _vm->_objectsManager.Get_Largeur(_vm->_globals.police, v5);
+ v9 += _vm->_objectsManager.getWidth(_vm->_globals.police, v5);
+ v6 = _vm->_objectsManager.getWidth(_vm->_globals.police, v5);
_vm->_graphicsManager.Ajoute_Segment_Vesa(v9 - v6, yp, v9, yp + 12);
if (_vm->_eventsManager.ESC_KEY) {
_vm->_globals.iRegul = 1;