5#define NAMESPACE A(omo_01)
36 for (i = 0; i == 0; i++,
horse++) {
40 horse->offsetX = 0.0f;
41 horse->offsetZ = 0.0f;
42 horse->rockPhaseAngularVel = 3.5f;
43 horse->rockPhase = 0.0f;
48 for (i = 0; i == 0; i++,
horse++) {
49 horse->rockPhase +=
horse->rockPhaseAngularVel;
52 rotZ =
sin_rad(
horse->rockPhase * 3.14f / 180.0f) * 20.0f;
53 offsetY =
SQ(rotZ) / 90.0f;
100 .shape =
"omo_bt01_shape",
101 .hit =
"omo_bt01_hit",
BSS s32 PopupMenu_SelectedIndex
@ MODEL_FLAG_HAS_TRANSFORM
@ MODEL_FLAG_MATRIX_DIRTY
s32 get_model_list_index_from_tree_index(s32 treeIndex)
struct Model * get_model_from_list_index(s32 listIndex)
void * heap_malloc(s32 size)
ApiStatus SetSpriteShading(Evt *script, b32 isInitialCall)
ApiStatus RotateModel(Evt *script, b32 isInitialCall)
Rotates the model the given amount on the selected axis.
ApiStatus ClampAngleFloat(Evt *script, b32 isInitialCall)
ApiStatus SetCamBGColor(Evt *script, b32 isInitialCall)
#define End
Signals the end of EVT script data. A script missing this will likely crash on load.
#define EndLoop
Marks the end of a loop.
#define Thread
Marks the start of a thread block.
#define EndThread
Marks the end of a thread block.
#define SetF(VAR, FLOAT_VALUE)
Sets the given variable to a given value, but supports Floats.
#define Wait(NUM_FRAMES)
Blocks for the given number of frames.
#define SubF(VAR, FLOAT_VALUE)
#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 Exec(EVT_SOURCE)
Launches a new thread.
#define Return
Kills the current EVT thread.