mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-27 15:42:46 -04:00
Implement & link m_fuusen
This commit is contained in:
@@ -2,13 +2,31 @@
|
||||
#define M_FUUSEN_H
|
||||
|
||||
#include "types.h"
|
||||
#include "m_play_h.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
enum {
|
||||
Balloon_STATE_DEAD, /* Doesn't exist */
|
||||
Balloon_STATE_CHK_SPAWN, /* Check should spawn */
|
||||
Balloon_STATE_SPAWNED, /* Sucessfully spawned */
|
||||
Balloon_STATE_LOOK_UP, /* Flew away after hitting a tree? */
|
||||
Balloon_STATE_PENDING_SPAWN, /* Didn't successfully spawn, trying again */
|
||||
|
||||
Balloon_STATE_NUM
|
||||
};
|
||||
|
||||
extern int fuusen_DEBUG_mode_flag;
|
||||
|
||||
extern void Balloon_init();
|
||||
extern void Balloon_make_fuusen(GAME_PLAY* play);
|
||||
extern void Balloon_chk_make_fuusen(GAME_PLAY* play);
|
||||
extern void Balloon_move(GAME_PLAY* play);
|
||||
extern void Balloon_kill();
|
||||
extern void Balloon_look_up();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -26,6 +26,10 @@ extern "C" {
|
||||
#define mPr_FLAG_POSTOFFICE_GIFT2 (1 << 4) // 100,000,000 Bells
|
||||
#define mPr_FLAG_POSTOFFICE_GIFT3 (1 << 5) // 999,999,999 Bells
|
||||
|
||||
#define mPr_MONEY_POWER_MIN -80
|
||||
|
||||
#define mPr_GOODS_POWER_MIN -30
|
||||
#define mPr_GOODS_POWER_MAX 50
|
||||
|
||||
enum {
|
||||
mPr_PLAYER_0,
|
||||
|
||||
Reference in New Issue
Block a user