Kp
b7ecb17162
Use valptr for newdemo.cpp
2015-07-12 01:04:21 +00:00
Kp
78f7d1e3a6
Use valptr for net_udp.cpp
2015-07-12 01:04:21 +00:00
Kp
09f095a225
Use valptr for multibot.cpp
2015-07-12 01:04:21 +00:00
Kp
2e85ccebad
Use valptr for multi.cpp
2015-07-12 01:04:21 +00:00
Kp
8ff34ce35e
Use valptr for lighting.cpp
2015-07-12 01:04:20 +00:00
Kp
2b604d6193
Use valptr for laser.cpp
2015-07-12 01:04:20 +00:00
Kp
06a7bdfd87
Use valptr for gauges.cpp
2015-07-12 01:04:20 +00:00
Kp
fe42d32a89
Use valptr for gameseq.cpp
2015-07-12 01:04:20 +00:00
Kp
4c53f79a89
Use valptr for gameseg.cpp
2015-07-12 01:04:20 +00:00
Kp
adfc3bb5f9
Use valptr for gamesave.cpp
2015-07-12 01:04:20 +00:00
Kp
88c0510eed
Use valptr for gamerend.cpp
2015-07-12 01:04:20 +00:00
Kp
33db8ec3c6
Use valptr for gamemine.cpp
2015-07-12 01:04:20 +00:00
Kp
22de35cd1a
Use valptr for gamecntl.cpp
2015-07-12 01:04:20 +00:00
Kp
b20f33e705
Use valptr for game.cpp
2015-07-12 01:04:19 +00:00
Kp
53b6d25eeb
Use valptr for fvi.cpp
2015-07-12 01:04:19 +00:00
Kp
374145633b
Use valptr for fuelcen.cpp
2015-07-12 01:04:19 +00:00
Kp
13bcdcf0ca
Use valptr for fireball.cpp
2015-07-12 01:04:19 +00:00
Kp
bf589a05b7
Use valptr for endlevel.cpp
2015-07-12 01:04:19 +00:00
Kp
16bf682f47
Use valptr for dumpmine.cpp
2015-07-12 01:04:19 +00:00
Kp
8bbcf497b7
Use valptr for collide.cpp
2015-07-12 01:04:19 +00:00
Kp
2aeb6e3afd
Use valptr for cntrlcen.cpp
2015-07-12 01:04:19 +00:00
Kp
05fe25b3d4
Use valptr for aipath.cpp
2015-07-12 01:04:19 +00:00
Kp
f81bb22cb2
Use valptr for ai.cpp
2015-07-12 01:04:19 +00:00
Kp
2c326df217
Use valptr for kgame.cpp
2015-07-12 01:04:18 +00:00
Kp
04fc19c941
Use valptr for group.cpp
2015-07-12 01:04:18 +00:00
Kp
4f99478814
Use valptr for elight.cpp
2015-07-12 01:04:18 +00:00
Kp
f7c89300e4
Use valptr for curves.cpp
2015-07-12 01:04:18 +00:00
Kp
fee9672377
Use valptr for hostage.cpp
2015-07-12 01:04:18 +00:00
Kp
aac7575b8f
Use valptr for ehostage.cpp
2015-07-12 01:04:18 +00:00
Kp
fdd2356eac
Use segptridx for Cursegp, Markedsegp
2015-07-12 01:04:18 +00:00
Kp
aa890e5d29
Pass only valptr_t to fuelcen_delete
2015-07-12 01:04:18 +00:00
Kp
1248f9a474
Pass only vobjptr_t to obj_detach_one
2015-07-12 01:04:18 +00:00
Kp
a8fadce19f
Pass only vobjptr_t to obj_unlink
2015-07-12 01:04:17 +00:00
Kp
e54b550c59
Pass only vobjptr_t to multi_reset_player_object
2015-07-12 01:04:17 +00:00
Kp
c10e580453
Optimize check_poke
...
Callers care only for zero vs. non-zero. Return (sidemask & (1 <<
side)) to skip the test and reload to constant 1.
2015-07-12 01:04:17 +00:00
Kp
8e5bf66b5f
Optimize is_door_free
...
Skip finding the connecting side if the first side is blocked.
2015-07-12 01:04:17 +00:00
Kp
f7c6462631
Pass vcobjptr_t to check_poke
2015-07-12 01:04:17 +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
f20892e24f
Remove write-only PlayerSegment
2015-07-10 03:22:27 +00:00
Kp
0df3209fad
Remove unused energy center capacity tracking
2015-07-10 03:22:26 +00:00
Kp
8eab601e44
Make digi_sync_sounds objp const
2015-07-10 03:22:26 +00:00
Kp
8b7c5c3e2b
Rewrite valptridx
...
Move decisions out to policy classes. Provide trivial copy
construction/assignment. Simplify checking for unsafe conversions.
2015-07-09 03:12:45 +00:00
Kp
658102a868
Improve static_assert test
...
Previously, SConstruct tested whether static_assert worked with trivial
constant expressions. Extend the test to more complicated expressions
like the ones used in the program.
Replace the typedef based approach with an inline enum to avoid warnings
about unused local typedefs.
Allow use with compilers that lack working static_assert or that cannot
accept complicated expressions. Add a non-checking definition that uses
the input parameter. This prevents warnings when types or constants are
used only for the static_assert.
2015-07-09 03:12:45 +00:00
Kp
4a742e3fc4
Parenthesize static_assert expression
...
When static_assert is a macro, it must have two arguments as seen by the
preprocessor. Add an identity mapping to the native case to enforce
this, and fix up all the sites that break with the new rule.
2015-07-09 03:12:45 +00:00
Kp
82410f4a8c
Treat death by reactor as a suicide
2015-07-05 22:06:12 +00:00
Kp
3ce967ac3d
Adjust kill goal progress on suicide
...
Requested-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/94 >
2015-07-05 22:06:12 +00:00
Kp
fe360b18e3
Implement secluded spawns
2015-07-04 21:01:18 +00:00
Kp
d43bbd67b1
Simplify newmenu idle
2015-07-04 21:01:17 +00:00
Kp
8f46fb3ae6
Move net_udp_more_options into class
2015-07-04 21:01:17 +00:00
Kp
c03fe30fc2
Move similar/arch/sdl/timer.cpp -> common/arch/sdl/timer.cpp
2015-07-04 21:01:17 +00:00