Go to the source code of this file.
◆ build_gfx_yellow_stars()
void N build_gfx_yellow_stars |
( |
s32 | index | ) |
|
Definition at line 8 of file hos_01.inc.c.
8 {
11 s32 numVertices;
12 s32 i;
14
15 index--;
17
18 for (i = 0; i < numVertices; i++) {
22 vtx->v.cn[0] =
temp2 / 0x8000 + 100;
23 vtx->v.cn[1] =
temp2 / 0x8000 + 100;
24
26 vtx->v.cn[2] = vtx->v.cn[0] *
temp3 / 0x10000;
27 }
28
31}
BSS s32 PopupMenu_SelectedIndex
Gfx * mdl_get_copied_gfx(s32 copyIndex)
void mdl_get_copied_vertices(s32 copyIndex, Vtx **firstVertex, Vtx **copiedVertices, s32 *numCopied)
◆ build_gfx_blue_stars()
void N build_gfx_blue_stars |
( |
s32 | index | ) |
|
Definition at line 33 of file hos_01.inc.c.
33 {
36 s32 numVertices;
37 s32 i;
39
40 index--;
42
43 for (i = 0; i < numVertices; i++) {
46 colors[0] =
temp1 * 155 / 0x8000 + 48.62745098039216;
47 colors[1] =
temp1 * 155 / 0x8000 + 89.41176470588236;
48
51 }
52
55}
◆ build_gfx_green_stars()
void N build_gfx_green_stars |
( |
s32 | index | ) |
|
Definition at line 57 of file hos_01.inc.c.
57 {
60 s32 numVertices;
61 s32 i;
63
64 index--;
66
67 for (i = 0; i < numVertices; i++) {
70 colors[0] =
temp1 * 155 / 0x8000 + 67.45098039215686;
72
75 }
76
79}
◆ build_gfx_pink_stars()
void N build_gfx_pink_stars |
( |
s32 | index | ) |
|
Definition at line 81 of file hos_01.inc.c.
81 {
84 s32 numVertices;
85 s32 i;
87
88 index--;
90
91 for (i = 0; i < numVertices; i++) {
95 colors[1] =
temp1 * 155 / 0x8000 + 80.3921568627451;
96
99 }
100
103}
◆ A()