[quake3-commits] [ioquake/ioq3] 2e5c4b: travis-ci: Don't run coverity_scan on master branc...

Zack Middleton zack at cloemail.com
Thu Jun 29 20:45:32 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 2e5c4bd96a206eabd0801f59c914958d7ef22fc7
      https://github.com/ioquake/ioq3/commit/2e5c4bd96a206eabd0801f59c914958d7ef22fc7
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-24 (Sat, 24 Jun 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Don't run coverity_scan on master branch

Once the weekly limit for Coverity scan is reached all builds exit
success without compiling.


  Commit: ccfc9011e24d952beb61a5051c90581cc7106e36
      https://github.com/ioquake/ioq3/commit/ccfc9011e24d952beb61a5051c90581cc7106e36
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-24 (Sat, 24 Jun 2017)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Upgrade to docker build system


  Commit: 007e250e114d9f74ad3b3e1446082b652b1cff61
      https://github.com/ioquake/ioq3/commit/007e250e114d9f74ad3b3e1446082b652b1cff61
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Split G_AddRandomBot into multiple functions


  Commit: 23a331c9f819a3465b14216096be794f207826e4
      https://github.com/ioquake/ioq3/commit/23a331c9f819a3465b14216096be794f207826e4
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Make 'addbot random' command select a random bot info

It reuses the random bot selection code for bot_minplayers cvar.


  Commit: 51649695a56c86333113991458318d450935ec2b
      https://github.com/ioquake/ioq3/commit/51649695a56c86333113991458318d450935ec2b
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Fix random bot not looking for bots by funname

Quake 3's Anarki bot has a 'funname' with colors in it.
This commit fixes Anarki not being detected as in use.


  Commit: d0d1fe1b7c7e0321b06e170b6552fd1bd2194820
      https://github.com/ioquake/ioq3/commit/d0d1fe1b7c7e0321b06e170b6552fd1bd2194820
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Fix bot_minplayers passing delay as team to addbot in non-team gametypes


  Commit: 7c601da6510252b17fdb1909f15d94f6a912142d
      https://github.com/ioquake/ioq3/commit/7c601da6510252b17fdb1909f15d94f6a912142d
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Fix not adding random bot when all bot info are in use on team

If there are two bot infos in scripts/bots.txt then each team can
only add two random bots via bot_minplayers or addbot random.

Pick random bot info from least used bot infos instead of only ones
that are used by zero players. That way a random bot can always be
added to the game.

This rarely affected Quake 3 since there is 32 bot infos. It could
easily affect new games though.


  Commit: d8f2ff7a4b452ebe30bf5628cb3710284066359b
      https://github.com/ioquake/ioq3/commit/d8f2ff7a4b452ebe30bf5628cb3710284066359b
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Check delayed bot's team when counting bots for bot_minplayers

note: This requires my previous commit that added teampref userinfo
so that bots choose correct team in ClientConnect.


  Commit: 0999aff28dbc198b19e38399cc50c468bbbdb0b3
      https://github.com/ioquake/ioq3/commit/0999aff28dbc198b19e38399cc50c468bbbdb0b3
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Fix duplicate (delayed) random bots being choosen

Count delayed bots when looking for least used bot infos for deciding
which bot to add.


  Commit: cabc32362c1093320ce4b03d939df2deabba020a
      https://github.com/ioquake/ioq3/commit/cabc32362c1093320ce4b03d939df2deabba020a
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  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.


  Commit: b984dd4a234da326ff50fdaa3f8d38516f4fd98b
      https://github.com/ioquake/ioq3/commit/b984dd4a234da326ff50fdaa3f8d38516f4fd98b
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M code/game/g_bot.c

  Log Message:
  -----------
  Add range check for bot skill in addbot command

Adding a bot with skill of 0 doesn't show icon on hud.


Compare: https://github.com/ioquake/ioq3/compare/03336dd0bf82...b984dd4a234d


More information about the quake3-commits mailing list