Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
d_vibration.h
Go to the documentation of this file.
1#ifndef D_D_VIBRATION_H
2#define D_D_VIBRATION_H
3
5#include "d/d_vib_pattern.h"
6
7class dVibration_c {
8public:
9 /* 8006F268 */ int Run();
10 /* 8006FA24 */ bool StartShock(int i_strength, int, cXyz);
11 /* 8006FC0C */ bool StartQuake(u8 const*, int, int, cXyz);
12 /* 8006FB10 */ bool StartQuake(int, int, cXyz);
13 /* 8006FD94 */ int StopQuake(int);
14 /* 8006FE00 */ void Kill();
15 /* 8006FE5C */ bool CheckQuake();
16 /* 8006FE84 */ void setDefault();
17 /* 8006FF04 */ void Init();
18 /* 8006FF38 */ void Pause();
19 /* 8006FFF8 */ void Remove();
20
21 static dVibration_pattern const MS_patt[11];
22 static dVibration_pattern const CS_patt[11];
23 static dVibration_pattern const MQ_patt[10];
24 static dVibration_pattern const CQ_patt[10];
25
26private:
27 class {
28 public:
29 class {
30 public:
31 /* 0x00 */ u32 field_0x0;
32 /* 0x04 */ s32 field_0x4;
33 /* 0x08 */ s32 field_0x8;
34 /* 0x0C */ s32 field_0xc;
35 /* 0x10 */ s32 field_0x10;
36 /* 0x14 */ s32 field_0x14;
37 /* 0x18 */ cXyz field_0x18;
38 /* 0x24 */ s32 field_0x24;
40 } /* 0x00 */ field_0x0;
41 /* 0x50 */ u32 field_0x50;
42 /* 0x54 */ int field_0x54;
43 /* 0x58 */ s32 field_0x58;
44 /* 0x5C */ s32 field_0x5c;
45 /* 0x60 */ s32 field_0x60;
46 /* 0x64 */ s32 field_0x64;
47 /* 0x68 */ s32 field_0x68;
48 /* 0x6C */ u32 field_0x6c;
49 /* 0x70 */ s32 field_0x70;
50 /* 0x74 */ u32 field_0x74;
51 /* 0x78 */ u32 field_0x78;
52 /* 0x7C */ s32 field_0x7c;
53 /* 0x80 */ s32 field_0x80;
54 /* 0x84 */ s32 field_0x84;
55 /* 0x88 */ s32 field_0x88;
56 /* 0x8C */ s32 field_0x8c;
57}; // Size: 0x90
58
59#endif /* D_D_VIBRATION_H */
T cLib_calcTimer(T *value)
Definition c_lib.h:74
Definition d_vib_pattern.h:6
Definition d_a_hozelda.cpp:20
Definition d_a_obj_sekizoa.cpp:295
s32 field_0xc
Definition d_vibration.h:34
static dVibration_pattern const CQ_patt[10]
Definition d_vibration.h:55
s32 field_0x10
Definition d_vibration.h:35
s32 field_0x8
Definition d_vibration.h:33
int field_0x54
Definition d_vibration.h:42
bool CheckQuake()
Definition d_vibration.cpp:467
void Kill()
Definition d_vibration.cpp:460
u32 field_0x74
Definition d_vibration.h:50
u32 field_0x6c
Definition d_vibration.h:48
s32 field_0x8c
Definition d_vibration.h:56
class dVibration_c::@85::@86 mShock
s32 field_0x64
Definition d_vibration.h:46
int StopQuake(int)
Definition d_vibration.cpp:441
s32 field_0x70
Definition d_vibration.h:49
s32 field_0x24
Definition d_vibration.h:38
s32 field_0x84
Definition d_vibration.h:54
bool StartShock(int i_strength, int, cXyz)
static dVibration_pattern const MS_patt[11]
Definition d_vibration.h:11
void Init()
Definition d_vibration.cpp:504
void setDefault()
Definition d_vibration.cpp:472
u32 field_0x50
Definition d_vibration.h:41
s32 field_0x5c
Definition d_vibration.h:44
u32 field_0x78
Definition d_vibration.h:51
class dVibration_c::@85::@86 mQuake
s32 field_0x68
Definition d_vibration.h:47
s32 field_0x88
Definition d_vibration.h:55
u32 field_0x0
Definition d_vibration.h:31
void Remove()
Definition d_vibration.cpp:531
static dVibration_pattern const CS_patt[11]
Definition d_vibration.h:26
s32 field_0x60
Definition d_vibration.h:45
int Run()
Definition d_vibration.cpp:119
s32 field_0x7c
Definition d_vibration.h:52
s32 field_0x4
Definition d_vibration.h:32
cXyz field_0x18
Definition d_vibration.h:37
bool StartQuake(u8 const *, int, int, cXyz)
Definition d_vibration.cpp:387
s32 field_0x58
Definition d_vibration.h:43
static dVibration_pattern const MQ_patt[10]
Definition d_vibration.h:41
void Pause()
Definition d_vibration.cpp:510
s32 field_0x14
Definition d_vibration.h:36
s32 field_0x80
Definition d_vibration.h:53
unsigned long u32
Definition types.h:10
signed long s32
Definition types.h:6
unsigned char u8
Definition types.h:8