mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-06-24 15:43:14 -04:00
Implement & link ac_turi
This commit is contained in:
@@ -3,11 +3,17 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "m_personal_id.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct fish_event_data_s {
|
||||
int size;
|
||||
PersonalID_c pID;
|
||||
} aEANG_event_data_c;
|
||||
|
||||
extern ACTOR_PROFILE Ev_Angler_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +21,3 @@ extern ACTOR_PROFILE Ev_Angler_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
+7
-1
@@ -3,11 +3,18 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_structure.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct turi_actor_s TURI_ACTOR;
|
||||
|
||||
struct turi_actor_s {
|
||||
STRUCTURE_ACTOR structure_class;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Turi_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +22,3 @@ extern ACTOR_PROFILE Turi_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
#ifndef AC_TURI_CLIP_H
|
||||
#define AC_TURI_CLIP_H
|
||||
|
||||
#include "types.h"
|
||||
#include "ac_ev_angler.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef int (*aTRC_GET_MSGNO_PROC)(mActor_name_t);
|
||||
typedef void (*aTRC_RANDOM_TOPSIZE_PROC)(void);
|
||||
typedef void (*aTRC_SET_TOPNAME_PROC)(void);
|
||||
typedef int (*aTRC_FISH_RNDSIZE_PROC)(int);
|
||||
|
||||
typedef struct turi_clip_s {
|
||||
aTRC_GET_MSGNO_PROC get_msgno_proc;
|
||||
aTRC_RANDOM_TOPSIZE_PROC random_topsize_proc;
|
||||
aTRC_SET_TOPNAME_PROC set_topname_proc;
|
||||
aTRC_FISH_RNDSIZE_PROC fish_rndsize_proc;
|
||||
} aTRC_clip_c;
|
||||
|
||||
extern int aTRC_clip_get_msgno(mActor_name_t item);
|
||||
extern void aTRC_clip_random_topsize(void);
|
||||
extern void aTRC_clip_set_topname(void);
|
||||
extern int aTRC_clip_fish_rndsize(int size_rank);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
+2
-1
@@ -31,6 +31,7 @@
|
||||
#include "ac_boxTrick01.h"
|
||||
#include "ac_broker_design.h"
|
||||
#include "ac_garagara.h"
|
||||
#include "ac_turi_clip.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -90,7 +91,7 @@ typedef struct clip_s {
|
||||
/* 0x0D8 */ void* _0D8;
|
||||
/* 0x0DC */ aAL_Clip_c* animal_logo_clip;
|
||||
/* 0x0E0 */ void* _0E0;
|
||||
/* 0x0E4 */ void* _0E4;
|
||||
/* 0x0E4 */ aTRC_clip_c* turi_clip;
|
||||
/* 0x0E8 */ SIGN_ACTOR* sign_control_actor;
|
||||
/* 0x0EC */ aAPC_Clip_c* aprilfool_control_clip;
|
||||
/* 0x0F0 */ aEvMgr_Clip_c* event_manager_clip;
|
||||
|
||||
@@ -3037,6 +3037,7 @@ extern int mNT_check_unknown(mActor_name_t item_no);
|
||||
#define DUMMY_TUKIMI 0xF10A
|
||||
#define DUMMY_MIKUJI 0xF10D
|
||||
#define DUMMY_TAMA 0xF110
|
||||
#define DUMMY_TURI 0xF111
|
||||
#define DUMMY_KOINOBORI 0xF114
|
||||
#define DUMMY_WINDMILL 0xF116
|
||||
#define DUMMY_LOTUS 0xF11B
|
||||
|
||||
@@ -10,6 +10,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
#define mString_MAX_STR 0x7FF
|
||||
#define mString_DEFAULT_STR_SIZE 16
|
||||
|
||||
extern void mString_aram_init();
|
||||
extern void mString_Load_StringFromRom(u8* dst, int dst_len, int str_no);
|
||||
|
||||
Reference in New Issue
Block a user