| 1438 | } |
| 1439 | |
| 1440 | void zNPCB_SB2::emit_slug(zNPCB_SB2::slug_enum which) |
| 1441 | { |
| 1442 | slug_data& slug = slugs[which]; |
| 1443 | F32 launch_ang; |
| 1444 | F32 accel_time; |
| 1445 | |
| 1446 | if (slug.ent->id != 0) |
| 1447 | { |
| 1448 | slug.stage = (zNPCB_SB2::slug_stage)1; |
| 1449 | slug.time = 0.0f; |
| 1450 | slug.stage_delay = tweak.karate.aim_time; |
| 1451 | slug.vel = 0.0f; |
| 1452 | slug.dist = 0.0f; |
| 1453 | slug.abandoned = 0; |
| 1454 | |
| 1455 | xMat4x3Mul((xMat4x3*)model->Mat, 0 , 0); |
| 1456 | xMat3x3RMulVec(&tweak.karate.emit_offset, 0, 0); |
| 1457 | } |
| 1458 | } |
| 1459 | |
| 1460 | void zNPCB_SB2::fire_slug(zNPCB_SB2::slug_enum which, zNPCB_SB2::platform_data& target) |
| 1461 | { |
nothing calls this directly
no test coverage detected