Support multiple choice parameters in additional to plain old numbers.
With this we are now able to change the direction of sliding, yippee!
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
Add a tool to generate C function from a compiled animation script.
The generated function will reproduce the animation script when called.
The goal is to implement animation presets. Instead of creating strings
and then compile them into scripts, by using these generated function,
we can skip the parsing step and create compiled scripts directly.
Placeholders are supported in the preset script, so some configurability
still exists even when using presets.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>