add theme inheritance, fix broken theme when no longer installed

fixes #74
This commit is contained in:
ITotalJustice
2025-01-07 01:20:54 +00:00
parent e9f0d2349c
commit 3a3b8008a1
8 changed files with 109 additions and 107 deletions

View File

@@ -186,14 +186,12 @@ struct ThemeMeta {
std::string name;
std::string author;
std::string version;
std::string ini_path;
fs::FsPath inherit;
fs::FsPath ini_path;
};
struct Theme {
std::string name;
std::string author;
std::string version;
fs::FsPath path;
ThemeMeta meta;
PLSR_BFSTM music;
ElementEntry elements[ThemeEntryID_MAX];
};