Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
TexturePan.h File Reference

Go to the source code of this file.

Macros

#define TEX_PAN_PARAMS_ID(panID)
 
#define TEX_PAN_PARAMS_MAX(max)    Set(LVarD, (max))
 
#define TEX_PAN_PARAMS_STEP(main_step_du, main_step_dv, aux_step_du, aux_step_dv)
 
#define TEX_PAN_PARAMS_FREQ(main_freq_u, main_freq_v, aux_freq_u, aux_freq_v)
 
#define TEX_PAN_PARAMS_INIT(main_init_u, main_init_v, aux_init_u, aux_init_v)
 

Macro Definition Documentation

◆ TEX_PAN_PARAMS_ID

#define TEX_PAN_PARAMS_ID ( panID)
Value:
Set(LVar0, (panID)) \
Set(LVarD, 0x20000)
#define Set(VAR, INT_VALUE)
Sets the given variable to a given value casted to an integer.
Definition macros.h:365
#define LVarD
Definition macros.h:161
#define LVar0
Definition macros.h:148

Definition at line 1 of file TexturePan.h.

1#define TEX_PAN_PARAMS_ID(panID) \
2 Set(LVar0, (panID)) \
3 Set(LVarD, 0x20000)

◆ TEX_PAN_PARAMS_MAX

#define TEX_PAN_PARAMS_MAX ( max)     Set(LVarD, (max))

Definition at line 5 of file TexturePan.h.

5#define TEX_PAN_PARAMS_MAX(max) \
6 Set(LVarD, (max))

◆ TEX_PAN_PARAMS_STEP

#define TEX_PAN_PARAMS_STEP ( main_step_du,
main_step_dv,
aux_step_du,
aux_step_dv )
Value:
Set(LVar1, (main_step_du)) \
Set(LVar2, (main_step_dv)) \
Set(LVar3, (aux_step_du)) \
Set(LVar4, (aux_step_dv))
#define LVar2
Definition macros.h:150
#define LVar1
Definition macros.h:149
#define LVar4
Definition macros.h:152
#define LVar3
Definition macros.h:151

Definition at line 8 of file TexturePan.h.

8#define TEX_PAN_PARAMS_STEP(main_step_du, main_step_dv, aux_step_du, aux_step_dv) \
9 Set(LVar1, (main_step_du)) \
10 Set(LVar2, (main_step_dv)) \
11 Set(LVar3, (aux_step_du)) \
12 Set(LVar4, (aux_step_dv))

◆ TEX_PAN_PARAMS_FREQ

#define TEX_PAN_PARAMS_FREQ ( main_freq_u,
main_freq_v,
aux_freq_u,
aux_freq_v )
Value:
Set(LVar5, (main_freq_u)) \
Set(LVar6, (main_freq_v)) \
Set(LVar7, (aux_freq_u)) \
Set(LVar8, (aux_freq_v))
#define LVar6
Definition macros.h:154
#define LVar5
Definition macros.h:153
#define LVar7
Definition macros.h:155
#define LVar8
Definition macros.h:156

Definition at line 14 of file TexturePan.h.

14#define TEX_PAN_PARAMS_FREQ(main_freq_u, main_freq_v, aux_freq_u, aux_freq_v) \
15 Set(LVar5, (main_freq_u)) \
16 Set(LVar6, (main_freq_v)) \
17 Set(LVar7, (aux_freq_u)) \
18 Set(LVar8, (aux_freq_v))

◆ TEX_PAN_PARAMS_INIT

#define TEX_PAN_PARAMS_INIT ( main_init_u,
main_init_v,
aux_init_u,
aux_init_v )
Value:
Set(LVar9, (main_init_u)) \
Set(LVarA, (main_init_v)) \
Set(LVarB, (aux_init_u)) \
Set(LVarC, (aux_init_v)) \
#define LVarC
Definition macros.h:160
#define LVarB
Definition macros.h:159
#define LVarA
Definition macros.h:158
#define LVar9
Definition macros.h:157

Definition at line 20 of file TexturePan.h.

20#define TEX_PAN_PARAMS_INIT(main_init_u, main_init_v, aux_init_u, aux_init_v) \
21 Set(LVar9, (main_init_u)) \
22 Set(LVarA, (main_init_v)) \
23 Set(LVarB, (aux_init_u)) \
24 Set(LVarC, (aux_init_v)) \
25