mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-08 11:47:03 -04:00
1ef592dd6e
Removes the strong dependency on a single header file and moves declarations to their respective header file. This allows for making dependencies explicit in cpp files and other headers, and also makes it much easier to track where everything related to a particular component is. This change also creates a few header files that previously didn't exist, making it much nicer for people implementing things, as they won't need to create the header file, it'll just be there ready to go. Ideally functions.h wouldn't even be a thing, as this header adds a lot of preprocessing overhead due to its size, and will continue to grow significantly larger over the lifespan of the project, which can also impact the performance of editors that do dependency lookups and context-aware syntax highlighting.
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
#ifndef Z2WOLFHOWLMGR_H_
|
|
#define Z2WOLFHOWLMGR_H_
|
|
|
|
struct Z2WolfHowlData {};
|
|
|
|
class Z2WolfHowlMgr {
|
|
Z2WolfHowlMgr();
|
|
|
|
void resetState();
|
|
void calcVolumeMod(float);
|
|
void getNowPitch();
|
|
void getNowInputValue();
|
|
void calcPitchMod(float, float);
|
|
void startWolfHowlSound(float, float, bool, float);
|
|
void setCorrectData(s8, Z2WolfHowlData*);
|
|
void getCorrectLine(u8);
|
|
void getCorrectLineNum();
|
|
void checkLine();
|
|
void getOnLineNum();
|
|
void startWindStoneSound(s8, Vec*);
|
|
void startGuideMelody(bool);
|
|
void skipCorrectDemo();
|
|
};
|
|
|
|
extern "C" {
|
|
void calcPitchMod__13Z2WolfHowlMgrFff(void);
|
|
void calcVolumeMod__13Z2WolfHowlMgrFf(void);
|
|
void checkLine__13Z2WolfHowlMgrFv(void);
|
|
void getCorrectLine__13Z2WolfHowlMgrFUc(void);
|
|
void getCorrectLineNum__13Z2WolfHowlMgrFv(void);
|
|
void getNowInputValue__13Z2WolfHowlMgrFv(void);
|
|
void getNowPitch__13Z2WolfHowlMgrFv(void);
|
|
void getOnLineNum__13Z2WolfHowlMgrFv(void);
|
|
void resetState__13Z2WolfHowlMgrFv(void);
|
|
void startGuideMelody__13Z2WolfHowlMgrFb(void);
|
|
|
|
void func_802CBB7C(void);
|
|
void func_802CB6EC(void);
|
|
}
|
|
|
|
#endif // Z2WOLFHOWLMGR_H_
|