summaryrefslogtreecommitdiff
path: root/include/d/snd/d_snd_se_sound_2.h
blob: c106e5eeeb6754b7e79dff187a399e381a41da2f (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
#ifndef D_SND_SE_SOUND_2_H
#define D_SND_SE_SOUND_2_H

#include "common.h"
#include "d/snd/d_snd_se_sound.h"

class dSndSeSound2_c : public dSndSeSound_c {
public:
    dSndSeSound2_c();

    // vtable at 0x000
    /* vt 0x08 */ virtual void setSource(dSoundSource_c *source, u32 soundId) override;

    bool calcTimer();

    void setField0x130(u8 val) {
        field_0x130 = val;
    }

private:
    /* 0x128 */ u32 field_0x128;
    /* 0x12C */ u32 field_0x12C;
    /* 0x130 */ u8 field_0x130;
};

#endif