src/ai/ai.h
branchnoai
changeset 9682 d031eb183733
parent 9467 730cae121ae3
child 10455 22c441f5adf9
equal deleted inserted replaced
9681:3997f1ce203a 9682:d031eb183733
     2 
     2 
     3 /** @file ai.h declaration of functions for the AI system */
     3 /** @file ai.h declaration of functions for the AI system */
     4 
     4 
     5 #ifndef AI_H
     5 #ifndef AI_H
     6 #define AI_H
     6 #define AI_H
       
     7 
       
     8 #include "api/ai_event_types.hpp"
     7 
     9 
     8 void AI_StartNewAI(PlayerID player);
    10 void AI_StartNewAI(PlayerID player);
     9 void AI_PlayerDied(PlayerID player);
    11 void AI_PlayerDied(PlayerID player);
    10 void AI_RunGameLoop();
    12 void AI_RunGameLoop();
    11 void AI_Initialize();
    13 void AI_Initialize();
    12 void AI_Uninitialize();
    14 void AI_Uninitialize();
    13 bool AI_AllowNewAI();
    15 bool AI_AllowNewAI();
    14 void AI_ForceAI(const char *forced_ai);
    16 void AI_ForceAI(const char *forced_ai);
       
    17 void AI_Event(PlayerID player, AIEvent *event);
    15 
    18 
    16 void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2);
    19 void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2);
    17 
    20 
    18 #endif /* AI_H */
    21 #endif /* AI_H */