OpenTTD Source
1.11.0-beta2
|
Go to the documentation of this file.
60 #define MAKE_FIOS_TYPE(abstract, detailed) ((abstract) | ((detailed) << FT_NUMBITS))
@ SP_AUTODOWNLOAD_DIR
Search within the autodownload directory.
@ FT_SCENARIO
old or new scenario
@ SAVE_DIR
Base directory for all savegames.
@ SP_PERSONAL_DIR
Search in the personal directory.
@ DFT_FIOS_DIR
A directory entry.
@ BASESET_DIR
Subdirectory for all base data (base sets, intro game)
SaveLoadOperation
Operation performed on the file.
@ GAME_LIBRARY_DIR
Subdirectory for all GS libraries.
@ SCREENSHOT_DIR
Subdirectory for all screenshots.
@ SP_AUTODOWNLOAD_PERSONAL_DIR
Search within the autodownload directory located in the personal directory.
Searchpath
Types of searchpaths OpenTTD might use.
@ SLO_CHECK
Load file for checking and/or preview.
@ NUM_SUBDIRS
Number of subdirectories.
@ DFT_GAME_FILE
Save game or scenario file.
@ HEIGHTMAP_DIR
Subdirectory of scenario for heightmaps.
@ DFT_FIOS_DRIVE
A drive (letter) entry.
@ SP_AUTODOWNLOAD_PERSONAL_DIR_XDG
Search within the autodownload directory located in the personal directory (XDG variant)
@ SP_INSTALLATION_DIR
Search in the installation directory.
@ AUTOSAVE_DIR
Subdirectory of save for autosaves.
DetailedFileType GetDetailedFileType(FiosType fios_type)
Extract the detailed file type from a FiosType.
@ OLD_GM_DIR
Old subdirectory for the music.
#define DECLARE_POSTFIX_INCREMENT(enum_type)
Some enums need to have allowed incrementing (i.e.
AbstractFileType
The different abstract types of files that the system knows about.
@ BASE_DIR
Base directory for all subdirectories.
@ SLO_LOAD
File is being loaded.
@ SLO_SAVE
File is being saved.
@ FT_NUMBITS
Number of bits required for storing a AbstractFileType value.
@ AI_DIR
Subdirectory for all AI files.
@ SP_APPLICATION_BUNDLE_DIR
Search within the application bundle.
@ GAME_DIR
Subdirectory for all game scripts.
@ SCENARIO_DIR
Base directory for all scenarios.
@ FT_INVALID
Invalid or unknown file type.
@ SP_SHARED_DIR
Search in the shared directory, like 'Shared Files' under Windows.
@ DFT_OLD_GAME_FILE
Old save game or scenario file.
@ FT_SAVEGAME
old or new savegame
@ SP_WORKING_DIR
Search in the working directory.
@ NEWGRF_DIR
Subdirectory for all NewGRFs.
@ DFT_FIOS_DIRECT
Direct filename.
@ DFT_INVALID
Unknown or invalid file.
@ SP_BINARY_DIR
Search in the directory where the binary resides.
@ LANG_DIR
Subdirectory for all translation files.
DetailedFileType
Kinds of files in each AbstractFileType.
@ NO_DIRECTORY
A path without any base directory.
@ FT_HEIGHTMAP
heightmap file
Subdirectory
The different kinds of subdirectories OpenTTD uses.
FiosType
Elements of a file system that are recognized.
@ AI_LIBRARY_DIR
Subdirectory for all AI libraries.
@ SLO_INVALID
Unknown file operation.
@ DFT_FIOS_PARENT
A parent directory entry.
@ DFT_HEIGHTMAP_BMP
BMP file.
AbstractFileType GetAbstractFileType(FiosType fios_type)
Extract the abstract file type from a FiosType.
#define MAKE_FIOS_TYPE(abstract, detailed)
Construct an enum value for FiosType as a combination of an abstract and a detailed file type.
@ OLD_DATA_DIR
Old subdirectory for the data.
@ DFT_HEIGHTMAP_PNG
PNG file.
@ FT_MASK
Bitmask for extracting an abstract file type.