Kp
de88e595e9
Hoist change_light variables
2015-12-22 04:18:52 +00:00
Kp
a892c24bc2
Simplify object phys_info zero
2015-12-22 04:18:51 +00:00
Kp
a60c9683d3
Remove write-only Unused_object_slots
2015-12-22 04:18:51 +00:00
Kp
e8c34be843
Use v*ptr* factories with highest_valid
2015-12-22 04:18:51 +00:00
Kp
d479819931
Use absolute_sibling to reduce global references for ptridx
2015-12-22 04:18:51 +00:00
Kp
14dd5b91aa
Save objptridx for boss instead of recomputing it
2015-12-22 04:18:51 +00:00
Kp
8a22ca9594
Shorten multi_apply_goal_textures
2015-12-22 04:18:51 +00:00
Kp
5d4bcddd4f
Move common object fields to dcx::object_base
2015-12-22 04:18:50 +00:00
Kp
8d7a78d448
Pass font to get_char_width
2015-12-22 04:18:50 +00:00
Kp
ab944ae8b1
Reuse measurement of TXT_GAME_OVER
2015-12-22 04:18:50 +00:00
Kp
20f432e5c6
Save & to con_buffer slot
2015-12-22 04:18:50 +00:00
Kp
18cca1d33c
Remove unnecessary gr_check_fullscreen ?:
2015-12-22 04:18:50 +00:00
Kp
af8876efe1
Make array optional for valptridx check_index_range
2015-12-22 04:18:50 +00:00
Kp
db9fb0ed42
Move more symbols into namespace dcx/dsx
2015-12-22 04:18:50 +00:00
Kp
ea02aeeaab
Move kill_matrix update up
2015-12-22 04:18:49 +00:00
Kp
c956d0eb55
Add TODO item for namespace changes
2015-12-18 04:08:24 +00:00
Kp
132367ce27
Fix SDL-only build after namespace changes
2015-12-18 04:08:24 +00:00
Kp
e59fde57e7
Enable gr_remap_color_fonts in D1
...
This looks like a useful fix that was developed after Descent 1 was
released. Backport it. This reduces differences between the engines.
2015-12-18 04:08:24 +00:00
Kp
28ee4c1804
Move DbgUseOldTextureMerge to CArg
2015-12-18 04:08:24 +00:00
Kp
900bebe799
Move DbgGlRGBA2Ok to CArg
2015-12-18 04:08:24 +00:00
Kp
fa17246b7b
Move DbgGlLuminance4Alpha4Ok to CArg
2015-12-18 04:08:24 +00:00
Kp
7022d20b1e
Move DbgGlGetTexLevelParamOk to CArg
2015-12-18 04:08:24 +00:00
Kp
4a280e4556
Move DbgGlReadPixelsOk to CArg
2015-12-18 04:08:24 +00:00
Kp
b3e6dd3eb5
Move DbgGlIntensity4Ok to CArg
2015-12-18 04:08:23 +00:00
Kp
cdae6cad4d
Move DbgBpp to CArg
2015-12-18 04:08:23 +00:00
Kp
e0a88f4b7b
Move TexFilt to CCfg
2015-12-18 04:08:23 +00:00
Kp
22901a6636
Move WindowMode to CCfg
2015-12-18 04:08:23 +00:00
Kp
0fa31dbe98
Force multi kill list sort order for (kills+deaths<=0)
2015-12-18 04:08:23 +00:00
Kp
1be2e52bf7
Force kmatrix to 0% efficiency for (kills+deaths<=0)
2015-12-18 04:08:23 +00:00
Kp
025c8dec31
Force kill gauge to 0% efficiency for (kills+deaths<=0)
2015-12-18 04:08:23 +00:00
Kp
2b51578ba6
Use enum class for Player_dead_state (formerly Player_is_dead)
2015-12-15 04:09:35 +00:00
zico
2e6dae1d8b
Abbreviated some text strings to make menus fit better into a 4x3 game window.
2015-12-14 15:32:42 +01:00
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