Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
SimpleSpring.c File Reference

Go to the source code of this file.

Functions

void entity_ScriptSpring_idle (Entity *entity)
 
void entity_SimpleSpring_idle (Entity *entity)
 
void entity_SimpleSpring_set_jump_params (Entity *entity)
 
void entity_SimpleSpring_enable_player_input (Entity *ent)
 
void entity_ScriptSpring_init (Entity *entity)
 
void entity_SimpleSpring_init (Entity *entity)
 

Variables

StaticAnimatorNodeEntity_ScriptSpring_Mesh []
 
AnimScript Entity_ScriptSpring_AnimLaunch
 
AnimScript Entity_ScriptSpring_AnimIdle
 
StaticAnimatorNodeEntity_SimpleSpring_Mesh []
 
AnimScript Entity_SimpleSpring_AnimLaunch
 
AnimScript Entity_SimpleSpring_AnimIdle
 
EntityScript Entity_ScriptSpring_Script
 
EntityScript Entity_SimpleSpring_Script
 
DmaEntry Entity_ScriptSpring_dma [] = { ENTITY_ROM(ScriptSpring_gfx), ENTITY_ROM(ScriptSpring_anim) }
 
DmaEntry Entity_SimpleSpring_dma [] = { ENTITY_ROM(SimpleSpring_gfx), ENTITY_ROM(SimpleSpring_anim) }
 
EntityBlueprint Entity_ScriptSpring
 
EntityBlueprint Entity_SimpleSpring
 

Function Documentation

◆ entity_ScriptSpring_idle()

void entity_ScriptSpring_idle ( Entity * entity)

Definition at line 24 of file SimpleSpring.c.

24 {
25 PlayerStatus* playerStatus = &gPlayerStatus;
26
28 playerStatus->camResetDelay = 5;
29 playerStatus->flags &= ~PS_FLAG_FALLING;
30 playerStatus->flags |= PS_FLAG_SCRIPTED_FALL;
32 if (entity_start_script(entity)) {
34 }
37 }
38}
AnimScript Entity_ScriptSpring_AnimLaunch
#define sfx_play_sound_at_position
@ PS_FLAG_SCRIPTED_FALL
Definition enums.h:3071
@ ENTITY_COLLISION_PLAYER_TOUCH_FLOOR
Definition enums.h:2648
@ SOUND_SPRING
Definition enums.h:1427
@ ACTION_STATE_RIDE
Definition enums.h:2461
@ ACTION_STATE_USE_SPRING
Definition enums.h:2466
@ SOUND_SPACE_DEFAULT
Definition enums.h:1737
void play_model_animation(s32, s16 *)
Definition animator.c:1101
s32 entity_start_script(Entity *entity)
Definition entity.c:560
void set_action_state(s32 actionState)
Definition 7E9D0.c:209
void exec_entity_commandlist(Entity *entity)
Definition entity.c:313
s16 virtualModelIndex
u8 collisionFlags
PlayerStatus gPlayerStatus
Definition 77480.c:39

◆ entity_SimpleSpring_idle()

void entity_SimpleSpring_idle ( Entity * entity)

Definition at line 40 of file SimpleSpring.c.

40 {
42 PlayerStatus* playerStatus = &gPlayerStatus;
43
45 if (data->launchVel >= 70) {
46 playerStatus->camResetDelay = 5;
47 }
49 entity_start_script(entity);
53 playerStatus->curSpeed = 0;
54 }
55}
AnimScript Entity_SimpleSpring_AnimLaunch
struct SimpleSpringData * simpleSpring
s32 disable_player_input(void)
Definition 77480.c:990
EntityData dataBuf

◆ entity_SimpleSpring_set_jump_params()

void entity_SimpleSpring_set_jump_params ( Entity * entity)

Definition at line 57 of file SimpleSpring.c.

57 {
59
65}
f32 gravityIntegrator[4]
@ ACTION_STATE_LAUNCH
Shy Guy Toybox jack-in-the-boxes.
Definition enums.h:2433

◆ 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)
Definition 77480.c:998

◆ entity_ScriptSpring_init()

void entity_ScriptSpring_init ( Entity * entity)

Definition at line 71 of file SimpleSpring.c.

71 {
72}

◆ entity_SimpleSpring_init()

void entity_SimpleSpring_init ( Entity * entity)

Definition at line 74 of file SimpleSpring.c.

74 {
76}
s32 CreateEntityVarArgBuffer[]
Definition entity.c:35

Variable Documentation

◆ Entity_ScriptSpring_Mesh

StaticAnimatorNode* Entity_ScriptSpring_Mesh[]
extern

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
#define ENTITY_ANIM_NULL

◆ Entity_ScriptSpring_AnimLaunch

AnimScript Entity_ScriptSpring_AnimLaunch
extern

Definition at line 94 of file ScriptSpring_anim.c.

