Not logged inOpenClonk Forum
Up Topic [Cleanup] Global Functions

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
I'm not sure about the enormous amount of work. Reviewing and possibly changing every function would be impossible, but creating a (very) short whitelist might be workable. I'd do this in the parser - disallow access to global variables and functions not marked as async, and you could implement things like particles which accelerate towards an object. Of course, the usefulness depends on the length of the whitelist, and lots of essential functions like FindObjects are unsafe. Time spent on optimizing normal objects might be more fruitful.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill