Mario Kart 64
Loading...
Searching...
No Matches
update.inc.c
Go to the documentation of this file.
1#include <actors.h>
2
11 arg0->wheelRot -= 0x666;
12
13 if (arg0->unk_08 != 0.0f) {
14 arg0->unk_08 = 0.0f;
15 func_800C9D80(arg0->pos, arg0->velocity, SOUND_ARG_LOAD(0x51, 0x01, 0x80, 0x00));
16 }
17}
18
25void update_actor_train_tender(struct TrainCar* tender) {
26 tender->wheelRot -= 0x4FA;
27}
28
37 arg0->wheelRot -= 0x666;
38}
void func_800C9D80(Vec3f position, Vec3f velocity, u32 soundBits)
Definition external.c:3115
#define SOUND_ARG_LOAD(sound_bank, byte2, byte3, sound_id)
Definition sounds.h:14
Definition actor_types.h:144
s16 wheelRot
Definition actor_types.h:148
f32 unk_08
Definition actor_types.h:149
Vec3f pos
Definition actor_types.h:153
Vec3f velocity
Definition actor_types.h:154
void update_actor_train_engine(struct TrainCar *arg0)
Updates the train engine actor. Used in Kalimari Desert. Update wheels and make sound,...
Definition update.inc.c:10
void update_actor_train_tender(struct TrainCar *tender)
Updates the train tender actor. Used in Kalimari Desert. Update wheels, for his update position it's ...
Definition update.inc.c:25
void update_actor_train_passenger_car(struct TrainCar *arg0)
Updates the train passenger car actor. Used in Kalimari Desert. Update wheels, for his update positio...
Definition update.inc.c:36