summaryrefslogtreecommitdiff
path: root/include/d/d_vibration.h
blob: 80e2819f371c2b25645912456a7ae2036f341924 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#ifndef D_D_VIBRATION_H
#define D_D_VIBRATION_H

#include "SSystem/SComponent/c_xyz.h"
#include "d/d_vib_pattern.h"

class dVibration_c {
public:
    /* 8006F268 */ int Run();
    /* 8006FA24 */ bool StartShock(int i_strength, int, cXyz);
    /* 8006FC0C */ bool StartQuake(u8 const*, int, int, cXyz);
    /* 8006FB10 */ bool StartQuake(int, int, cXyz);
    /* 8006FD94 */ int StopQuake(int);
    /* 8006FE00 */ void Kill();
    /* 8006FE5C */ bool CheckQuake();
    /* 8006FE84 */ void setDefault();
    /* 8006FF04 */ void Init();
    /* 8006FF38 */ void Pause();
    /* 8006FFF8 */ void Remove();

    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:
    class {
    public:
        class {
        public:
            /* 0x00 */ u32 field_0x0; 
            /* 0x04 */ s32 field_0x4;
            /* 0x08 */ s32 field_0x8;
            /* 0x0C */ s32 field_0xc;
            /* 0x10 */ s32 field_0x10;
            /* 0x14 */ s32 field_0x14;
            /* 0x18 */ cXyz field_0x18;
            /* 0x24 */ s32 field_0x24;
        } mShock, mQuake;
    } /* 0x00 */ field_0x0;
    /* 0x50 */ u32 field_0x50;
    /* 0x54 */ int field_0x54;
    /* 0x58 */ s32 field_0x58;
    /* 0x5C */ s32 field_0x5c;
    /* 0x60 */ s32 field_0x60;
    /* 0x64 */ s32 field_0x64;
    /* 0x68 */ s32 field_0x68;
    /* 0x6C */ u32 field_0x6c;
    /* 0x70 */ s32 field_0x70;
    /* 0x74 */ u32 field_0x74;
    /* 0x78 */ u32 field_0x78;
    /* 0x7C */ s32 field_0x7c;
    /* 0x80 */ s32 field_0x80;
    /* 0x84 */ s32 field_0x84;
    /* 0x88 */ s32 field_0x88;
    /* 0x8C */ s32 field_0x8c;
};  // Size: 0x90

#endif /* D_D_VIBRATION_H */