MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / init_explode_decal

Function init_explode_decal

src/SB/Game/zEntCruiseBubble.cpp:1021–1036  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1019 }
1020
1021 void init_explode_decal()
1022 {
1023 explode_decal.init(1, "Cruise Bubble Explosion");
1024 explode_decal.set_default_config();
1025
1026 // r0 should be use here
1027 explode_decal.cfg.flags = 0x3;
1028 // scheduling off here
1029 explode_decal.cfg.life_time = 0.5f;
1030 explode_decal.cfg.blend_src = 5;
1031 explode_decal.cfg.blend_dst = 2;
1032
1033 explode_decal.set_curve(explode_curve, 3);
1034 explode_decal.set_texture("par_cruise_explode");
1035 explode_decal.refresh_config();
1036 }
1037
1038 void init_shrapnel()
1039 {

Callers 1

initMethod · 0.85

Calls 5

initMethod · 0.45
set_default_configMethod · 0.45
set_curveMethod · 0.45
set_textureMethod · 0.45
refresh_configMethod · 0.45

Tested by

no test coverage detected