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

Macros

#define EVT_EXIT_PIPE_HORIZONTAL(entry, collider, script)
 
#define EVT_EXIT_PIPE_VERTICAL(entry, collider, script)
 
#define EVT_ENTER_PIPE_HORIZONTAL(collider, bindExitsScript)
 
#define EVT_ENTER_PIPE_VERTICAL(bindExitsScript)
 

Macro Definition Documentation

◆ EVT_ENTER_PIPE_HORIZONTAL

#define EVT_ENTER_PIPE_HORIZONTAL ( collider,
bindExitsScript )
Value:
Set(LVarA, Ref(bindExitsScript)) \
Set(LVarB, collider) \
Exec(N(EVS_Pipe_EnterHorizontal))
#define Ref(sym)
Address/pointer constant.
Definition macros.h:56
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:377
#define LVarB
Definition macros.h:155
#define LVarA
Definition macros.h:154

◆ EVT_ENTER_PIPE_VERTICAL

#define EVT_ENTER_PIPE_VERTICAL ( bindExitsScript)
Value:
Set(LVarA, Ref(bindExitsScript)) \
Exec(N(EVS_Pipe_EnterVertical))

◆ EVT_EXIT_PIPE_HORIZONTAL

#define EVT_EXIT_PIPE_HORIZONTAL ( entry,
collider,
script )
Value:
{ \
SetGroup(EVT_GROUP_EXIT_MAP) \
Set(LVarA, entry) \
Set(LVarB, collider) \
Set(LVarC, Ref(script)) \
ExecWait(N(EVS_Pipe_ExitHorizontal)) \
Return \
End \
}
@ EVT_GROUP_EXIT_MAP
Definition evt.h:145
#define LVarC
Definition macros.h:156

◆ EVT_EXIT_PIPE_VERTICAL

#define EVT_EXIT_PIPE_VERTICAL ( entry,
collider,
script )
Value:
{ \
SetGroup(EVT_GROUP_EXIT_MAP) \
Set(LVarA, entry) \
Set(LVarB, collider) \
Set(LVarC, Ref(script)) \
ExecWait(N(EVS_Pipe_ExitVertical)) \
Return \
End \
}