lilium-voyager/code/game
Zack Middleton cabc32362c Don't pick duplicate random bots until all bot types are added
Don't add the same bot to multiple teams until there are as many
bots on the server as there are bot types.

Previously each team would have unique bots until all bot types
were added to the team but other teams may have the same bot. Now
there will not be any duplicate bots until there are more bots than
bot types.

Now Quake 3 (32 bot types) in 16 vs 16 bot CTF will not contain
duplicate bot types. (You have to increase memory in code/game/
g_mem.c in order to add 32 bots though.)

I had to change G_AddRandomBot() to use 'addbot random' or else the
same bot could be added to red and blue teams. The bot was selected
and stored in console command buffer so game doesn't know not to
select the bot again.
2017-06-29 19:41:17 -05:00
..
ai_chat.c Don't use uninitialized ps from BotAI_GetClientState 2017-06-07 19:02:20 -05:00
ai_chat.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_cmd.c Stop caching sv_maxclients in bot code 2017-06-07 19:00:28 -05:00
ai_cmd.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_dmnet.c Fix bot team order to kill last player it killed 2016-07-11 05:20:36 -05:00
ai_dmnet.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_dmq3.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
ai_dmq3.h REFACTOR [a vs an] 2012-06-18 16:31:16 +00:00
ai_main.c Don't use uninitialized ps from BotAI_GetClientState 2017-06-07 19:02:20 -05:00
ai_main.h Fix bot's teamleader name field being too short 2014-12-04 16:50:28 -06:00
ai_team.c Don't use uninitialized ps from BotAI_GetClientState 2017-06-07 19:02:20 -05:00
ai_team.h * Added STATUS 2005-10-29 01:53:09 +00:00
ai_vcmd.c Fix more warnings 2014-09-01 13:03:06 +01:00
ai_vcmd.h * Added STATUS 2005-10-29 01:53:09 +00:00
bg_lib.c Avoid 'register' declarations 2016-11-01 16:37:38 +00:00
bg_lib.h - Merge http://svn.icculus.org/tremulous?view=rev&revision=2185, patch by Chris Schwarz 2011-06-15 15:31:37 +00:00
bg_local.h Code cleanup patch by devhc 2011-02-08 18:19:31 +00:00
bg_misc.c Fix a few warnings 2014-08-30 17:29:23 +01:00
bg_pmove.c Fix (unused) watertype checks in PM_WaterMove 2015-07-30 19:33:28 -05:00
bg_public.h REFACTOR [reletive -> relative] 2012-06-18 16:32:03 +00:00
bg_slidemove.c Fix Coverity warning that endVelocity is uninitialized 2017-06-07 19:51:32 -05:00
chars.h http://www.angryflower.com/aposter.html 2011-02-09 05:51:33 +00:00
g_active.c Allow spectators to use noclip cheat 2017-06-24 20:27:24 -05:00
g_arenas.c Bugzilla #4753 2010-10-25 06:39:11 +00:00
g_bot.c Don't pick duplicate random bots until all bot types are added 2017-06-29 19:41:17 -05:00
g_client.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_cmds.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_combat.c Fix some typos in comments 2016-07-26 14:43:41 +02:00
g_items.c Fix more warnings 2014-09-01 13:03:06 +01:00
g_local.h Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_main.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_mem.c add a missing '\n', remove some unwanted ones 2012-06-18 16:16:57 +00:00
g_misc.c Batch of bug fixes for gamecode. Patch compiled and log message written by Tobias Kuehnhammer (#5144) 2011-08-01 11:39:33 +00:00
g_missile.c Fix grenade rotation ends always the orientation (#5053), patch by Eugene C. 2011-06-24 13:15:03 +00:00
g_mover.c Fix a few warnings 2014-08-30 17:29:23 +01:00
g_public.h Refactoring patch by DevHC 2011-05-11 14:21:27 +00:00
g_rankings.c * Added STATUS 2005-10-29 01:53:09 +00:00
g_rankings.h * Added STATUS 2005-10-29 01:53:09 +00:00
g_session.c Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
g_spawn.c REFACTOR 2012-06-18 16:27:00 +00:00
g_svcmds.c Don't start game entity loops at index 1 2017-06-07 20:32:57 -05:00
g_syscalls.asm rename trap_Printf() to trap_Print() in the game module, as that function has nothing to do with printf()-like formatting 2012-06-19 14:51:02 +00:00
g_syscalls.c Fix native trap_BotMutateGoalFuzzyLogic 2014-03-02 22:53:15 -06:00
g_target.c REFACTOR [reletive -> relative] 2012-06-18 16:32:03 +00:00
g_team.c Fix Team Arena team base models not dropping to floor 2017-06-24 20:15:02 -05:00
g_team.h Bug 5094 - Code cleanup, patch by Zack Middleton and DevHC. Fixes unused-but-set gcc warnings 2011-07-29 12:27:00 +00:00
g_trigger.c Removed duplicate setting of contents for trigger_hurt. 2011-11-28 17:36:58 +00:00
g_utils.c Fix spawn/freed entity logic (specifically harvester skulls) 2017-06-02 22:11:52 -05:00
g_weapon.c Let's actually use MOD_CHAINGUN! From Ensiform. 2012-06-18 17:12:35 +00:00
inv.h * Added STATUS 2005-10-29 01:53:09 +00:00
match.h * Added STATUS 2005-10-29 01:53:09 +00:00
syn.h * Added STATUS 2005-10-29 01:53:09 +00:00