I just built the latest Ogre source code available (V1.2.3) with CEGUI 0.5 RC2, after a little patch in Ogre it worked really very well
![Wink ;)](./images/smilies/icon_wink.gif)
I can now use lua scripts to control cegui interface, and I must admit I really love this stuff...
My current problem comes from Lua integration with both API (cegui and Ogre):
I added to Ogre it's own Lua support, using the same tools as cegui script module, except it's running Lua5.1 instead of v0.52. I can control my 3d objects using Lua...
there's no conflict as I also renamed the needed dlls to tolua++cegui.dll and tolua++.dll for Ogre. I also have lua5.0.dll and lua5.1.dll in my exe folder are they're both needed...
I know it's really ugly
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
As you would guess, what I need is to update the Scripting Module to the same Lua version used by Ogre, but there's a more dramatic issue...
In the current state, it's impossible for my cegui Lua scripts to control my Ogre objects are they're not sharing their bindings:
For instance it's impossible in Lua script to rotate an Ogre 3D object when I press a cegui button.
My questions:
- Do you have planned to update your Script Module to Lua5.1 soon ? If someone as already done it, some problems to report ?
- What is the best way to share both CEGUI and Ogre API in only one binding ? Is it at least possible to do such a thing ?
Thanks a lot for all your contributions on those subjects.
BR