deshan
24-07-2010 20:58:13
Hello
For one of my project I made a simple library to bind oggsound classes to lua. I am like to share this.
Download
http://www.4shared.com/file/iGxiiih9/Lu ... d_VC8.html
Following need to build the library
Ogre (I have used 1.6)
OpenAL
OgreOggSound
Lua 5.1 (http://www.lua.org/download.html)
LuaBind 0.9 (http://sourceforge.net/projects/luabind/files/luabind/)
Boost
Supported Bindings
Al.h Directives
OgreOggISound
OgreOggListener
OgreOggSoundManager
Ogre Classes Radian, Degree, Vector3, Quaternion . (constructors and public variables(const and instance) only)
Additionally I have created two small examples(VC8).Both examples are written on top of ExampleApplicationframework (Ogre 1.6).
Please find the scripts located in \bin\release\Lua\ Test1.lua and Test2.lua.
Example 1 :
OgreOggSound code used in both c++ and Lua.
Example 2:
kept all OgreOggSound code in scripts (not include OgreOggSound. h header in C++)
To keep the consistency I haven't change any names.
eg : OgreOggSound::OgreOggSoundManager = OgreOggSoundManager in Lua
Download Example
http://www.4shared.com/file/FHri3k3O/Og ... t_vc8.html
Special Thanx goes to sticky for the big support he gave me in the past few months.
Thank You
For one of my project I made a simple library to bind oggsound classes to lua. I am like to share this.
Download
http://www.4shared.com/file/iGxiiih9/Lu ... d_VC8.html
Following need to build the library
Ogre (I have used 1.6)
OpenAL
OgreOggSound
Lua 5.1 (http://www.lua.org/download.html)
LuaBind 0.9 (http://sourceforge.net/projects/luabind/files/luabind/)
Boost
Supported Bindings
Al.h Directives
OgreOggISound
OgreOggListener
OgreOggSoundManager
Ogre Classes Radian, Degree, Vector3, Quaternion . (constructors and public variables(const and instance) only)
Additionally I have created two small examples(VC8).Both examples are written on top of ExampleApplicationframework (Ogre 1.6).
Please find the scripts located in \bin\release\Lua\ Test1.lua and Test2.lua.
Example 1 :
OgreOggSound code used in both c++ and Lua.
Example 2:
kept all OgreOggSound code in scripts (not include OgreOggSound. h header in C++)
To keep the consistency I haven't change any names.
eg : OgreOggSound::OgreOggSoundManager = OgreOggSoundManager in Lua
Download Example
http://www.4shared.com/file/FHri3k3O/Og ... t_vc8.html
Special Thanx goes to sticky for the big support he gave me in the past few months.
Thank You