hippyman
Member
I'm working on an OpenGL extension and there are a good amount of functions that take a callback function. Instead of having every callback function hard coded in the extension, I'd like to pass a GML script to the extension so the end user can have more control over what happens in each event.
I get the feeling this just isn't possible. If that's the case, are there any suggestions somebody might have to achieve the same effect? I know I can implement LUA into the extension but that would be pretty complicated and the whole reason for making this an extension instead of a separate engine is because I want to use GML.
Any thoughts/help would be greatly appreciated!
Also.. sorry if this is better fit to a different subforum. Feel free to move it wherever necessary.
I get the feeling this just isn't possible. If that's the case, are there any suggestions somebody might have to achieve the same effect? I know I can implement LUA into the extension but that would be pretty complicated and the whole reason for making this an extension instead of a separate engine is because I want to use GML.
Any thoughts/help would be greatly appreciated!
Also.. sorry if this is better fit to a different subforum. Feel free to move it wherever necessary.