94 {
96 as_SetRotation(1, 0.0, 0.0, 0.0)
97 as_SetPos(1, 0, 0, 0)
98 as_SetScale(1, 1.0, 1.0, 1.0)
99 as_SetRotation(2, 0.0, 0.0, 0.0)
100 as_SetPos(2, 0, 20, 0)
101 as_SetScale(2, 1.0, 1.0, 1.0)
102 as_SetRotation(3, 0.0, 0.0, 0.0)
103 as_SetPos(3, 0, 21, 0)
104 as_SetScale(3, 1.0, 1.0, 1.0)
105 as_SetRotation(4, 0.0, 0.0, 0.0)
106 as_SetPos(4, 0, 16, 0)
107 as_SetScale(4, 1.0, 1.0, 1.0)
108 as_SetRotation(5, 0.0, 0.0, 0.0)
109 as_SetPos(5, 0, 12, 0)
110 as_SetScale(5, 1.0, 1.0, 1.0)
111 as_SetRotation(6, 0.0, 0.0, 0.0)
112 as_SetPos(6, 0, 8, 0)
113 as_SetScale(6, 1.0, 1.0, 1.0)
114 as_SetRotation(7, 0.0, 0.0, 0.0)
115 as_SetPos(7, 0, 20, 0)
116 as_SetScale(7, 1.0, 1.0, 1.0)
117 as_SetRotation(8, 0.0, 0.0, 0.0)
118 as_SetPos(8, 0, 0, 0)
119 as_SetScale(8, 1.0, 1.0, 1.0)
120 as_SetRotation(9, 0.0, 0.0, 0.0)
121 as_SetPos(9, 0, 20, 0)
122 as_SetScale(9, 1.0, 1.0, 1.0)
123 as_SetRotation(10, 0.0, 0.0, 0.0)
124 as_SetPos(10, 0, 5, 0)
125 as_SetScale(10, 1.0, 1.0, 1.0)
126 as_Wait(1)
127 as_SetPos(2, 0, 11, 0)
128 as_SetPos(3, 0, 12, 0)
129 as_SetPos(4, 0, 9, 0)
130 as_SetPos(5, 0, 8, 0)
131 as_SetPos(6, 0, 6, 0)
132 as_SetPos(7, 0, 11, 0)
133 as_SetPos(9, 0, 11, 0)
134 as_Wait(1)
135 as_SetPos(2, 0, 5, 0)
136 as_SetPos(3, 0, 6, 0)
137 as_SetPos(4, 0, 5, 0)
138 as_SetPos(5, 0, 5, 0)
139 as_SetPos(6, 0, 5, 0)
140 as_SetPos(7, 0, 5, 0)
141 as_SetPos(9, 0, 5, 0)
142 as_Wait(1)
143 as_SetPos(2, 0, 14, 0)
144 as_SetPos(3, 0, 15, 0)
145 as_SetPos(4, 0, 12, 0)
146 as_SetPos(5, 0, 9, 0)
147 as_SetPos(6, 0, 7, 0)
148 as_SetPos(7, 0, 14, 0)
149 as_SetPos(9, 0, 14, 0)
150 as_Wait(1)
151 as_SetPos(2, 0, 29, 0)
152 as_SetPos(3, 0, 30, 0)
153 as_SetPos(4, 0, 23, 0)
154 as_SetPos(5, 0, 17, 0)
155 as_SetPos(6, 0, 11, 0)
156 as_SetPos(7, 0, 29, 0)
157 as_SetPos(9, 0, 29, 0)
158 as_Wait(1)
159 as_SetPos(2, 0, 44, 0)
160 as_SetPos(3, 0, 45, 0)
161 as_SetPos(4, 0, 34, 0)
162 as_SetPos(5, 0, 24, 0)
163 as_SetPos(6, 0, 14, 0)
164 as_SetPos(7, 0, 44, 0)
165 as_SetPos(9, 0, 44, 0)
166 as_Wait(1)
167 as_SetPos(2, 0, 55, 0)
168 as_SetPos(3, 0, 56, 0)
169 as_SetPos(4, 0, 42, 0)
170 as_SetPos(5, 0, 30, 0)
171 as_SetPos(6, 0, 17, 0)
172 as_SetPos(7, 0, 55, 0)
173 as_SetPos(9, 0, 55, 0)
174 as_Wait(1)
175 as_SetPos(2, 0, 59, 0)
176 as_SetPos(3, 0, 60, 0)
177 as_SetPos(4, 0, 45, 0)
178 as_SetPos(5, 0, 32, 0)
179 as_SetPos(6, 0, 18, 0)
180 as_SetPos(7, 0, 59, 0)
181 as_SetPos(9, 0, 59, 0)
182 as_Wait(1)
183 as_SetPos(2, 0, 60, 0)
184 as_SetPos(3, 0, 61, 0)
185 as_SetPos(4, 0, 46, 0)
186 as_SetPos(7, 0, 60, 0)
187 as_SetPos(9, 0, 60, 0)
188 as_Wait(1)
189 as_SetPos(2, 0, 59, 0)
190 as_SetPos(3, 0, 60, 0)
191 as_SetPos(4, 0, 45, 0)
192 as_SetPos(7, 0, 59, 0)
193 as_SetPos(9, 0, 59, 0)
194 as_Wait(1)
195 as_SetPos(2, 0, 55, 0)
196 as_SetPos(3, 0, 56, 0)
197 as_SetPos(4, 0, 42, 0)
198 as_SetPos(5, 0, 30, 0)
199 as_SetPos(6, 0, 17, 0)
200 as_SetPos(7, 0, 55, 0)
201 as_SetPos(9, 0, 55, 0)
202 as_Wait(1)
203 as_SetPos(2, 0, 45, 0)
204 as_SetPos(3, 0, 46, 0)
205 as_SetPos(4, 0, 35, 0)
206 as_SetPos(5, 0, 25, 0)
207 as_SetPos(6, 0, 15, 0)
208 as_SetPos(7, 0, 45, 0)
209 as_SetPos(9, 0, 45, 0)
210 as_Wait(1)
211 as_SetPos(2, 0, 30, 0)
212 as_SetPos(3, 0, 31, 0)
213 as_SetPos(4, 0, 24, 0)
214 as_SetPos(5, 0, 17, 0)
215 as_SetPos(6, 0, 11, 0)
216 as_SetPos(7, 0, 30, 0)
217 as_SetPos(9, 0, 30, 0)
218 as_Wait(1)
219 as_SetPos(2, 0, 16, 0)
220 as_SetPos(3, 0, 17, 0)
221 as_SetPos(4, 0, 13, 0)
222 as_SetPos(5, 0, 10, 0)
223 as_SetPos(6, 0, 7, 0)
224 as_SetPos(7, 0, 16, 0)
225 as_SetPos(9, 0, 16, 0)
226 as_Wait(1)
227 as_SetPos(2, 0, 10, 0)
228 as_SetPos(3, 0, 11, 0)
229 as_SetPos(4, 0, 8, 0)
230 as_SetPos(5, 0, 7, 0)
231 as_SetPos(6, 0, 6, 0)
232 as_SetPos(7, 0, 10, 0)
233 as_SetPos(9, 0, 10, 0)
234 as_Wait(1)
235 as_SetPos(2, 0, 12, 0)
236 as_SetPos(3, 0, 13, 0)
237 as_SetPos(4, 0, 10, 0)
238 as_SetPos(5, 0, 8, 0)
239 as_SetPos(7, 0, 12, 0)
240 as_SetPos(9, 0, 12, 0)
241 as_Wait(1)
242 as_SetPos(2, 0, 20, 0)
243 as_SetPos(3, 0, 21, 0)
244 as_SetPos(4, 0, 16, 0)
245 as_SetPos(5, 0, 12, 0)
246 as_SetPos(6, 0, 8, 0)
247 as_SetPos(7, 0, 20, 0)
248 as_SetPos(9, 0, 20, 0)
249 as_Wait(1)
250 as_SetPos(2, 0, 30, 0)
251 as_SetPos(3, 0, 31, 0)
252 as_SetPos(4, 0, 24, 0)
253 as_SetPos(5, 0, 17, 0)
254 as_SetPos(6, 0, 11, 0)
255 as_SetPos(7, 0, 30, 0)
256 as_SetPos(9, 0, 30, 0)
257 as_Wait(1)
258 as_SetPos(2, 0, 39, 0)
259 as_SetPos(3, 0, 40, 0)
260 as_SetPos(4, 0, 30, 0)
261 as_SetPos(5, 0, 22, 0)
262 as_SetPos(6, 0, 13, 0)
263 as_SetPos(7, 0, 39, 0)
264 as_SetPos(9, 0, 39, 0)
265 as_Wait(1)
266 as_SetPos(2, 0, 43, 0)
267 as_SetPos(3, 0, 44, 0)
268 as_SetPos(4, 0, 33, 0)
269 as_SetPos(5, 0, 24, 0)
270 as_SetPos(6, 0, 14, 0)
271 as_SetPos(7, 0, 43, 0)
272 as_SetPos(9, 0, 43, 0)
273 as_Wait(1)
274 as_SetPos(2, 0, 40, 0)
275 as_SetPos(3, 0, 41, 0)
276 as_SetPos(4, 0, 31, 0)
277 as_SetPos(5, 0, 22, 0)
278 as_SetPos(6, 0, 13, 0)
279 as_SetPos(7, 0, 40, 0)
280 as_SetPos(9, 0, 40, 0)
281 as_Wait(1)
282 as_SetPos(2, 0, 35, 0)
283 as_SetPos(3, 0, 36, 0)
284 as_SetPos(4, 0, 27, 0)
285 as_SetPos(5, 0, 20, 0)
286 as_SetPos(6, 0, 12, 0)
287 as_SetPos(7, 0, 35, 0)
288 as_SetPos(9, 0, 35, 0)
289 as_Wait(1)
290 as_SetPos(2, 0, 28, 0)
291 as_SetPos(3, 0, 29, 0)
292 as_SetPos(4, 0, 22, 0)
293 as_SetPos(5, 0, 16, 0)
294 as_SetPos(6, 0, 10, 0)
295 as_SetPos(7, 0, 28, 0)
296 as_SetPos(9, 0, 28, 0)
297 as_Wait(1)
298 as_SetPos(2, 0, 21, 0)
299 as_SetPos(3, 0, 22, 0)
300 as_SetPos(4, 0, 17, 0)
301 as_SetPos(5, 0, 13, 0)
302 as_SetPos(6, 0, 9, 0)
303 as_SetPos(7, 0, 21, 0)
304 as_SetPos(9, 0, 21, 0)
305 as_Wait(1)
306 as_SetPos(2, 0, 15, 0)
307 as_SetPos(3, 0, 16, 0)
308 as_SetPos(4, 0, 12, 0)
309 as_SetPos(5, 0, 10, 0)
310 as_SetPos(6, 0, 7, 0)
311 as_SetPos(7, 0, 15, 0)
312 as_SetPos(9, 0, 15, 0)
313 as_Wait(1)
314 as_SetPos(2, 0, 12, 0)
315 as_SetPos(3, 0, 13, 0)
316 as_SetPos(4, 0, 10, 0)
317 as_SetPos(5, 0, 8, 0)
318 as_SetPos(6, 0, 6, 0)
319 as_SetPos(7, 0, 12, 0)
320 as_SetPos(9, 0, 12, 0)
321 as_Wait(1)
322 as_SetPos(2, 0, 13, 0)
323 as_SetPos(3, 0, 14, 0)
324 as_SetPos(4, 0, 11, 0)
325 as_SetPos(5, 0, 9, 0)
326 as_SetPos(6, 0, 7, 0)
327 as_SetPos(7, 0, 13, 0)
328 as_SetPos(9, 0, 13, 0)
329 as_Wait(1)
330 as_SetPos(2, 0, 17, 0)
331 as_SetPos(3, 0, 18, 0)
332 as_SetPos(4, 0, 14, 0)
333 as_SetPos(5, 0, 11, 0)
334 as_SetPos(6, 0, 8, 0)
335 as_SetPos(7, 0, 17, 0)
336 as_SetPos(9, 0, 17, 0)
337 as_Wait(1)
338 as_SetPos(2, 0, 23, 0)
339 as_SetPos(3, 0, 24, 0)
340 as_SetPos(4, 0, 18, 0)
341 as_SetPos(5, 0, 14, 0)
342 as_SetPos(6, 0, 9, 0)
343 as_SetPos(7, 0, 23, 0)
344 as_SetPos(9, 0, 23, 0)
345 as_Wait(1)
346 as_SetPos(2, 0, 28, 0)
347 as_SetPos(3, 0, 29, 0)
348 as_SetPos(4, 0, 22, 0)
349 as_SetPos(5, 0, 16, 0)
350 as_SetPos(6, 0, 10, 0)
351 as_SetPos(7, 0, 28, 0)
352 as_SetPos(9, 0, 28, 0)
353 as_Wait(1)
354 as_SetPos(2, 0, 33, 0)
355 as_SetPos(3, 0, 34, 0)
356 as_SetPos(4, 0, 26, 0)
357 as_SetPos(5, 0, 19, 0)
358 as_SetPos(6, 0, 12, 0)
359 as_SetPos(7, 0, 33, 0)
360 as_SetPos(9, 0, 33, 0)
361 as_Wait(1)
362 as_SetPos(2, 0, 35, 0)
363 as_SetPos(3, 0, 36, 0)
364 as_SetPos(4, 0, 27, 0)
365 as_SetPos(5, 0, 20, 0)
366 as_SetPos(7, 0, 35, 0)
367 as_SetPos(9, 0, 35, 0)
368 as_Wait(1)
369 as_SetPos(2, 0, 33, 0)
370 as_SetPos(3, 0, 34, 0)
371 as_SetPos(4, 0, 26, 0)
372 as_SetPos(5, 0, 19, 0)
373 as_SetPos(7, 0, 33, 0)
374 as_SetPos(9, 0, 33, 0)
375 as_Wait(1)
376 as_SetPos(2, 0, 30, 0)
377 as_SetPos(3, 0, 31, 0)
378 as_SetPos(4, 0, 23, 0)
379 as_SetPos(5, 0, 17, 0)
380 as_SetPos(6, 0, 11, 0)
381 as_SetPos(7, 0, 30, 0)
382 as_SetPos(9, 0, 30, 0)
383 as_Wait(1)
384 as_SetPos(2, 0, 25, 0)
385 as_SetPos(3, 0, 26, 0)
386 as_SetPos(4, 0, 20, 0)
387 as_SetPos(5, 0, 15, 0)
388 as_SetPos(6, 0, 10, 0)
389 as_SetPos(7, 0, 25, 0)
390 as_SetPos(9, 0, 25, 0)
391 as_Wait(1)
392 as_SetPos(2, 0, 20, 0)
393 as_SetPos(3, 0, 21, 0)
394 as_SetPos(4, 0, 16, 0)
395 as_SetPos(5, 0, 12, 0)
396 as_SetPos(6, 0, 8, 0)
397 as_SetPos(7, 0, 20, 0)
398 as_SetPos(9, 0, 20, 0)
399 as_Wait(1)
400 as_SetPos(2, 0, 16, 0)
401 as_SetPos(3, 0, 17, 0)
402 as_SetPos(4, 0, 13, 0)
403 as_SetPos(5, 0, 10, 0)
404 as_SetPos(6, 0, 7, 0)
405 as_SetPos(7, 0, 16, 0)
406 as_SetPos(9, 0, 16, 0)
407 as_Wait(1)
408 as_SetPos(2, 0, 14, 0)
409 as_SetPos(3, 0, 15, 0)
410 as_SetPos(4, 0, 12, 0)
411 as_SetPos(5, 0, 9, 0)
412 as_SetPos(7, 0, 14, 0)
413 as_SetPos(9, 0, 14, 0)
414 as_Wait(1)
415 as_SetPos(2, 0, 15, 0)
416 as_SetPos(3, 0, 16, 0)
417 as_SetPos(5, 0, 10, 0)
418 as_SetPos(7, 0, 15, 0)
419 as_SetPos(9, 0, 15, 0)
420 as_Wait(1)
421 as_SetPos(2, 0, 17, 0)
422 as_SetPos(3, 0, 18, 0)
423 as_SetPos(4, 0, 14, 0)
424 as_SetPos(5, 0, 11, 0)
425 as_SetPos(6, 0, 8, 0)
426 as_SetPos(7, 0, 17, 0)
427 as_SetPos(9, 0, 17, 0)
428 as_Wait(1)
429 as_SetPos(2, 0, 21, 0)
430 as_SetPos(3, 0, 22, 0)
431 as_SetPos(4, 0, 17, 0)
432 as_SetPos(5, 0, 13, 0)
433 as_SetPos(6, 0, 9, 0)
434 as_SetPos(7, 0, 21, 0)
435 as_SetPos(9, 0, 21, 0)
436 as_Wait(1)
437 as_SetPos(2, 0, 24, 0)
438 as_SetPos(3, 0, 25, 0)
439 as_SetPos(4, 0, 19, 0)
440 as_SetPos(5, 0, 14, 0)
441 as_SetPos(7, 0, 24, 0)
442 as_SetPos(9, 0, 24, 0)
443 as_Wait(1)
444 as_SetPos(2, 0, 27, 0)
445 as_SetPos(3, 0, 28, 0)
446 as_SetPos(4, 0, 22, 0)
447 as_SetPos(5, 0, 16, 0)
448 as_SetPos(6, 0, 10, 0)
449 as_SetPos(7, 0, 27, 0)
450 as_SetPos(9, 0, 27, 0)
451 as_Wait(1)
452 as_SetPos(2, 0, 29, 0)
453 as_SetPos(3, 0, 30, 0)
454 as_SetPos(4, 0, 23, 0)
455 as_SetPos(5, 0, 17, 0)
456 as_SetPos(6, 0, 11, 0)
457 as_SetPos(7, 0, 29, 0)
458 as_SetPos(9, 0, 29, 0)
459 as_Wait(1)
460 as_SetPos(2, 0, 28, 0)
461 as_SetPos(3, 0, 29, 0)
462 as_SetPos(4, 0, 22, 0)
463 as_SetPos(5, 0, 16, 0)
464 as_SetPos(6, 0, 10, 0)
465 as_SetPos(7, 0, 28, 0)
466 as_SetPos(9, 0, 28, 0)
467 as_Wait(1)
468 as_SetPos(2, 0, 26, 0)
469 as_SetPos(3, 0, 27, 0)
470 as_SetPos(4, 0, 21, 0)
471 as_SetPos(5, 0, 15, 0)
472 as_SetPos(7, 0, 26, 0)
473 as_SetPos(9, 0, 26, 0)
474 as_Wait(1)
475 as_SetPos(2, 0, 23, 0)
476 as_SetPos(3, 0, 24, 0)
477 as_SetPos(4, 0, 19, 0)
478 as_SetPos(5, 0, 14, 0)
479 as_SetPos(6, 0, 9, 0)
480 as_SetPos(7, 0, 23, 0)
481 as_SetPos(9, 0, 23, 0)
482 as_Wait(1)
483 as_SetPos(2, 0, 20, 0)
484 as_SetPos(3, 0, 21, 0)
485 as_SetPos(4, 0, 16, 0)
486 as_SetPos(5, 0, 12, 0)
487 as_SetPos(6, 0, 8, 0)
488 as_SetPos(7, 0, 20, 0)
489 as_SetPos(9, 0, 20, 0)
490 as_Wait(1)
491 as_SetPos(2, 0, 18, 0)
492 as_SetPos(3, 0, 19, 0)
493 as_SetPos(4, 0, 15, 0)
494 as_SetPos(5, 0, 11, 0)
495 as_SetPos(7, 0, 18, 0)
496 as_SetPos(9, 0, 18, 0)
497 as_Wait(1)
498 as_SetPos(2, 0, 17, 0)
499 as_SetPos(3, 0, 18, 0)
500 as_SetPos(4, 0, 14, 0)
501 as_SetPos(7, 0, 17, 0)
502 as_SetPos(9, 0, 17, 0)
503 as_Wait(1)
504 as_SetPos(2, 0, 16, 0)
505 as_SetPos(3, 0, 17, 0)
506 as_SetPos(4, 0, 13, 0)
507 as_SetPos(5, 0, 10, 0)
508 as_SetPos(6, 0, 7, 0)
509 as_SetPos(7, 0, 16, 0)
510 as_SetPos(9, 0, 16, 0)
511 as_Wait(1)
512 as_SetPos(2, 0, 17, 0)
513 as_SetPos(3, 0, 18, 0)
514 as_SetPos(4, 0, 14, 0)
515 as_SetPos(5, 0, 11, 0)
516 as_SetPos(6, 0, 8, 0)
517 as_SetPos(7, 0, 17, 0)
518 as_SetPos(9, 0, 17, 0)
519 as_Wait(1)
520 as_Wait(1)
521 as_SetPos(2, 0, 18, 0)
522 as_SetPos(3, 0, 19, 0)
523 as_SetPos(4, 0, 15, 0)
524 as_SetPos(7, 0, 18, 0)
525 as_SetPos(9, 0, 18, 0)
526 as_Wait(1)
527 as_SetPos(2, 0, 19, 0)
528 as_SetPos(3, 0, 20, 0)
529 as_SetPos(4, 0, 16, 0)
530 as_SetPos(5, 0, 12, 0)
531 as_SetPos(7, 0, 19, 0)
532 as_SetPos(9, 0, 19, 0)
533 as_Wait(1)
534 as_SetPos(2, 0, 20, 0)
535 as_SetPos(3, 0, 21, 0)
536 as_SetPos(7, 0, 20, 0)
537 as_SetPos(9, 0, 20, 0)
538 as_Wait(1)
539 as_Loop
540 as_SetRotation(1, 0.0, 0.0, 0.0)
541 as_SetPos(1, 0, 0, 0)
542 as_SetScale(1, 1.0, 1.0, 1.0)
543 as_SetRotation(2, 0.0, 0.0, 0.0)
544 as_SetPos(2, 0, 20, 0)
545 as_SetScale(2, 1.0, 1.0, 1.0)
546 as_SetRotation(3, 0.0, 0.0, 0.0)
547 as_SetPos(3, 0, 21, 0)
548 as_SetScale(3, 1.0, 1.0, 1.0)
549 as_SetRotation(4, 0.0, 0.0, 0.0)
550 as_SetPos(4, 0, 16, 0)
551 as_SetScale(4, 1.0, 1.0, 1.0)
552 as_SetRotation(5, 0.0, 0.0, 0.0)
553 as_SetPos(5, 0, 12, 0)
554 as_SetScale(5, 1.0, 1.0, 1.0)
555 as_SetRotation(6, 0.0, 0.0, 0.0)
556 as_SetPos(6, 0, 8, 0)
557 as_SetScale(6, 1.0, 1.0, 1.0)
558 as_SetRotation(7, 0.0, 0.0, 0.0)
559 as_SetPos(7, 0, 20, 0)
560 as_SetScale(7, 1.0, 1.0, 1.0)
561 as_SetRotation(8, 0.0, 0.0, 0.0)
562 as_SetPos(8, 0, 0, 0)
563 as_SetScale(8, 1.0, 1.0, 1.0)
564 as_SetRotation(9, 0.0, 0.0, 0.0)
565 as_SetPos(9, 0, 20, 0)
566 as_SetScale(9, 1.0, 1.0, 1.0)
567 as_SetRotation(10, 0.0, 0.0, 0.0)
568 as_SetPos(10, 0, 5, 0)
569 as_SetScale(10, 1.0, 1.0, 1.0)
570 as_Wait(1)
572 as_End
573};
#define as_Wait(time)
#define as_DisableMirroring
#define as_SetPos(node, x, y, z)
#define as_SetRotation(node, x, y, z)
#define as_SetScale(node, x, y, z)
#define as_End
#define as_Loop
#define as_Restart

