[quake3-commits] [ioquake/ioq3] 904bbc: Allow more than 32 surfaces in skin files

Zack Middleton zack at cloemail.com
Tue Jul 4 15:07:16 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: 904bbc1a8fd83d6798c35975726440e4b8221d31
      https://github.com/ioquake/ioq3/commit/904bbc1a8fd83d6798c35975726440e4b8221d31
  Author: Zack Middleton <zack at cloemail.com>
  Date:   2017-07-04 (Tue, 04 Jul 2017)

  Changed paths:
    M code/renderergl1/tr_animation.c
    M code/renderergl1/tr_image.c
    M code/renderergl1/tr_local.h
    M code/renderergl1/tr_mesh.c
    M code/renderergl1/tr_model_iqm.c
    M code/renderergl2/tr_animation.c
    M code/renderergl2/tr_image.c
    M code/renderergl2/tr_local.h
    M code/renderergl2/tr_mesh.c
    M code/renderergl2/tr_model_iqm.c

  Log Message:
  -----------
  Allow more than 32 surfaces in skin files

Models don't have a surface limit; skins shouldn't either. Some player
models require more than 32 surfaces since vanilla Quake 3 did not
enforce the limit.

Skins are now limited to 256 surfaces because having no limit would
require parsing the skin file twice. The skin surfaces are dynamically
allocated so it doesn't increase memory usage when less surfaces
are used.




More information about the quake3-commits mailing list