fileio_type.h

Go to the documentation of this file.
00001 /* $Id: fileio_type.h 19507 2010-03-23 22:25:43Z smatz $ */
00002 
00003 /*
00004  * This file is part of OpenTTD.
00005  * 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.
00006  * 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.
00007  * 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/>.
00008  */
00009 
00012 #ifndef FILEIO_TYPE_H
00013 #define FILEIO_TYPE_H
00014 
00015 #include "core/enum_type.hpp"
00016 
00020 enum Subdirectory {
00021   BASE_DIR,      
00022   SAVE_DIR,      
00023   AUTOSAVE_DIR,  
00024   SCENARIO_DIR,  
00025   HEIGHTMAP_DIR, 
00026   GM_DIR,        
00027   DATA_DIR,      
00028   LANG_DIR,      
00029   AI_DIR,        
00030   AI_LIBRARY_DIR,
00031   NUM_SUBDIRS,   
00032   NO_DIRECTORY,  
00033 };
00034 
00038 enum Searchpath {
00039   SP_FIRST_DIR,
00040   SP_WORKING_DIR = SP_FIRST_DIR, 
00041   SP_PERSONAL_DIR,               
00042   SP_SHARED_DIR,                 
00043   SP_BINARY_DIR,                 
00044   SP_INSTALLATION_DIR,           
00045   SP_APPLICATION_BUNDLE_DIR,     
00046   SP_AUTODOWNLOAD_DIR,           
00047   NUM_SEARCHPATHS
00048 };
00049 
00050 DECLARE_POSTFIX_INCREMENT(Searchpath)
00051 
00052 #endif /* FILEIO_TYPE_H */

Generated on Sun Jan 9 16:01:54 2011 for OpenTTD by  doxygen 1.6.1