Lua, PNGs
I’ve learned the final piece of the puzzle with regards to Lua; C functions that return values to Lua. Now I can do anything with Lua. However…I need to work on the main C++ program a bit more. I want to have an object that represents a “map”, and that map will use Lua code to randomly generate itself. However, it will be a C++ object so that the game will be able to access its data quickly.
I’ve also learned to use libpng. This library allows me to read and write PNG image files. (Well, reading is handled by DirectX, so it’s the output/writing that’s the useful part.)