mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-09 12:37:22 -04:00
link m_snowman
This commit is contained in:
@@ -188,7 +188,8 @@ typedef struct common_data_s {
|
||||
/* 0x0266A4 */ int scene_from_title_demo; /* next scene to be loaded when title demo finishes */
|
||||
/* 0x0266A8 */ mNPS_schedule_c npc_schedule[SCHEDULE_NUM];
|
||||
/* 0x0267A8 */ mNpc_walk_c npc_walk;
|
||||
/* 0x026838 */ u8 _26838[0x2852C - 0x26838];
|
||||
/* 0x026838 */ u8 _26838[0x28528 - 0x26838];
|
||||
/* 0x028528 */ int snowman_msg_id;
|
||||
/* 0x02852C */ s16 money_power;
|
||||
/* 0x02852E */ s16 goods_power;
|
||||
/* 0x028530 */ Door_data_c door_data; /* misc door data */
|
||||
|
||||
@@ -1124,6 +1124,15 @@ extern int mNT_check_unknown(mActor_name_t item_no);
|
||||
#define ACTOR_PROP_HANIWA1 (ACTOR_PROP_HANIWA0 + 1)
|
||||
#define ACTOR_PROP_HANIWA2 (ACTOR_PROP_HANIWA1 + 1)
|
||||
#define ACTOR_PROP_HANIWA3 (ACTOR_PROP_HANIWA2 + 1)
|
||||
#define SNOWMAN0 (ACTOR_PROP_HANIWA3 + 1)
|
||||
#define SNOWMAN1 (SNOWMAN0 + 1)
|
||||
#define SNOWMAN2 (SNOWMAN1 + 1)
|
||||
#define SNOWMAN3 (SNOWMAN2 + 1)
|
||||
#define SNOWMAN4 (SNOWMAN3 + 1)
|
||||
#define SNOWMAN5 (SNOWMAN4 + 1)
|
||||
#define SNOWMAN6 (SNOWMAN5 + 1)
|
||||
#define SNOWMAN7 (SNOWMAN6 + 1)
|
||||
#define SNOWMAN8 (SNOWMAN7 + 1)
|
||||
#define TRAIN_DOOR 0xA011
|
||||
|
||||
#define SP_NPC_START 0xD000
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#define M_SNOWMAN_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_lib.h"
|
||||
#include "m_actor_type.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -22,6 +24,21 @@ typedef struct snowman_save_data_s {
|
||||
/* 0x00 */ mSN_snowman_data_c snowmen_data[mSN_SAVE_COUNT];
|
||||
} mSN_snowman_save_c;
|
||||
|
||||
/* sizeof(mSN_snowman_info_c) == 0xC */
|
||||
typedef struct snowman_info_s{
|
||||
/* 0x00 */ int scale;
|
||||
/* 0x04 */ xyz_t pos;
|
||||
}mSN_snowman_info_c;
|
||||
|
||||
extern int mSN_check_life(mActor_name_t* ac, int idx);
|
||||
extern int mSN_ClearSnowmanData(mActor_name_t* ac, int idx);
|
||||
extern int mSN_ClearSnowman(mActor_name_t* ac);
|
||||
extern int mSN_MeltSnowman(mActor_name_t* ac, int days);
|
||||
extern int mSN_get_free_space();
|
||||
extern void mSN_regist_snowman_society(mSN_snowman_info_c* info);
|
||||
extern void mSN_decide_msg();
|
||||
extern void mSN_snowman_init();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user