From 269a6f9caeccc8e311d03d8df9e9aaa84c67224b Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 10 Dec 2012 07:54:03 +0100 Subject: HOPKINS: Some more function renaming --- engines/hopkins/font.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/hopkins/font.cpp') 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; -- cgit v1.2.3