Quake-III-Arena/code
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
..
AL 5882 - Update OpenAL Headers to OpenAL Soft 1.15.1 2013-02-17 07:34:41 -06:00
asm Remove unused fpucw from snapvector.asm 2015-07-09 18:35:45 -05:00
autoupdater Use "x86_64" and not "x86-64" like everything else in ioq3. 2017-06-04 02:46:49 -04:00
botlib Fix strncpy usage in botlib 2017-06-07 21:48:01 -05:00
cgame Have spectator always be in first person 2017-06-24 20:25:39 -05:00
client Only allow connectionless print/echo from server/rcon address 2017-06-10 19:15:26 -05:00
game Don't pick duplicate random bots until all bot types are added 2017-06-29 19:41:17 -05:00
jpeg-8c Mark JPEG lib changes, file provided by Simon McVittie 2012-07-01 18:07:56 +00:00
libcurl-7.35.0/curl Fix building with curl on Linux PPC and Sparc 2014-09-09 13:18:28 -04:00
libogg-1.3.2 Rename (already updated) libogg-1.3.1 to libogg-1.3.2 2017-05-23 11:47:26 -05:00
libs Add stripped SDL2 reference dll's to repo 2016-08-16 10:50:24 -04:00
libvorbis-1.3.5 Rename (already updated) libvorbis-1.3.4 to libvorbis-1.3.5 2017-05-23 11:47:26 -05:00
null [null/null_glimp.c] Fix up bitrot in null impl 2016-07-26 10:52:15 +01:00
opus-1.1.4 Rename (already updated) opus-1.1 to opus-1.1.4 2017-05-23 11:47:27 -05:00
opusfile-0.8 Rename (already updated) opusfile-0.5 to opusfile-0.8 2017-05-23 11:47:27 -05:00
q3_ui Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
qcommon Add con_autochat and con_autoclear cvars 2017-06-08 15:46:19 -05:00
renderercommon Add vao cache for static surfaces. 2017-04-28 02:13:25 -07:00
renderergl1 Avoid 'register' declarations 2016-11-01 16:37:38 +00:00
renderergl2 OpenGL2: Remove SF_VAO_MESH. 2017-06-16 16:52:53 -07:00
sdl Correct test for GL_EXT_texture_env_add support 2017-01-26 00:14:31 -08:00
SDL2/include Update SDL2 to 2.0.4 2016-08-15 22:20:00 -04:00
server Range check client number for trap_BotUserCommand 2017-06-07 20:38:12 -05:00
sys Add con_autochat and con_autoclear cvars 2017-06-08 15:46:19 -05:00
tools [botlib] Use floating point absolute value rather than truncate to integer 2016-07-25 18:36:31 +01:00
ui Fix g_teamAutoJoin and g_teamForceBalance 2017-06-22 21:56:20 -05:00
zlib drop some useless return statements 2013-05-30 15:43:21 -05:00