[Scummvm-cvs-logs] SF.net SVN: scummvm:[38764] scummvm/trunk/engines/sci/include/engine.h

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Feb 21 23:59:50 CET 2009


Revision: 38764
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38764&view=rev
Author:   fingolfin
Date:     2009-02-21 22:59:50 +0000 (Sat, 21 Feb 2009)

Log Message:
-----------
cleanup

Modified Paths:
--------------
    scummvm/trunk/engines/sci/include/engine.h

Modified: scummvm/trunk/engines/sci/include/engine.h
===================================================================
--- scummvm/trunk/engines/sci/include/engine.h	2009-02-21 22:54:15 UTC (rev 38763)
+++ scummvm/trunk/engines/sci/include/engine.h	2009-02-21 22:59:50 UTC (rev 38764)
@@ -51,28 +51,10 @@
 #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 <gamename>.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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list