Whatever The Fuck Man

This commit is contained in:
2026-07-04 00:15:26 -04:00
parent ce77175162
commit 2efed2a443
162 changed files with 13119 additions and 7417 deletions
+14 -6
View File
@@ -2,7 +2,8 @@
#include <imgui.h>
#include "../../entity/character.hpp"
#include "../../entity.hpp"
#include "../../render/canvas.hpp"
#include "../../resources.hpp"
@@ -11,19 +12,26 @@ namespace game::state::play
class Text
{
int index{};
int updateDelay{};
int baseDelay{};
int currentDelay{};
bool isFinished{};
bool isTerminal{};
bool isStartEffectsApplied{};
bool isBlipQueued{};
public:
static constexpr auto LIFETIME = 10.0f;
resource::xml::Dialogue::Entry* entry{};
resource::xml::Schema::Element* 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&);
void set(resource::xml::Schema::Element*, Entity&, bool isInterruptible = true);
void update(Entity&, Canvas&);
bool is_interruptible() const;
bool is_finished() const;
bool is_terminal() const;
};
}
}