Logo

Username:    Password:    Remember me     Signup

Main Menu
 Home
 IRC
 Wiki
 

Welcome

Username:

Password:


Remember me

[ Signup ]
[ Forgot password? ]


ToDo/Bugs/Requests
Total tickets: 263
Open tickets: 119
Not assigned: 123

Online
Guests: 4
Members: 0
On this page: 1
Members: 362, newest: coooolihdbril


Forums
Poll: Is lua one of the better script languages?

a) NO


b) YES




Posted by:
Votes: 1
Lightfeather 3D Engine -> Forums -> Discussion
<< Previous thread | No next thread  

 [poll] OMG Finally: tolua++ worked

Moderators: Matthias, Electron
Author Post
sum1nil
Wed May 19 2010, 01:43AM Quote
Sum1nil

Registered Member #284
Joined Wed Mar 11 2009, 11:46PM
posts 21
Ok Hi,
Well finally I got a very simple example of a namespace holding a class (Actors::Man) to work on tolua++. Lightfeather is another pickle entirely.
I want too upload this to give an example of what I hope works nearly outta the box (man.pkg currently needs to go into "c:\pack\man.pkg").

I hope this gives a someone a working example of tolua++; God knows it took me a while.

FYI: a namespace in the act.lua file is represented by Actors.Man and not Actors::Man.

It's discussion right?; discuss anything? Also, Luascript:startInterpreter needs work.

Thank you for the forum and a place to talk about ideas about not only a great rendering engine but little things that just might help.

Please let me know if this does not work (remember you need tolua++.h and the lua includes).


284_actors.rar
Back to top
sum1nil
Wed May 19 2010, 01:53AM Quote
Sum1nil

Registered Member #284
Joined: Wed Mar 11 2009, 11:46PM
posts 21
Just wanted to note that src code for tolua++ can be found at this post:
http://lightfeather.de/forum_viewtopic.php?13.1140
Back to top

Jump:     Back to top



Random Image

Latest Forum Posts
calav3ra on 04 Sep : 15:21
You are absolutely right about both parts being wr[more ...]

Matthias on 04 Sep : 10:42
I will have time to look into this and the other t[more ...]

legerdemain on 04 Sep : 06:45
Hi again, i'm trying to track down a strange crash[more ...]

legerdemain on 03 Sep : 11:03
In CGUITextArea.cpp, lines 657-658 and 679-680, th[more ...]

Matthias on 27 Aug : 13:20
Hm.. thats odd - i will look into it. Hope you can[more ...]

Backend
Our headlines can be syndicated by using either our rss or text feeds.
news.xml - news.txt


Render time: 0.1628 second(s).