From 45dcfdfc0bad326800618d4d3edfd772d53c9fc6 Mon Sep 17 00:00:00 2001 From: yinsimei Date: Sat, 27 May 2017 20:16:54 +0200 Subject: SLUDGE: Replace standard file reading functions by Common functions --- engines/sludge/main_loop.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'engines/sludge/main_loop.cpp') diff --git a/engines/sludge/main_loop.cpp b/engines/sludge/main_loop.cpp index 47bfe67fe6..b278a35ec8 100644 --- a/engines/sludge/main_loop.cpp +++ b/engines/sludge/main_loop.cpp @@ -138,9 +138,7 @@ void setGameFilePath(char *f) { #endif } -#if ALLOW_FILE -void saveHSI(FILE *writer); -#endif +void saveHSI(Common::WriteStream *writer); extern bool reallyWantToQuit; @@ -440,9 +438,8 @@ try initStatusBar(); resetRandW(); -#if ALLOW_FILE gameName = getNumberedString(1); -#endif + #if 0 SDL_WM_SetCaption(gameName, gameName); -- cgit v1.2.3