src/ai/api/ai_execmode.hpp
branchnoai
changeset 9486 a9b5f6b8667c
parent 9475 58c20c0e394f
child 9520 f7cf8bea10db
equal deleted inserted replaced
9485:df09b849ca60 9486:a9b5f6b8667c
    21 
    21 
    22 protected:
    22 protected:
    23 	/**
    23 	/**
    24 	 * The callback proc for Execute mode.
    24 	 * The callback proc for Execute mode.
    25 	 */
    25 	 */
    26 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    26 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, int32 costs);
    27 
    27 
    28 public:
    28 public:
    29 	/**
    29 	/**
    30 	 * Creating instance of this class switches the build mode to Execute.
    30 	 * Creating instance of this class switches the build mode to Execute.
    31 	 * @note when the instance is destroyed, he restores the mode that was
    31 	 * @note when the instance is destroyed, he restores the mode that was