Referenced by entity_ScriptSpring_idle().

◆ Entity_ScriptSpring_AnimIdle

AnimScript Entity_ScriptSpring_AnimIdle
extern

Definition at line 575 of file ScriptSpring_anim.c.

575 {
577 as_SetRotation(1, 0.0, 0.0, 0.0)
578 as_SetPos(1, 0, 0, 0)
579 as_SetScale(1, 1.0, 1.0, 1.0)
580 as_SetRotation(2, 0.0, 0.0, 0.0)
581 as_SetPos(2, 0, 20, 0)
582 as_SetScale(2, 1.0, 1.0, 1.0)
583 as_SetRotation(3, 0.0, 0.0, 0.0)
584 as_SetPos(3, 0, 21, 0)
585 as_SetScale(3, 1.0, 1.0, 1.0)
586 as_SetRotation(4, 0.0, 0.0, 0.0)
587 as_SetPos(4, 0, 16, 0)
588 as_SetScale(4, 1.0, 1.0, 1.0)
589 as_SetRotation(5, 0.0, 0.0, 0.0)
590 as_SetPos(5, 0, 12, 0)
591 as_SetScale(5, 1.0, 1.0, 1.0)
592 as_SetRotation(6, 0.0, 0.0, 0.0)
593 as_SetPos(6, 0, 8, 0)
594 as_SetScale(6, 1.0, 1.0, 1.0)
595 as_SetRotation(7, 0.0, 0.0, 0.0)
596 as_SetPos(7, 0, 20, 0)
597 as_SetScale(7, 1.0, 1.0, 1.0)
598 as_SetRotation(8, 0.0, 0.0, 0.0)
599 as_SetPos(8, 0, 0, 0)
600 as_SetScale(8, 1.0, 1.0, 1.0)
601 as_SetRotation(9, 0.0, 0.0, 0.0)
602 as_SetPos(9, 0, 20, 0)
603 as_SetScale(9, 1.0, 1.0, 1.0)
604 as_SetRotation(10, 0.0, 0.0, 0.0)
605 as_SetPos(10, 0, 5, 0)
606 as_SetScale(10, 1.0, 1.0, 1.0)
607 as_Wait(1)
609 as_End
610};

