Add PETScript parser
pixeldesu opened this issue · comments
Andreas Nedbal commented
PET.Models.Frame
contains a Script
which is a set of commands executed at the corresponding frame.
Example of PETScript included in a Frame
:
*showbone("E_WI_11")*hidebone("E_WI_11_SUB") *hideclub *hidebone("E_Cannon" "E_Telescope" "E_Ship" "E_killerwhale") *ptex("__facetexture__" "e_def_reset.png") *showbone("E_WI_11")*hidebone("E_WI_11_SUB")
Write up a PETScriptParser
that returns an AST, which can then be used by other tools to execute the given commands with their arguments.
Andreas Nedbal commented
This has been added in 2830ed8