[quake3-commits] [ioquake/ioq3] dcf570: Don't reload arenas.txt/*.arena files in Team Aren...

Zack Middleton zack at cloemail.com
Sun Sep 10 21:26:45 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: dcf5707493f13191eb97bf5f200cc41bc3593f98
      https://github.com/ioquake/ioq3/commit/dcf5707493f13191eb97bf5f200cc41bc3593f98
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M code/ui/ui_main.c

  Log Message:
  -----------
  Don't reload arenas.txt/*.arena files in Team Arena UI

Entering Team Arena's start server or in-game callvote menu causes
arenas to be reloaded. The existing memory is not freed so after
a entering the menus a few times the UI runs out of memory and
crashes.

Just load arenas once when the UI loads like in q3_ui.


  Commit: a48dcdf22472bf0c1206aefc3e01b6e22a49f3e6
      https://github.com/ioquake/ioq3/commit/a48dcdf22472bf0c1206aefc3e01b6e22a49f3e6
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M code/ui/ui_shared.c

  Log Message:
  -----------
  Fix crash when out of memory in Team Arena's String_Alloc


  Commit: 098d97bdb0cd1d23a02b9c4489766364ac31fb0c
      https://github.com/ioquake/ioq3/commit/098d97bdb0cd1d23a02b9c4489766364ac31fb0c
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M code/sdl/sdl_input.c

  Log Message:
  -----------
  Fix in_nograb not releasing the mouse cursor

Disable SDL relative mouse mode when in_nograb is enabled. Relative
mouse mode hides the cursor and it cannot exit the window regardless
of the window's grab state.

This wasn't always the case. SDL before 2.0.4 on GNU/Linux released
the mouse cursor in relative mode. However, SDL 2.0.3/4 on Windows
does not. (I did not test other Windows versions.) So I think SDL
2.0.4 made GNU/Linux X11 behavior consistent with other platforms.

This fixes mouse input being unusable when debuging client crashes
in gdb.


  Commit: 11b3bca5555e8dd1fb73081ae27f34c46edfed1e
      https://github.com/ioquake/ioq3/commit/11b3bca5555e8dd1fb73081ae27f34c46edfed1e
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-09-10 (Sun, 10 Sep 2017)

  Changed paths:
    M code/q3_ui/ui_local.h
    M code/q3_ui/ui_players.c
    M code/ui/ui_local.h
    M code/ui/ui_players.c

  Log Message:
  -----------
  Update UI player animation handling to match CGame

Fix "Error parsing animation file" messages in UI. Caused by fixing the
handling of missing tokens in animation.cfg parser in a past commit.
Fix new Team Arena torso animation frame numbers in UI.
Add support for fixedtorso and fixedlegs keywords.
Add support for reversed animations (negative numframes).


Compare: https://github.com/ioquake/ioq3/compare/213b15a9db65...11b3bca5555e


More information about the quake3-commits mailing list