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
Kp
9128ff7c35
Move Next_laser_fire_time to player_info
2016-07-06 01:54:26 +00:00
Kp
bd3db75108
Move Next_missile_fire_time to player_info
2016-07-06 01:54:26 +00:00
Kp
a554d7e2c4
Move Next_flare_fire_time into player_info
2016-07-06 01:54:25 +00:00
Kp
6251848c5f
Move Missile_gun into player_info
2016-07-06 01:54:25 +00:00
Kp
b6fd8572d1
Simplify ui_radio_set_value loop
2016-07-06 01:54:25 +00:00
Kp
e92a7aea14
Use C++ static_cast for gadget downcast
2016-07-06 01:54:25 +00:00
Kp
37d6a652c9
Remove useless casts in box.cpp
2016-07-06 01:54:24 +00:00
Kp
d32afbdac5
Rewrite simple unsigned int casts from C style to static_cast<>
...
s/(unsigned int)\s*(/static_cast<uint32_t>(/g
2016-07-06 01:54:24 +00:00
Kp
b0a2205a4e
Convert various pointer casts to reinterpret_cast
2016-07-06 01:54:24 +00:00
Kp
275355994d
Remove useless scanline casts
2016-07-06 01:54:24 +00:00