◆ Entity_SimpleSpring_Mesh

StaticAnimatorNode* Entity_SimpleSpring_Mesh[]
extern

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

AnimScript Entity_SimpleSpring_AnimLaunch
extern

Definition at line 94 of file SimpleSpring_anim.c.

94 {
96 as_SetRotation(1, 0.0, 0.0, 0.0)
97 as_SetPos(1, 0, 0, 0)
98 as_SetScale(1, 1.0, 1.0, 1.0)
99 as_SetRotation(2, 0.0, 0.0, 0.0)
100 as_SetPos(2, 0, 20, 0)
101 as_SetScale(2, 1.0, 1.0, 1.0)
102 as_SetRotation(3, 0.0, 0.0, 0.0)
103 as_SetPos(3, 0, 21, 0)
104 as_SetScale(3, 1.0, 1.0, 1.0)
105 as_SetRotation(4, 0.0, 0.0, 0.0)
106 as_SetPos(4, 0, 16, 0)
107 as_SetScale(4, 1.0, 1.0, 1.0)
108 as_SetRotation(5, 0.0, 0.0, 0.0)
109 as_SetPos(5, 0, 12, 0)
110 as_SetScale(5, 1.0, 1.0, 1.0)
111 as_SetRotation(6, 0.0, 0.0, 0.0)
112 as_SetPos(6, 0, 8, 0)
113 as_SetScale(6, 1.0, 1.0, 1.0)
114 as_SetRotation(7, 0.0, 0.0, 0.0)
115 as_SetPos(7, 0, 20, 0)
116 as_SetScale(7, 1.0, 1.0, 1.0)
117 as_SetRotation(8, 0.0, 0.0, 0.0)
118 as_SetPos(8, 0, 0, 0)
119 as_SetScale(8, 1.0, 1.0, 1.0)
120 as_SetRotation(9, 0.0, 0.0, 0.0)
121 as_SetPos(9, 0, 20, 0)
122 as_SetScale(9, 1.0, 1.0, 1.0)
123 as_SetRotation(10, 0.0, 0.0, 0.0)
124 as_SetPos(10, 0, 5, 0)
125 as_SetScale(10, 1.0, 1.0, 1.0)
126 as_Wait(1)
127 as_SetPos(2, 0, 11, 0)
128 as_SetPos(3, 0, 12, 0)
129 as_SetPos(4, 0, 9, 0)
130 as_SetPos(5, 0, 8, 0)
131 as_SetPos(6, 0, 6, 0)
132 as_SetPos(7, 0, 11, 0)
133 as_SetPos(9, 0, 11, 0)
134 as_Wait(1)
135 as_SetPos(2, 0, 5, 0)
136 as_SetPos(3, 0, 6, 0)
137 as_SetPos(4, 0, 5, 0)
138 as_SetPos(5, 0, 5, 0)
139 as_SetPos(6, 0, 5, 0)
140 as_SetPos(7, 0, 5, 0)
141 as_SetPos(9, 0, 5, 0)
142 as_Wait(1)
143 as_SetPos(2, 0, 14, 0)
144 as_SetPos(3, 0, 15, 0)
145 as_SetPos(4, 0, 12, 0)
146 as_SetPos(5, 0, 9, 0)
147 as_SetPos(6, 0, 7, 0)
148 as_SetPos(7, 0, 14, 0)
149 as_SetPos(9, 0, 14, 0)
150 as_Wait(1)
151 as_SetPos(2, 0, 29, 0)
152 as_SetPos(3, 0, 30, 0)
153 as_SetPos(4, 0, 23, 0)
154 as_SetPos(5, 0, 17, 0)
155 as_SetPos(6, 0, 11, 0)
156 as_SetPos(7, 0, 29, 0)
157 as_SetPos(9, 0, 29, 0)
158 as_Wait(1)
159 as_SetPos(2, 0, 44, 0)
160 as_SetPos(3, 0, 45, 0)
161 as_SetPos(4, 0, 34, 0)
162 as_SetPos(5, 0, 24, 0)
163 as_SetPos(6, 0, 14, 0)
164 as_SetPos(7, 0, 44, 0)
165 as_SetPos(9, 0, 44, 0)
166 as_Wait(1)
167 as_SetPos(2, 0, 55, 0)
168 as_SetPos(3, 0, 56, 0)
169 as_SetPos(4, 0, 42, 0)
170 as_SetPos(5, 0, 30, 0)
171 as_SetPos(6, 0, 17, 0)
172 as_SetPos(7, 0, 55, 0)
173 as_SetPos(9, 0, 55, 0)
174 as_Wait(1)
175 as_SetPos(2, 0, 59, 0)
176 as_SetPos(3, 0, 60, 0)
177 as_SetPos(4, 0, 45, 0)
178 as_SetPos(5, 0, 32, 0)
179 as_SetPos(6, 0, 18, 0)
180 as_SetPos(7, 0, 59, 0)
181 as_SetPos(9, 0, 59, 0)
182 as_Wait(1)
183 as_SetPos(2, 0, 60, 0)
184 as_SetPos(3, 0, 61, 0)
185 as_SetPos(4, 0, 46, 0)
186 as_SetPos(7, 0, 60, 0)
187 as_SetPos(9, 0, 60, 0)
188 as_Wait(1)
189 as_SetPos(2, 0, 59, 0)
190 as_SetPos(3, 0, 60, 0)
191 as_SetPos(4, 0, 45, 0)
192 as_SetPos(7, 0, 59, 0)
193 as_SetPos(9, 0, 59, 0)
194 as_Wait(1)
195 as_SetPos(2, 0, 55, 0)
196 as_SetPos(3, 0, 56, 0)
197 as_SetPos(4, 0, 42, 0)
198 as_SetPos(5, 0, 30, 0)
199 as_SetPos(6, 0, 17, 0)
200 as_SetPos(7, 0, 55, 0)
201 as_SetPos(9, 0, 55, 0)
202 as_Wait(1)
203 as_SetPos(2, 0, 45, 0)
204 as_SetPos(3, 0, 46, 0)
205 as_SetPos(4, 0, 35, 0)
206 as_SetPos(5, 0, 25, 0)
207 as_SetPos(6, 0, 15, 0)
208 as_SetPos(7, 0, 45, 0)
209 as_SetPos(9, 0, 45, 0)
210 as_Wait(1)
211 as_SetPos(2, 0, 30, 0)
212 as_SetPos(3, 0, 31, 0)
213 as_SetPos(4, 0, 24, 0)
214 as_SetPos(5, 0, 17, 0)
215 as_SetPos(6, 0, 11, 0)
216 as_SetPos(7, 0, 30, 0)
217 as_SetPos(9, 0, 30, 0)
218 as_Wait(1)
219 as_SetPos(2, 0, 16, 0)
220 as_SetPos(3, 0, 17, 0)
221 as_SetPos(4, 0, 13, 0)
222 as_SetPos(5, 0, 10, 0)
223 as_SetPos(6, 0, 7, 0)
224 as_SetPos(7, 0, 16, 0)
225 as_SetPos(9, 0, 16, 0)
226 as_Wait(1)
227 as_SetPos(2, 0, 10, 0)
228 as_SetPos(3, 0, 11, 0)
229 as_SetPos(4, 0, 8, 0)
230 as_SetPos(5, 0, 7, 0)
231 as_SetPos(6, 0, 6, 0)
232 as_SetPos(7, 0, 10, 0)
233 as_SetPos(9, 0, 10, 0)
234 as_Wait(1)
235 as_SetPos(2, 0, 12, 0)
236 as_SetPos(3, 0, 13, 0)
237 as_SetPos(4, 0, 10, 0)
238 as_SetPos(5, 0, 8, 0)
239 as_SetPos(7, 0, 12, 0)
240 as_SetPos(9, 0, 12, 0)
241 as_Wait(1)
242 as_SetPos(2, 0, 20, 0)
243 as_SetPos(3, 0, 21, 0)
244 as_SetPos(4, 0, 16, 0)
245 as_SetPos(5, 0, 12, 0)
246 as_SetPos(6, 0, 8, 0)
247 as_SetPos(7, 0, 20, 0)
248 as_SetPos(9, 0, 20, 0)
249 as_Wait(1)
250 as_SetPos(2, 0, 30, 0)
251 as_SetPos(3, 0, 31, 0)
252 as_SetPos(4, 0, 24, 0)
253 as_SetPos(5, 0, 17, 0)
254 as_SetPos(6, 0, 11, 0)
255 as_SetPos(7, 0, 30, 0)
256 as_SetPos(9, 0, 30, 0)
257 as_Wait(1)
258 as_SetPos(2, 0, 39, 0)
259 as_SetPos(3, 0, 40, 0)
260 as_SetPos(4, 0, 30, 0)
261 as_SetPos(5, 0, 22, 0)
262 as_SetPos(6, 0, 13, 0)
263 as_SetPos(7, 0, 39, 0)
264 as_SetPos(9, 0, 39, 0)
265 as_Wait(1)
266 as_SetPos(2, 0, 43, 0)
267 as_SetPos(3, 0, 44, 0)
268 as_SetPos(4, 0, 33, 0)
269 as_SetPos(5, 0, 24, 0)
270 as_SetPos(6, 0, 14, 0)
271 as_SetPos(7, 0, 43, 0)
272 as_SetPos(9, 0, 43, 0)
273 as_Wait(1)
274 as_SetPos(2, 0, 40, 0)
275 as_SetPos(3, 0, 41, 0)
276 as_SetPos(4, 0, 31, 0)
277 as_SetPos(5, 0, 22, 0)
278 as_SetPos(6, 0, 13, 0)
279 as_SetPos(7, 0, 40, 0)
280 as_SetPos(9, 0, 40, 0)
281 as_Wait(1)
282 as_SetPos(2, 0, 35, 0)
283 as_SetPos(3, 0, 36, 0)
284 as_SetPos(4, 0, 27, 0)
285 as_SetPos(5, 0, 20, 0)
286 as_SetPos(6, 0, 12, 0)
287 as_SetPos(7, 0, 35, 0)
288 as_SetPos(9, 0, 35, 0)
289 as_Wait(1)
290 as_SetPos(2, 0, 28, 0)
291 as_SetPos(3, 0, 29, 0)
292 as_SetPos(4, 0, 22, 0)
293 as_SetPos(5, 0, 16, 0)
294 as_SetPos(6, 0, 10, 0)
295 as_SetPos(7, 0, 28, 0)
296 as_SetPos(9, 0, 28, 0)
297 as_Wait(1)
298 as_SetPos(2, 0, 21, 0)
299 as_SetPos(3, 0, 22, 0)
300 as_SetPos(4, 0, 17, 0)
301 as_SetPos(5, 0, 13, 0)
302 as_SetPos(6, 0, 9, 0)
303 as_SetPos(7, 0, 21, 0)
304 as_SetPos(9, 0, 21, 0)
305 as_Wait(1)
306 as_SetPos(2, 0, 15, 0)
307 as_SetPos(3, 0, 16, 0)
308 as_SetPos(4, 0, 12, 0)
309 as_SetPos(5, 0, 10, 0)
310 as_SetPos(6, 0, 7, 0)
311 as_SetPos(7, 0, 15, 0)
312 as_SetPos(9, 0, 15, 0)
313 as_Wait(1)
314 as_SetPos(2, 0, 12, 0)
315 as_SetPos(3, 0, 13, 0)
316 as_SetPos(4, 0, 10, 0)
317 as_SetPos(5, 0, 8, 0)
318 as_SetPos(6, 0, 6, 0)
319 as_SetPos(7, 0, 12, 0)
320 as_SetPos(9, 0, 12, 0)
321 as_Wait(1)
322 as_SetPos(2, 0, 13, 0)
323 as_SetPos(3, 0, 14, 0)
324 as_SetPos(4, 0, 11, 0)
325 as_SetPos(5, 0, 9, 0)
326 as_SetPos(6, 0, 7, 0)
327 as_SetPos(7, 0, 13, 0)
328 as_SetPos(9, 0, 13, 0)
329 as_Wait(1)
330 as_SetPos(2, 0, 17, 0)
331 as_SetPos(3, 0, 18, 0)
332 as_SetPos(4, 0, 14, 0)
333 as_SetPos(5, 0, 11, 0)
334 as_SetPos(6, 0, 8, 0)
335 as_SetPos(7, 0, 17, 0)
336 as_SetPos(9, 0, 17, 0)
337 as_Wait(1)
338 as_SetPos(2, 0, 23, 0)
339 as_SetPos(3, 0, 24, 0)
340 as_SetPos(4, 0, 18, 0)
341 as_SetPos(5, 0, 14, 0)
342 as_SetPos(6, 0, 9, 0)
343 as_SetPos(7, 0, 23, 0)
344 as_SetPos(9, 0, 23, 0)
345 as_Wait(1)
346 as_SetPos(2, 0, 28, 0)
347 as_SetPos(3, 0, 29, 0)
348 as_SetPos(4, 0, 22, 0)
349 as_SetPos(5, 0, 16, 0)
350 as_SetPos(6, 0, 10, 0)
351 as_SetPos(7, 0, 28, 0)
352 as_SetPos(9, 0, 28, 0)
353 as_Wait(1)
354 as_SetPos(2, 0, 33, 0)
355 as_SetPos(3, 0, 34, 0)
356 as_SetPos(4, 0, 26, 0)
357 as_SetPos(5, 0, 19, 0)
358 as_SetPos(6, 0, 12, 0)
359 as_SetPos(7, 0, 33, 0)
360 as_SetPos(9, 0, 33, 0)
361 as_Wait(1)
362 as_SetPos(2, 0, 35, 0)
363 as_SetPos(3, 0, 36, 0)
364 as_SetPos(4, 0, 27, 0)
365 as_SetPos(5, 0, 20, 0)
366 as_SetPos(7, 0, 35, 0)
367 as_SetPos(9, 0, 35, 0)
368 as_Wait(1)
369 as_SetPos(2, 0, 33, 0)
370 as_SetPos(3, 0, 34, 0)
371 as_SetPos(4, 0, 26, 0)
372 as_SetPos(5, 0, 19, 0)
373 as_SetPos(7, 0, 33, 0)
374 as_SetPos(9, 0, 33, 0)
375 as_Wait(1)
376 as_SetPos(2, 0, 30, 0)
377 as_SetPos(3, 0, 31, 0)
378 as_SetPos(4, 0, 23, 0)
379 as_SetPos(5, 0, 17, 0)
380 as_SetPos(6, 0, 11, 0)
381 as_SetPos(7, 0, 30, 0)
382 as_SetPos(9, 0, 30, 0)
383 as_Wait(1)
384 as_SetPos(2, 0, 25, 0)
385 as_SetPos(3, 0, 26, 0)
386 as_SetPos(4, 0, 20, 0)
387 as_SetPos(5, 0, 15, 0)
388 as_SetPos(6, 0, 10, 0)
389 as_SetPos(7, 0, 25, 0)
390 as_SetPos(9, 0, 25, 0)
391 as_Wait(1)
392 as_SetPos(2, 0, 20, 0)
393 as_SetPos(3, 0, 21, 0)
394 as_SetPos(4, 0, 16, 0)
395 as_SetPos(5, 0, 12, 0)
396 as_SetPos(6, 0, 8, 0)
397 as_SetPos(7, 0, 20, 0)
398 as_SetPos(9, 0, 20, 0)
399 as_Wait(1)
400 as_SetPos(2, 0, 16, 0)
401 as_SetPos(3, 0, 17, 0)
402 as_SetPos(4, 0, 13, 0)
403 as_SetPos(5, 0, 10, 0)
404 as_SetPos(6, 0, 7, 0)
405 as_SetPos(7, 0, 16, 0)
406 as_SetPos(9, 0, 16, 0)
407 as_Wait(1)
408 as_SetPos(2, 0, 14, 0)
409 as_SetPos(3, 0, 15, 0)
410 as_SetPos(4, 0, 12, 0)
411 as_SetPos(5, 0, 9, 0)
412 as_SetPos(7, 0, 14, 0)
413 as_SetPos(9, 0, 14, 0)
414 as_Wait(1)
415 as_SetPos(2, 0, 15, 0)
416 as_SetPos(3, 0, 16, 0)
417 as_SetPos(5, 0, 10, 0)
418 as_SetPos(7, 0, 15, 0)
419 as_SetPos(9, 0, 15, 0)
420 as_Wait(1)
421 as_SetPos(2, 0, 17, 0)
422 as_SetPos(3, 0, 18, 0)
423 as_SetPos(4, 0, 14, 0)
424 as_SetPos(5, 0, 11, 0)
425 as_SetPos(6, 0, 8, 0)
426 as_SetPos(7, 0, 17, 0)
427 as_SetPos(9, 0, 17, 0)
428 as_Wait(1)
429 as_SetPos(2, 0, 21, 0)
430 as_SetPos(3, 0, 22, 0)
431 as_SetPos(4, 0, 17, 0)
432 as_SetPos(5, 0, 13, 0)
433 as_SetPos(6, 0, 9, 0)
434 as_SetPos(7, 0, 21, 0)
435 as_SetPos(9, 0, 21, 0)
436 as_Wait(1)
437 as_SetPos(2, 0, 24, 0)
438 as_SetPos(3, 0, 25, 0)
439 as_SetPos(4, 0, 19, 0)
440 as_SetPos(5, 0, 14, 0)
441 as_SetPos(7, 0, 24, 0)
442 as_SetPos(9, 0, 24, 0)
443 as_Wait(1)
444 as_SetPos(2, 0, 27, 0)
445 as_SetPos(3, 0, 28, 0)
446 as_SetPos(4, 0, 22, 0)
447 as_SetPos(5, 0, 16, 0)
448 as_SetPos(6, 0, 10, 0)
449 as_SetPos(7, 0, 27, 0)
450 as_SetPos(9, 0, 27, 0)
451 as_Wait(1)
452 as_SetPos(2, 0, 29, 0)
453 as_SetPos(3, 0, 30, 0)
454 as_SetPos(4, 0, 23, 0)
455 as_SetPos(5, 0, 17, 0)
456 as_SetPos(6, 0, 11, 0)
457 as_SetPos(7, 0, 29, 0)
458 as_SetPos(9, 0, 29, 0)
459 as_Wait(1)
460 as_SetPos(2, 0, 28, 0)
461 as_SetPos(3, 0, 29, 0)
462 as_SetPos(4, 0, 22, 0)
463 as_SetPos(5, 0, 16, 0)
464 as_SetPos(6, 0, 10, 0)
465 as_SetPos(7, 0, 28, 0)
466 as_SetPos(9, 0, 28, 0)
467 as_Wait(1)
468 as_SetPos(2, 0, 26, 0)
469 as_SetPos(3, 0, 27, 0)
470 as_SetPos(4, 0, 21, 0)
471 as_SetPos(5, 0, 15, 0)
472 as_SetPos(7, 0, 26, 0)
473 as_SetPos(9, 0, 26, 0)
474 as_Wait(1)
475 as_SetPos(2, 0, 23, 0)
476 as_SetPos(3, 0, 24, 0)
477 as_SetPos(4, 0, 19, 0)
478 as_SetPos(5, 0, 14, 0)
479 as_SetPos(6, 0, 9, 0)
480 as_SetPos(7, 0, 23, 0)
481 as_SetPos(9, 0, 23, 0)
482 as_Wait(1)
483 as_SetPos(2, 0, 20, 0)
484 as_SetPos(3, 0, 21, 0)
485 as_SetPos(4, 0, 16, 0)
486 as_SetPos(5, 0, 12, 0)
487 as_SetPos(6, 0, 8, 0)
488 as_SetPos(7, 0, 20, 0)
489 as_SetPos(9, 0, 20, 0)
490 as_Wait(1)
491 as_SetPos(2, 0, 18, 0)
492 as_SetPos(3, 0, 19, 0)
493 as_SetPos(4, 0, 15, 0)
494 as_SetPos(5, 0, 11, 0)
495 as_SetPos(7, 0, 18, 0)
496 as_SetPos(9, 0, 18, 0)
497 as_Wait(1)
498 as_SetPos(2, 0, 17, 0)
499 as_SetPos(3, 0, 18, 0)
500 as_SetPos(4, 0, 14, 0)
501 as_SetPos(7, 0, 17, 0)
502 as_SetPos(9, 0, 17, 0)
503 as_Wait(1)
504 as_SetPos(2, 0, 16, 0)
505 as_SetPos(3, 0, 17, 0)
506 as_SetPos(4, 0, 13, 0)
507 as_SetPos(5, 0, 10, 0)
508 as_SetPos(6, 0, 7, 0)
509 as_SetPos(7, 0, 16, 0)
510 as_SetPos(9, 0, 16, 0)
511 as_Wait(1)
512 as_SetPos(2, 0, 17, 0)
513 as_SetPos(3, 0, 18, 0)
514 as_SetPos(4, 0, 14, 0)
515 as_SetPos(5, 0, 11, 0)
516 as_SetPos(6, 0, 8, 0)
517 as_SetPos(7, 0, 17, 0)
518 as_SetPos(9, 0, 17, 0)
519 as_Wait(1)
520 as_Wait(1)
521 as_SetPos(2, 0, 18, 0)
522 as_SetPos(3, 0, 19, 0)
523 as_SetPos(4, 0, 15, 0)
524 as_SetPos(7, 0, 18, 0)
525 as_SetPos(9, 0, 18, 0)
526 as_Wait(1)
527 as_SetPos(2, 0, 19, 0)
528 as_SetPos(3, 0, 20, 0)
529 as_SetPos(4, 0, 16, 0)
530 as_SetPos(5, 0, 12, 0)
531 as_SetPos(7, 0, 19, 0)
532 as_SetPos(9, 0, 19, 0)
533 as_Wait(1)
534 as_SetPos(2, 0, 20, 0)
535 as_SetPos(3, 0, 21, 0)
536 as_SetPos(7, 0, 20, 0)
537 as_SetPos(9, 0, 20, 0)
538 as_Wait(1)
539 as_Loop
540 as_SetRotation(1, 0.0, 0.0, 0.0)
541 as_SetPos(1, 0, 0, 0)
542 as_SetScale(1, 1.0, 1.0, 1.0)
543 as_SetRotation(2, 0.0, 0.0, 0.0)
544 as_SetPos(2, 0, 20, 0)
545 as_SetScale(2, 1.0, 1.0, 1.0)
546 as_SetRotation(3, 0.0, 0.0, 0.0)
547 as_SetPos(3, 0, 21, 0)
548 as_SetScale(3, 1.0, 1.0, 1.0)
549 as_SetRotation(4, 0.0, 0.0, 0.0)
550 as_SetPos(4, 0, 16, 0)
551 as_SetScale(4, 1.0, 1.0, 1.0)
552 as_SetRotation(5, 0.0, 0.0, 0.0)
553 as_SetPos(5, 0, 12, 0)
554 as_SetScale(5, 1.0, 1.0, 1.0)
555 as_SetRotation(6, 0.0, 0.0, 0.0)
556 as_SetPos(6, 0, 8, 0)
557 as_SetScale(6, 1.0, 1.0, 1.0)
558 as_SetRotation(7, 0.0, 0.0, 0.0)
559 as_SetPos(7, 0, 20, 0)
560 as_SetScale(7, 1.0, 1.0, 1.0)
561 as_SetRotation(8, 0.0, 0.0, 0.0)
562 as_SetPos(8, 0, 0, 0)
563 as_SetScale(8, 1.0, 1.0, 1.0)
564 as_SetRotation(9, 0.0, 0.0, 0.0)
565 as_SetPos(9, 0, 20, 0)
566 as_SetScale(9, 1.0, 1.0, 1.0)
567 as_SetRotation(10, 0.0, 0.0, 0.0)
568 as_SetPos(10, 0, 5, 0)
569 as_SetScale(10, 1.0, 1.0, 1.0)
570 as_Wait(1)
572 as_End
573};

