dxx-rebirth/similar/main
Kp abb000177a Move bm_read_reactor object type check into if(D1)
In Descent 2, `type` is initialized at declaration time, then never
rewritten.  At the end of the function, `Error` is called if `type` has
not been rewritten.  Originally, `type` was hard reset to
`OL_CONTROL_CENTER`, but this reinitialization was removed when
`ObjType` and related data were removed from Descent 2.

Reported-by: InsanityBringer <https://github.com/dxx-rebirth/dxx-rebirth/issues/464> (issue 3)
Fixes: ea7ba7ae87 ("remove ObjType, ObjId, ObjStrength and OL_ constants; use "object" instead of "robot" in some places; draw and place reactors with correct modelnum")
2019-11-18 00:22:34 +00:00
..
ai.cpp Move Seismic_tremor_magnitude to d_level_unique_seismic_state 2019-08-06 02:59:41 +00:00
aipath.cpp Move Difficulty_level to GameUniqueState 2019-06-27 03:26:20 +00:00
automap.cpp Recompute automap subcanvas on window size change 2019-08-18 20:37:29 +00:00
bm.cpp Use xrange for loops with zero start and simple identifier end 2019-05-04 18:27:37 +00:00
bmread.cpp Move bm_read_reactor object type check into if(D1) 2019-11-18 00:22:34 +00:00
cntrlcen.cpp Move controlcen_death_silence to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
collide.cpp Rework of the Descent 2 final boss fade-to-black effect introduced in 5b18219aac4dd535e2803de9310ba26dfa7acc28: In the original game the silent 2 second countdown would lapse before the screen faded to black. In restoration, it would fade to black as the countdown started. This rework fixes this discrepancy. 2019-09-17 21:49:18 +02:00
config.cpp initial version of this, trying to catch MCI events 2019-10-27 02:47:45 +03:00
console.cpp Enable -Wimplicit-fallthrough=5; fix resulting breaks 2019-04-04 04:29:03 +00:00
controls.cpp Move Seismic_tremor_magnitude to d_level_unique_seismic_state 2019-08-06 02:59:41 +00:00
credits.cpp Downgrade PCX failures from Error to CON_URGENT 2019-07-07 22:00:02 +00:00
digiobj.cpp Backport D2's Dont_start_sound_objects to D1 2019-10-26 23:13:14 +00:00
dumpmine.cpp Eliminate unnecessary Gamesave_current_filename 2019-08-06 02:59:40 +00:00
effects.cpp Move Control_center_destroyed to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
endlevel.cpp Fix crash loading endlevel data with no exit side 2019-08-31 17:31:51 +00:00
fireball.cpp Fix robot accounting when robots drop robots 2019-11-16 23:14:41 +00:00
fuelcen.cpp Only count a robot as dropped after the object is created 2019-11-16 23:14:41 +00:00
fvi.cpp Move Objects to d_level_unique_object_state 2019-03-03 00:31:08 +00:00
game.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
gamecntl.cpp Make del+shift+b do fatal damage to every robot it explodes 2019-09-01 00:20:28 +00:00
gamefont.cpp Enforce separation of font X/Y scaling 2018-06-08 04:04:05 +00:00
gamemine.cpp Move Secret_return_orient to d_level_shared_segment_state 2019-08-06 02:59:41 +00:00
gamerend.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
gamesave.cpp Move Reactor_strength to d_level_shared_control_center_state 2019-08-15 01:34:22 +00:00
gameseg.cpp Remove __attribute__((packed)) on shortpos for gcc-9 support 2019-05-11 20:18:29 +00:00
gameseq.cpp Backport D2's Dont_start_sound_objects to D1 2019-10-26 23:13:14 +00:00
gauges.cpp Hide lives-remaining count during demo playback 2019-08-24 18:14:16 +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 Track headlights in d_level_unique_light_state 2019-04-13 18:00:07 +00:00
hud.cpp Rename ObjectState to LevelUniqueObjectState for consistency 2018-12-30 00:43:57 +00:00
iff.cpp Simplify test for corrupt IFF file 2018-04-03 03:20:08 +00:00
inferno.cpp Align capitalization of Data directory in instructions with the code 2019-08-25 17:06:34 +00:00
kconfig.cpp Added axis buttons 2019-09-01 13:11:14 -04:00
kconfig.ui-table.cpp Enable -Wimplicit-fallthrough=5; fix resulting breaks 2019-04-04 04:29:03 +00:00
kmatrix.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
laser.cpp Whitelist Vertigo smelter's phoenix cannon 2019-10-21 03:45:29 +00:00
lighting.cpp Use xrange for render loops 2019-05-04 18:27:37 +00:00
menu.cpp initial version of this, trying to catch MCI events 2019-10-27 02:47:45 +03:00
mglobal.cpp Move transition_segnum to d_player_unique_endlevel_state 2019-08-15 01:34:22 +00:00
mission.cpp Sort mission directories to the top of the list, behind builtin missions 2019-11-17 01:42:09 +00:00
morph.cpp Change object::signature to be a generation counter 2019-07-07 22:00:02 +00:00
multi.cpp Tighten checks on killer_obj type 2019-08-21 02:54:08 +00:00
multibot.cpp Move Boss_hit_time to d_level_unique_boss_state 2019-08-06 02:59:40 +00:00
net_udp.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
newdemo.cpp Move Countdown_seconds_left to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
newmenu.cpp Downgrade PCX failures from Error to CON_URGENT 2019-07-07 22:00:02 +00:00
object.cpp Prevent markers spinning in marker-camera-enabled games 2019-10-02 02:06:00 +00:00
paging.cpp Move Effects to d_level_unique_effects_clip_state 2019-03-03 00:31:09 +00:00
physics.cpp is_proximity_bomb_or_smart_mine*: s/smart/player_smart/g 2019-08-15 01:34:22 +00:00
piggy.cpp Make read_sndfile static for D1 2019-08-15 01:34:22 +00:00
player.cpp Add experimental support for guidebot in multiplayer 2019-06-27 03:26:20 +00:00
playsave.cpp Avoid reducing player's highest-level when replaying a non-MRU level 2019-08-24 04:32:24 +00:00
polyobj.cpp Fix Descent 1 laser color 2019-03-20 03:57:15 +00:00
powerup.cpp Move Difficulty_level to GameUniqueState 2019-06-27 03:26:20 +00:00
render.cpp Move Control_center_destroyed to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
robot.cpp Move robot_create out of line 2019-03-03 00:31:09 +00:00
scores.cpp Set player name in Players[] at single-player game start 2019-08-25 17:53:57 +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 crash entering secret level with music on, and no songs 2019-11-02 04:36:15 +00:00
state.cpp Set player name in Players[] at single-player game load 2019-08-29 02:40:32 +00:00
switch.cpp Move Control_center_destroyed to d_level_unique_control_center_state 2019-08-15 01:34:22 +00:00
terrain.cpp Move exit_segnum to d_player_unique_endlevel_state 2019-08-15 01:34:22 +00:00
texmerge.cpp
text.cpp
titles.cpp Avoid copying background to itself 2019-07-07 22:00:02 +00:00
vclip.cpp is_proximity_bomb_or_smart_mine*: s/smart/player_smart/g 2019-08-15 01:34:22 +00:00
vers_id.cpp Switch most in-tree http:// links to https:// 2018-09-02 00:57:29 +00:00
wall.cpp Remove exploding wall assertion 2019-06-20 04:02:27 +00:00
weapon.cpp Move Seismic_tremor_magnitude to d_level_unique_seismic_state 2019-08-06 02:59:41 +00:00