Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
JASLfo.h
Go to the documentation of this file.
1#ifndef JASLFO_H
2#define JASLFO_H
3
4#include "dolphin/types.h"
5
10struct JASLfo {
11 /* 8029BD14 */ JASLfo();
12 /* 8029BD44 */ f32 getValue() const;
13 /* 8029BDD8 */ void incCounter(f32);
14 /* 8029BE2C */ void resetCounter();
15
16 void setDepth(f32 param_0) { mDepth = param_0; }
17 void setPitch(f32 param_0) { mPitch = param_0; }
18 void setDelay(u16 param_0) { mDelay = param_0; }
19
20 static void updateFreeRun(f32 param_0) { sFreeRunLfo.incCounter(param_0); }
21
23
24 /* 0x00 */ u32 field_0x0;
25 /* 0x04 */ u32 field_0x4;
26 /* 0x08 */ f32 field_0x8;
27 /* 0x0C */ f32 mDepth;
28 /* 0x10 */ f32 mPitch;
29 /* 0x14 */ u16 mDelay;
30 /* 0x16 */ u16 field_0x16;
31};
32
33#endif /* JASLFO_H */
Definition JASLfo.h:10
u32 field_0x4
Definition JASLfo.h:25
void setDelay(u16 param_0)
Definition JASLfo.h:18
static void updateFreeRun(f32 param_0)
Definition JASLfo.h:20
f32 field_0x8
Definition JASLfo.h:26
u16 field_0x16
Definition JASLfo.h:30
void resetCounter()
Definition JASLfo.cpp:73
f32 mDepth
Definition JASLfo.h:27
static JASLfo sFreeRunLfo
Definition JASLfo.h:22
void setPitch(f32 param_0)
Definition JASLfo.h:17
void setDepth(f32 param_0)
Definition JASLfo.h:16
f32 mPitch
Definition JASLfo.h:28
JASLfo()
Definition JASLfo.cpp:28
u16 mDelay
Definition JASLfo.h:29
void incCounter(f32)
Definition JASLfo.cpp:56
f32 getValue() const
Definition JASLfo.cpp:41
u32 field_0x0
Definition JASLfo.h:24
unsigned long u32
Definition types.h:9
float f32
Definition types.h:22
unsigned short int u16
Definition types.h:7