mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-09 04:30:51 -04:00
Implement & link ac_mbg
This commit is contained in:
+10
-1
@@ -8,6 +8,16 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct mbg_actor_s MBG_ACTOR;
|
||||
|
||||
struct mbg_actor_s {
|
||||
ACTOR actor;
|
||||
mCoBG_bg_regist_c move_bg_regist;
|
||||
int move_bg_regist_idx;
|
||||
xyz_t original_pos;
|
||||
f32 move_counter;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Mbg_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +25,3 @@ extern ACTOR_PROFILE Mbg_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -267,6 +267,10 @@ extern f32 mCoBG_GetBalloonGroundY(const xyz_t* pos);
|
||||
extern void mCoBG_MakeBoatCollision(ACTOR* actor, xyz_t* pos, s16* angle_y);
|
||||
extern void mCoBG_DeleteBoatCollision(ACTOR* actor);
|
||||
extern void mCoBG_WaveCos2BgCheck(f32 wave_cos);
|
||||
extern int mCoBG_RegistMoveBg(mCoBG_bg_regist_c* bg_regist, xyz_t* wpos, xyz_t* last_wpos, s16* angle_y, f32 height,
|
||||
mCoBG_bg_size_c* bg_size, f32* scale_percent, mCoBG_bg_contact_c* bg_contact, xyz_t* ofs,
|
||||
int type, u32 attribute, f32 check_dist);
|
||||
extern void mCoBG_CrossOffMoveBg(int move_bg_idx);
|
||||
|
||||
extern void mCoBG_InitMoveBgData();
|
||||
extern void mCoBG_InitBlockBgCheckMode();
|
||||
|
||||
@@ -2249,6 +2249,7 @@ extern int mNT_check_unknown(mActor_name_t item_no);
|
||||
#define ETC_START 0x8000
|
||||
#define ETC_AIRPLANE ETC_START
|
||||
#define ETC_BALL (ETC_START + 1)
|
||||
#define ETC_MBG (ETC_START + 3)
|
||||
#define ETC_BOXTRICK (ETC_START + 4)
|
||||
#define ETC_BOXMANAGER (ETC_START + 5)
|
||||
#define ETC_SNOWMAN_BALL_A (ETC_START + 13)
|
||||
|
||||
Reference in New Issue
Block a user