Paper Mario DX
Paper Mario (N64) modding
Loading...
Searching...
No Matches
TexturePan.h
Go to the documentation of this file.
1
#define TEX_PAN_PARAMS_ID(panID) \
2
Set(LVar0, (panID)) \
3
Set(LVarD, 0x20000)
4
5
#define TEX_PAN_PARAMS_MAX(max) \
6
Set(LVarD, (max))
7
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))
13
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))
19
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
26
extern
EvtScript
N(EVS_UpdateTexturePan);
EvtScript
Bytecode EvtScript[]
Definition
common_structs.h:14
src
world
common
atomic
TexturePan.h
Generated by
1.10.0