summaryrefslogtreecommitdiff
path: root/include/Z2AudioLib/Z2FxLineMgr.h
blob: ecf62b51e21311c36c539e9e0749e804f25673e1 (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
#ifndef Z2FXLINEMGR_H
#define Z2FXLINEMGR_H

#include "JSystem/JAudio2/JASGadget.h"

class JKRArchive;
class JKRHeap;

struct Z2FxLineEditNode {};

struct Z2FxLineConfig {};

struct Z2FxLineMgr : public JASGlobalInstance<Z2FxLineMgr> {
    /* 802BA7DC */ Z2FxLineMgr();
    /* 802BA7FC */ void initDataArc(JKRArchive*, JKRHeap*);
    /* 802BAC28 */ void setLineID(s8, bool, bool);
    /* 802BAC74 */ void setLine(Z2FxLineConfig*, bool, bool);
    /* 802BAE1C */ void setFxForceOff(bool);
    /* 802BAE48 */ void setUnderWaterFx(bool);
    /* 802BAEB8 */ void setSceneFx(s32);

    /* 0x00 */ int field_0x0;
    /* 0x04 */ void* mFxLineBuffer[4];
    /* 0x14 */ s8 mLineID;
    /* 0x15 */ s8 mFxDataNum;
    /* 0x16 */ bool mSetUnderWaterFx;
    /* 0x18 */ Z2FxLineEditNode* mHIOEdit;
};  // Size: 0x1C

inline Z2FxLineMgr* Z2GetFxLineMgr() {
    return JASGlobalInstance<Z2FxLineMgr>::getInstance();
}

#endif /* Z2FXLINEMGR_H */