AngleWyrm
May 19th, 2007, 09:57 AM
Been playing around with Lua scripting language (http://www.lua.org/manual/5.1/manual.html#1). It's quite a nice way to get data and AI processing text files into a C++ (or any) language program. There's a Lua Dev-Pak (http://www.devpaks.org/details.php?devpak=126) that works with Dev-CPP and Code::Blocks.
Here's a sample C++ app with Lua data and script files. If you use Code::Blocks (http://codeblocks.org/) IDE, then there's a workspace file in there as well.
[edit]eh, the forum attach d/l is bugging out, so here's a link (http://home.comcast.net/~anglewyrm/luatest.zip).
Here's a sample C++ app with Lua data and script files. If you use Code::Blocks (http://codeblocks.org/) IDE, then there's a workspace file in there as well.
[edit]eh, the forum attach d/l is bugging out, so here's a link (http://home.comcast.net/~anglewyrm/luatest.zip).