| 1 | #pragma once |
| 2 | |
| 3 | #include <prim/seadSafeString.h> |
| 4 | |
| 5 | // this probably isnt a good spot |
| 6 | namespace al { |
| 7 | |
| 8 | class Resource; |
| 9 | class SeadAudioPlayer; |
| 10 | class ActorResourceHolder; |
| 11 | class ActorResource; |
| 12 | |
| 13 | void addResourceCategory(const sead::SafeString&, s32, sead::Heap*); |
| 14 | bool isEmptyCategoryResource(const sead::SafeString&); |
| 15 | void createCategoryResourceAll(const sead::SafeString&); |
| 16 | void removeResourceCategory(const sead::SafeString&); |
| 17 | const char* getResourceName(const Resource*); |
| 18 | const char* getResourcePath(const Resource*); |
| 19 | bool isExistResGraphicsFile(const Resource*); |
| 20 | Resource* findResource(const sead::SafeString&); |
| 21 | Resource* findOrCreateResource(const sead::SafeString& path, const char* ext); |
| 22 | Resource* findOrCreateResourceCategory(const sead::SafeString& path, |
| 23 | const sead::SafeString& category, const char* ext); |
| 24 | Resource* findOrCreateResourceEventData(const char*, const char*); |
| 25 | Resource* findOrCreateResourceSystemData(const char*, const char*); |
| 26 | ActorResource* findOrCreateActorResource(ActorResourceHolder*, const char*, const char*); |
| 27 | void findOrCreateActorResourceWithAnimResource(ActorResourceHolder*, const char*, const char*, |
| 28 | const char*, bool); |
| 29 | bool isExistResourceYaml(const Resource*, const char*, const char*); |
| 30 | bool isExistResourceYaml(const ActorResource*, const char*, const char*); |
| 31 | void findResourceYaml(const Resource*, const char*, const char*); |
| 32 | void findResourceYaml(const ActorResource*, const char*, const char*); |
| 33 | bool tryFindStageParameterFileDesign(const sead::SafeString&, const sead::SafeString&, s32); |
| 34 | void loadCategoryArchiveAll(const sead::SafeString&); |
| 35 | void setCurrentCategoryName(const char*); |
| 36 | void resetCurrentCategoryName(); |
| 37 | void setCurrentCategoryNameDefault(); |
| 38 | u8* getBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); |
| 39 | u8* tryGetBymlFromObjectResource(const sead::SafeString&, const sead::SafeString&); |
| 40 | u8* getBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); |
| 41 | u8* tryGetBymlFromLayoutResource(const sead::SafeString&, const sead::SafeString&); |
| 42 | u8* tryGetBymlFromArcName(const sead::SafeString&, const sead::SafeString&); |
| 43 | u8* getBymlFromArcName(const sead::SafeString&, const sead::SafeString&); |
| 44 | u8* getByml(const Resource*, const sead::SafeString&); |
| 45 | u8* tryGetByml(const Resource*, const sead::SafeString&); |
| 46 | bool setAudioPlayerToResourceSystem(SeadAudioPlayer*, SeadAudioPlayer*); |
| 47 | |
| 48 | } // namespace al |
| 49 | |