aboutsummaryrefslogtreecommitdiff
path: root/engines/tony
diff options
context:
space:
mode:
authorCameron Cawley2018-12-19 06:31:26 +0000
committerFilippos Karapetis2018-12-19 08:31:26 +0200
commitf6015086e18360659552ec4f7ca898f20fad1d16 (patch)
tree3f132ccbeb663e74d6b408c2ce2d608d3e2b27d8 /engines/tony
parente94ccdbe6b0d650e04872ee3cc68fe13272f81a4 (diff)
downloadscummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.tar.gz
scummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.tar.bz2
scummvm-rg350-f6015086e18360659552ec4f7ca898f20fad1d16.zip
ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455)
Diffstat (limited to 'engines/tony')
-rw-r--r--engines/tony/tony.cpp7
-rw-r--r--engines/tony/tony.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/tony/tony.cpp b/engines/tony/tony.cpp
index 8a7b676918..2d9e93c1da 100644
--- a/engines/tony/tony.cpp
+++ b/engines/tony/tony.cpp
@@ -281,13 +281,6 @@ void TonyEngine::initCustomFunctionMap() {
INIT_CUSTOM_FUNCTION(_funcList, _funcListStrings);
}
-/**
- * Display an error message
- */
-void TonyEngine::GUIError(const Common::String &msg) {
- GUIErrorMessage(msg);
-}
-
void TonyEngine::playMusic(int nChannel, const Common::String &fname, int nFX, bool bLoop, int nSync) {
if (nChannel < 4) {
if (GLOBALS._flipflop)
diff --git a/engines/tony/tony.h b/engines/tony/tony.h
index fc47e1a1bf..cb9f5fe322 100644
--- a/engines/tony/tony.h
+++ b/engines/tony/tony.h
@@ -163,7 +163,6 @@ public:
RMGfxEngine *getEngine() {
return &_theEngine;
}
- void GUIError(const Common::String &msg);
virtual bool canLoadGameStateCurrently();
virtual bool canSaveGameStateCurrently();