Kp
8839f538e0
Refer to <array> directly, not through "compiler-array.h"
2020-05-02 21:18:42 +00:00
Kp
53761500f1
Qualify uses of std::array
2020-05-02 21:18:42 +00:00
Kp
05244122bd
Tighten input for set_segment_depths
2019-02-02 18:36:39 +00:00
Kp
b3cd7588ef
Move Delta_lights into d_level_shared_destructible_light_state
2018-12-30 00:43:58 +00:00
Kp
46644b4e91
Move Dl_indices into d_level_shared_destructible_light_state
2018-12-30 00:43:58 +00:00
Kp
045afc2c56
Prefer const shared_segment &
over vcsegptr_t
2018-12-30 00:43:57 +00:00
Kp
aa9e6da297
Pass Dl_indices as context
2018-12-30 00:43:57 +00:00
Kp
406be26de4
Pass d_level_shared_segment_state to validate_segment_all
2018-09-19 02:13:30 +00:00
Kp
f7ad4d9b1a
Pass segments to find_point_seg
2018-09-19 02:13:30 +00:00
Kp
9cedc53f52
Pass vertex factory to extract_orient_from_segment
2018-09-19 02:13:30 +00:00
Kp
1527785efd
Pass vertex factory to validate_segment_side
2018-09-19 02:13:29 +00:00
Kp
d71938e1a7
Pass vertex factory to create_walls_on_side
2018-09-19 02:13:29 +00:00
Kp
bd58d5f825
Pass vertex factory to extract_*_vector_from_segment
2018-09-19 02:13:29 +00:00
Kp
facc1fe1f5
Fix check_header_includes=1 build
2018-08-29 01:47:42 +00:00
Kp
dc4fcf8a35
Flip sense of is_door_free
2018-08-12 21:08:07 +00:00
Kp
3408e3a0cd
Switch to shared_segment arguments where possible
2018-06-24 05:06:15 +00:00
Kp
0c3e99f14c
Split side uses based on shared vs unique
2018-06-24 05:06:15 +00:00
Kp
4ae88b6594
Pass only shared_segment to compute_segment_center
2018-06-24 05:06:14 +00:00
Kp
6d0d68d188
Split some segment uses based on shared vs unique
...
Leave `sides` in `shared_segment` to minimize churn. Parts of it must
move to `unique_segment` before this project finishes.
2018-06-24 05:06:14 +00:00
Kp
e8645b2062
Pass vertex factory to compute_center_point_on_side
2018-03-12 03:43:47 +00:00
Kp
53a1d5f9ce
Pass vertex factory to compute_segment_center
2018-03-12 03:43:47 +00:00
Kp
b4899aafac
Pass vcvertptr to get_seg_masks
2017-08-11 23:43:54 +00:00
Kp
5eec2a5ce5
Use valptridx for Vertices
2017-08-11 23:43:54 +00:00
Kp
599ac9dee0
Always qualify valptridx type/factory
...
Previously, valptridx used PREFIX for allow-invalid+mutable, c#PREFIX
for allow-invalid+const, v#PREFIX for require-valid+mutable, vc#PREFIX
for require-valid+const. Convert the types, factories, and all usage
sites to specify a qualifier for all four combinations:
im#PREFIX -> allow-invalid+mutable
ic#PREFIX -> allow-invalid+const
vm#PREFIX -> require-valid+mutable
vc#PREFIX -> require-valid+const
Changes to common/include/valptridx.h and common/include/fwd-valptridx.h
are manual. All other changes are generated by:
git grep -lz -e '\(obj\|seg\|clwall\|wall\|actdoor\|trg\)\(ptridx\|ptr\|idx\)\(_t\)\?\>' | xargs -0 sed -i -e 's/\<\(v\?\)\(\(obj\|seg\|clwall\|wall\|actdoor\|trg\)\(ptridx\|ptr\|idx\)\(_t\)\?\)\>/\1m\2/g'
for the 'm' prefix and:
git grep -lz -e '\(obj\|seg\|clwall\|wall\|actdoor\|trg\)\(ptridx\|ptr\|idx\)\(_t\)\?\>' | xargs -0 sed -i -e 's/\<\([cm]\(obj\|seg\|clwall\|wall\|actdoor\|trg\)\(ptridx\|ptr\|idx\)\(_t\)\?\)\>/i&/g'
for the 'i' prefix.
2017-06-10 03:31:02 +00:00
Kp
8a89313ec4
Move compute_segment_center body to dcx
2017-02-22 03:05:44 +00:00
Kp
892d450022
Move compute_center_point_on_side body to dcx
2017-02-22 03:05:43 +00:00
Kp
b918760b3f
Move find_connect_side body to dcx
2017-02-19 19:33:38 +00:00
Kp
b82d9d2b51
Move get_side_verts body to dcx
2017-02-19 19:33:38 +00:00
Kp
9821a77372
Simplify use of get_num_faces
2017-02-19 19:33:38 +00:00
Kp
cdb193c053
Use unsigned for sides/verts in more places
2017-02-19 19:33:38 +00:00
Kp
0f00cf51b0
Make segment vertices unsigned
2017-02-19 19:33:37 +00:00
Kp
6a3ded191f
Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR
...
Rename symbol EDITOR to DXX_USE_EDITOR to show that it is a DXX
symbol, not one inherited from a library. Move it to dxxsconf.h to
shorten the command line.
This is a mostly automated transform, but the changes to SConstruct were
manual.
git grep -wl EDITOR -- '*.h' '*.cpp' | xargs sed -i -e 's/^\s*#ifdef \(EDITOR\)\>/#if DXX_USE_\1/' -e 's/\s*#\(el\)\?if \(.*\)defined(\(EDITOR\))/#\1if \2DXX_USE_\3/' -e 's/^\s*#ifndef \(EDITOR\)\>/#if !DXX_USE_\1/'
2016-09-11 18:49:16 +00:00
Kp
24f59cc9d0
Add stub flush_fcd_cache for D1
2016-07-21 01:43:21 +00:00
Kp
27cef20eb3
Move namespace dsx handling to dsx-ns.h
2016-03-19 19:08:10 +00:00
Kp
8e86a3586d
Use #ifdef dsx to guard dsx namespace
2016-01-09 16:38:15 +00:00
Kp
db9fb0ed42
Move more symbols into namespace dcx/dsx
2015-12-22 04:18:50 +00:00
Kp
26e948d5f1
Uninline namespace dsx
2015-12-13 18:00:49 +00:00
Kp
32051298ae
Use inline namespace dcx/dsx for more symbols
2015-12-13 18:00:48 +00:00
Kp
bb41075adb
Add preprocessor guards around types that vary by game
2015-11-26 02:56:55 +00:00
Kp
2a713567a0
Guard create_*vert*lists in D1||D2
...
check_header_includes=1 fails when create_*vert*lists is tested in
common code. Preprocess it out when built for common.
2015-10-24 03:13:11 +00:00
Kp
6f94cc933c
Fold create_abs_vertex_lists into create_all_vertnum_lists
2015-10-18 21:01:20 +00:00
Kp
af2d8f7deb
Factor out create_vert*_lists switch
2015-10-18 21:01:20 +00:00
Kp
1b6999ff4d
Switch get_seg_masks from vcsegptridx_t to vcsegptr_t
...
The index component is not needed.
2015-07-12 01:04:17 +00:00
Kp
b0ec49f8e5
Remove unused file+line from get_seg_masks
2015-04-02 02:36:56 +00:00
Kp
2c09f9fa90
Propagate special types for distance/magnitude
2015-03-12 02:21:19 +00:00
Kp
e42b1f5b71
Return vertex_array_list_t from create_all_vertnum_lists
2014-12-14 05:23:00 +00:00
Kp
1960a2ebad
Return vertex_array_list_t from create_abs_vertex_lists
2014-12-14 05:23:00 +00:00
Kp
601290e674
Return vertex_array_list_t from create_all_vertex_lists
2014-12-14 05:23:00 +00:00
Kp
51b6fb1c95
Return get_side_verts by value
2014-12-14 05:23:00 +00:00
Kp
d63be88eb0
Propagate use of vsegptridx_t
2014-11-23 04:58:45 +00:00