summaryrefslogtreecommitdiff
path: root/src/gpu/gpu.cc
diff options
context:
space:
mode:
authorskal <pascal.massimino@gmail.com>2026-01-31 15:57:00 +0100
committerskal <pascal.massimino@gmail.com>2026-01-31 15:57:00 +0100
commit9a6cd87164995df93cf3df410ce37721910ce240 (patch)
tree04bc3f733ca916ad13ea6304069f63cdacec5399 /src/gpu/gpu.cc
parent1016d65d4b5bf7cbd05bba4cf79dc2ce172c9fad (diff)
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.
Diffstat (limited to 'src/gpu/gpu.cc')
-rw-r--r--src/gpu/gpu.cc3
1 files changed, 1 insertions, 2 deletions
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) {