mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-01 07:07:05 +01:00
64c54b8a38
A clip of stage 8 played on its own (autoplay) or from the code; a scenery event can start it now. - New form of the animation event: "animation <delay> <model> clip <name> <pace>". A pace above 0 starts the clip from its beginning at that pace (a clip playing starts over), 0 stops the clips of the model, its nodes left where the clips put them. A clip the model hasn't gets "Bad event: ... can't find clip ..." in the log. The event is written back in the same form. The forms before it (rotate, translate, digital, .vmd) read and run as they did. The current release doesn't read the new form. - The editor self-test gets "eventrun <name>", which finds the targets of the event and runs it at once, since the editor runs no events. Checked in the game (Vulkan): after "clip bend 0" the tube stands still (no pixel differs between three shots), after "clip bend 2" it moves, "clip nosuchclip 1" logs the error (time let run in the editor for the test only). No unit test: the unit tests don't link world/Event.cpp. Unit tests 1200/1200. Not built with GCC here.