diff options
author | Strangerke | 2012-08-07 19:07:01 +0200 |
---|---|---|
committer | Strangerke | 2012-08-07 19:07:01 +0200 |
commit | 78310d0f4b546081fceee2cf4ba72dd628fa7018 (patch) | |
tree | 03aeebf23867aca0546ed332f0cf0df207cb9361 /engines/tsage/ringworld | |
parent | 611905aa9718afd0320f518af6976d3316035622 (diff) | |
download | scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.tar.gz scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.tar.bz2 scummvm-rg350-78310d0f4b546081fceee2cf4ba72dd628fa7018.zip |
TSAGE: Apply naming conventions to surfaceGetArea(). Thanks to somaen for reporting it.
Diffstat (limited to 'engines/tsage/ringworld')
-rw-r--r-- | engines/tsage/ringworld/ringworld_dialogs.cpp | 4 | ||||
-rw-r--r-- | engines/tsage/ringworld/ringworld_logic.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/tsage/ringworld/ringworld_dialogs.cpp b/engines/tsage/ringworld/ringworld_dialogs.cpp index 0e451b8429..4728e66cd9 100644 --- a/engines/tsage/ringworld/ringworld_dialogs.cpp +++ b/engines/tsage/ringworld/ringworld_dialogs.cpp @@ -59,7 +59,7 @@ void RightClickButton::highlight() { _savedButton = NULL; } else { // Highlight button by getting the needed highlighted image resource - _savedButton = Surface_getArea(g_globals->gfxManager().getSurface(), _bounds); + _savedButton = surfaceGetArea(g_globals->gfxManager().getSurface(), _bounds); uint size; byte *imgData = g_resourceManager->getSubResource(7, 2, _buttonIndex, &size); @@ -122,7 +122,7 @@ RightClickButton *RightClickDialog::findButton(const Common::Point &pt) { void RightClickDialog::draw() { // Save the covered background area - _savedArea = Surface_getArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); + _savedArea = surfaceGetArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); // Draw the dialog image g_globals->gfxManager().copyFrom(_surface, _bounds.left, _bounds.top); diff --git a/engines/tsage/ringworld/ringworld_logic.cpp b/engines/tsage/ringworld/ringworld_logic.cpp index 00c219f2ee..7d571b40d7 100644 --- a/engines/tsage/ringworld/ringworld_logic.cpp +++ b/engines/tsage/ringworld/ringworld_logic.cpp @@ -295,7 +295,7 @@ void SceneArea::display() { _bounds.setWidth(_surface.getBounds().width()); _bounds.setHeight(_surface.getBounds().height()); - _savedArea = Surface_getArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); + _savedArea = surfaceGetArea(g_globals->_gfxManagerInstance.getSurface(), _bounds); draw2(); } |