mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2026-07-13 01:41:07 +00:00
Allow .vert and .frag files to be imported via modfs
This commit is contained in:
parent
5501732429
commit
6faba75f87
2 changed files with 7 additions and 7 deletions
|
|
@ -29,7 +29,7 @@ The ModFS files are located in the `sav` directory at the usual save file locati
|
|||
- Can contain only valid ASCII characters, no `*` or `\`
|
||||
- Cannot be called `properties.json` (this name is reserved for ModFS internal properties)
|
||||
- Only the following extensions (and extension-less files) are allowed:
|
||||
- text: `.txt`, `.json`, `.ini`, `.sav`
|
||||
- text: `.txt`, `.json`, `.ini`, `.sav`, `.vert`, `.frag`
|
||||
- actors: `.bin`, `.col`
|
||||
- behaviors: `.bhv`
|
||||
- textures: `.tex`, `.png`
|
||||
|
|
|
|||
|
|
@ -26,12 +26,12 @@ static std::vector<struct ModFs *> sModFsList = {};
|
|||
#define MOD_FS_FILE_IS_PUBLIC_DEFAULT false
|
||||
|
||||
static const char *MOD_FS_FILE_ALLOWED_EXTENSIONS[] = {
|
||||
".txt", ".json", ".ini", ".sav", // text
|
||||
".bin", ".col", // actors
|
||||
".bhv", // behaviors
|
||||
".tex", ".png", // textures
|
||||
".lvl", // levels
|
||||
".m64", ".aiff", ".mp3", ".ogg", // audio
|
||||
".txt", ".json", ".ini", ".sav", ".vert", ".frag" // text
|
||||
".bin", ".col", // actors
|
||||
".bhv", // behaviors
|
||||
".tex", ".png", // textures
|
||||
".lvl", // levels
|
||||
".m64", ".aiff", ".mp3", ".ogg", // audio
|
||||
NULL
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue