mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-28 07:54:51 -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.
39 lines
915 B
C++
39 lines
915 B
C++
#ifndef __Z2SOUNDINFO_H__
|
|
#define __Z2SOUNDINFO_H__
|
|
|
|
#include "JSystem/JAudio2/JAISound/JAISound.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class Z2SoundInfo {
|
|
public:
|
|
u32 getBgmSeqResourceID(JAISoundID) const;
|
|
u32 getCategory(void) const;
|
|
|
|
u32 getSwBit(JAISoundID) const;
|
|
};
|
|
|
|
extern Z2SoundInfo* lbl_80450B4C;
|
|
|
|
extern "C" {
|
|
void getBgmSeqResourceID__11Z2SoundInfoCF10JAISoundID(void);
|
|
void getSwBit__11Z2SoundInfoCF10JAISoundID(void);
|
|
|
|
void Z2SoundInfo_NS_dtor(void);
|
|
void Z2SoundInfo_NS_getAudibleSwFull(void);
|
|
void Z2SoundInfo_NS_getSoundInfo_(void);
|
|
void Z2SoundInfo_NS_getStreamFileEntry(void);
|
|
void Z2SoundInfo_NS_getStreamFilePath(void);
|
|
|
|
void func_802BB6DC(void);
|
|
void func_802BBCBC(void);
|
|
void func_802BB0E0(void);
|
|
void func_802BBCD4(void);
|
|
void func_802BBCCC(void);
|
|
void func_802BB8B4(void);
|
|
void func_802BB090(void);
|
|
void func_802BB8E0(void);
|
|
void func_802BBCC4(void);
|
|
void func_802BB0D8(void);
|
|
}
|
|
|
|
#endif |