Skip to content

Commit

Permalink
botlib issues refs #3
Browse files Browse the repository at this point in the history
  • Loading branch information
IR4T4 committed May 6, 2012
1 parent 9090305 commit 2554250
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions src/game/g_active.c
Expand Up @@ -245,7 +245,6 @@ void G_SetClientSound(gentity_t *ent)
PushBot
==============
*/
void BotVoiceChatAfterIdleTime(int client, const char *id, int mode, int delay, qboolean voiceonly, int idleTime, qboolean forceIfDead);

void PushBot(gentity_t *ent, gentity_t *other)
{
Expand Down Expand Up @@ -359,7 +358,6 @@ qboolean ReadyToConstruct(gentity_t *ent, gentity_t *constructible, qboolean upd
return qtrue;
}

void BotSetBlockEnt(int client, int blocker);
/*
==============
CheckBotImpacts
Expand Down
9 changes: 0 additions & 9 deletions src/game/g_cmds.c
Expand Up @@ -33,7 +33,6 @@

#include "g_local.h"

void BotDebug(int clientNum);
void GetBotAutonomies(int clientNum, int *weapAutonomy, int *moveAutonomy);
qboolean G_IsOnFireteam(int entityNum, fireteamData_t **teamNum);

Expand Down Expand Up @@ -847,8 +846,6 @@ void Cmd_Kill_f(gentity_t *ent)
player_die(ent, ent, ent, (g_gamestate.integer == GS_PLAYING) ? 100000 : 135, MOD_SUICIDE);
}

void BotRecordTeamChange(int client);

void G_TeamDataForString(const char *teamstr, int clientNum, team_t *team, spectatorState_t *sState, int *specClient)
{
*sState = SPECTATOR_NOT;
Expand Down Expand Up @@ -1887,8 +1884,6 @@ void Cmd_Say_f(gentity_t *ent, int mode, qboolean arg0)
G_Say(ent, NULL, mode, ConcatArgs(((arg0) ? 0 : 1)));
}

extern void BotRecordVoiceChat(int client, int destclient, const char *id, int mode, qboolean noResponse);

// NERVE - SMF
void G_VoiceTo(gentity_t *ent, gentity_t *other, int mode, const char *id, qboolean voiceonly)
{
Expand Down Expand Up @@ -1956,10 +1951,6 @@ void G_VoiceTo(gentity_t *ent, gentity_t *other, int mode, const char *id, qbool
cmd = "vchat";
}

// RF, record this chat so bots can parse them
// bots respond with voiceonly, so we check for this so they dont keep responding to responses
BotRecordVoiceChat(ent->s.number, other->s.number, id, mode, voiceonly == 2);

if (voiceonly == 2)
{
voiceonly = qfalse;
Expand Down
1 change: 0 additions & 1 deletion src/game/g_combat.c
Expand Up @@ -370,7 +370,6 @@ char *modNames[] =
player_die
==================
*/
void BotRecordTeamDeath(int client);

void player_die(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath)
{
Expand Down

0 comments on commit 2554250

Please sign in to comment.