Kp
c5f4daa11b
Remove write-only trigger field time
2016-02-06 22:12:55 +00:00
Kp
3cb4d99a49
Remove dsx safety net for clang
...
Clang becomes confused trying to resolve X::a when:
- both `namespace ::X` and `class ::B::X` exist
- `using namespace B;` is active
even if class ::B::X is only a forward-declaration. Add an SConf test
to recognize when the compiler rejects this pattern and hide the safety
nets that are implemented using it.
2016-02-06 22:12:55 +00:00
Kp
6e20d86941
Move OF_PLAYER_DROPPED into drop_powerup
...
This fixes an issue where calling drop_powerup with num > 1 only tagged
one powerup as player-dropped.
This also changes powerups dropped by the thief to be "player-dropped",
since, aside from the initial shields/energy, they came from the player
originally.
2016-02-06 22:12:55 +00:00
Kp
08248331a9
Unify do_door_close
2016-02-06 22:12:55 +00:00
Kp
1f9e69b0b7
Replace highest_valid(V,offset) with partial_range
2016-02-06 22:12:55 +00:00
Kp
96a183e3d2
Move partial_range __builtin_object_size out of line
2016-02-06 22:12:55 +00:00
Kp
71d4c3a0e1
Reuse gr_init_font for gr_remap_font
2016-02-06 22:12:55 +00:00
Kp
5d9c64e8fc
Fuse gr_string test/add
2016-02-06 22:12:55 +00:00
Kp
69b7693720
Propagate partial_range size up
2016-02-06 22:12:55 +00:00
Kp
92e6987c2c
Improve exact_type comparison operators
2016-02-06 22:12:54 +00:00
Kp
198540d080
Use range_for in bm.cpp
2016-02-06 22:12:54 +00:00
Kp
ec025d4e88
Pass common highest_valid to vptr factory
2016-02-06 22:12:54 +00:00
Kp
0101f98905
Use wallnum_t in more places
2016-02-06 22:12:54 +00:00
Kp
bb5d1bb7e5
Use valptridx array type for Walls
2016-02-06 22:12:54 +00:00
Kp
72d2844070
Use enum for trigger flags
2016-02-06 22:12:54 +00:00
Kp
74dfa29d31
Convert most Trigger references to valptridx
2016-02-06 22:12:54 +00:00
Kp
4f0cbcffa9
Use valptridx array type for Triggers
2016-02-06 22:12:53 +00:00
Kp
fa8ceaeb5f
Use extend for OGL defines
...
Fixes: 04e3c1e9a3
("Move OpenGL cpp flag tracking to SConf")
2016-02-03 03:00:32 +00:00
Kp
4d72f88ae1
Preprocess out PHYSFSX_writeAngleVec
...
This is unused now that jointpos_write is preprocessed out.
Fixes: ed55763603
("Remove unused symbols")
2016-02-02 03:10: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
0d1dd636ca
Move extraAccessory into if(D2)
...
It is only used in D2, so do not use the space when compiling D1.
2016-02-02 03:10:53 +00:00
Kp
30783846fe
Improve SCons ipv6 option documentation
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
d8292300ab
Switch select_file_subfunction_t to anonymous template typedef
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
92625ff2d0
Fix clang build of CGameArg
...
clang is confused by the use of a class named dcx. Move the declaration
into a namespace{} block to avoid this.
2016-01-29 04:05:47 +00:00
Kp
1eb54bcf4f
Fix clang build of CGameCfg
...
clang is confused by the use of a class named dcx. Move the declaration
into a namespace{} block to avoid this.
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
5b9ccda8e8
Simplify update_flicker
2016-01-26 03:45:08 +00:00
Kp
e3033d939e
Simplify wall_restore_all flags update
2016-01-26 03:45:08 +00:00
Kp
3d13e66f6a
Use C++ array in more places
2016-01-26 03:45:08 +00:00
Kp
7fced24bbd
Use ={} to clear unused UVL during load
2016-01-26 03:45:08 +00:00
Kp
38bc1fb28f
Use range_for for medwall CountedWalls
2016-01-26 03:45:08 +00:00
Kp
5a1791f7c3
Fix valptridx pch build
2016-01-26 03:45:08 +00:00
Kp
42a1c560cd
Move UDP cpp processing to sconf
2016-01-26 03:45:08 +00:00
Kp
cb4600456d
Move IPv6 cpp processing to sconf
2016-01-26 03:45:07 +00:00
Kp
d35a51e766
Move editor cpp processing to sconf
2016-01-26 03:45:07 +00:00
Kp
29740cf80c
Move memdebug cpp processing to sconf
2016-01-26 03:45:07 +00:00
Kp
e73e44de79
Move developer-mode cpp processing to sconf
2016-01-26 03:45:07 +00:00
Kp
04e3c1e9a3
Move OpenGL cpp flag tracking to SConf
2016-01-26 03:45:07 +00:00
Kp
1a11370084
Pass archive
to prepare_environment
2016-01-26 03:45:07 +00:00
Kp
8cbc672080
Factor out draw_special_wall BM_XRGB
2016-01-26 03:45:07 +00:00
Kp
994f2edc4d
Factor out draw_special_wall color choice
2016-01-26 03:45:07 +00:00
Kp
c476c42e8e
Factor out kill names in multi_compute_kill
2016-01-26 03:45:07 +00:00
Kp
c641a0404a
Use range_for for multi_message_feedback team_name
2016-01-26 03:45:06 +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