From 112feada4e68ecae1bdbd380f9b8d4fac15bd396 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 3 Nov 2008 20:00:36 +0000 Subject: - Extended some comments - Added @todos to engines/engine.h - Added a FIXME to engines/dialogs.cpp svn-id: r34887 --- engines/engine.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'engines/engine.h') diff --git a/engines/engine.h b/engines/engine.h index 90eea859ef..b8904d56c4 100644 --- a/engines/engine.h +++ b/engines/engine.h @@ -126,22 +126,28 @@ public: virtual void syncSoundSettings(); /** - * Load a game state + * Load a game state. + * @return returns 0 on success, anything else indicates failure + * @todo define proper error values */ virtual int loadGameState(int slot); /** - * Indicates whether a game state can be loaded + * Indicates whether a game state can be loaded. */ virtual bool canLoadGameStateCurrently(); /** - * Save a game state + * Save a game state. + * @return returns 0 on success, anything else indicates failure + * + * @todo define proper error values + * @todo actually we need to pass the user entered name to the engine */ virtual int saveGameState(int slot); /** - * Indicates whether a game state can be saved + * Indicates whether a game state can be saved. */ virtual bool canSaveGameStateCurrently(); -- cgit v1.2.3