summaryrefslogtreecommitdiff
path: root/include/egg/audio/eggAudioSystem.h
blob: 697913333063f0699826125c2a51d038a860a3d3 (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
#ifndef EGG_AUDIO_SYSTEM_H
#define EGG_AUDIO_SYSTEM_H

#include "common.h"

namespace EGG {

class AudioSystem {
public:
    AudioSystem();
    ~AudioSystem();

    void fn_804B7270(s32 frame);
    void fn_804B7370();
    void fn_804B73D0(s32 frame);
    void calc();

    bool isField0x04Eq2() {
        return field_0x04 == 2;
    }

    bool field0x08NotZero() {
        return field_0x08 != 0;
    }

    bool field0x04NotZero() {
        return field_0x04 != 0;
    }

    static AudioSystem *sInstanse; ///< sic

private:
    f32 field_0x00;
    s32 field_0x04;
    s32 field_0x08;
};

} // namespace EGG

#endif