Kp
4f0cbcffa9
Use valptridx array type for Triggers
2016-02-06 22:12:53 +00:00
Kp
5f33054161
Hide vm_distance safety net from clang
...
When the safety net is present, clang becomes confused. Run without a
net and hope that gcc users catch any erroneous conversions.
2016-02-02 03:10:53 +00:00
Kp
e283a22709
Use enum class for check_volatile_wall
2016-01-29 04:05:47 +00:00
Kp
bc488a8f57
Improve check_volatile_wall
2016-01-29 04:05:47 +00:00
Kp
386a58e3f6
Simplify make_range
2016-01-29 04:05:47 +00:00
Kp
905d935a6b
Remove write-only cv_drawmode
2016-01-29 04:05:47 +00:00
Kp
ff67afd440
Propagate partial_range up into PHYSFSX_findFiles family
2016-01-29 04:05:47 +00:00
Kp
4abbc28d0f
Switch to non-template operator> for vm_distance
...
clang considers the template form to be ambiguous
2016-01-27 04:01:55 +00:00
Kp
5a1791f7c3
Fix valptridx pch build
2016-01-26 03:45:08 +00:00
Kp
bad07b668e
Fix misplaced preprocessor directive
2016-01-26 03:45:06 +00:00
Kp
4e29e2625d
Move multi_endlevel_poll* lookups to menu creation
2016-01-26 03:45:06 +00:00
Kp
124a2ee09c
Move net_udp.cpp specific defines out of header
2016-01-26 03:45:06 +00:00
Kp
8f7d323ec6
Fix clang cvar build
...
Add format(printf,...) annotation to varargs functions to move format
string checking up one level.
2016-01-26 03:45:06 +00:00
Kp
9e174a0e0e
Factor out primary/secondary search/reorder
2016-01-17 17:36:48 +00:00
Kp
677c70c64e
Move font filename into grs_font
2016-01-10 21:18:09 +00:00
Kp
5d4fff1534
Combine gr_printf/gr_uprintf into template
2016-01-10 21:18:08 +00:00
Kp
7386094bc3
Rename menu macros to reduce token pasting
2016-01-09 16:38:17 +00:00
Kp
eb3fe7acdb
Remove sprintf from menubar.cpp
2016-01-09 16:38:16 +00:00
Kp
110d62a748
Remove sprintf from autosave.cpp
2016-01-09 16:38:16 +00:00
Kp
dd877f52c2
Remove unused weapon defines
2016-01-09 16:38:15 +00:00
Kp
8e86a3586d
Use #ifdef dsx to guard dsx namespace
2016-01-09 16:38:15 +00:00
Kp
86709f547b
Fix capitalization of PHYSFS_File
...
Per comment in physfs.h, the spelling PHYSFS_file is deprecated.
Replace all instances with PHYSFS_File.
2016-01-09 16:38:14 +00:00
Kp
a3ae630829
Remove default argument for basic_ptridx(index)
2016-01-09 16:38:14 +00:00
Kp
9ceedc96a8
Propagate valptridx requirement up
2016-01-09 16:38:14 +00:00
Kp
0be0475309
Move valptridx array highest to base class
2016-01-09 16:38:14 +00:00
Kp
6489c64598
Use type_traits to manage valptridx const
2016-01-09 16:38:13 +00:00
Kp
d6359d0eb7
Use template for object rotation functions
2016-01-09 16:38:13 +00:00
Kp
a32d9f01a1
Remove return value truncation in find_object_seg
2016-01-09 16:38:13 +00:00
Kp
98f5afa9f8
Remove default argument for basic_ptr(pointer,array &)
2016-01-09 16:38:13 +00:00
Kp
d17b12da31
Remove default argument for basic_ptr(index,array &)
2016-01-09 16:38:12 +00:00
Kp
1cef946a90
Remove default argument for basic_idx(index,array &)
2016-01-09 16:38:12 +00:00
Kp
96898bab0a
Block direct changes to Highest_segment_index
...
Route updates through helper functions.
2016-01-09 16:38:12 +00:00
Kp
f48eddeece
Block direct changes to Highest_object_index
...
Route updates through helper functions.
2016-01-09 16:38:12 +00:00
Kp
5a94f8bf4f
Fix check_header_includes build
2016-01-09 16:38:12 +00:00
Kp
1f91897f5d
Move some game symbols to namespaces
2016-01-09 16:38:12 +00:00
Kp
568f165c28
Shrink sincos_table
...
For all valid i, sincos_table[i] == sincos_table[i % 256]. Remove
elements [256:] and modify callers to truncate the index.
2016-01-09 16:38:11 +00:00
Kp
0a68a6439e
Use ={} to clear rle cache
2016-01-09 16:38:11 +00:00
Kp
fe1c0ee59b
Remove unnecessary free_text
...
The text is stored in a global unique_ptr, so running global destructors
will free the text.
2016-01-09 16:38:11 +00:00
Kp
0635dbf108
Pass trigger &
2016-01-09 16:38:11 +00:00
Kp
16c754f3a2
Split key_toggle_repeat paths at compile time
...
Every caller passes a literal truth value. Split the implementation by
the truth value. This saves loading the value before the call and
testing it inside the call.
2016-01-09 16:38:10 +00:00
Kp
410b09a330
Expand macro Player_exploded
2016-01-09 16:38:10 +00:00
Kp
47190be8e9
Fold Player_exploded into Player_dead_state
2016-01-09 16:38:10 +00:00
Kp
608cfdbf07
Combine Mission::enhanced with Mission::descent_version
2016-01-09 16:38:09 +00:00
Kp
24e902d4cf
Simplify find_connect_side
2016-01-03 20:21:35 +00:00
Kp
3428ea6392
Remove Show_only_curside
...
Show_only_curside was locked to 0 in EDITOR builds, but only EDITOR
builds could render the current side.
2016-01-03 20:21:35 +00:00
Kp
823ff63126
Move MplTrackerAddr to CArg
2015-12-24 04:01:29 +00:00
Kp
0b87ff267f
Move MplTrackerPort to CArg
2015-12-24 04:01:29 +00:00
Kp
3f9f1f2b49
Move MplUdpMyPort to CArg
2015-12-24 04:01:29 +00:00
Kp
56e77d4fec
Move MplUdpHostPort to CArg
2015-12-24 04:01:28 +00:00
Kp
0fb84b883f
Move DbgAltTex to CArg
2015-12-24 04:01:28 +00:00