From ebc3de4a82eef3c226ffa79ac2b72e67dc5499eb Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Feb 2009 22:59:50 +0000 Subject: cleanup svn-id: r38764 --- engines/sci/include/engine.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'engines/sci/include/engine.h') diff --git a/engines/sci/include/engine.h b/engines/sci/include/engine.h index 2a588153db..5c2ace7ee0 100644 --- a/engines/sci/include/engine.h +++ b/engines/sci/include/engine.h @@ -51,28 +51,10 @@ struct menubar_t; #define FREESCI_CURRENT_SAVEGAME_VERSION 8 #define FREESCI_MINIMUM_SAVEGAME_VERSION 8 -#ifdef WIN32 -# define FREESCI_GAMEDIR "FreeSCI" -# define STRLEN_FREESCI_GAMEDIR 7 -#else -# define FREESCI_GAMEDIR ".freesci" -# define STRLEN_FREESCI_GAMEDIR 8 -#endif - -#define FREESCI_CONFFILE "config" -#define FREESCI_SAVEDIR_PREFIX "save_" -#define FREESCI_CONFFILE_DOS "freesci.cfg" -#define FREESCI_GAMES_DIR "games" - -#define FREESCI_FILE_STATE "state" -#define FREESCI_ID_SUFFIX ".id" -/* Used for .id files ("real" save games) */ - #define MAX_GAMEDIR_SIZE 32 /* Used for subdirectory inside of "~/.freesci/" */ #define MAX_SAVEGAME_NR 20 /* Maximum number of savegames */ -#define MAX_SAVE_DIR_SIZE MAXPATHLEN + STRLEN_FREESCI_GAMEDIR + MAX_GAMEDIR_SIZE + 4 -/* +4 for the three slashes and trailing \0 */ +#define MAX_SAVE_DIR_SIZE MAXPATHLEN /* values for EngineState.restarting_flag */ #define SCI_GAME_IS_NOT_RESTARTING 0 -- cgit v1.2.3