src/ai/api/ai_transactionmode.hpp
branchnoai
changeset 9475 58c20c0e394f
parent 9474 2b53e154a8d5
child 9486 a9b5f6b8667c
equal deleted inserted replaced
9474:2b53e154a8d5 9475:58c20c0e394f
    37 	std::queue<AITransactionModeCommand> reverse_stack;
    37 	std::queue<AITransactionModeCommand> reverse_stack;
    38 	bool stopped;
    38 	bool stopped;
    39 	int32 costs;
    39 	int32 costs;
    40 
    40 
    41 protected:
    41 protected:
       
    42 	/**
       
    43 	 * The callback proc for Transaction mode.
       
    44 	 */
    42 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    45 	static bool ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, int32 costs);
    43 
    46 
    44 public:
    47 public:
    45 	/**
    48 	/**
    46 	 * Creating instance of this class switches the build mode to Transaction.
    49 	 * Creating instance of this class switches the build mode to Transaction.