Jump to content
  • Advertisement
Sign in to follow this  

ToLua++ Bindings Query

This topic is 3799 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've decided to bind Lua to my gamecore using ToLua++. I'm currently at the stage of designing the 'game classes' or game objects. The problem is, I don't want to expose the graphics objects to Lua at all (I want the graphics core untouchable, so to speak) but my games objects hold graphic objects. Now, I can see two possible roads: Create a container object which holds a pointer to a game and graphic object, linking them or Protect the graphic object and provide functions for access, and fail to include those functions in the pkg file. I would immediately go for the latter, but I am still a long way away from compiling, and I need to know if it would work (compile, run, etc) with a incomplete description of the class (or would that break the entire functionality?).

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!