[quake3-commits] [ioquake/ioq3] b98e6d: Fix error handling in R_ParseSpawnVars

Zack Middleton zturtleman at gmail.com
Mon Mar 10 17:31:16 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: b98e6d5cc07ceffd0e1068ee1ba887b61eef3c8e
      https://github.com/ioquake/ioq3/commit/b98e6d5cc07ceffd0e1068ee1ba887b61eef3c8e
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M code/renderergl2/tr_bsp.c

  Log Message:
  -----------
  Fix error handling in R_ParseSpawnVars

When R_GetEntityToken returns qfalse it resets pointer for parsing, by
R_ParseSpawnVars not returning qfalse it could cause an infinite loop.

Also add newlines to printfs.


  Commit: 5a3e10d716cd6ff3d47256142b0a1d162ae54311
      https://github.com/ioquake/ioq3/commit/5a3e10d716cd6ff3d47256142b0a1d162ae54311
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M code/renderergl2/tr_main.c

  Log Message:
  -----------
  Don't say cubemap is outside lightgrid 6 times


  Commit: c8c7bb1dc3562723473e2eabaca30e7a9e0ecb28
      https://github.com/ioquake/ioq3/commit/c8c7bb1dc3562723473e2eabaca30e7a9e0ecb28
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-03-10 (Mon, 10 Mar 2014)

  Changed paths:
    M code/renderergl1/tr_bsp.c
    M code/renderergl2/tr_bsp.c

  Log Message:
  -----------
  Fix R_GetEntityToken ending prematurely

If spawn var key or value is "" it caused R_GetEntityToken (available to
cgame, used by opengl2) to stop parsing, whereas game VM would continue.

Changed it to match parsing used for game VM
(see G_GET_ENTITY_TOKEN in code/server/sv_game.c).

The map poq3dm5 has a "wait" key with value "".


Compare: https://github.com/ioquake/ioq3/compare/e7f43545edc5...c8c7bb1dc356


More information about the quake3-commits mailing list