dxx-rebirth/similar/main
Kp 9898d136f1 Fix fortification crash loading missions with long filenames
The highest-level tracking code assumed filenames would always fit in a
char[9].  This was true on DOS, but has not been true in Rebirth for
many years.  Builds without fortification caused silent memory
corruption in this case.

Refuse to create highest-level entries if they would cause corruption.
Log a diagnostic telling the user that this happened.
2019-03-09 23:39:16 +00:00
..
ai.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
aipath.cpp Move Escort_special_goal to d_unique_buddy_state 2019-03-03 00:31:09 +00:00
automap.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
bm.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
bmread.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
cntrlcen.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
collide.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
config.cpp Make ADL MIDI runtime configurable 2018-10-18 02:18:56 +00:00
console.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
controls.cpp Rename ObjectState to LevelUniqueObjectState for consistency 2018-12-30 00:43:57 +00:00
credits.cpp Pass font to various drawing functions 2018-05-19 23:21:42 +00:00
digiobj.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
dumpmine.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
effects.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
endlevel.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
fireball.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
fuelcen.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
fvi.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
game.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
gamecntl.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
gamefont.cpp Enforce separation of font X/Y scaling 2018-06-08 04:04:05 +00:00
gamemine.cpp Move TmapInfo to d_level_unique_tmap_info_state 2018-12-30 00:43:59 +00:00
gamerend.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
gamesave.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
gameseg.cpp Cache visited_segment_bitarray_t reference in apply_light_to_segment 2019-03-03 00:31:09 +00:00
gameseq.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
gauges.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
generate-kconfig-udlr.py Adapt to Python 3 strict bytes vs str rules 2018-04-30 05:31:16 +00:00
hostage.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
hud.cpp Rename ObjectState to LevelUniqueObjectState for consistency 2018-12-30 00:43:57 +00:00
iff.cpp
inferno.cpp Fix sharepath confusion when building both targets 2019-01-20 05:36:56 +00:00
kconfig.cpp Pass font to various drawing functions 2018-05-19 23:21:42 +00:00
kconfig.ui-table.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
kmatrix.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
laser.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
lighting.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
menu.cpp Fix fortification crash loading missions with long filenames 2019-03-09 23:39:16 +00:00
mglobal.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
mission.cpp Remove explicit std::move in prepare_mission_menu_state return 2018-10-20 17:25:59 +00:00
morph.cpp Move Polygon_models into LevelSharedPolygonModelState 2018-12-30 00:43:59 +00:00
multi.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
multibot.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
net_udp.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
newdemo.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
newmenu.cpp Remove use of -Wno-implicit-fallthrough 2018-08-24 02:58:21 +00:00
object.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
paging.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
physics.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
piggy.cpp Pass Vclip as context 2018-10-21 00:24:07 +00:00
player.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
playsave.cpp Fix fortification crash loading missions with long filenames 2019-03-09 23:39:16 +00:00
polyobj.cpp Avoid crash loading polymodels with invalid subcalls 2019-03-06 05:03:48 +00:00
powerup.cpp Move Escort_goal_object to d_unique_buddy_state 2019-03-03 00:31:08 +00:00
render.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
robot.cpp Move robot_create out of line 2019-03-03 00:31:09 +00:00
scores.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
segment.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
slew.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
songs.cpp Fix sdlmixer=0 build of songs.cpp 2018-07-30 00:49:59 +00:00
state.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
switch.cpp Use unsigned in more prototypes 2019-03-03 00:31:09 +00:00
terrain.cpp Move Viewer_eye to local scope 2018-12-30 00:43:57 +00:00
texmerge.cpp
text.cpp
titles.cpp Move Robot_info into LevelSharedRobotInfoState 2018-12-30 00:43:59 +00:00
vclip.cpp Pass Vclip as context 2018-10-21 00:24:07 +00:00
vers_id.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
wall.cpp Remove bogus assertion in wall_hit_process 2019-03-06 05:03:48 +00:00
weapon.cpp Move Buddy_objnum to d_unique_buddy_state 2019-03-03 00:31:08 +00:00