src/ai/ai.h
author truebrain
Tue, 26 Feb 2008 21:35:22 +0000
branchnoai
changeset 9782 e8d8d8894f23
parent 9682 d031eb183733
child 10455 22c441f5adf9
permissions -rw-r--r--
(svn r12277) [NoAI] -Change: overlay GlobalPointer with local instance access and create sub-node to contain data
[NoAI] -Change: relay PrintFunc to redirect via overlay and supply AIController with Print, in order to establish bypass of the log created by the AI
[/STARTREK VOYAGER]
/* $Id$ */

/** @file ai.h declaration of functions for the AI system */

#ifndef AI_H
#define AI_H

#include "api/ai_event_types.hpp"

void AI_StartNewAI(PlayerID player);
void AI_PlayerDied(PlayerID player);
void AI_RunGameLoop();
void AI_Initialize();
void AI_Uninitialize();
bool AI_AllowNewAI();
void AI_ForceAI(const char *forced_ai);
void AI_Event(PlayerID player, AIEvent *event);

void CcAI(bool success, TileIndex tile, uint32 p1, uint32 p2);

#endif /* AI_H */