Referenced by entity_SimpleSpring_idle().

◆ Entity_SimpleSpring_AnimIdle

AnimScript Entity_SimpleSpring_AnimIdle
extern

Definition at line 575 of file SimpleSpring_anim.c.

575 {
577 as_SetRotation(1, 0.0, 0.0, 0.0)
578 as_SetPos(1, 0, 0, 0)
579 as_SetScale(1, 1.0, 1.0, 1.0)
580 as_SetRotation(2, 0.0, 0.0, 0.0)
581 as_SetPos(2, 0, 20, 0)
582 as_SetScale(2, 1.0, 1.0, 1.0)
583 as_SetRotation(3, 0.0, 0.0, 0.0)
584 as_SetPos(3, 0, 21, 0)
585 as_SetScale(3, 1.0, 1.0, 1.0)
586 as_SetRotation(4, 0.0, 0.0, 0.0)
587 as_SetPos(4, 0, 16, 0)
588 as_SetScale(4, 1.0, 1.0, 1.0)
589 as_SetRotation(5, 0.0, 0.0, 0.0)
590 as_SetPos(5, 0, 12, 0)
591 as_SetScale(5, 1.0, 1.0, 1.0)
592 as_SetRotation(6, 0.0, 0.0, 0.0)
593 as_SetPos(6, 0, 8, 0)
594 as_SetScale(6, 1.0, 1.0, 1.0)
595 as_SetRotation(7, 0.0, 0.0, 0.0)
596 as_SetPos(7, 0, 20, 0)
597 as_SetScale(7, 1.0, 1.0, 1.0)
598 as_SetRotation(8, 0.0, 0.0, 0.0)
599 as_SetPos(8, 0, 0, 0)
600 as_SetScale(8, 1.0, 1.0, 1.0)
601 as_SetRotation(9, 0.0, 0.0, 0.0)
602 as_SetPos(9, 0, 20, 0)
603 as_SetScale(9, 1.0, 1.0, 1.0)
604 as_SetRotation(10, 0.0, 0.0, 0.0)
605 as_SetPos(10, 0, 5, 0)
606 as_SetScale(10, 1.0, 1.0, 1.0)
607 as_Wait(1)
609 as_End
610};

