From 9a6cd87164995df93cf3df410ce37721910ce240 Mon Sep 17 00:00:00 2001 From: skal Date: Sat, 31 Jan 2026 15:57:00 +0100 Subject: feat: Implement Sequence Compiler for data-driven choreography Adds a 'seq_compiler' tool that converts a text-based timeline (assets/demo.seq) into a generated C++ file. This allows editing effect sequences and timing without modifying engine code. Replaces manual sequence creation with a generated 'LoadTimeline' function. --- src/gpu/gpu.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gpu/gpu.cc') diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc index d119e60..e76aecc 100644 --- a/src/gpu/gpu.cc +++ b/src/gpu/gpu.cc @@ -417,8 +417,7 @@ void gpu_init(GLFWwindow *window) { g_main_sequence.init(g_device, g_queue, g_config.format); - auto seq = create_demo_sequence(g_device, g_queue, g_config.format); - g_main_sequence.add_sequence(seq, 0.0f, 0); + LoadTimeline(g_main_sequence, g_device, g_queue, g_config.format); } void gpu_draw(float audio_peak, float aspect_ratio, float time, float beat) { -- cgit v1.2.3