safe LMB hold-to-skip cutscenes and multiple images with crossfade

This commit is contained in:
vottozi committed 2026-04-25 01:32:16 +06:00
1 parent fe01a5d1b2
commit 0a073243ad
16 files changed
+801 -58

No files matched your search

+5 -1
View File
@@ -102,7 +102,7 @@ namespace ZL
dialogueSystem.init(renderer, CONST_ZIP_FILE);
dialogueSystem.loadDatabase("resources/dialogue/sample_dialogues.json");
dialogueSystem.loadDatabase("resources/dialogue/cutscene_image_tests.json");
/*dialogueSystem.addTriggerZone({
"ghost_room_trigger",
"test_line_dialogue",
@@ -624,6 +624,10 @@ namespace ZL
}
void Location::handleUp(int64_t fingerId, int mx, int my)
{
if (dialogueSystem.blocksGameplayInput()) {
dialogueSystem.handlePointerReleased(static_cast<float>(mx), Environment::projectionHeight - static_cast<float>(my));
return;
}
}
void Location::handleMotion(int64_t fingerId, int eventX, int eventY, int mx, int my)