◆ Entity_ScriptSpring_Script

EntityScript Entity_ScriptSpring_Script
Initial value:
= {
es_SetCallback(NULL, 10)
}
void entity_ScriptSpring_idle(Entity *entity)
#define es_Restart
Definition entity.h:40
#define es_SetCallback(func, time)
Definition entity.h:38
#define es_End
Definition entity.h:35

Definition at line 78 of file SimpleSpring.c.

◆ Entity_SimpleSpring_Script

EntityScript Entity_SimpleSpring_Script
Initial value:
= {
es_SetCallback(NULL, 2)
es_SetCallback(NULL, 3)
es_SetCallback(NULL, 10)
}
void entity_SimpleSpring_enable_player_input(Entity *ent)
void entity_SimpleSpring_idle(Entity *entity)
void entity_SimpleSpring_set_jump_params(Entity *entity)
#define es_Call(func)
Definition entity.h:37

Definition at line 85 of file SimpleSpring.c.

◆ Entity_ScriptSpring_dma

DmaEntry Entity_ScriptSpring_dma[] = { ENTITY_ROM(ScriptSpring_gfx), ENTITY_ROM(ScriptSpring_anim) }

Definition at line 96 of file SimpleSpring.c.

96{ ENTITY_ROM(ScriptSpring_gfx), ENTITY_ROM(ScriptSpring_anim) };
#define ENTITY_ROM(name)
Definition entity.h:65

