1
/* $Id: fileio_type.h 15126 2009-01-17 16:53:32Z rubidium $ */
3
/** @file fileio_type.h Types for Standard In/Out file operations */
8
#include "core/enum_type.hpp"
11
* The different kinds of subdirectories OpenTTD uses
14
BASE_DIR, ///< Base directory for all subdirectories
15
SAVE_DIR, ///< Base directory for all savegames
16
AUTOSAVE_DIR, ///< Subdirectory of save for autosaves
17
SCENARIO_DIR, ///< Base directory for all scenarios
18
HEIGHTMAP_DIR, ///< Subdirectory of scenario for heightmaps
19
GM_DIR, ///< Subdirectory for all music
20
DATA_DIR, ///< Subdirectory for all data (GRFs, sample.cat, intro game)
21
LANG_DIR, ///< Subdirectory for all translation files
22
AI_DIR, ///< Subdirectory for all AI files
23
AI_LIBRARY_DIR,///< Subdirectory for all AI libraries
24
NUM_SUBDIRS, ///< Number of subdirectories
25
NO_DIRECTORY, ///< A path without any base directory
29
* Types of searchpaths OpenTTD might use
33
SP_WORKING_DIR = SP_FIRST_DIR, ///< Search in the working directory
34
SP_PERSONAL_DIR, ///< Search in the personal directory
35
SP_SHARED_DIR, ///< Search in the shared directory, like 'Shared Files' under Windows
36
SP_BINARY_DIR, ///< Search in the directory where the binary resides
37
SP_INSTALLATION_DIR, ///< Search in the installation directory
38
SP_APPLICATION_BUNDLE_DIR, ///< Search within the application bundle
39
SP_AUTODOWNLOAD_DIR, ///< Search within the autodownload directory
43
DECLARE_POSTFIX_INCREMENT(Searchpath);
45
#endif /* FILEIO_TYPE_H */