Kp
6cd8acab30
Refactor ntstring forwarding
2015-01-17 18:31:42 +00:00
Kp
5eb0c0cdf9
Record state_callback choice directly
2015-01-17 18:31:42 +00:00
Kp
f7815810e8
Use RAIIPHYSFS_File to manage PHYSFS_File
...
Fixes a few leaks on error paths.
2015-01-17 18:31:42 +00:00
Kp
68d705a85a
Use bool conversion to test PHYSFS_File pointer
2015-01-17 18:31:42 +00:00
Kp
5b48c184af
Swap order of Mac sound tests
...
Simplify the code by removing a now-redundant array test.
2015-01-17 18:31:41 +00:00
Kp
eb09eb4396
Refactor newmenu reordering
2015-01-17 18:31:41 +00:00
Kp
28a31a223f
Centralize window_close calls
2015-01-17 18:31:41 +00:00
Kp
9a3796d9d1
Pass window_get_next arg by &
2015-01-17 18:31:41 +00:00
Kp
3bf1fd573c
Pass window_select arg by &
2015-01-17 18:31:41 +00:00
Kp
4984f46ef4
Pass window_set_visible arg by &
2015-01-17 18:31:41 +00:00
Kp
88bc7454f5
Pass window_is_visible arg by &
2015-01-17 18:31:41 +00:00
Kp
b2a8c4502e
Pass window_set_modal arg by &
2015-01-17 18:31:41 +00:00
Kp
e7c632b741
Pass window_is_modal arg by &
2015-01-17 18:31:40 +00:00
Kp
2027af6f85
Pass WINDOW_SEND_EVENT arg by &
2015-01-17 18:31:40 +00:00
Kp
ee50d45e72
Pass window_send_event arg by &
2015-01-17 18:31:40 +00:00
Kp
f2797ddf1e
Pass gr_init_canvas arg by &
2015-01-17 18:31:40 +00:00
Kp
fccb6814f8
Pass gr_create_sub_canvas arg by &
2015-01-17 18:31:40 +00:00
Kp
c731558a94
Pass gr_init_sub_canvas arg by &
2015-01-17 18:31:40 +00:00
Kp
c2b7990550
Pass window_get_canvas arg by &
2015-01-17 18:31:40 +00:00
Kp
af16e4a2a3
Tighten grs_bitmap resource rules
2015-01-17 18:31:40 +00:00
Kp
fcc4f7dba5
Use unique_ptr for briefing_screen
...
Add workaround for briefing use of global Briefing_screens.
2015-01-17 18:31:40 +00:00
Kp
d185324a26
Use range_for in menubar
2015-01-17 18:31:39 +00:00
Kp
a961b2c534
Reorder compare_children operations
...
Fold find_joining_side_norms into compare_children, then reorder to
defer unnecessary work.
2015-01-17 18:31:39 +00:00
Chris Taylor
9499d263ed
Merge branch 'unification/master' of github.com:dxx-rebirth/dxx-rebirth into unification/master
2015-01-17 18:31:43 +08:00
Kp
20edba1fd1
Use gr_init_canvas in gr_create_canvas
2015-01-17 04:31:17 +00:00
Kp
81d763476e
Raise index_range_exception on bad index to valptridx
2015-01-17 04:31:17 +00:00
Kp
80eda337cd
Continue out of dead render segments sooner
2015-01-17 04:31:17 +00:00
Kp
229603b184
Rotate segment vertices once, not per side
2015-01-17 04:31:17 +00:00
Kp
2d0e8259ef
Remove unnecessary multi-pass child sort
2015-01-17 04:31:17 +00:00
Kp
5775881de6
Refactor vm_vec_dot
2015-01-17 04:31:17 +00:00
Kp
c993c5d039
Fix truncation of D1 level names
2015-01-15 04:30:04 +00:00
Kp
8b48f5900c
Centralize buddy search
2015-01-15 04:30:03 +00:00
Kp
95aaf09ae0
Add -Wno-missing-field-initializers if needed
...
GCC with -Wmissing-field-initializers warns for a={}, but this is a
common construct in Rebirth code to zero-initialize an entire structure.
Users might add -Wmissing-field-initializers or a group option which
enables -Wmissing-field-initializers, so add code to explicitly disable
this warning when the compiler rejects this form of initialization.
2015-01-15 04:30:03 +00:00
Kp
ab326e9c8b
Reduce writes trimming endlevel input
2015-01-15 04:30:03 +00:00
Kp
3368390f37
Check for valid SuperX number
2015-01-15 04:30:03 +00:00
Kp
d443e28147
Reuse mle_path as Mission_path
2015-01-15 04:30:03 +00:00
Chris Taylor
aee62be433
Merge branch 'btb-xcode' into unification/master
2015-01-14 19:42:16 +08:00
Kp
b175c944ef
Simplify mle_path
2015-01-14 02:26:20 +00:00
Kp
ea3c789f64
Fix Windows build break due to strchr losing const
...
Mingw32 headers and Apple libc++ both strip const from strchr. Store
the result into a const char* to restore const to the pointer.
2015-01-14 02:26:20 +00:00
Kp
24bdbfb933
Move mle path carefully
2015-01-13 04:19:42 +00:00
Kp
61ba3d1ba2
Centralize buddy search
2015-01-12 00:26:04 +00:00
Kp
266814e975
Inline gr_set_current_canvas with constant inputs
2015-01-12 00:26:03 +00:00
Kp
846b6b4b82
Improve buddy message suppression
2015-01-12 00:26:03 +00:00
Kp
fd01d4c673
Reorder wall_is_doorway to favor likely results
2015-01-12 00:26:03 +00:00
Kp
1c4c33513b
Copy secret level name without modification
2015-01-12 00:26:03 +00:00
Kp
ddc40a6634
Copy level name without modification
2015-01-12 00:26:03 +00:00
Kp
8c27a7d68e
Require known size for PHYSFSX_fgets
2015-01-12 00:26:03 +00:00
Kp
60576ce3e0
Generate fewer base_partial_range_error_t::prepare instances
2015-01-12 00:26:03 +00:00
Kp
484a2a705d
Use strcasecmp when available
2015-01-12 00:26:03 +00:00
Kp
b6a3735f53
Add convenience d_strnicmp for literal right side
2015-01-12 00:26:03 +00:00