ai_types.hpp

Go to the documentation of this file.
00001 /* $Id: ai_types.hpp 15060 2009-01-13 15:44:36Z smatz $ */
00002 
00005 #ifndef AI_TYPES_HPP
00006 #define AI_TYPES_HPP
00007 
00008 #include "../../core/overflowsafe_type.hpp"
00009 #include "../../company_type.h"
00010 
00011 /* Define all types here, so we don't have to include the whole _type.h maze */
00012 typedef uint BridgeType;     
00013 typedef byte CargoID;        
00014 class CommandCost;           
00015 typedef uint16 EngineID;     
00016 typedef uint16 GroupID;      
00017 typedef uint16 IndustryID;   
00018 typedef uint8 IndustryType;  
00019 typedef OverflowSafeInt64 Money; 
00020 typedef uint16 SignID;       
00021 typedef uint16 StationID;    
00022 typedef uint16 StringID;     
00023 typedef uint32 TileIndex;    
00024 typedef uint16 TownID;       
00025 typedef uint16 VehicleID;    
00026 
00027 /* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
00028 typedef uint AIErrorType;    
00029 typedef BridgeType BridgeID; 
00030 typedef uint16 SubsidyID;    
00031 
00032 #ifndef _SQUIRREL_H_
00033 /* Life becomes easier when we can tell about a function it needs the VM, but
00034  *  without really including 'squirrel.h'. */
00035 typedef struct SQVM *HSQUIRRELVM;  
00036 typedef int SQInteger;             
00037 typedef struct SQObject HSQOBJECT; 
00038 #endif
00039 
00040 #endif /* AI_TYPES_HPP */

Generated on Mon Feb 16 23:12:05 2009 for openttd by  doxygen 1.5.6