move animation code generation to separate module

This commit is contained in:
MihailRis 2026-09-10 00:11:04 +03:00
parent 3ed80d0c95
commit 48ca3ab5f9
4 changed files with 313 additions and 304 deletions

View file

@ -106,7 +106,7 @@ end
local function load_vca(source, filepath)
local raw_track = parse_track(xml.parse_vcd(source, "track"))
return animation.compile_track(raw_track, filepath)
return internals.compile_animation_track(raw_track, filepath)
end
function internals.load_vca_animation(filepath, source, identifier)