mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-01 16:29:58 -04:00
Implement & link ac_ev_speech_soncho
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -10,9 +11,29 @@ extern "C" {
|
||||
|
||||
extern ACTOR_PROFILE Ev_Speech_Soncho_Profile;
|
||||
|
||||
typedef struct ac_npc_speech_soncho NPC_SPEECH_SONCHO;
|
||||
|
||||
typedef void (*aESS_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
|
||||
typedef void (*aESS_THINK_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
|
||||
typedef void (*aESS_SCHEDULE_PROC)(NPC_SPEECH_SONCHO* soncho, GAME_PLAY* play);
|
||||
|
||||
struct ac_npc_speech_soncho {
|
||||
NPC_ACTOR npc_class;
|
||||
/* 0x994 */ int think_proc;
|
||||
/* 0x998 */ aESS_PROC _998;
|
||||
};
|
||||
|
||||
struct aess_think_info {
|
||||
aESS_PROC proc;
|
||||
aNPC_TALK_REQUEST_PROC talk_request_proc;
|
||||
aNPC_TALK_END_CHECK_PROC talk_end_check_proc;
|
||||
u8 flag;
|
||||
};
|
||||
|
||||
typedef struct aess_think_info aESS_think_info;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@ extern "C" {
|
||||
#define mString_HANIWA_MSG3 0x76D
|
||||
#define mString_MIKANBOX_START 0x77B
|
||||
#define mString_MIKANBOX_END 0x7FE
|
||||
#define mString_CARPETPEDDLER_START 0x48a
|
||||
#define mString_TOTAKEKE_START 0x1b93
|
||||
#define mString_SPEECH_SONCHO_START 0x3db5
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user