(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.

This commit is contained in:
rubidium
2007-06-17 21:26:57 +00:00
parent f5776a8c6b
commit 5938dea88d
2 changed files with 33 additions and 11 deletions

View File

@@ -40,9 +40,9 @@ enum Subdirectory {
* Types of searchpaths OpenTTD might use
*/
enum Searchpath {
SP_WORKING_DIR, ///< Search in the working directory
SP_PERSONAL_DIR, ///< Search in the personal directory
SP_SHARED_DIR, ///< Search in the shared directory, like 'Shared Files' under Windows
SP_WORKING_DIR, ///< Search in the working directory
SP_BINARY_DIR, ///< Search in the directory where the binary resides
SP_INSTALLATION_DIR, ///< Search in the installation directory
SP_APPLICATION_BUNDLE_DIR, ///< Search within the application bundle