Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
dVibration_c Class Reference

#include <d_vibration.h>

+ Collaboration diagram for dVibration_c:

Public Member Functions

void StartShock (int, int, cXyz)
 
int Run ()
 
bool StartShock (int i_strength, int, cXyz)
 
bool StartQuake (u8 const *, int, int, cXyz)
 
bool StartQuake (int, int, cXyz)
 
int StopQuake (int)
 
void Kill ()
 
bool CheckQuake ()
 
void setDefault ()
 
void Init ()
 
void Pause ()
 
void Remove ()
 

Static Public Attributes

static dVibration_pattern const MS_patt [11]
 
static dVibration_pattern const CS_patt [11]
 
static dVibration_pattern const MQ_patt [10]
 
static dVibration_pattern const CQ_patt [10]
 

Private Attributes

class { 
 
   class { 
 
      u32   field_0x0 
 
      s32   field_0x4 
 
      s32   field_0x8 
 
      s32   field_0xc 
 
      s32   field_0x10 
 
      s32   field_0x14 
 
      cXyz   field_0x18 
 
      s32   field_0x24 
 
   }   mShock 
 
   class { 
 
      u32   field_0x0 
 
      s32   field_0x4 
 
      s32   field_0x8 
 
      s32   field_0xc 
 
      s32   field_0x10 
 
      s32   field_0x14 
 
      cXyz   field_0x18 
 
      s32   field_0x24 
 
   }   mQuake 
 
field_0x0 
 
u32 field_0x50
 
int field_0x54
 
s32 field_0x58
 
s32 field_0x5c
 
s32 field_0x60
 
s32 field_0x64
 
s32 field_0x68
 
u32 field_0x6c
 
s32 field_0x70
 
u32 field_0x74
 
u32 field_0x78
 
s32 field_0x7c
 
s32 field_0x80
 
s32 field_0x84
 
s32 field_0x88
 
s32 field_0x8c
 

Member Function Documentation

◆ CheckQuake()

bool dVibration_c::CheckQuake ( )

◆ Init()

void dVibration_c::Init ( )

◆ Kill()

void dVibration_c::Kill ( )

◆ Pause()

void dVibration_c::Pause ( )

◆ Remove()

void dVibration_c::Remove ( )

◆ Run()

int dVibration_c::Run ( )

◆ setDefault()

void dVibration_c::setDefault ( )

◆ StartQuake() [1/2]

bool dVibration_c::StartQuake ( int  param_0,
int  param_1,
cXyz  param_2 
)

◆ StartQuake() [2/2]

bool dVibration_c::StartQuake ( u8 const param_0,
int  param_1,
int  param_2,
cXyz  param_3 
)

◆ StartShock() [1/2]

bool dVibration_c::StartShock ( int  i_strength,
int  ,
cXyz   
)

◆ StartShock() [2/2]

bool dVibration_c::StartShock ( int  param_0,
int  param_1,
cXyz  param_2 
)

◆ StopQuake()

int dVibration_c::StopQuake ( int  param_0)

Member Data Documentation

◆ CQ_patt

const dVibration_pattern dVibration_c::CQ_patt
static
Initial value:
= {
{0x0000, 0x0000, 0x00000000},
{0x0001, 0x0020, 0x10202020},
{0x0001, 0x0020, 0x42104208},
{0x0002, 0x0020, 0x22222222},
{0x0002, 0x0020, 0x22492249},
{0x0003, 0x0020, 0x52525252},
{0x0003, 0x0020, 0x4A94AA95},
{0x0004, 0x0020, 0x36555655},
{0x0004, 0x0020, 0x6B6D6B6D},
{0x0000, 0x001B, 0x20201000},
}

◆ CS_patt

const dVibration_pattern dVibration_c::CS_patt
static
Initial value:
= {
{0x0000, 0x0000, 0x00000000},
{0x0000, 0x0003, 0xC0000000},
{0x0000, 0x0004, 0xE0000000},
{0x0000, 0x0006, 0xE8000000},
{0x0000, 0x0007, 0xEC000000},
{0x0000, 0x0008, 0xF6000000},
{0x0000, 0x0009, 0xFB000000},
{0x0000, 0x000A, 0xF6800000},
{0x0000, 0x000B, 0xFB400000},
{0x0000, 0x0008, 0xC2000000},
{0x0000, 0x0002, 0xC0000000},
}

◆ field_0x0 [1/2]

u32 dVibration_c::field_0x0

◆ [class] [2/2]

class { ... } dVibration_c::field_0x0

◆ field_0x10

s32 dVibration_c::field_0x10

◆ field_0x14

s32 dVibration_c::field_0x14

◆ field_0x18

cXyz dVibration_c::field_0x18

◆ field_0x24

s32 dVibration_c::field_0x24

◆ field_0x4

s32 dVibration_c::field_0x4

◆ field_0x50

u32 dVibration_c::field_0x50
private

◆ field_0x54

int dVibration_c::field_0x54
private

◆ field_0x58

s32 dVibration_c::field_0x58
private

◆ field_0x5c

s32 dVibration_c::field_0x5c
private

◆ field_0x60

s32 dVibration_c::field_0x60
private

◆ field_0x64

s32 dVibration_c::field_0x64
private

◆ field_0x68

s32 dVibration_c::field_0x68
private

◆ field_0x6c

u32 dVibration_c::field_0x6c
private

◆ field_0x70

s32 dVibration_c::field_0x70
private

◆ field_0x74

u32 dVibration_c::field_0x74
private

◆ field_0x78

u32 dVibration_c::field_0x78
private

◆ field_0x7c

s32 dVibration_c::field_0x7c
private

◆ field_0x8

s32 dVibration_c::field_0x8

◆ field_0x80

s32 dVibration_c::field_0x80
private

◆ field_0x84

s32 dVibration_c::field_0x84
private

◆ field_0x88

s32 dVibration_c::field_0x88
private

◆ field_0x8c

s32 dVibration_c::field_0x8c
private

◆ field_0xc

s32 dVibration_c::field_0xc

◆ MQ_patt

const dVibration_pattern dVibration_c::MQ_patt
static
Initial value:
= {
{0x0000, 0x0000, 0x00000000},
{0x0001, 0x0020, 0x10202020},
{0x0001, 0x0020, 0x42104208},
{0x0002, 0x0020, 0x22222222},
{0x0002, 0x0020, 0x22492249},
{0x0003, 0x0020, 0x52525252},
{0x0003, 0x0020, 0x4A94AA95},
{0x0004, 0x0020, 0x36555655},
{0x0004, 0x0020, 0x6B6D6B6D},
{0x0001, 0x001B, 0x20201000},
}

◆ [class]

class { ... } dVibration_c::mQuake

◆ MS_patt

const dVibration_pattern dVibration_c::MS_patt
static
Initial value:
= {
{0x0000, 0x0000, 0x00000000},
{0x0000, 0x0003, 0xC0000000},
{0x0000, 0x0004, 0xE0000000},
{0x0000, 0x0006, 0xE8000000},
{0x0000, 0x0007, 0xEC000000},
{0x0000, 0x0008, 0xF6000000},
{0x0000, 0x0009, 0xFB000000},
{0x0000, 0x000A, 0xF6800000},
{0x0000, 0x000B, 0xFB400000},
{0x0000, 0x0008, 0xC2000000},
{0x0000, 0x0002, 0xC0000000},
}

◆ [class]

class { ... } dVibration_c::mShock

The documentation for this class was generated from the following files: