Not logged inOpenClonk Forum
Up Topic 3D mesh rendering

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
Well, the ActMap interface is a declarative interface, while the functions are imperative. Both styles have advantages and disadvantages, but I think it's far easier to implement the former in terms of the latter than the other way round, so we could theoretically keep the ActMap interface by implementing it in C4Script. But then there's also the fact that there are lots of interaction points between the Actions and the other parts of the engine. Some of them probably shouldn't be reimplemented in C4Script for speed reasons, so we'd need to replace the action changes with Callbacks, and the action property queries with object property queries. A lot of work for little gain, except for a cleaner interface. On the other hand, your script interface looks like it might be replaceable by enabling objects to have multiple actions.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill