Implement & link m_fuusen

This commit is contained in:
Cuyler36
2023-07-14 11:05:45 -04:00
parent 3c76e992e4
commit ab7ff48d22
6 changed files with 127 additions and 6 deletions
+18
View File
@@ -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
+4
View File
@@ -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,