Working on cutscene skip

This commit is contained in:
Vladislav Khorev committed 2026-06-06 21:21:56 +03:00
1 parent c991b5dbc1
commit 7011bbb754
16 files changed
+112 -17

No files matched your search

+7
View File
@@ -33,6 +33,7 @@ namespace ZL {
class MenuManager {
public:
UiManager uiManager;
UiManager topUiManager;
ZL::Quest::QuestJournal questJournal;
// Global night mode state — persists across location transitions.
@@ -69,6 +70,7 @@ namespace ZL {
std::function<void()> startDarklandsTransitionFunc;
std::function<void()> startNightTransitionFunc;
std::function<void(int)> chatOpenCallback;
std::function<void()> skipCutsceneFunc;
// Called when a chat message bubble should be shown (text + direction)
void onChatBubbleReady(const std::string& text, bool incoming);
@@ -84,6 +86,10 @@ namespace ZL {
// Called by Game when the player's HP changes. Stores values and updates HUD.
void updateHealthBar(float hp, float maxHp);
void onCutsceneStarted();
void onCutsceneFinished();
bool cutsceneHudActive_ = false;
TutorialStep tutorialStep = TutorialStep::Step0;
protected:
@@ -141,6 +147,7 @@ namespace ZL {
std::shared_ptr<UiNode> hudUniIntStep13Root;
std::shared_ptr<UiNode> hudUniIntDarkFullRoot;
std::shared_ptr<UiNode> hudUniExtDarkRoot;
std::shared_ptr<UiNode> hudCutsceneRoot_;
std::shared_ptr<UiNode> phoneMainRoot;
std::shared_ptr<UiNode> phoneBankRoot;
std::shared_ptr<UiNode> phoneVideoRoot;