src/ai/core/ai.h
author truelight
Thu, 15 Mar 2007 13:36:45 +0000
branchnoai
changeset 9404 ef9e171617a3
parent 9388 032008c3f6e3
permissions -rw-r--r--
(svn r9201) [NoAI] -Change: make adding a default-constructor for DefSQClass optional
-Add: added AIFactory code for squirrel. Now scripts can make theirself
known to the core in a simular way as in C++. Just make sure to add
your AIFactory instance to the GLOBAL space!
-Add: even more function in SquirrelEngine
/* $Id$ */

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

#ifndef AI_H
#define AI_H

// ai.c
void AI_StartNewAI(PlayerID player);
void AI_PlayerDied(PlayerID player);
void AI_RunGameLoop();
void AI_Initialize();
void AI_Uninitialize();
bool AI_AllowNewAI();

#endif /* AI_H */