add starting inventory management to UI

This commit is contained in:
gymnast86
2026-06-02 22:15:34 -07:00
parent e3eb63f158
commit f1357f09ed
12 changed files with 786 additions and 4 deletions
@@ -185,7 +185,7 @@ namespace randomizer {
}
}
bool Text::empty() const {
bool Text::Empty() const {
for (auto& text : mText) {
if (!text.empty()) {
return false;
@@ -383,6 +383,10 @@ namespace randomizer {
return tb;
}
bool textObjectExists(const std::string& name) {
return getTextDatabase().contains(name);
}
const Text& getTextObject(const std::string& name, Text::Type type /*= Text::STANDARD*/)
{
const auto& tb = getTextDatabase();