wowie
Some checks failed
Build / Build Game (push) Has been cancelled

This commit is contained in:
2026-02-28 22:24:06 -05:00
parent 3817f1cc39
commit bc8fe78fce
14 changed files with 102 additions and 42 deletions

View File

@@ -24,14 +24,14 @@ namespace game::state
: World::CENTER;
}
void Main::set(Resources& resources, int characterIndex, enum Game game)
void Main::set(Resources& resources, int selectedCharacterIndex, enum Game game)
{
auto& data = resources.character_get(characterIndex);
auto& data = resources.character_get(selectedCharacterIndex);
auto& saveData = data.save;
auto& itemSchema = data.itemSchema;
auto& dialogue = data.dialogue;
auto& menuSchema = data.menuSchema;
this->characterIndex = characterIndex;
this->characterIndex = selectedCharacterIndex;
character =
entity::Character(data, vec2(World::BOUNDS.x + World::BOUNDS.z * 0.5f, World::BOUNDS.w - World::BOUNDS.y));
@@ -114,7 +114,7 @@ namespace game::state
save(resources);
}
void Main::tick(Resources& resources)
void Main::tick(Resources&)
{
character.tick();
cursor.tick();