Implement & link ac_balloon

This commit is contained in:
Cuyler36
2024-10-30 22:43:59 -04:00
parent 77390266cf
commit 5cc76898a6
3 changed files with 255 additions and 1 deletions
+17
View File
@@ -3,11 +3,27 @@
#include "types.h"
#include "m_actor.h"
#include "c_keyframe.h"
#ifdef __cplusplus
extern "C" {
#endif
enum {
Ac_Balloon_TYPE0,
Ac_Balloon_TYPE1,
Ac_Balloon_TYPE2,
Ac_Balloon_TYPE3,
Ac_Balloon_TYPE4,
Ac_Balloon_TYPE5,
Ac_Balloon_TYPE6,
Ac_Balloon_TYPE7,
Ac_Balloon_TYPE_NUM
};
#define Ac_Balloon_TYPE_VALID(n) ((n) >= 0 && (n) < Ac_Balloon_TYPE_NUM)
#define Ac_Balloon_JOINT_NUM 8
typedef struct balloon_actor_s BALLOON_ACTOR;
@@ -31,6 +47,7 @@ struct balloon_actor_s {
int _474;
};
extern void Ac_Balloon_request_hide(ACTOR* actorx, GAME* game);
extern void Ac_Balloon_request_fly(ACTOR* actorx, GAME* game, int balloon_type, s_xyz* angle_p, s16 lean, xyz_t* pos_p,
f32 start_frame, f32 speed);