mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
Z2AudioLib: Migrate declarations out of functions.h to respective files (#96)
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.
This commit is contained in:
@@ -22,4 +22,20 @@ class Z2WolfHowlMgr {
|
||||
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_
|
||||
Reference in New Issue
Block a user