Breakpoint 1, do_subobj_hit_stuff (ship_obj=0x9d27aa0, other_obj=0x9d8f8b0, hitpos=0xbffff464, damage=20.9271011) at ship/shiphit.cpp:1031 1031 mprintf(( "BOGUS HITPOS PASSED TO DO_SUBOBJ_HIT_STUFF (% .1f > %.1f)!\n", hitpos_dist, ship_obj->radius * 2.0f )); (gdb) print *hitpos $2 = {{xyz = {x = -62.9688034, y = -0.00731577072, z = -1979.9729}, a1d = {-62.9688034, -0.00731577072, -1979.9729}}} (gdb) print ship_obj->pos $3 = {{xyz = {x = -1999.14355, y = 0.00778375193, z = -897.153137}, a1d = {-1999.14355, 0.00778375193, -897.153137}}} (gdb) print ship_obj->radius $4 = 1096.29932 (gdb) print hitpos_dist $5 = 2218.39404 (gdb) print damage $6 = 20.9271011 (gdb) print damage_left $7 = 20.7799644 (gdb) print *ship_obj $8 = {next = 0x9d27cac, prev = 0x9da7ba0, signature = 1, type = 1 '\001', parent = -1, parent_sig = 1, parent_type = 1 '\001', instance = 0, flags = 135, pos = {{xyz = {x = -1999.14355, y = 0.00778375193, z = -897.153137}, a1d = {-1999.14355, 0.00778375193, -897.153137}}}, orient = {{vec = {rvec = {{xyz = {x = 0.412309289, y = -0.908610702, z = -0.0665414259}, a1d = {0.412309289, -0.908610702, -0.0665414259}}}, uvec = {{xyz = {x = 0.897006512, y = 0.417644233, z = -0.144750476}, a1d = {0.897006512, 0.417644233, -0.144750476}}}, fvec = {{xyz = {x = 0.159312457, y = -6.13068687e-06, z = 0.987228215}, a1d = {0.159312457, -6.13068687e-06, 0.987228215}}}}, a2d = {{0.412309289, -0.908610702, -0.0665414259}, {0.897006512, 0.417644233, -0.144750476}, {0.159312457, -6.13068687e-06, 0.987228215}}, a1d = { 0.412309289, -0.908610702, -0.0665414259, 0.897006512, 0.417644233, -0.144750476, 0.159312457, -6.13068687e-06, 0.987228215}}}, radius = 1096.29932, last_pos = {{xyz = {x = -1999.14355, y = 0.00778383994, z = -897.153137}, a1d = {-1999.14355, 0.00778383994, -897.153137}}}, last_orient = {{vec = {rvec = {{xyz = {x = 0.412309289, y = -0.908610702, z = -0.0665414259}, a1d = {0.412309289, -0.908610702, -0.0665414259}}}, uvec = {{xyz = {x = 0.897006512, y = 0.417644233, z = -0.144750476}, a1d = {0.897006512, 0.417644233, -0.144750476}}}, fvec = {{xyz = {x = 0.159312457, y = -6.12963095e-06, z = 0.987228215}, a1d = {0.159312457, -6.12963095e-06, 0.987228215}}}}, a2d = {{0.412309289, -0.908610702, -0.0665414259}, {0.897006512, 0.417644233, -0.144750476}, {0.159312457, -6.12963095e-06, 0.987228215}}, a1d = { 0.412309289, -0.908610702, -0.0665414259, 0.897006512, 0.417644233, -0.144750476, 0.159312457, -6.12963095e-06, 0.987228215}}}, phys_info = {flags = 2, mass = 1165842.75, center_of_mass = {{xyz = { x = 0.532481432, y = 1.24348664, z = -55.7112045}, a1d = { 0.532481432, 1.24348664, -55.7112045}}}, I_body_inv = {{vec = { rvec = {{xyz = {x = 5.20231601e-12, y = 2.20736977e-15, z = 5.0773845e-14}, a1d = {5.20231601e-12, 2.20736977e-15, 5.0773845e-14}}}, uvec = {{xyz = {x = 2.20736998e-15, y = 4.5898476e-12, z = 1.07985842e-12}, a1d = {2.20736998e-15, 4.5898476e-12, 1.07985842e-12}}}, fvec = {{xyz = { x = 5.0773845e-14, y = 1.07985853e-12, z = 2.42332109e-11}, a1d = {5.0773845e-14, 1.07985853e-12, 2.42332109e-11}}}}, a2d = { {5.20231601e-12, 2.20736977e-15, 5.0773845e-14}, {2.20736998e-15, 4.5898476e-12, 1.07985842e-12}, {5.0773845e-14, 1.07985853e-12, 2.42332109e-11}}, a1d = {5.20231601e-12, 2.20736977e-15, 5.0773845e-14, 2.20736998e-15, 4.5898476e-12, 1.07985842e-12, 5.0773845e-14, 1.07985853e-12, 2.42332109e-11}}}, rotdamp = 1.5, side_slip_time_const = 0.200000003, max_vel = {{xyz = {x = 0, y = 0, z = 15}, a1d = {0, 0, 15}}}, afterburner_max_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, booster_max_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, max_rotvel = {{xyz = { x = 0.0418879017, y = 0.0418879017, z = 0.0418879017}, a1d = { 0.0418879017, 0.0418879017, 0.0418879017}}}, max_rear_vel = 0, forward_accel_time_const = 20, afterburner_forward_accel_time_const = 0, booster_forward_accel_time_const = 0, forward_decel_time_const = 10, slide_accel_time_const = 0, slide_decel_time_const = 0, shockwave_shake_amp = 0, prev_ramp_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, desired_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = { 0, 0, 0}}}, desired_rotvel = {{xyz = {x = 0, y = 0, z = 0}, a1d = { 0, 0, 0}}}, forward_thrust = 0, side_thrust = 0, vert_thrust = 0, vel = {{xyz = {x = -5.38924155e-07, y = -1.79118194e-06, z = 8.69569519e-08}, a1d = {-5.38924155e-07, -1.79118194e-06, 8.69569519e-08}}}, rotvel = {{xyz = {x = 2.07831281e-08, y = 1.68572711e-08, z = 1.55728557e-07}, a1d = {2.07831281e-08, 1.68572711e-08, 1.55728557e-07}}}, speed = 1.87252067e-06, fspeed = 6.32138994e-15, heading = 0, prev_fvec = {{xyz = {x = 0.159318, y = 0, z = 0.987227023}, a1d = {0.159318, 0, 0.987227023}}}, last_rotmat = {{vec = {rvec = {{xyz = {x = 1, y = 6.85304524e-09, z = -7.41826933e-10}, a1d = {1, 6.85304524e-09, -7.41826933e-10}}}, uvec = {{xyz = {x = -6.85304524e-09, y = 1, z = 9.14589571e-10}, a1d = {-6.85304524e-09, 1, 9.14589571e-10}}}, fvec = {{xyz = {x = 7.41826933e-10, y = -9.14589571e-10, z = 1}, a1d = {7.41826933e-10, -9.14589571e-10, 1}}}}, a2d = {{1, 6.85304524e-09, -7.41826933e-10}, {-6.85304524e-09, 1, 9.14589571e-10}, { 7.41826933e-10, -9.14589571e-10, 1}}, a1d = {1, 6.85304524e-09, -7.41826933e-10, -6.85304524e-09, 1, 9.14589571e-10, 7.41826933e-10, -9.14589571e-10, 1}}}, afterburner_decay = 68943, shockwave_decay = 0, reduced_damp_decay = 1}, shield_quadrant = {0, 0, 0, 0}, hull_strength = 69989.2969, objsnd_num = {0, -1 }, net_signature = 0, num_pairs = 30, {jnp = 0x0}, dock_list = 0x0} (gdb) print *other_obj $9 = {next = 0x9d90910, prev = 0x9d8f6a4, signature = 813, type = 10 '\n', parent = 20, parent_sig = 21, parent_type = 1 '\001', instance = 3, flags = 1025, pos = {{xyz = {x = -62.9688034, y = -0.00731577072, z = -1979.9729}, a1d = {-62.9688034, -0.00731577072, -1979.9729}}}, orient = {{vec = {rvec = {{xyz = {x = 1, y = 0, z = 0}, a1d = {1, 0, 0}}}, uvec = {{xyz = {x = 0, y = 1, z = 0}, a1d = {0, 1, 0}}}, fvec = {{ xyz = {x = 0, y = 0, z = 1}, a1d = {0, 0, 1}}}}, a2d = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}, a1d = {1, 0, 0, 0, 1, 0, 0, 0, 1}}}, radius = 2400, last_pos = {{xyz = {x = -62.9688034, y = -0.00731577072, z = -1979.9729}, a1d = {-62.9688034, -0.00731577072, -1979.9729}}}, last_orient = {{vec = {rvec = {{xyz = {x = 1, y = 0, z = 0}, a1d = {1, 0, 0}}}, uvec = {{xyz = {x = 0, y = 1, z = 0}, a1d = {0, 1, 0}}}, fvec = {{xyz = {x = 0, y = 0, z = 1}, a1d = {0, 0, 1}}}}, a2d = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}, a1d = {1, 0, 0, 0, 1, 0, 0, 0, 1}}}, phys_info = {flags = 0, mass = 10, center_of_mass = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, I_body_inv = {{vec = {rvec = {{xyz = { x = 9.99999975e-06, y = 0, z = 0}, a1d = {9.99999975e-06, 0, 0}}}, uvec = {{xyz = {x = 0, y = 9.99999975e-06, z = 0}, a1d = {0, 9.99999975e-06, 0}}}, fvec = {{xyz = {x = 0, y = 0, z = 9.99999975e-06}, a1d = {0, 0, 9.99999975e-06}}}}, a2d = {{ 9.99999975e-06, 0, 0}, {0, 9.99999975e-06, 0}, {0, 0, 9.99999975e-06}}, a1d = {9.99999975e-06, 0, 0, 0, 9.99999975e-06, 0, 0, 0, 9.99999975e-06}}}, rotdamp = 0.100000001, side_slip_time_const = 0.0500000007, max_vel = {{xyz = {x = 100, y = 100, z = 100}, a1d = {100, 100, 100}}}, afterburner_max_vel = {{xyz = { x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, booster_max_vel = {{xyz = { x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, max_rotvel = {{xyz = { x = 2, y = 1, z = 2}, a1d = {2, 1, 2}}}, max_rear_vel = 100, forward_accel_time_const = 0, afterburner_forward_accel_time_const = 0, booster_forward_accel_time_const = 0, forward_decel_time_const = 0, slide_accel_time_const = 0.0500000007, slide_decel_time_const = 0.0500000007, shockwave_shake_amp = 0, prev_ramp_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, desired_vel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, desired_rotvel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, forward_thrust = 0, side_thrust = 0, vert_thrust = 0, vel = {{xyz = { x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, rotvel = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, speed = 0, fspeed = 0, heading = 0, prev_fvec = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, last_rotmat = {{vec = {rvec = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, uvec = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, fvec = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}}, a2d = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}, a1d = {0, 0, 0, 0, 0, 0, 0, 0, 0}}}, afterburner_decay = 1, shockwave_decay = 0, reduced_damp_decay = 0}, shield_quadrant = {0, 0, 0, 0}, hull_strength = 0, objsnd_num = { -1 }, net_signature = 0, num_pairs = 0, {jnp = 0x0}, dock_list = 0x0} (gdb) print Ship_info[ship_obj->instance] $10 = {name = "GTF Ulysses", '\0' , short_name = "TFight", '\0' , species = 0, type_str = 0xa814878 "Space Superiority", maneuverability_str = 0xa8148a0 "Excellent", armor_str = 0xa8148c0 "Light", manufacturer_str = 0xa8148e0 "Triton / Mekhu", desc = 0xa814908 " ", tech_desc = 0xa814dd0 "Affectionately nicknamed 'The Bat' by its pilots, the GTF Ulysses is a well-designed craft that has had a far longer useful life than its engineers ever imagined. Developed jointly by Terran and Vasud"..., ship_length = 0xa814938 "16 m", gun_mounts = 0xa814958 "4", missile_banks = 0xa814978 "1", pof_file = "fighter01.pof", '\0' , pof_file_hud = '\0' , num_detail_levels = 4, detail_distance = {0, 80, 300, 900, 0}, modelnum = 1417, modelnum_hud = -1, density = 1, damp = 0.100000001, rotdamp = 0.349999994, max_vel = {{xyz = { x = 0, y = 0, z = 70}, a1d = {0, 0, 70}}}, afterburner_max_vel = {{ xyz = {x = 0, y = 0, z = 150}, a1d = {0, 0, 150}}}, max_rotvel = {{ xyz = {x = 2.09439516, y = 2.41661, z = 1.2566371}, a1d = {2.09439516, 2.41661, 1.2566371}}}, rotation_time = {{xyz = {x = 3, y = 2.5999999, z = 5}, a1d = {3, 2.5999999, 5}}}, srotation_time = 2.79999995, max_rear_vel = 0, forward_accel = 2, afterburner_forward_accel = 0.699999988, forward_decel = 1.5, slide_accel = 0, slide_decel = 0, flags = 1573223, flags2 = 3, ai_class = 3, max_speed = 70, min_speed = -0, max_accel = 70, inner_rad = 25, outer_rad = 55, damage = 15, blast = 1000, explosion_propagates = 0, shockwave_speed = 0, shockwave_count = 1, shockwave_pof_file = '\0' , shockwave_moddel = -1, n_subsystems = 5, subsystems = 0xa814fd0, power_output = 2, max_overclocked_speed = 94, max_weapon_reserve = 80, afterburner_fuel_capacity = 300, afterburner_burn_rate = 50, afterburner_recover_rate = 25, cmeasure_max = 25, num_primary_banks = 2, num_secondary_banks = 1, primary_bank_weapons = {0, 7, -1}, primary_bank_ammo_capacity = {1, 1, 0}, secondary_bank_weapons = {62, -1, -1, -1}, secondary_bank_ammo_capacity = {40, 0, 0, 0}, max_hull_strength = 180, max_shield_strength = 380, hull_repair_rate_percent = 0, subsys_repair_rate_percent = 0.00999999978, engine_snd = 128, closeup_pos = {{xyz = {x = 0, y = 0, z = -22}, a1d = {0, 0, -22}}}, closeup_zoom = 0.5, allowed_weapons = {1, 2, 0, 0, 1, 1, 0, 1, 1, 2, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0 , 1, 0, 0, 1, 2, 1, 2, 1, 1, 0, 1, 2, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }, restricted_loadout_flag = {0, 0, 0, 0, 0, 0, 0}, allowed_bank_restricted_weapons = {{1, 2, 0, 0, 1, 1, 0, 1, 1, 2, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0 }, {0 }, { 0 }, {0 , 1, 0, 0, 1, 2, 1, 2, 1, 1, 0, 1, 2, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0 }, {0 }, { 0 }, {0 }}, shield_icon_index = 0 '\0', icon_filename = "iconfighter01", '\0' , anim_filename = "ssfighter01", '\0' , overhead_filename = "loadfighter01", '\0' , score = 8, scan_time = 2000, ct_info = {{pt = {{xyz = {x = -7.75, y = -2.79999995, z = 0.75}, a1d = {-7.75, -2.79999995, 0.75}}}, w_start = 0.25, w_end = 0.0500000007, a_start = 1, a_end = 0, max_life = 1, stamp = 60, bitmap = 356437}, {pt = {{xyz = {x = 7.75, y = -2.79999995, z = 0.75}, a1d = {7.75, -2.79999995, 0.75}}}, w_start = 0.25, w_end = 0.0500000007, a_start = 1, a_end = 0, max_life = 1, stamp = 60, bitmap = 356437}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{ xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}, {pt = {{xyz = {x = 0, y = 0, z = 0}, a1d = {0, 0, 0}}}, w_start = 0, w_end = 0, a_start = 0, a_end = 0, max_life = 0, stamp = 0, bitmap = 0}}, ct_count = 2, num_nondark_colors = 0, nondark_colors = { "\0\0", "\0\0", "\0\0", "\0\0", "\0\0", "\0\0", "\0\0", "\0\0", "\0\0", "\0\0"}, shield_color = "dd˙", ABtrail_bitmap_name = '\0' , ABbitmap = -1, ABwidth_factor = 1, ABAlpha_factor = 1, ABlife = 5, thruster_bitmap1 = "thrusterglow01", '\0' , thruster_bitmap1a = "thrusterglow01a", '\0' , thruster_bitmap2 = "thruster02-01", '\0' , thruster_bitmap2a = "thruster02-01a", '\0' , thruster_bitmap3 = "thruster03-01", '\0' , thruster_bitmap3a = "thruster03-01a", '\0' , thruster_glow1 = 218648, thruster_glow1a = 1654402, thruster_glow2 = -1, thruster_glow2a = -1, thruster_glow3 = -1, thruster_glow3a = -1, thruster01_rad_factor = 1, thruster02_rad_factor = 1, thruster02_len_factor = 1, thruster03_rad_factor = 1, n_thruster_particles = 0, n_ABthruster_particles = 0, normal_thruster_particles = {{ thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}, { thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}, { thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}}, afterburner_thruster_particles = {{ thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}, { thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}, { thruster_particle_bitmap01_name = '\0' , thruster_particle_bitmap01 = 0, thruster_particle_bitmap01_nframes = 0, min_rad = 0, max_rad = 0, n_high = 0, n_low = 0, variance = 0}}, splodeing_texture = -1, splodeing_texture_name = "boom", '\0' , max_decals = 50, draw_primary_models = {false, false, false}, draw_secondary_models = {false, false, false, false}, draw_models = false, weapon_model_draw_distance = 200, armor_type_idx = -1} (gdb) print Shockwaves[other_obj->instance] $11 = {next = 0xa610b60, prev = 0xa60f838, flags = 5, objnum = 812, num_objs_hit = 6, obj_sig_hitlist = {21, 13, 11, 10, 12, 1, 0 }, speed = 568.465271, radius = 1264.70251, inner_radius = 100, outer_radius = 2400, damage = 83.1198578, weapon_info_index = -1, pos = {{xyz = {x = -62.9688034, y = -0.00731577072, z = -1979.9729}, a1d = {-62.9688034, -0.00731577072, -1979.9729}}}, blast = 1457.58704, next_blast = 0, shockwave_info_index = 0, current_bitmap = 1250334, time_elapsed = 2.2230072, total_time = 4.22189379, delay_stamp = -1, rot_angle = 217.352783, model = -1}