Inventory updates, API updates, lots of file renaming

This commit is contained in:
2026-03-17 04:05:04 -04:00
parent b060784bb7
commit fb6f902f28
63 changed files with 820 additions and 553 deletions
+29
View File
@@ -0,0 +1,29 @@
#pragma once
#include <imgui.h>
#include "../../entity/character.hpp"
#include "../../resources.hpp"
namespace game::state::play
{
class Text
{
int index{};
bool isFinished{};
public:
static constexpr auto LIFETIME = 10.0f;
resource::xml::Dialogue::Entry* entry{};
bool isEnabled{true};
float time{};
void set(resource::xml::Dialogue::Entry*, entity::Character&, bool isInterruptible = true);
void tick(entity::Character&);
void update(entity::Character&);
bool is_interruptible() const;
};
}