ai_types.hpp

Go to the documentation of this file.
00001 /* $Id: ai_types.hpp 18555 2009-12-19 23:46:15Z 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 
00077 #ifndef AI_TYPES_HPP
00078 #define AI_TYPES_HPP
00079 
00080 #include "../../core/overflowsafe_type.hpp"
00081 #include "../../company_type.h"
00082 #include <squirrel.h>
00083 
00084 /* Define all types here, so we don't have to include the whole _type.h maze */
00085 typedef uint BridgeType;     
00086 typedef byte CargoID;        
00087 class CommandCost;           
00088 typedef uint16 EngineID;     
00089 typedef uint16 GroupID;      
00090 typedef uint16 IndustryID;   
00091 typedef uint8 IndustryType;  
00092 typedef OverflowSafeInt64 Money; 
00093 typedef uint16 SignID;       
00094 typedef uint16 StationID;    
00095 typedef uint16 StringID;     
00096 typedef uint16 SubsidyID;    
00097 typedef uint32 TileIndex;    
00098 typedef uint16 TownID;       
00099 typedef uint16 VehicleID;    
00100 
00101 /* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
00102 typedef uint AIErrorType;    
00103 typedef BridgeType BridgeID; 
00104 
00105 #endif /* AI_TYPES_HPP */

Generated on Sat Jul 31 21:37:44 2010 for OpenTTD by  doxygen 1.6.1