Go to the source code of this file.
◆ entity_ScriptSpring_idle()
void entity_ScriptSpring_idle |
( |
Entity * | entity | ) |
|
Definition at line 24 of file SimpleSpring.c.
24 {
26
29 playerStatus->
flags &= ~PS_FLAG_FALLING;
34 }
37 }
38}
AnimScript Entity_ScriptSpring_AnimLaunch
#define sfx_play_sound_at_position
@ ENTITY_COLLISION_PLAYER_TOUCH_FLOOR
@ ACTION_STATE_USE_SPRING
void play_model_animation(s32, s16 *)
s32 entity_start_script(Entity *entity)
void set_action_state(s32 actionState)
void exec_entity_commandlist(Entity *entity)
PlayerStatus gPlayerStatus
◆ entity_SimpleSpring_idle()
void entity_SimpleSpring_idle |
( |
Entity * | entity | ) |
|
Definition at line 40 of file SimpleSpring.c.
40 {
43
47 }
54 }
55}
AnimScript Entity_SimpleSpring_AnimLaunch
struct SimpleSpringData * simpleSpring
s32 disable_player_input(void)
◆ entity_SimpleSpring_set_jump_params()
void entity_SimpleSpring_set_jump_params |
( |
Entity * | entity | ) |
|
Definition at line 57 of file SimpleSpring.c.
57 {
59
65}
@ ACTION_STATE_LAUNCH
Shy Guy Toybox jack-in-the-boxes.
◆ entity_SimpleSpring_enable_player_input()
void entity_SimpleSpring_enable_player_input |
( |
Entity * | ent | ) |
|
Definition at line 67 of file SimpleSpring.c.
67 {
69}
s32 enable_player_input(void)
◆ entity_ScriptSpring_init()
void entity_ScriptSpring_init |
( |
Entity * | entity | ) |
|
◆ entity_SimpleSpring_init()
void entity_SimpleSpring_init |
( |
Entity * | entity | ) |
|
Definition at line 74 of file SimpleSpring.c.
74 {
76}
s32 CreateEntityVarArgBuffer[]
◆ Entity_ScriptSpring_Mesh
Definition at line 80 of file ScriptSpring_anim.c.
80 {
92};
StaticAnimatorNode Entity_ScriptSpring_NodePart9
StaticAnimatorNode Entity_ScriptSpring_NodePart5
StaticAnimatorNode Entity_ScriptSpring_NodePart4
StaticAnimatorNode Entity_ScriptSpring_NodePart6
StaticAnimatorNode Entity_ScriptSpring_NodePart3
StaticAnimatorNode Entity_ScriptSpring_NodePart2
StaticAnimatorNode Entity_ScriptSpring_NodePart1
StaticAnimatorNode Entity_ScriptSpring_ParentNode
StaticAnimatorNode Entity_ScriptSpring_NodePart8
StaticAnimatorNode Entity_ScriptSpring_NodePart7
◆ Entity_ScriptSpring_AnimLaunch
Definition at line 94 of file ScriptSpring_anim.c.
94 {
573};
#define as_DisableMirroring
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
Referenced by entity_ScriptSpring_idle().
◆ Entity_ScriptSpring_AnimIdle
◆ Entity_SimpleSpring_Mesh
Definition at line 80 of file SimpleSpring_anim.c.
80 {
92};
StaticAnimatorNode Entity_SimpleSpring_NodePart2
StaticAnimatorNode Entity_SimpleSpring_NodePart1
StaticAnimatorNode Entity_SimpleSpring_NodePart7
StaticAnimatorNode Entity_SimpleSpring_ParentNode
StaticAnimatorNode Entity_SimpleSpring_NodePart9
StaticAnimatorNode Entity_SimpleSpring_NodePart6
StaticAnimatorNode Entity_SimpleSpring_NodePart4
StaticAnimatorNode Entity_SimpleSpring_NodePart3
StaticAnimatorNode Entity_SimpleSpring_NodePart5
StaticAnimatorNode Entity_SimpleSpring_NodePart8
◆ Entity_SimpleSpring_AnimLaunch
◆ Entity_SimpleSpring_AnimIdle
◆ Entity_ScriptSpring_Script
Initial value:= {
}
void entity_ScriptSpring_idle(Entity *entity)
#define es_SetCallback(func, time)
Definition at line 78 of file SimpleSpring.c.
◆ Entity_SimpleSpring_Script
Initial value:= {
}
void entity_SimpleSpring_enable_player_input(Entity *ent)
void entity_SimpleSpring_idle(Entity *entity)
void entity_SimpleSpring_set_jump_params(Entity *entity)
Definition at line 85 of file SimpleSpring.c.
◆ Entity_ScriptSpring_dma
◆ Entity_SimpleSpring_dma
◆ Entity_ScriptSpring
Initial value:= {
.typeDataSize = 0,
.fpHandleCollision = NULL,
.aabbSize = {40, 25, 40}
}
EntityScript Entity_ScriptSpring_Script
DmaEntry Entity_ScriptSpring_dma[]
void entity_ScriptSpring_init(Entity *entity)
StaticAnimatorNode * Entity_ScriptSpring_Mesh[]
AnimScript Entity_ScriptSpring_AnimIdle
@ ENTITY_TYPE_SCRIPT_SPRING
@ ENTITY_FLAG_HAS_ANIMATED_MODEL
@ ENTITY_FLAG_ALWAYS_FACE_CAMERA
Definition at line 100 of file SimpleSpring.c.
100 {
102 .typeDataSize = 0,
107 .fpHandleCollision = NULL,
110 .aabbSize = {40, 25, 40}
111};
◆ Entity_SimpleSpring
Initial value:= {
.fpHandleCollision = NULL,
.aabbSize = {40, 25, 40}
}
void entity_SimpleSpring_init(Entity *entity)
StaticAnimatorNode * Entity_SimpleSpring_Mesh[]
EntityScript Entity_SimpleSpring_Script
AnimScript Entity_SimpleSpring_AnimIdle
DmaEntry Entity_SimpleSpring_dma[]
@ ENTITY_TYPE_SIMPLE_SPRING
Definition at line 113 of file SimpleSpring.c.
113 {
120 .fpHandleCollision = NULL,
123 .aabbSize = {40, 25, 40}
124};