src/ai/api/ai_execmode.cpp
branchnoai
changeset 10339 ce6cd68d9eb8
parent 9833 89a64246458f
child 11007 d57c2e53679b
equal deleted inserted replaced
10338:fb4e0030116d 10339:ce6cd68d9eb8
     1 /* $Id$ */
     1 /* $Id$ */
     2 
     2 
     3 /** @file ai_execmode.cpp Implementation of AIExecMode. */
     3 /** @file ai_execmode.cpp Implementation of AIExecMode. */
     4 
     4 
     5 #include "ai_execmode.hpp"
     5 #include "ai_execmode.hpp"
       
     6 #include "../../command_type.h"
     6 
     7 
     7 bool AIExecMode::ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, CommandCost costs)
     8 bool AIExecMode::ModeProc(TileIndex tile, uint32 p1, uint32 p2, uint procc, CommandCost costs)
     8 {
     9 {
     9 	/* In execution mode we only return 'true', telling the DoCommand it
    10 	/* In execution mode we only return 'true', telling the DoCommand it
    10 	 *  should continue with the real execution of the command. */
    11 	 *  should continue with the real execution of the command. */