B_aitree.c

This module implements the AI tree
 

Uses:

b_goal.c
b_fuzzy.c
b_fight.c
b_move.c

Exports:
 

// Executes bot AI.
//
// Parameter:            bot : the bot to execute AI for
// Returns:              -
//

void (entity bot) BotAI;

// Stops all the bot battles.
//
// Parameter:            -
// Returns:              -
//
 
void () StopAllBotBattles;

// Removes the given player as (possible) enemy.
// Called when a client or bot leaves the game.
//
// Parameter:            e : possible enemy
// Returns:              -
//

void (entity e) RemoveBotEnemy;

// Makes all bots enter the intermission AI.
// During the intermission the scores are displayed and
// the players can't do anything.
//
// Parameter:            -
// Returns:              -
//

void () BotIntermission;