Go to file
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
common Move valptridx get_global_array to DXX_VALPTRIDX_DECLARE_GLOBAL_SUBTYPE 2015-12-08 04:20:24 +00:00
contrib Add stub __attribute_always_inline to VS2013 header 2015-10-30 02:52:57 +00:00
d1x-rebirth Make vlighting static 2015-12-04 03:36:31 +00:00
d2x-rebirth Remove useless gr_remap_mono_fonts 2015-12-04 03:36:32 +00:00
Documentation Document some usage of C++11/C++14 features 2015-11-06 03:51:10 +00:00
similar Poison objects on level load 2015-12-10 03:25:37 +00:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
GPL-3.txt Changed custom D1X license to GPLv3 2014-06-01 19:55:23 +02:00
INSTALL.markdown Add basic instructions on building Rebirth 2015-09-26 21:17:14 +00:00
SConstruct Use inline namespace dcx for common/2d 2015-12-05 22:57:23 +00:00