mirror of
https://github.com/zeldaret/tp
synced 2026-09-03 02:03:55 -04: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:
@@ -42,15 +42,19 @@ struct Z2StatusMgr {
|
||||
};
|
||||
|
||||
extern "C" {
|
||||
void __ct__11Z2StatusMgrFv(void);
|
||||
|
||||
bool isMovieDemo__11Z2StatusMgrFv(void);
|
||||
void menuIn__11Z2StatusMgrFv(void);
|
||||
void menuOut__11Z2StatusMgrFv(void);
|
||||
bool isMovieDemo__11Z2StatusMgrFv(void);
|
||||
void Z2SceneMgr_NS_sceneBgmStart(void);
|
||||
void setDemoName__11Z2StatusMgrFPc(char*);
|
||||
// bool checkDayTime__11Z2StatusMgrFv(void);
|
||||
void processHeartGaugeSound__11Z2StatusMgrFv(void);
|
||||
void processTime__11Z2StatusMgrFv(void);
|
||||
void setCameraGroupInfo__11Z2StatusMgrFUc(u8);
|
||||
void setCameraPolygonPos__11Z2StatusMgrFP3Vec(Vec*);
|
||||
void setDemoName__11Z2StatusMgrFPc(char*);
|
||||
void setEventBit__11Z2StatusMgrFPv(void*);
|
||||
void Z2FxLineMgr_NS_setUnderWaterFx(void);
|
||||
|
||||
void Z2SceneMgr_NS_sceneBgmStart(void);
|
||||
}
|
||||
|
||||
extern Z2StatusMgr* lbl_80450B7C; // Z2StatusMgr sInstance
|
||||
|
||||
Reference in New Issue
Block a user