Kp
0f30d4eb72
Use PHYSFSX_gets_line_t for Current_level_palette
2014-12-20 04:36:08 +00:00
Kp
90666ba19b
Use PHYSFSX_gets_line_t for Current_level_name
2014-12-20 04:36:07 +00:00
Kp
6a00d387af
Combine secret/non-secret level glitz
2014-12-18 04:12:39 +00:00
Kp
137746e442
List initialize credits to zero
2014-12-18 04:12:38 +00:00
Kp
da6632a917
Use array<> for Robot_joints
2014-12-18 04:12:38 +00:00
Kp
630f11945e
Cache Viewer in digiobj
2014-12-18 04:12:38 +00:00
Kp
9ffd958d3d
Create window_rendered_data locally
2014-12-18 04:12:38 +00:00
Kp
b0b2704961
Allocate ND_EVENT_VIEWER_OBJECT objects from Objects
2014-12-14 21:02:40 +00:00
Kp
9916406d8f
Fix debug-build abort on matcen triggers
2014-12-14 21:02:40 +00:00
Kp
fddc8cedb4
Remove unused Debug_spew
2014-12-14 21:02:40 +00:00
Kp
2199bd4e25
Override PRIi64 for mingw/Win64
2014-12-14 21:02:40 +00:00
Kp
9ee9e176c8
Convert newdemo.cpp to use range_for
2014-12-14 05:23:01 +00:00
Kp
16113a2908
Propagate for variable in newdemo
2014-12-14 05:23:00 +00:00
Kp
227dab543c
Combine shortpos scan loop
2014-12-14 05:23:00 +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
2af91c9a3a
Pass automap_find_edge result by &
2014-12-14 05:22:59 +00:00
Kp
e54c2c79df
Use array<> for Sounds
2014-12-14 05:22:59 +00:00
Kp
1a96bf7f2f
Use range_for for SoundObjects
2014-12-14 05:22:59 +00:00
Kp
cf97b028b7
Pass digi_start_sound_object arg by &
2014-12-14 05:22:59 +00:00
Kp
80aa48efb4
Pass digi_*_start_sound soundobj as sound_object*
2014-12-14 05:22:59 +00:00
Kp
9ea8c8d7f1
Mark digi variables static
2014-12-13 17:47:10 +00:00
Kp
a622aecd58
Pass vcobjptridx_t to digi_ functions
2014-12-13 17:47:06 +00:00
Kp
adbff232c5
Split seg/obj vars of find_seg_side_face
2014-12-13 17:47:01 +00:00
Kp
3f52e3426a
Skip unnecessary segment rendering phases
...
Make object rendering traverse only the subrange of segments with
objects.
Make alpha rendering traverse only the subrange of segments with alpha
blended textures.
2014-12-13 17:19:28 +00:00
Kp
0b086b1b0d
Optimize rendering
...
- Make Max_linear_depth_objects const
- Skip setup of object rendering if no objects to render
- Defer setting globals until after conditional confirms a segment will
render
2014-12-13 17:18:07 +00:00
Kp
84e3721ef0
Use partial_range for render list
2014-12-13 16:57:09 +00:00
Kp
69bc81681a
Move render_windows to per_segment_state_t::render_window
2014-12-13 16:54:16 +00:00
Kp
6b56a3020a
Fix crash playing credits with poison enabled
2014-12-13 04:11:41 +00:00
Kp
7c98dea8be
Pass render_frame arg by &
2014-12-13 04:11:21 +00:00
Kp
b79e432a3e
Pass render_mine arg by &
2014-12-13 04:11:16 +00:00
Kp
032332343d
Pass do_render_object arg by &
2014-12-13 04:11:12 +00:00
Kp
4bcf451745
Pass wake_up_rendered_objects arg by &
2014-12-13 04:11:07 +00:00
Kp
e027c821c9
Pass update_rendered_data arg by &
2014-12-13 04:11:04 +00:00
Kp
664e8abaac
Fix !SDLMIXER build
...
Fixes: bd1c6d8c5d
2014-12-11 02:35:03 +00:00
Kp
53366488ac
Remove unused digi_set_volume
2014-12-11 02:34:38 +00:00
Kp
489c4e00a3
Store temporary rect locally
2014-12-11 02:33:55 +00:00
Kp
cc60f765b3
Cache render lookups
2014-12-11 02:33:50 +00:00
Kp
84011e55d2
Use partial_range when searching HighestLevels
2014-12-08 04:49:20 +00:00
Kp
78cdb70959
Use partial_range on Triggers
2014-12-08 04:19:26 +00:00
Kp
7c24f6896f
Stop briefing search on dot or null
...
Mission names are passed in without an extension. Short mission names
read beyond the end of the buffer, causing AddressSanitizer to kill the
program.
Reported by btb: https://github.com/dxx-rebirth/dxx-rebirth/issues/20
2014-12-08 03:54:11 +00:00
Kp
cf9675c505
Fix uninitialized variable in render reprocess
2014-12-08 01:02:08 +00:00
Bradley Bell
5d6e6dc2e4
check for GM_MULTI before trying to do network jobs
2014-12-06 22:14:22 -08:00
Kp
0c8191db94
Fix player clear range
2014-12-07 00:49:18 +00:00
Kp
a0727f4f84
Throw on net_udp_read_sync_packet failure
...
Callers expect sane Player_num, but on failure, it is invalid.
Returning a failure status causes net_udp_level_sync to fault using
Players[Player_num].connected, so throw an exception instead.
2014-12-07 00:00:22 +00:00
Kp
2b627f0158
Pass net_udp buffers as const
2014-12-06 23:59:34 +00:00
Kp
9d700aab08
Make kill_matrix uint16_t, not short
2014-12-06 23:30:55 +00:00
Kp
1b924c5dd3
Truncate pilot name at null
2014-12-06 23:13:38 +00:00