mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-12 05:28:46 -04:00
Implement & link m_fishrecord.c
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef M_EVENT_MAP_NPC_H
|
||||
#define M_EVENT_MAP_NPC_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_actor.h"
|
||||
#include "m_npc.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int mEvMN_GetJointEventRandomNpc(mActor_name_t* selected_npc_id);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -17,6 +17,14 @@ typedef struct fishrecord_s {
|
||||
int size;
|
||||
} mFR_record_c;
|
||||
|
||||
enum {
|
||||
mFR_SIZE_SMALL,
|
||||
mFR_SIZE_MEDIUM,
|
||||
mFR_SIZE_LARGE,
|
||||
|
||||
mFR_SIZE_NUM
|
||||
};
|
||||
|
||||
extern void mEv_fishRecord_holder(PersonalID_c* winner_pid, u32* winning_size, lbRTC_ymd_c* contest_date);
|
||||
extern int mEv_fishday(lbRTC_ymd_c* dates, lbRTC_time_c* now_time);
|
||||
extern void mFR_fishmail();
|
||||
|
||||
@@ -53,6 +53,8 @@ enum {
|
||||
mMl_TYPE_SHOP_SALE_LEAFLET = 2,
|
||||
mMl_TYPE_BROKER_SALE_LEAFLET = 3,
|
||||
|
||||
mMl_TYPE_FISHING_CONTENST = 9,
|
||||
|
||||
mMl_TYPE_12 = 12
|
||||
};
|
||||
|
||||
|
||||
@@ -230,6 +230,8 @@ extern int mNpc_SearchAnimalPersonalID(AnmPersonalID_c* id);
|
||||
extern void mNpc_GetActorWorldName(u8* buf, mActor_name_t id);
|
||||
extern u8 mNpc_CheckNormalMail_length(int* len, u8* body);
|
||||
extern mActor_name_t mNpc_GetNpcFurniture(AnmPersonalID_c* pid);
|
||||
extern void mNpc_GetNpcWorldNameTableNo(u8* buf, mActor_name_t name_id);
|
||||
extern void mNpc_GetRandomAnimalName(u8* buf);
|
||||
|
||||
extern void mNpc_PrintRemoveInfo(gfxprint_t* gfxprint);
|
||||
extern void mNpc_PrintFriendship_fdebug(gfxprint_t* gfxprint);
|
||||
|
||||
@@ -139,6 +139,7 @@ extern u32 mSP_ItemNo2ItemPrice(mActor_name_t item_no);
|
||||
extern int mSP_SearchItemCategoryPriority(mActor_name_t item_no, int category, int priority, GAME* unused); // not sure if it's actually a GAME*
|
||||
extern mActor_name_t mSP_RandomOneFossilSelect(int multi_fossil);
|
||||
extern mActor_name_t mSP_RandomHaniwaSelect(mActor_name_t* item_buf, int num);
|
||||
extern mActor_name_t mSP_SelectFishginPresent(int player_no);
|
||||
|
||||
extern void mItemDebug_ItemDebugMain();
|
||||
extern void mItemDebug_ItemDebugDraw(gfxprint_t* gfxprint);
|
||||
|
||||
Reference in New Issue
Block a user