papermario
Decompilation of Paper Mario
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Loading...
Searching...
No Matches
huff_n_puff.c File Reference

Data Structures

struct  SuctionPath
 

Macros

#define NAMESPACE   A(huff_n_puff)
 
#define MAX_RUFF_PUFFS   10
 
#define FOR_CHILDREN_ORDERED(template)
 
#define FOR_CHILDREN_SCATTERED(template)
 
#define HNP_REGISTER_CHILD(idx)
 
#define HNP_KILL_CHILD(idx)
 
#define HNP_KILL_CHILD(idx)
 
#define HNP_GET_SPEAKER(idx)
 
#define HNP_GET_SPEAKER(idx)
 
#define HNP_GET_SPEAKER(idx)
 
#define HNP_GET_SPEAKER(idx)
 
#define HNP_LOAD_SUCTION_PATH(idx)
 
#define HNP_ADD_HEAL_VALUE(idx)
 
#define HNP_INHALE_CHILD(idx)
 
#define HNP_GROUP_ASCEND(idx)
 
#define HNP_GROUP_DROP(idx)
 
#define HNP_IMPACT_JIGGLE(idx)
 
#define HNP_RETURN_HOME(idx)
 
#define HNP_ADD_CHILD(idx)
 
#define HNP_RETURN_HOME(idx)
 
#define HNP_SWARM_MOVE_UP(idx)
 
#define HNP_ADD_CHILD(idx)
 
#define HNP_SWARM_SURROUND_PLAYER(idx)
 
#define HNP_ADD_CHILD(idx)
 
#define HNP_SQUEEZE_PLAYER(idx)
 
#define HNP_SCATTER_PUFF(idx)
 
#define HNP_RETURN_HOME(idx)
 
#define HNP_SCATTER_PUFF(idx)
 
#define HNP_RETURN_HOME(idx)
 

Functions

ActorBlueprint A (tuff_puff)
 
ActorBlueprint A (huff_n_puff)
 

Data Structure Documentation

◆ SuctionPath

struct SuctionPath
Data Fields
Vec3f end
Vec3f mid
Vec3f start

Macro Definition Documentation

◆ FOR_CHILDREN_ORDERED

#define FOR_CHILDREN_ORDERED ( template)
Value:
template(0) \
template(1) \
BSS s32 PopupMenu_SelectedIndex
Definition 8a860_len_3f30.c:84

◆ FOR_CHILDREN_SCATTERED

#define FOR_CHILDREN_SCATTERED ( template)
Value:
template(4) \
template(9) \

◆ HNP_ADD_CHILD [1/3]

#define HNP_ADD_CHILD ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
Add(LVarA, 1) \
#define EndIf
Marks the end of an if statement or an else block.
Definition macros.h:310
#define IfFlag(LVAR, RVAR)
Marks the beginning of an if statement that only executes if the RVAR flag is set on LVAR,...
Definition macros.h:300
#define LVarA
Definition macros.h:154
#define LVar0
Definition macros.h:144

◆ HNP_ADD_CHILD [2/3]

#define HNP_ADD_CHILD ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
Add(LVarA, 1) \

◆ HNP_ADD_CHILD [3/3]

#define HNP_ADD_CHILD ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
Add(LVar9, 1) \
#define LVar9
Definition macros.h:153

◆ HNP_ADD_HEAL_VALUE

#define HNP_ADD_HEAL_VALUE ( idx)
Value:
IfFlag(LVar9, 1 << idx) \
#define ArrayVar(INDEX)
User Word.
Definition macros.h:118
#define LVarB
Definition macros.h:155

◆ HNP_GET_SPEAKER [1/4]

#define HNP_GET_SPEAKER ( idx)
Value:

◆ HNP_GET_SPEAKER [2/4]

#define HNP_GET_SPEAKER ( idx)
Value:

◆ HNP_GET_SPEAKER [3/4]

#define HNP_GET_SPEAKER ( idx)
Value:

◆ HNP_GET_SPEAKER [4/4]

#define HNP_GET_SPEAKER ( idx)
Value:

◆ HNP_GROUP_ASCEND

#define HNP_GROUP_ASCEND ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
Mul(LVarF, 36) \
Add(LVarF, -90) \
Wait(8) \
@ EASING_QUADRATIC_IN
Definition enums.h:511
@ SOUND_RUFF_PUFF_FLY_B
Definition enums.h:1285
@ SOUND_RUFF_PUFF_FLY_A
Definition enums.h:1284
ApiStatus AddVectorPolar(Evt *script, b32 isInitialCall)
#define LVarF
Definition macros.h:159
#define LVarC
Definition macros.h:156
#define Float(DOUBLE)
Definition macros.h:47
#define LVar1
Definition macros.h:145
#define LVarD
Definition macros.h:157
#define LVarE
Definition macros.h:158

◆ HNP_GROUP_DROP

#define HNP_GROUP_DROP ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
Set(LVar2, 10) \
Set(LVar2, 14) \
@ ACTOR_SOUND_FLY
Definition enums.h:2064
@ EASING_CUBIC_IN
Definition enums.h:512
@ SOUND_NONE
Definition enums.h:550
#define LVar2
Definition macros.h:146
#define LVar4
Definition macros.h:148
#define LVar3
Definition macros.h:147

◆ HNP_IMPACT_JIGGLE

#define HNP_IMPACT_JIGGLE ( idx)

◆ HNP_INHALE_CHILD

#define HNP_INHALE_CHILD ( idx)
Value:
IfFlag(LVar9, 1 << idx) \
Wait(5) \
#define LVar7
Definition macros.h:151

◆ HNP_KILL_CHILD [1/2]

#define HNP_KILL_CHILD ( idx)
Value:
IfFlag(LVar0, 1 << idx) \
@ DMG_SRC_DEFAULT
Definition enums.h:2017
@ EVENT_DEATH
Definition enums.h:2182

◆ HNP_KILL_CHILD [2/2]

#define HNP_KILL_CHILD ( idx)

◆ HNP_LOAD_SUCTION_PATH

#define HNP_LOAD_SUCTION_PATH ( idx)
Value:
ApiStatus LoadPath(Evt *script, b32 isInitialCall)
#define Ref(sym)
Address/pointer constant.
Definition macros.h:56
#define CaseEq(RVAR)
Marks the start of a switch case that executes only if LVAR == RVAR. It also marks the end of any pre...
Definition macros.h:331

◆ HNP_REGISTER_CHILD

#define HNP_REGISTER_CHILD ( idx)

◆ HNP_RETURN_HOME [1/4]

◆ HNP_RETURN_HOME [2/4]

◆ HNP_RETURN_HOME [3/4]

◆ HNP_RETURN_HOME [4/4]

◆ HNP_SCATTER_PUFF [1/2]

◆ HNP_SCATTER_PUFF [2/2]

◆ HNP_SQUEEZE_PLAYER

◆ HNP_SWARM_MOVE_UP

#define HNP_SWARM_MOVE_UP ( idx)

◆ HNP_SWARM_SURROUND_PLAYER

#define HNP_SWARM_SURROUND_PLAYER ( idx)

◆ MAX_RUFF_PUFFS

#define MAX_RUFF_PUFFS   10

◆ NAMESPACE

#define NAMESPACE   A(huff_n_puff)

Function Documentation

◆ A() [1/2]

◆ A() [2/2]

ActorBlueprint A ( tuff_puff )
extern