src/ai/api/ai_object.hpp
branchnoai
changeset 9475 58c20c0e394f
parent 9473 dcbcd1c4496d
child 9486 a9b5f6b8667c
equal deleted inserted replaced
9474:2b53e154a8d5 9475:58c20c0e394f
     6 #define AI_OBJECT_HPP
     6 #define AI_OBJECT_HPP
     7 
     7 
     8 #include "../../stdafx.h"
     8 #include "../../stdafx.h"
     9 #include "../../functions.h"
     9 #include "../../functions.h"
    10 
    10 
       
    11 /**
       
    12  * The callback function for Mode-classes.
       
    13  */
    11 typedef bool (AIModeProc)(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    14 typedef bool (AIModeProc)(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    12 
    15 
    13 /**
    16 /**
    14  * Uper-parent object of all API classes. You should never use this class in
    17  * Uper-parent object of all API classes. You should never use this class in
    15  *   your AI, as it doesn't publish any public functions. It is used
    18  *   your AI, as it doesn't publish any public functions. It is used