Files
@ r19293:3f2cb83a321f
Branch filter:
Location: cpp/openttd-patchpack/source/src/fileio_type.h - annotation
r19293:3f2cb83a321f
2.4 KiB
text/x-c
(svn r24196) -Update from WebTranslator v3.0:
afrikaans - 33 changes by telanus
belarusian - 6 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 4 changes by Paragulis
dutch - 8 changes by habell
english_AU - 19 changes by tomas4g
english_US - 4 changes by Rubidium
finnish - 4 changes by jpx_
french - 4 changes by OliTTD
german - 4 changes by NG
italian - 4 changes by lorenzodv
lithuanian - 22 changes by Stabilitronas
polish - 4 changes by wojteks86
russian - 6 changes by KorneySan
afrikaans - 33 changes by telanus
belarusian - 6 changes by KorneySan, Wowanxm
croatian - 4 changes by VoyagerOne
czech - 4 changes by Paragulis
dutch - 8 changes by habell
english_AU - 19 changes by tomas4g
english_US - 4 changes by Rubidium
finnish - 4 changes by jpx_
french - 4 changes by OliTTD
german - 4 changes by NG
italian - 4 changes by lorenzodv
lithuanian - 22 changes by Stabilitronas
polish - 4 changes by wojteks86
russian - 6 changes by KorneySan
r10039:727fb45b0424 r10039:727fb45b0424 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r12768:980ae0491352 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r18373:0f178296b341 r18373:0f178296b341 r18003:2d66578e7015 r18003:2d66578e7015 r10039:727fb45b0424 r18845:66bf168f1100 r18845:66bf168f1100 r18747:12d6e8d373e7 r18754:42d72cb83fe7 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r10793:5ba2151e71e9 r10039:727fb45b0424 r10039:727fb45b0424 r10039:727fb45b0424 r14900:c679fdaeebe6 r10039:727fb45b0424 r10039:727fb45b0424 | /* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
*/
/** @file fileio_type.h Types for Standard In/Out file operations */
#ifndef FILEIO_TYPE_H
#define FILEIO_TYPE_H
#include "core/enum_type.hpp"
/**
* The different kinds of subdirectories OpenTTD uses
*/
enum Subdirectory {
BASE_DIR, ///< Base directory for all subdirectories
SAVE_DIR, ///< Base directory for all savegames
AUTOSAVE_DIR, ///< Subdirectory of save for autosaves
SCENARIO_DIR, ///< Base directory for all scenarios
HEIGHTMAP_DIR, ///< Subdirectory of scenario for heightmaps
OLD_GM_DIR, ///< Old subdirectory for the music
OLD_DATA_DIR, ///< Old subdirectory for the data.
BASESET_DIR, ///< Subdirectory for all base data (base sets, intro game)
NEWGRF_DIR, ///< Subdirectory for all NewGRFs
LANG_DIR, ///< Subdirectory for all translation files
AI_DIR, ///< Subdirectory for all %AI files
AI_LIBRARY_DIR,///< Subdirectory for all %AI libraries
GAME_DIR, ///< Subdirectory for all game scripts
GAME_LIBRARY_DIR, ///< Subdirectory for all GS libraries
NUM_SUBDIRS, ///< Number of subdirectories
NO_DIRECTORY, ///< A path without any base directory
};
/**
* Types of searchpaths OpenTTD might use
*/
enum Searchpath {
SP_FIRST_DIR,
SP_WORKING_DIR = SP_FIRST_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_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
SP_AUTODOWNLOAD_DIR, ///< Search within the autodownload directory
NUM_SEARCHPATHS
};
DECLARE_POSTFIX_INCREMENT(Searchpath)
#endif /* FILEIO_TYPE_H */
|