Search found 22 matches

by kiolakin
Mon Jul 31, 2006 18:49
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Ok, I am glad I complained so much because that patch was a whole 10 lines of code. :p Anyway, unless you guys changed something big, it should probably work for the latest as well. CEGUISystem.h /*! \brief Sets the script module for the System. If there is already a script module present it clears ...
by kiolakin
Mon Jul 31, 2006 18:19
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Ok I figured out that if I call lua_dofile myself it doesn't need to be in the constructor for it to find the CEGUI::events. I guess my only worry is that now perhaps the events won't work. Anyone know for sure ? Ok I took a romp through the code and my guess was right, the scriptModule_d is necess...
by kiolakin
Mon Jul 31, 2006 17:38
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Ok I figured out that if I call lua_dofile myself it doesn't need to be in the constructor for it to find the CEGUI::events. I guess my only worry is that now perhaps the events won't work. Anyone know for sure ?
by kiolakin
Mon Jul 31, 2006 06:54
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Ok, I got it to work by throwing a hack in there to destroy the window system and recreate it with the lua state. I would prefer not to have to destroy and recreate the window system every time I change lua states though, so once again, please let me know if there is a way to give the LuaScript modu...
by kiolakin
Mon Jul 31, 2006 06:26
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Well I took out all of my lua-5.1.1 and tolua++-1.0.92 stuff and got the lua-5.0.3 and tolua++-1.0.6pre2 or whichever it was that CEGUI used and compiled an old tolua++. Now I am not getting the fireworks I was, but I still can't seem to get the LuaScriptModule to bind to the system after the system...
by kiolakin
Mon Jul 31, 2006 04:25
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

Nevermind, I guess that is what createBindings() is for. I guess my problem is more an issue of conflicting library versions. I already had lua and tolua++ in my app, so I was hoping CEGUI would play ok with them, but I guess I need to compile my own version of CEGUI.
by kiolakin
Mon Jul 31, 2006 01:21
Forum: Help
Topic: [PATCH INCLUDED]Setting scriptModule after construction.
Replies: 7
Views: 3614

[PATCH INCLUDED]Setting scriptModule after construction.

My application already uses several lua states. It creates and decreates several different parts of the GUI as well. The only stanard part of the GUI is the system itself and the root window. I have run into a problem when trying to include CEGUI sripting support into one of my lua states. I can cre...

Go to advanced search