// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: b_game.h 694 2010-07-09 03:07:45Z wesleyjohnson $
//
// Copyright (C) 2002 by DooM Legacy Team.
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
//
// $Log: b_game.h,v $
// Revision 1.3  2002/09/28 06:53:11  tonyd
// fixed CR problem, fixed game options crash
//
// Revision 1.2  2002/09/27 16:40:08  tonyd
// First commit of acbot
//

// bot_game.h
#include "d_ticcmd.h"
//#include "doomdef.h"
#include "d_player.h"

#ifndef __BOTGAME_H__
#define __BOTGAME_H__

typedef struct
{
	int colour;
	char* name;
} BOTINFOTYPE;

extern BOTINFOTYPE botinfo[MAXPLAYERS];

void B_AddCommands(void);
void B_BuildTiccmd(player_t* p, ticcmd_t* cmd);
void B_InitBots(void);
void B_InitNodes(void);
void Command_AddBot(void);

bot_t* B_CreateBot();
void B_SpawnBot(bot_t* p);

////////// CTF ///////////

extern boolean ctf;
//////////////////////////

#endif
