zico
731fb5204e
Adjusted keyboard ramp scaling based on observation that the original game uses a keyboard ramp of 8 frames. Full sensitivity should reflect 60FPS behaviour, half sensitivity reflects 30FPS behaviour (give or take a frame). Ramping should be properly time-scaled now.
2015-12-14 15:19:59 +01:00
Kp
a1cf7b03fe
Fix lifetime kill accounting in team hoard
...
`adjust` must be set to -1 for a team kill, but this was only done as a
side effect of updating game-local kill counts. After 5f2ec67
,
game-local kill counts are not updated in team hoard, but adjust is
still used. Move the handling of adjust up to occur in all team games.
Fixes: 5f2ec6789f
("Restore !hoard guard for game-local kill accounting")
2015-12-13 18:00:49 +00:00
Kp
fd3f7f7f4d
Force lowest rank for (kills + deaths) <= 0
2015-12-13 18:00:49 +00:00
Kp
5f2ec6789f
Restore !hoard guard for game-local kill accounting
2015-12-13 18:00:49 +00:00
Kp
26e948d5f1
Uninline namespace dsx
2015-12-13 18:00:49 +00:00
Kp
dc8c0323d8
Uninline namespace dcx
2015-12-13 18:00:49 +00:00
Kp
32051298ae
Use inline namespace dcx/dsx for more symbols
2015-12-13 18:00:48 +00:00
Kp
8109379fdd
Use inline namespace dsx for similar/misc/
2015-12-13 18:00:48 +00:00
Kp
232cc324f9
Use inline namespace dsx for similar/arch/sdl/
2015-12-13 18:00:48 +00:00
Kp
09eba7f48a
Use inline namespace dsx for similar/arch/ogl/
2015-12-13 18:00:48 +00:00
Kp
d4857f4257
Use inline namespace dsx for similar/3d
2015-12-13 18:00:48 +00:00
Kp
85d7c495e8
Use inline namespace dsx for similar/2d
2015-12-13 18:00:48 +00:00
Kp
30cb6d8c8d
Improve dcx/dsx comments
...
Move the boilerplate up onto the outer namespace line. Decorate each
collision with a comment stating its purpose, so that compiler error
output echoes the type of collision.
2015-12-13 18:00:48 +00:00
zico
6c5bfaf0d1
Make sure Vulcan ammo shows for D1X in vertical HUD modes. Enabled vulcan ammo gauge for Cockpit and Status Bar modes
2015-12-11 13:37:30 +01:00
zico
7a78568b14
Bail out of multi_reset_object_texture() if object is a ghost. Prevents unnecessary calls and resulting bug messages from check_warn_object_type()
2015-12-11 12:50:01 +01:00
Kp
00e52d382e
Fix Win32 build
2015-12-11 03:39:40 +00:00
Kp
80ea17a61c
Convert OSError to StopError for failed tool version checks
2015-12-11 03:39:40 +00:00
Kp
3d246427e1
Poison objects on level load
...
Objects are overwritten without using obj_allocate, so the normal poison
path is not triggered. Poison objects explicitly to trap uninitialized
data from a previous level.
This also fixes an unreported issue where player shields always reset to
100 on entering a new level. The game is supposed to raise shields to
100 if the player was lower on exiting the level. However, it is not
supposed to reduce shields to 100 if the player had a higher value on
exiting the level.
This also fixes a demo consistency issue reported by zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/168 >.
Fixes: 2e28a491f2
("Move player shields to struct object")
2015-12-10 03:25:37 +00:00
Kp
45f1a71420
Move valptridx get_global_array to DXX_VALPTRIDX_DECLARE_GLOBAL_SUBTYPE
...
This removes the need to repeat the array name when invoking
DEFINE_VALPTRIDX_SUBTYPE.
2015-12-08 04:20:24 +00:00
Kp
34d89d5139
Use inline namespace dsx for segment.h
2015-12-05 22:57:25 +00:00
Kp
e549f3451e
Use inline namespace dsx for object.h
2015-12-05 22:57:25 +00:00
Kp
1e50c23a8c
Use inline namespace dsx for inferno.cpp
2015-12-05 22:57:25 +00:00
Kp
22bd3ce8d8
Use inline namespace dcx for common/ui
2015-12-05 22:57:24 +00:00
Kp
e784fd96fa
Use inline namespace dcx for common/texmap
2015-12-05 22:57:24 +00:00
Kp
5b9e50a815
Use inline namespace dcx for common/misc
2015-12-05 22:57:24 +00:00
Kp
463ed96b4b
Use inline namespace dcx for common/mem
2015-12-05 22:57:24 +00:00
Kp
cfc35e819d
Use inline namespace dcx for common/maths
2015-12-05 22:57:24 +00:00
Kp
bf60f19aef
Use inline namespace dcx for common/editor
2015-12-05 22:57:24 +00:00
Kp
2445c8457c
Use inline namespace dcx for common/arch/win32
2015-12-05 22:57:24 +00:00
Kp
dbe4918f27
Use inline namespace dcx for common/arch/sdl
2015-12-05 22:57:24 +00:00
Kp
de6c2b3982
Use inline namespace dcx for common/arch/ogl
2015-12-05 22:57:24 +00:00
Kp
43dd620557
Use inline namespace dcx for common/3d
2015-12-05 22:57:24 +00:00
Kp
69c5a79058
Use inline namespace dcx for common/2d
2015-12-05 22:57:23 +00:00
Kp
32c7214f5a
Add vecmat forward declaration header
2015-12-05 22:57:23 +00:00
Kp
93a441b81e
Remove unused editor func_* functions
2015-12-05 22:57:23 +00:00
Kp
66f0f26ef4
Remove unused gr_bitmap_check_transparency
2015-12-05 22:57:23 +00:00
Kp
af97689d98
Fix demo id check bug
...
Test for type OBJ_FIREBALL before comparing the object ID to a fireball
ID.
2015-12-05 15:51:29 +00:00
zico
b286458119
Upon user request: reverted commits 1c8dc35
and 1431d3bc
so the game will automatically close menus and automap upon taking damage in multiplayer - restoring the original game behavior
2015-12-05 13:12:21 +01:00
zico
d493912bcc
Fixed demo playback which would not transition to Descent 2 secret levels due to interpolated playback triggering ND_STATE_PAUSED and skipping oder ND_EVENT_SECRET_THINGY
2015-12-04 21:01:37 +01:00
Kp
60e6c23ccc
Always pass tuple for argument prefix list
...
Fixes: dd59be7163
("Cache various SConstruct temporaries")
2015-12-04 03:36:33 +00:00
Kp
aaaa7e6aa4
Make font datasize const after fixup
2015-12-04 03:36:32 +00:00
Kp
fdddfb4a75
Simplify build_colormap_good frequency table clear
2015-12-04 03:36:32 +00:00
Kp
8a97c173a3
Remove useless gr_remap_mono_fonts
...
gr_remap_mono_fonts searches for fonts with !(font->ft_flags & FT_COLOR)
and calls gr_remap_font on any it finds.
gr_remap_font starts with:
if (!(font->ft_flags & FT_COLOR))
return;
2015-12-04 03:36:32 +00:00
Kp
ff51ff5474
Copy sdl-config CPPDEFINES before modification
...
Fixes: 6111e5adbf
("Allow configuring max joysticks at build time")
2015-12-04 03:36:32 +00:00
Kp
ddc3cd0201
Make Boss_teleport_interval const in D1
2015-12-04 03:36:32 +00:00
Kp
515210ea50
Make Boss_cloak_interval const in D1
2015-12-04 03:36:32 +00:00
Kp
b4cd091412
Combine D1/D2 gamedata_close
2015-12-04 03:36:32 +00:00
Kp
954d473d47
Remove unused Do_ai_flag
2015-12-04 03:36:32 +00:00
Kp
e77a6ea923
Remove write-only variable r_upixelc
2015-12-04 03:36:32 +00:00
Kp
9231cfb853
Remove write-only D1 variable Boss_been_hit
2015-12-04 03:36:32 +00:00