diff options
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/seq_compiler_v2.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/seq_compiler_v2.py b/tools/seq_compiler_v2.py index 6ae6283..cb30585 100755 --- a/tools/seq_compiler_v2.py +++ b/tools/seq_compiler_v2.py @@ -479,6 +479,24 @@ def main(): cpp = generate_cpp(seq, sorted_effects, aliases, args.flatten) all_cpp += cpp + '\n' + # Generate compatibility stubs for v1 API + all_cpp += ''' +// V1 compatibility stubs (TODO: Replace with proper v2 integration) +#include "gpu/effect.h" + +void LoadTimeline(MainSequence& main_seq, const GpuContext& ctx) { + // TODO: Integrate v2 sequences with MainSequence + // For now, this is a no-op to allow linking + (void)main_seq; + (void)ctx; +} + +float GetDemoDuration() { + // TODO: Calculate from v2 sequences + return 40.0f; +} +''' + # Write output with open(args.output, 'w') as f: f.write(all_cpp) |
