src/ai/ai.h
branchgamebalance
changeset 9913 e79cd19772dd
parent 9910 0b2aebc8283e
equal deleted inserted replaced
9912:1ac8aac92385 9913:e79cd19772dd
    41 void AI_StartNewAI(PlayerID player);
    41 void AI_StartNewAI(PlayerID player);
    42 void AI_PlayerDied(PlayerID player);
    42 void AI_PlayerDied(PlayerID player);
    43 void AI_RunGameLoop();
    43 void AI_RunGameLoop();
    44 void AI_Initialize();
    44 void AI_Initialize();
    45 void AI_Uninitialize();
    45 void AI_Uninitialize();
    46 int32 AI_DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc);
    46 CommandCost AI_DoCommand(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc);
    47 int32 AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback);
    47 CommandCost AI_DoCommandCc(TileIndex tile, uint32 p1, uint32 p2, uint32 flags, uint procc, CommandCallback* callback);
    48 
    48 
    49 /** Is it allowed to start a new AI.
    49 /** Is it allowed to start a new AI.
    50  * This function checks some boundries to see if we should launch a new AI.
    50  * This function checks some boundries to see if we should launch a new AI.
    51  * @return True if we can start a new AI.
    51  * @return True if we can start a new AI.
    52  */
    52  */