◆ Entity_SimpleSpring_dma

DmaEntry Entity_SimpleSpring_dma[] = { ENTITY_ROM(SimpleSpring_gfx), ENTITY_ROM(SimpleSpring_anim) }

Definition at line 98 of file SimpleSpring.c.

98{ ENTITY_ROM(SimpleSpring_gfx), ENTITY_ROM(SimpleSpring_anim) };

◆ Entity_ScriptSpring

EntityBlueprint Entity_ScriptSpring
Initial value:
= {
.typeDataSize = 0,
.renderCommandList = Entity_ScriptSpring_AnimIdle,
.modelAnimationNodes = Entity_ScriptSpring_Mesh,
.updateEntityScript = Entity_ScriptSpring_Script,
.fpHandleCollision = NULL,
{ .dmaList = Entity_ScriptSpring_dma },
.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
Definition enums.h:2584
@ ENTITY_FLAG_HAS_ANIMATED_MODEL
Definition enums.h:2616
@ ENTITY_FLAG_ALWAYS_FACE_CAMERA
Definition enums.h:2626

Definition at line 100 of file SimpleSpring.c.

100 {
102 .typeDataSize = 0,
103 .renderCommandList = Entity_ScriptSpring_AnimIdle,
104 .modelAnimationNodes = Entity_ScriptSpring_Mesh,
105 .fpInit = entity_ScriptSpring_init,
106 .updateEntityScript = Entity_ScriptSpring_Script,
107 .fpHandleCollision = NULL,
108 { .dmaList = Entity_ScriptSpring_dma },
109 .entityType = ENTITY_TYPE_SCRIPT_SPRING,
110 .aabbSize = {40, 25, 40}
111};

◆ Entity_SimpleSpring

EntityBlueprint Entity_SimpleSpring
Initial value:
= {
.typeDataSize = sizeof(SimpleSpringData),
.renderCommandList = Entity_SimpleSpring_AnimIdle,
.modelAnimationNodes = Entity_SimpleSpring_Mesh,
.updateEntityScript = Entity_SimpleSpring_Script,
.fpHandleCollision = NULL,
{ .dmaList = Entity_SimpleSpring_dma },
.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 enums.h:2583

Definition at line 113 of file SimpleSpring.c.

113 {
115 .typeDataSize = sizeof(SimpleSpringData),
116 .renderCommandList = Entity_SimpleSpring_AnimIdle,
117 .modelAnimationNodes = Entity_SimpleSpring_Mesh,
118 .fpInit = entity_SimpleSpring_init,
119 .updateEntityScript = Entity_SimpleSpring_Script,
120 .fpHandleCollision = NULL,
121 { .dmaList = Entity_SimpleSpring_dma },
122 .entityType = ENTITY_TYPE_SIMPLE_SPRING,
123 .aabbSize = {40, 25, 40}
124};