Played with UI layouts but keeping this for now. Fixed up config so it has keys() and now we load a boss per level.

This commit is contained in:
Zed A. Shaw 2025-03-05 01:01:36 -05:00
parent 281a7f687a
commit 5c815cf755
6 changed files with 35 additions and 8 deletions

View file

@ -30,3 +30,13 @@ std::wstring Config::wstring(const std::string main_key, const std::string sub_k
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> $converter;
return $converter.from_bytes(str_val);
}
std::vector<std::string> Config::keys() {
std::vector<std::string> the_fucking_keys;
for(auto& [key, value] : $config.items()) {
the_fucking_keys.push_back(key);
}
return the_fucking_keys;
}