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

Function create_glow_light

src/SB/Game/zDiscoFloor.cpp:35–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33 const F32 blues_scale[6] = { -12, -8, -5, 0, 2, 4 };
34
35 void create_glow_light()
36 {
37 memset(&glow_light, 0, sizeof(glow_light));
38
39 // non-matching: scheduling
40
41 glow_light.kit.tagID = 'TIKL';
42
43 glow_light.kit.lightCount = 1;
44 glow_light.kit.lightList = glow_light.light;
45 glow_light.light[0].type = 0x1;
46 glow_light.light[0].color.red = 1.0;
47 glow_light.light[0].color.green = 1.0;
48 glow_light.light[0].color.blue = 1.0;
49 glow_light.light[0].color.alpha = 1.0;
50
51 xLightKit_Prepare(&glow_light.kit);
52 }
53
54 void destroy_glow_light()
55 {

Callers 1

initMethod · 0.70

Calls 2

memsetFunction · 0.85
xLightKit_PrepareFunction · 0.50

Tested by

no test coverage detected