A tutorial on integrating Lua as a simple scripting language into a Windows C++ RPG engine. Lua is an extension programming language designed to support general procedural programming with data ...
-- A function is a block of code with a name (usually) and a parameter list. -- Think of it like a shell function in zsh: `greet() { echo "hi $1" }`, -- except Lua parameters have real names instead ...
This whole adventure started a couple of weeks ago, when a question about using Boost.Python was posted on a Swedish game development forum where I usually lurk. I hadnAEt used Boost.Python before, ...
-- an argument (or returns one — you already built those in lesson 04's -- factories). Since functions are plain values, nothing new is needed; -- the pattern just gets a name.