dxx-rebirth/similar/main
Kp cc885f17a3 Use init_ai_object for dropped robots
zicodxx reported a problem where poison=overwrite builds caused robots
dropped by other robots not to spawn.  I diagnosed it as a problem
caused by not setting `dying_start_time` and proposed using
`init_ai_object` to set this (and other) fields.  Kreatordxx posted pull
request #311 to implement this for dropped robots.  However, his pull
had the unfortunate side effect of zeroing the dropped robot's velocity.
This change is based on his pull, but with the `init_ai_object` call
moved higher so that the velocity is (unnecessarily) zeroed by
`init_ai_object`, then initialized to `new_velocity` by `drop_powerup`
(as it always was).

Reported-by: zicodxx <https://github.com/dxx-rebirth/dxx-rebirth/issues/293>
Patch-inspired-by: kreatordxx <https://github.com/dxx-rebirth/dxx-rebirth/pull/311>
2017-01-17 02:38:21 +00:00
..
ai.cpp Fixed issue in frame_animation_angle(): Due to deltaang.*a being usually small values and frametime getting smaller with higher FPS, the usual use of fixmul will have scaled_delta_angle result in 0 way too often and long, making the robot animation run circles around itself. So multiply deltaang by DELTA_ANG_SCALE when passed to fixmul. 2016-12-28 15:26:33 +01:00
aipath.cpp Pass segidx_t to create_path_points 2016-12-05 00:26:09 +00:00
automap.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
bm.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
cntrlcen.cpp Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
collide.cpp Abstract out last_hitobj management 2017-01-15 00:03:13 +00:00
config.cpp Move FPSIndicator to CCfg 2016-10-02 19:35:33 +00:00
console.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
controls.cpp
credits.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
digiobj.cpp
dumpmine.cpp Use valptridx for ActiveDoors 2016-12-10 17:51:08 +00:00
effects.cpp Use uint8_t for sidenum 2016-12-24 22:44:08 +00:00
endlevel.cpp Small efficiency improvement for a return value in do_endlevel_frame() 2017-01-09 09:26:32 +08:00
fireball.cpp Use init_ai_object for dropped robots 2017-01-17 02:38:21 +00:00
fuelcen.cpp Remove unnecessary FuelCenter operator- 2016-12-22 05:21:16 +00:00
fvi.cpp Fixed misleading indentations. 2016-10-31 11:36:48 +01:00
game.cpp Fix debugger break at draw_weapon_info_sub when multi player dumped (bug #303) 2017-01-14 17:49:43 +08:00
gamecntl.cpp Remove call to window_close(Game_wind) when stopping demo playback 2017-01-09 19:09:34 +08:00
gamefont.cpp
gamemine.cpp Poison more undefined variables 2016-11-06 17:12:03 +00:00
gamerend.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
gamesave.cpp Optimize change_light search 2017-01-15 00:03:14 +00:00
gameseg.cpp Optimize change_light search 2017-01-15 00:03:14 +00:00
gameseq.cpp Remove call to window_close(Game_wind) when multiplayer level syncing fails 2017-01-10 13:02:59 +08:00
gauges.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
hostage.cpp Move player::hostages_on_board to player_info 2016-10-15 00:53:19 +00:00
hud.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
iff.cpp Pass canvas to gr_bm_pixel 2017-01-01 00:45:44 +00:00
inferno.cpp Add hack to compensate for memdebug premature scan 2016-12-08 03:32:06 +00:00
kconfig.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
kmatrix.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
laser.cpp Switch last_hitobj to use array<objnum_t> instead of bitset 2017-01-15 00:03:13 +00:00
lighting.cpp Use enum for object type 2016-11-20 23:12:00 +00:00
menu.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
mglobal.cpp Use valptridx for ActiveDoors 2016-12-10 17:51:08 +00:00
mission.cpp Fix failure to unmap custom hogs 2016-12-17 18:39:18 +00:00
morph.cpp Use enum for object movement type 2016-11-20 23:12:00 +00:00
multi.cpp Merge pull request #307 from dxx-rebirth/multi_gauge_pic 2017-01-15 16:58:58 +08:00
multibot.cpp Remove unnecessary FuelCenter operator- 2016-12-22 05:21:16 +00:00
net_udp.cpp Merge pull request #307 from dxx-rebirth/multi_gauge_pic 2017-01-15 16:58:58 +08:00
newdemo.cpp Remove call to window_close(Game_wind) when stopping demo playback 2017-01-09 19:09:34 +08:00
newmenu.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
object.cpp Abstract out last_hitobj management 2017-01-15 00:03:13 +00:00
paging.cpp Use enum for object type 2016-11-20 23:12:00 +00:00
physics.cpp Remove calls to window_close(Game_wind) when game finished or over 2017-01-08 21:08:50 +08:00
piggy.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
player.cpp Use range_for for player_ship_read 2016-10-02 19:35:34 +00:00
playsave.cpp Move more symbols to namespace dsx 2016-10-02 19:35:34 +00:00
polyobj.cpp Pass canvas to gr_clear_canvas 2017-01-01 00:45:45 +00:00
powerup.cpp Always initialize Omega_charge in init_player_stats_new_ship 2016-11-19 18:09:26 +00:00
render.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
robot.cpp
scores.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
segment.cpp
slew.cpp
songs.cpp
state.cpp Abstract out last_hitobj management 2017-01-15 00:03:13 +00:00
switch.cpp Format LevelError text better for the case of an exit that is both regular and secret 2017-01-09 09:30:53 +08:00
terrain.cpp
texmerge.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
text.cpp
titles.cpp Pass canvas to gr_{,u}string 2017-01-08 22:32:00 +00:00
vclip.cpp
vers_id.cpp
wall.cpp Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
weapon.cpp Fix uninitialized value usage during init_player_stats_new_ship 2016-12-25 00:33:25 +00:00