|
OpenTTD Source 20260421-master-gc2fbc6fdeb
|
Types for standard in/out file operations. More...
Go to the source code of this file.
Data Structures | |
| struct | FiosType |
| Elements of a file system that are recognized. More... | |
| class | FileHandle |
Types for standard in/out file operations.
Definition in file fileio_type.h.
|
strong |
The different abstract types of files that the system knows about.
| Enumerator | |
|---|---|
| None | nothing to do |
| Savegame | old or new savegame |
| Scenario | old or new scenario |
| Heightmap | heightmap file |
| TownData | town data file |
| Invalid | Invalid or unknown file type. |
Definition at line 17 of file fileio_type.h.
|
strong |
Kinds of files in each AbstractFileType.
Definition at line 28 of file fileio_type.h.
|
strong |
Operation performed on the file.
| Enumerator | |
|---|---|
| Check | Load file for checking and/or preview. |
| Load | File is being loaded. |
| Save | File is being saved. |
| Invalid | Unknown file operation. |
Definition at line 52 of file fileio_type.h.
|
strong |
Types of searchpaths OpenTTD might use.
Definition at line 113 of file fileio_type.h.
|
strong |
The different kinds of subdirectories OpenTTD uses.
| Enumerator | |
|---|---|
| Base | Base directory for all subdirectories. |
| Save | Base directory for all savegames. |
| Autosave | Subdirectory of save for autosaves. |
| Scenario | Base directory for all scenarios. |
| Heightmap | Subdirectory of scenario for heightmaps. |
| OldGm | Old subdirectory for the music. |
| OldData | Old subdirectory for the data. |
| Baseset | Subdirectory for all base data (base sets, intro game). |
| NewGrf | Subdirectory for all NewGRFs. |
| Lang | Subdirectory for all translation files. |
| Ai | Subdirectory for all AI files. |
| AiLibrary | Subdirectory for all AI libraries. |
| Gs | Subdirectory for all game scripts. |
| GsLibrary | Subdirectory for all GS libraries. |
| Screenshot | Subdirectory for all screenshots. |
| SocialIntegration | Subdirectory for all social integration plugins. |
| Docs | Subdirectory for documentation. |
| End | End marker. |
| None | A path without any base directory. |
Definition at line 88 of file fileio_type.h.
|
constexpr |
Definition at line 80 of file fileio_type.h.
|
constexpr |
Definition at line 72 of file fileio_type.h.
|
constexpr |
Definition at line 73 of file fileio_type.h.
|
constexpr |
Definition at line 70 of file fileio_type.h.
|
constexpr |
Definition at line 75 of file fileio_type.h.
|
constexpr |
Definition at line 83 of file fileio_type.h.
|
constexpr |
Definition at line 81 of file fileio_type.h.
|
constexpr |
Definition at line 78 of file fileio_type.h.
|
constexpr |
Definition at line 76 of file fileio_type.h.
|
constexpr |
Definition at line 71 of file fileio_type.h.
|
constexpr |
Definition at line 79 of file fileio_type.h.
|
constexpr |
Definition at line 77 of file fileio_type.h.