Kp
a230d24226
Allow trailing comments after num_levels and num_secrets
2016-07-30 21:56:31 +00:00
Kp
ea65c74ba9
Move last_player_bump into player_info.Last_bumped_local_player
2016-07-25 03:48:08 +00:00
Kp
8a46462846
Move lavafall_hiss_playing into player_info
2016-07-24 04:04:25 +00:00
Kp
8fef6a07b4
Pass const object_base to obj_unlink
2016-07-23 04:10:43 +00:00
Kp
139741ec40
Pass const object_base to Laser_render
2016-07-23 04:10:42 +00:00
Kp
99bbd0cf26
Mark global constants as constexpr
...
s/^const \([^*]*=.*;\)/constexpr \1/
2016-07-23 04:10:42 +00:00
Kp
acac40bc25
Mark global constants as constexpr
...
s/^const \([^*=]*{};\)/constexpr \1/
2016-07-23 04:10:42 +00:00
Kp
b0821cff55
Fix inverted sense of -use_players_dir
...
Fixes: 4d483ca88f
("Simplify use of SysUsePlayersDir")
2016-07-22 02:25:17 +00:00
Kp
4d483ca88f
Simplify use of SysUsePlayersDir
2016-07-21 01:43:22 +00:00
Kp
e446965511
Remove unnecessary wall number check in kill_stuck_objects
...
Callers are expected to filter out invalid numbers. Even if they do
not, the only use of the number is to match entries in Stuck_objects.
An invalid match could cause a call to vobjptr() with an invalid index,
but that would be diagnosed by the valptridx checking, so no invalid
memory access will occur.
2016-07-21 01:43:22 +00:00
Kp
24f59cc9d0
Add stub flush_fcd_cache for D1
2016-07-21 01:43:21 +00:00
Kp
f29630bd4a
Propagate MAX_STUCK_OBJECTS
2016-07-21 01:43:21 +00:00
Kp
c636dc4b98
Convert various static const
expressions to constexpr
2016-07-16 16:52:04 +00:00
Kp
f2ecb6401a
Simplify do_powerup_frame tests
2016-07-16 16:52:04 +00:00
Kp
dfcf28ff10
Rename fmtcheck macros to follow standard conventions
2016-07-15 03:43:03 +00:00
Kp
80a087806e
Remove useless cast in gamefont.h
2016-07-15 03:43:02 +00:00
Kp
5a16845d74
Remove useless cast in scalec
2016-07-15 03:43:02 +00:00
Kp
81da15382b
Remove useless cast in scanline
2016-07-15 03:43:02 +00:00
Kp
4526f509f3
Remove useless cast in f2db
...
Bare floating point literals are double.
2016-07-15 03:43:02 +00:00
Kp
946e7bd4ee
Move some digi symbols to dcx
2016-07-15 03:43:02 +00:00
Kp
63651b8c68
Move PIGGY_PAGE_IN into namespace dsx with GameBitmaps
2016-07-15 03:43:01 +00:00
Kp
aa95cbfccc
Move set_thrust_from_velocity to dcx
2016-07-15 03:43:01 +00:00
Kp
5d7c7d6454
Make assert_equal inherit integral_constant
2016-07-15 03:43:01 +00:00
Kp
957016621e
Remove support for Boost.TypeTraits
...
Boost enable_if works differently from std::enable_if, so the build is
broken when using Boost.TypeTraits. The broken code has been present
for a long time and no one reported it. Remove the fallback to Boost.
2016-07-15 03:43:01 +00:00
Kp
40d4bf4f09
Remove unused inherit_void_ptr_handler
2016-07-15 03:43:01 +00:00
Kp
54258ef2ec
Remove unnecessary forward declarations
2016-07-14 01:59:05 +00:00
Kp
44592ddc31
Flatten kconfig type hierarchy
2016-07-14 01:59:05 +00:00
Kp
96f78e1032
Use constexpr for MAX_BITMAP_FILES
2016-07-14 01:59:05 +00:00
Kp
6905b5bd1d
Use constexpr for MAX_SOUNDS
2016-07-14 01:59:04 +00:00
Kp
6554b96b66
Remove unused SWAPINT64
2016-07-14 01:59:04 +00:00
Kp
5af44fa27a
Refactor to propagate MultiLevelInv_Count initial
...
All callers of MultiLevelInv_Count passed a constant value. Factor
out the top level blocks of MultiLevelInv_Count into helper functions,
then create two new functions corresponding to MultiLevelInv_Count(0)
and MultiLevelInv_Count(1), implemented by calling the appropriate new
helper functions.
2016-07-14 01:59:03 +00:00
Kp
59750d3c29
Rewrite declarations of ubyte *
to standard uint8_t *
2016-07-14 01:59:02 +00:00
Kp
613a7ecbbb
Rewrite parenthesized uses of uint
to standard unsigned
2016-07-14 01:59:02 +00:00
Kp
0b6af7fcbe
Propagate MAX_OBJ_BITMAPS
2016-07-10 04:11:35 +00:00
Kp
ca18195390
Propagate MAX_TEXTURES
2016-07-10 04:11:35 +00:00
Kp
6580c37b6e
Propagate MAX_STOLEN_ITEMS
2016-07-10 04:11:34 +00:00
Kp
71ab00beb8
Propagate MAX_BOSS_TELEPORT_SEGS
2016-07-10 04:11:34 +00:00
Kp
5070f0f0ec
Propagate MAX_INSTANCE_DEPTH
2016-07-10 04:11:34 +00:00
Kp
e2b28eafcc
Use range_for for _rle_expand_texture
2016-07-10 04:11:34 +00:00
Kp
a63fe62cb3
Add typedef for multi_allow_powerup_text type
2016-07-09 17:58:35 +00:00
Kp
2713baf5d3
Move HUD_MESSAGE_LENGTH to hud.cpp
2016-07-09 17:58:35 +00:00
Kp
e8d5992797
Remove unused CENTER_STRING_LENGTH
2016-07-09 17:58:35 +00:00
Kp
be8022ff41
Add typedef for GMNames array
2016-07-09 17:58:35 +00:00
Kp
3779bc25a0
Define Robot_names only if EDITOR
2016-07-09 17:58:34 +00:00
Kp
fee76e6ced
Define Powerup_names only if EDITOR
2016-07-09 17:58:34 +00:00
Kp
0bed5d4727
Rewrite simple HMIDIOUT casts from C style to reinterpret_cast<>
...
s/(\(HMIDIOUT\))(/reinterpret_cast<\1>(/g
2016-07-08 04:14:59 +00:00
Kp
95d3a9d31c
Rewrite simple DWORD casts from C style to static_cast<>
...
s/(\(DWORD\))(/static_cast<\1>(/g
2016-07-08 04:14:59 +00:00
Kp
c8e8c568ff
Add parentheses around target of simple HMIDIOUT
casts
...
s/(\s*HMIDIOUT\s*)\s*\([&+-]\?\)\([[:alnum:]_.]\+\s*->\s*\)*\([[:alnum:]_.]\+\)\(\s*\([];+>)*\/^%,|&<>]\)\|$\|\(\s*-\s*[^>]\)\)/(HMIDIOUT)(\1\2\3)\4/g
2016-07-08 04:14:58 +00:00
Kp
2bc994e673
Add parentheses around target of simple DWORD
casts
...
s/(\s*DWORD\s*)\s*\([&+-]\?\)\([[:alnum:]_.]\+\s*->\s*\)*\([[:alnum:]_.]\+\)\(\s*\([];+>)*\/^%,|&<>]\)\|$\|\(\s*-\s*[^>]\)\)/(DWORD)(\1\2\3)\4/g
2016-07-08 04:14:58 +00:00
Kp
59fb7fa4cb
Convert hmp casts from C style to reinterpret_cast<>
2016-07-07 03:08:13 +00:00