| 1329 | } |
| 1330 | |
| 1331 | void zNPCBPlankton::init_beam() |
| 1332 | { |
| 1333 | beam.init((U32)&beam, "Plankton\'s Beam"); |
| 1334 | beam.set_texture("plankton_laser_bolt"); |
| 1335 | |
| 1336 | beam.refresh_config(); |
| 1337 | // |
| 1338 | beam_ring.init(0, "Plankton\'s Beam Rings"); |
| 1339 | beam_ring.set_curve((xDecalEmitter::curve_node*)&beam_ring.curve, beam_ring_curve); |
| 1340 | beam_ring.set_texture("bubble"); |
| 1341 | beam_ring.set_default_config(); |
| 1342 | beam_ring.cfg.flags = 0; |
| 1343 | beam_ring.cfg.life_time = 0.0f; |
| 1344 | beam_ring.cfg.blend_src = 5; |
| 1345 | beam_ring.cfg.blend_dst = 2; |
| 1346 | beam_ring.refresh_config(); |
| 1347 | |
| 1348 | // |
| 1349 | beam_glow.init(0, "Plankton\'s Beam Glow"); |
| 1350 | beam_glow.set_curve((xDecalEmitter::curve_node*)&beam_glow.curve, 0); |
| 1351 | beam_glow.set_texture("fx_firework"); |
| 1352 | beam_glow.set_default_config(); |
| 1353 | beam_glow.cfg.flags = 0; |
| 1354 | beam_glow.cfg.life_time = 0.0f; |
| 1355 | beam_glow.cfg.blend_src = 5; |
| 1356 | beam_glow.cfg.blend_dst = 2; |
| 1357 | beam_glow.refresh_config(); |
| 1358 | } |
| 1359 | |
| 1360 | void zNPCBPlankton::setup_beam() |
| 1361 | { |
nothing calls this directly
no test coverage detected