mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-09-02 16:48:05 -04:00
Implement & link ac_npc_majin3
This commit is contained in:
+18
-1
@@ -3,11 +3,29 @@
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "ac_npc.h"
|
||||
#include "m_string.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct npc_majin3_actor_s NPC_MAJIN3_ACTOR;
|
||||
|
||||
typedef void (*aMJN3_THINK_PROC)(NPC_MAJIN3_ACTOR* actor, GAME_PLAY* play);
|
||||
typedef void (*aMJN3_TALK_PROC)(NPC_MAJIN3_ACTOR* actor, GAME_PLAY* play);
|
||||
|
||||
struct npc_majin3_actor_s {
|
||||
NPC_ACTOR npc_class;
|
||||
int think_idx;
|
||||
int next_think_idx;
|
||||
aMJN3_THINK_PROC think_proc;
|
||||
int talk_idx;
|
||||
aMJN3_TALK_PROC talk_proc;
|
||||
u8 reply[mString_DEFAULT_STR_SIZE];
|
||||
u8 reply_idx;
|
||||
};
|
||||
|
||||
extern ACTOR_PROFILE Npc_Majin3_Profile;
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -15,4 +33,3 @@ extern ACTOR_PROFILE Npc_Majin3_Profile;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -10,6 +10,10 @@ extern "C" {
|
||||
#define mString_AM 0x001
|
||||
#define mString_PM 0x002
|
||||
#define mString_WEEKDAY_START 0x009
|
||||
#define mString_RESETTI_GOOD_WORD_START 0x484
|
||||
#define mString_RESETTI_GOOD_WORD_END 0x493
|
||||
#define mString_RESETTI_NG_WORD_START 0x4C0
|
||||
#define mString_RESETTI_NG_WORD_END 0x4DF
|
||||
#define mString_DAY_START 0x64E
|
||||
#define mString_MONTH_START 0x66D
|
||||
#define mString_SONCHO_EVENT_NAME_START 0x6F8
|
||||
@@ -20,6 +24,8 @@ extern "C" {
|
||||
#define mString_HANIWA_MSG3 0x76D
|
||||
#define mString_MIKANBOX_START 0x77B
|
||||
#define mString_MIKANBOX_END 0x7FE
|
||||
|
||||
// TODO: these should be in m_msg_data.h
|
||||
#define mString_CARPETPEDDLER_START 0x48a
|
||||
#define mString_TOTAKEKE_START 0x1b93
|
||||
#define mString_SPEECH_SONCHO_START 0x3db5
|
||||
|
||||
Reference in New Issue
Block a user