4#define NAMESPACE A(hos_01)
18 for (i = 0; i < numVertices; i++) {
22 vtx->v.cn[0] =
temp2 / 0x8000 + 100;
23 vtx->v.cn[1] =
temp2 / 0x8000 + 100;
26 vtx->v.cn[2] = vtx->v.cn[0] *
temp3 / 0x10000;
43 for (i = 0; i < numVertices; i++) {
46 colors[0] =
temp1 * 155 / 0x8000 + 48.62745098039216;
47 colors[1] =
temp1 * 155 / 0x8000 + 89.41176470588236;
67 for (i = 0; i < numVertices; i++) {
70 colors[0] =
temp1 * 155 / 0x8000 + 67.45098039215686;
91 for (i = 0; i < numVertices; i++) {
95 colors[1] =
temp1 * 155 / 0x8000 + 80.3921568627451;
260 .texture =
"hos_tex",
261 .shape =
"hos_bt01_shape",
262 .hit =
"hos_bt01_hit",
BSS s32 PopupMenu_SelectedIndex
@ MODEL_FLAG_HAS_LOCAL_VERTEX_COPY
Gfx * mdl_get_copied_gfx(s32 copyIndex)
void mdl_get_copied_vertices(s32 copyIndex, Vtx **firstVertex, Vtx **copiedVertices, s32 *numCopied)
void N build_gfx_green_stars(s32 index)
void N build_gfx_blue_stars(s32 index)
void N build_gfx_pink_stars(s32 index)
void N build_gfx_yellow_stars(s32 index)
ApiStatus SetCustomGfxBuilders(Evt *script, b32 isInitialCall)
ApiStatus SetModelCustomGfx(Evt *script, b32 isInitialCall)
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus TranslateModel(Evt *script, b32 isInitialCall)
Translates the given model's position.
ApiStatus UpdateLerp(Evt *script, b32 isInitialCall)
ApiStatus SetTexPanOffset(Evt *script, b32 isInitialCall)
Sets offsets for texture panners.
ApiStatus SetModelFlags(Evt *script, b32 isInitialCall)
Sets flags for models.
ApiStatus MakeLerp(Evt *script, b32 isInitialCall)
ApiStatus MakeLocalVertexCopy(Evt *script, b32 isInitialCall)
ApiStatus SetTexPanner(Evt *script, b32 isInitialCall)
Sets a model's pannerID and sets the texture pan flag.
#define Ref(sym)
Address/pointer constant.
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define Add(VAR, INT_VALUE)
#define EndLoop
Marks the end of a loop.
#define Goto(LABEL_ID)
Moves execution to the given label.
#define IfGt(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR <= RVAR.
#define IfLt(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR < RVAR.
#define Label(LABEL_ID)
Marks this point in the script as a Goto target.
#define EndIf
Marks the end of an if statement or an else block.
#define Thread
Marks the start of a thread block.
#define EndThread
Marks the end of a thread block.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define IfEq(LVAR, RVAR)
Marks the beginning of an if statement that only executes if LVAR == RVAR.
#define Call(FUNC, ARGS...)
Calls a given C EVT API function with any number of arguments.
#define Loop(TIMES)
Marks the beginning of a loop.
#define Return
Kills the current EVT thread.
#define STAGE_MODEL_LIST_END