Mario Kart 64
Loading...
Searching...
No Matches
update.inc.c
Go to the documentation of this file.
1#include <actors.h>
2
8void update_actor_mario_sign(struct Actor* arg0) {
9 if ((arg0->flags & 0x800) == 0) {
10 if ((arg0->flags & 0x400) != 0) {
11 arg0->pos[1] += 4.0f;
12 if (arg0->pos[1] > 800.0f) {
13 arg0->flags |= 0x800;
14 arg0->rot[1] += 1820;
15 }
16 } else {
17 arg0->rot[1] += 182;
18 }
19 }
20}
void update_actor_mario_sign(struct Actor *arg0)
Updates the Mario sign actor.
Definition update.inc.c:8
Definition actor_types.h:120
Vec3s rot
Definition actor_types.h:127
s16 flags
Definition actor_types.h:122
Vec3f pos
Definition actor_types.h:129