dxx-rebirth/common
Kp 87125c5053 Fix Descent 1 laser color
Descent 1 mangles colors during `g3_init_polygon_model`, so this must
not be called on polygons not designed for mangling.  Rearrange the
logic to allow Descent 1 to verify that polygon models are well-formed
without using the functions that mangle the colors.

Fixes: 42a2e3ab0b ("Avoid crash loading polymodels with invalid subcalls")
Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/issues/416>
2019-03-20 03:57:15 +00:00
..
2d Tighten protection against grs_bitmap bm_data confusion 2019-02-02 18:36:39 +00:00
3d Omit p3_{u,v,l} from OpenGL builds 2019-01-01 04:54:35 +00:00
arch Improve Windows exception strings 2019-02-02 18:36:39 +00:00
editor Enable -Wformat-truncation 2018-08-26 18:10:36 +00:00
include Fix Descent 1 laser color 2019-03-20 03:57:15 +00:00
main Move Num_robot_centers to d_level_shared_robotcenter_state 2019-03-12 04:01:07 +00:00
maths Factor out vms_quaternion_from_matrix division 2019-02-02 18:36:39 +00:00
mem
misc Only test warn_func when it can be nullptr 2019-01-01 04:54:35 +00:00
music Rework ADL dynamic loader 2018-10-15 00:51:53 +00:00
texmap Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
ui Enable -Wformat-truncation 2018-08-26 18:10:36 +00:00
unittest