dxx-rebirth/common/main
Kp fe04c3fef6 Initialize obsolete fields
Valgrind warns when writing uninitialized data to a file.  The Descent
savegame format requires writing certain fields that are no longer used.
Set those fields to 0 to prevent leaking stack data into the file.
2017-01-01 23:19:21 +00:00
..
ai.h Pass segidx_t to create_path_points 2016-12-05 00:26:09 +00:00
aistruct.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
automap.h Convert various static const expressions to constexpr 2016-07-16 16:52:04 +00:00
bm.h Move more symbols to namespace dsx 2016-10-02 19:35:34 +00:00
cli.cpp Rewrite CLI 2015-12-22 04:18:52 +00:00
cli.h Rewrite CLI 2015-12-22 04:18:52 +00:00
cmd.cpp Rewrite CLI 2015-12-22 04:18:52 +00:00
cmd.h Fix clang cvar build 2016-01-26 03:45:06 +00:00
cntrlcen.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
collide.h Changed handling of scrape_player_on_wall(), preventing it to occur multiple times per frame. 2016-12-02 13:37:08 +01:00
config.h Move FPSIndicator to CCfg 2016-10-02 19:35:33 +00:00
controls.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
credits.h Split credits_show special case into dedicated functions 2016-08-19 03:41:42 +00:00
cvar.cpp Fix capitalization of PHYSFS_File 2016-01-09 16:38:14 +00:00
cvar.h Fix clang cvar build 2016-01-26 03:45:06 +00:00
d_enumerate.h Use utility d_enumerate for do_cloak_stuff 2016-11-19 17:24:52 +00:00
digi.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
effects.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
endlevel.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
escort.h Pass thief ID to recreate_thief 2016-04-06 03:34:15 +00:00
fireball.h Pass only segidx to pick_connected_segment 2016-10-02 00:34:41 +00:00
fuelcen.h Remove unnecessary FuelCenter operator- 2016-12-22 05:21:16 +00:00
fvi.h Move find_hitpoint_uv into namespace dsx 2016-08-25 04:05:32 +00:00
fwd-object.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
fwd-player.h Pass player_info to allowed_to_fire_missile 2016-12-10 17:51:10 +00:00
fwd-segment.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
fwd-wall.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
fwd-weapon.h Fix uninitialized value usage during init_player_stats_new_ship 2016-12-25 00:33:25 +00:00
game.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
gamefont.h Preserve type information on font-scaled floats 2016-10-15 00:53:15 +00:00
gamemine.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
gamepal.h Fix check_header_includes build 2016-01-09 16:38:12 +00:00
gamesave.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
gameseg.h Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
gameseq.h Merge pull #272 into master 2016-11-26 22:51:49 +00:00
gauges.h Pass player_info to more gauges functions 2016-12-11 01:56:43 +00:00
hostage.h Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
hudmsg.h Move HUD_render_message_frame into namespace dsx 2016-08-25 04:05:32 +00:00
inferno.h Make call_default_handler return a window_event_result 2016-10-27 16:36:24 +08:00
kconfig.h Move some kconfig symbols into namespace dsx 2016-12-22 05:21:16 +00:00
kmatrix.h Use #ifdef dsx to guard dsx namespace 2016-01-09 16:38:15 +00:00
laser.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
lighting.h Add preprocessor guards around types that vary by game 2015-11-26 02:56:55 +00:00
menu.h Move namespace dsx handling to dsx-ns.h 2016-03-19 19:08:10 +00:00
mission.h Make the listbox handlers return a window_event_result 2016-10-27 15:22:41 +08:00
morph.h Fix check_header_includes=1 Linux build 2016-08-06 19:55:24 +00:00
multi.h Pass vcsegptridx to multi_send_light_specific 2016-12-10 17:51:07 +00:00
multibot.h Pass vcsegidx to multi_send_boss_teleport 2016-12-05 00:26:10 +00:00
multiinternal.h Pass vcsegptridx to multi_send_light_specific 2016-12-10 17:51:07 +00:00
net_udp.h Merging in unification/master, resolving conflict in similar/main/kmatrix.cpp 2016-11-06 14:20:18 +08:00
newdemo.h Rename WORDS_BIGENDIAN to DXX_WORDS_BIGENDIAN 2016-09-30 01:49:57 +00:00
newmenu.h Remove unused listbox_get_window 2016-12-22 05:21:16 +00:00
nvparse.h Fix check_header_includes build 2015-07-25 23:10:45 +00:00
object.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
objnum.h Move magic_constant definition into valptridx 2015-07-21 02:57:27 +00:00
paging.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
physics.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
piggy.h Pass grs_bitmap &to piggy_register_bitmap 2016-11-19 17:24:53 +00:00
player-callsign.h Move player callsign to player-callsign.h 2015-07-25 23:10:45 +00:00
player-flags.h Use type safe player flags 2015-10-30 02:52:55 +00:00
player.h Initialize obsolete fields 2017-01-01 23:19:21 +00:00
playsave.h Move more symbols to namespace dsx 2016-10-02 19:35:34 +00:00
polyobj.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
powerup.h Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
render.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
render_state.h Fold segnum.h into fwd-segment.h 2016-12-24 18:12:17 +00:00
robot.h Move EDITOR to dxxsconf.h; rename to DXX_USE_EDITOR 2016-09-11 18:49:16 +00:00
scores.h Propagate scores_maybe_add_player argument 2016-12-10 17:51:08 +00:00
screens.h Use #ifdef dsx to guard dsx namespace 2016-01-09 16:38:15 +00:00
segiter.h Return vobjptridx from segiter 2016-10-29 23:16:18 +00:00
segment.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
segpoint.h Move fwdsegment.h -> fwd-segment.h for consistency 2015-10-10 03:44:14 +00:00
slew.h Add preprocessor guards around types that vary by game 2015-11-26 02:56:55 +00:00
songs.h Move USE_SDLMIXER to dxxsconf.h; rename to DXX_USE_SDLMIXER 2016-09-11 18:49:15 +00:00
sounds.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
state.h Fix check_header_includes=1 Linux build 2016-08-06 19:55:24 +00:00
switch.h Split valptridx declarations 2016-12-24 18:12:17 +00:00
terrain.h Use inline namespace dcx for common/maths 2015-12-05 22:57:24 +00:00
texmerge.h Propagate constant texmerge_init argument 2016-11-19 17:24:52 +00:00
text.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
textures.h Propagate MAX_TEXTURES 2016-07-10 04:11:35 +00:00
titles.h Move conditionally compiled code into namespace dsx 2016-08-25 04:05:32 +00:00
valptridx.tcc Use addressof to report base address of valptridx access 2016-10-15 00:53:17 +00:00
vclip.h Mark global constants as constexpr 2016-07-23 04:10:42 +00:00
vers_id.h Rename VERSION to DXX_VERSION_STR 2016-09-11 18:49:16 +00:00
wall.h Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
weapon.h Move more symbols to namespace dsx 2016-10-02 19:35:34 +00:00
weapon_id.h Add ID for robot earthshaker secondary missile 2016-11-26 22:51:47 +00:00