# ai_types.hpp

Go to the documentation of this file.

    00001 /* $Id: ai_types.hpp 15519 2009-02-19 07:40:08Z yexo $ */
    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 typedef uint16 WaypointID;
    00027
    00028 /* Types we defined ourself, as the OpenTTD core doesn't have them (yet) */
    00029 typedef uint AIErrorType;
    00030 typedef BridgeType BridgeID;
    00031 typedef uint16 SubsidyID;
    00032
    00033 #ifndef _SQUIRREL_H_
    00034 /* Life becomes easier when we can tell about a function it needs the VM, but
    00035  *  without really including 'squirrel.h'. */
    00036 typedef struct SQVM *HSQUIRRELVM;
    00037 typedef int SQInteger;
    00038 typedef struct SQObject HSQOBJECT;
    00039 #endif
    00040
    00041 #endif /* AI_TYPES_HPP */