Kp
a5fb497e41
Include cstdint in ogl_extensions to fix Win32 check_headers build
2015-11-26 02:56:55 +00:00
Kp
fee144261f
Add if-D2 to Dont_start_sound_objects
...
Dont_start_sound_objects is defined for D1, but never set. Restrict it
to D2 and let D1 skip the test.
2015-11-26 02:56:55 +00:00
Kp
40588aaa0a
Remove unnecessary key.cpp Installed
2015-11-26 02:56:55 +00:00
Kp
bb41075adb
Add preprocessor guards around types that vary by game
2015-11-26 02:56:55 +00:00
Kp
db77622f0e
Move array_size into valptridx_specialized_types
2015-11-26 02:56:55 +00:00
Kp
dad504cfef
Fix some -Wshadow warnings
2015-11-26 02:56:54 +00:00
Kp
954f0f8603
Remove unused SOUND_3D_THRESHHOLD
2015-11-24 04:05:36 +00:00
Kp
7153ec69a9
Move SndNoSound to CGameArg
2015-11-24 04:05:36 +00:00
Kp
a579f75d05
Move SndDisableSdlMixer to CGameArg
2015-11-24 04:05:36 +00:00
Kp
2e91f1ac45
Simplify event_key_get_raw
2015-11-24 04:05:36 +00:00
Kp
bca44c3199
Make keyd_repeat static
2015-11-24 04:05:35 +00:00
Kp
ed2fa6f76a
Remove unused PHYSFSX_getFreeDiskSpace
2015-11-24 04:05:35 +00:00
Kp
e33f7f751b
Move SysShowCmdHelp to CGameArg
...
Both games support SysShowCmdHelp. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
d4511b3128
Move SysNoHogDir to CGameArg
...
Both games support SysNoHogDir. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
9981dc622e
Move SysMissionDir to CGameArg
...
Both games support SysMissionDir. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
64dee5d52a
Move SysMaxFPS to CGameArg
...
Both games support SysMaxFPS. Move it to the common structure.
2015-11-24 04:05:35 +00:00
Kp
0d7809439c
Make char copyright[] const
2015-11-24 04:05:35 +00:00
Kp
3528acb78d
Add $DXX_EFFECTIVE_SOURCE to check_header_includes dependencies
2015-11-24 04:05:35 +00:00
Kp
a2b4dcbd9c
Use $DXX_EFFECTIVE_SOURCE for quiet header check builds
2015-11-24 04:05:35 +00:00
Kp
63ca0eb87b
Make respawn-on-fire configurable
...
Requested-by: Mako88 <https://github.com/dxx-rebirth/dxx-rebirth/issues/162 >
2015-11-21 18:12:13 +00:00
Kp
0fbccd609c
Ignore lifetime kills/killed in cooperative games
2015-11-21 18:12:13 +00:00
Kp
90e3c29464
Fix visual off-by-one in energy bar
...
Reported-by: Ryusei117 <http://www.dxx-rebirth.com/frm/index.php/topic,2075.0.html >
2015-11-21 18:12:13 +00:00
Kp
472c492ac4
Prevent selecting secondaries with ammo==0
...
derhass reported that using demo content allows the user to select
non-demo weapons, which then render incorrectly. derhass observed the
problem when the game automatically changed weapons, but affected users
can also select the missing weapon by hand. Demo data sets non-demo
weapons to have zero ammo_usage, so a player has "enough" rounds even
when he has none. Past releases blocked this through the dedicated
secondary_weapon_flags field. Add an explicit check for non-zero ammo.
Reported-by: derhass <https://github.com/dxx-rebirth/dxx-rebirth/issues/165 >
2015-11-19 03:23:35 +00:00
Kp
ceafa62d64
Use enum class for CLI_insert_mode
2015-11-19 03:23:35 +00:00
Kp
82d0c2ed96
Make some implicit uses of ptridx construction explicit
2015-11-19 03:23:34 +00:00
Kp
bae81b79d7
Defer computing cloak_end_time
2015-11-19 03:23:34 +00:00
Kp
62061b7988
Remove unnecessary cloak fadein/fadeout switch
2015-11-19 03:23:34 +00:00
Kp
edc4015c97
Compute Boss_cloak_end_time as needed
2015-11-19 03:23:34 +00:00
Kp
f2a0edfd35
Expand Boss_cloak_duration inline
2015-11-19 03:23:34 +00:00
Kp
7b4eeb8c0c
Suppress debug info for check_header_includes outputs
2015-11-17 03:31:21 +00:00
Kp
66cbd4ae0a
Move shields/energy up another line in large games
2015-11-15 22:30:41 +00:00
Kp
0d68cb0aa4
Cache locals in explode_model
2015-11-15 22:30:41 +00:00
Kp
c0149be92a
Use enum class explosion_vclip_stage for get_explosion_vclip
2015-11-15 22:30:41 +00:00
Kp
f09635089e
Compact track_track_goal
2015-11-15 22:30:41 +00:00
Kp
59069a7bb6
Compact do_physics_align_object
2015-11-15 22:30:41 +00:00
Kp
02e1f293dd
Remove unused old-style floor levelling
2015-11-15 22:30:41 +00:00
Kp
ec70edcc65
Use operator= to copy vms_vector
2015-11-15 22:30:40 +00:00
Kp
7d22139334
Fix vulcan ammo drop loop
...
Fixes: 6037372cdf
("Move player vulcan_ammo to object.ctype.player_info")
2015-11-14 23:42:27 +00:00
Kp
5f5fd23060
Use enum class for HUD type
2015-11-14 18:17:22 +00:00
Kp
d36e86f8bc
Factor out some Scons None assignments
2015-11-14 18:17:22 +00:00
Kp
0b8a34d56d
Remove write-only sc_last_item
2015-11-14 18:17:22 +00:00
Kp
44753209d6
Move homing_object_dist to object.ctype.player_info
2015-11-14 18:17:22 +00:00
Kp
52051c427b
Move invulnerable_time to object.ctype.player_info
2015-11-14 18:17:21 +00:00
Kp
9eb8aba4c9
Move cloak_time to object.ctype.player_info
2015-11-14 18:17:21 +00:00
Kp
794e7ddece
Use reference_wrapper for cheat bits
2015-11-14 18:17:21 +00:00
Kp
f509073b65
Move font allocdata pointer to grs_font
2015-11-14 18:17:21 +00:00
Kp
74290b5150
Add some error checking to font loader
2015-11-14 18:17:21 +00:00
Kp
af3241098b
Hide save/load game menu items for non-host
...
Only the host is allowed to save/load, so there is no reason to show the
items to non-hosts.
2015-11-14 18:17:21 +00:00
Kp
8997ec557d
Simplify valptridx get_global_array definition
2015-11-14 18:17:21 +00:00
Kp
1fcffee1df
Cache draw_polygon_object simple model decision
2015-11-14 18:17:21 +00:00