You can now change state from the Lua state (by calling the changeState() function)
The resources now also have a stack to push and pop the bitmap cache to and from as the game states are pushed and popped.
There is a new BmpObj object exposed to Lua that is constructed through the Bmp('file.bmp') function.
It loads the 'file.bmp' as a bitmap through the resource module.
The G graphics object now has a method G.blit() to blit these bitmap objects to the screen.
The BmpObj has a method setMask('color') to set the color of the bitmap's mask.
Added a G.print() function for text output.
Changed the names of some of the G functions to be camelCase.
Added Keyboard and Mouse objects to the Lua interpreter to provide access to the relevant input devices.
The styles mechanism in states.c has now been replaced by a simpler hash table implementation.
Use the new get_style() API function to get a specific style from the config.
I changed this to make it simpler to give the Lua code access to the styles.
Lua now has a getStyle() function to access the styles in the INI file.
There is a new G.setFont() function to control the font as well.
Added a G.textDims() function to return the dimension in pixels of a string using the current font settings.
Added a game database, which stores game-related information as key-value pairs in a INI file.
Moved Lua functions like onUpdate(), setTimeout(), getStyle() and so on to the 'Game' namespace.
Added the Pakr utility (which generates PAK files)'s source code and modified the Makefile.
Bace is a program to encode a binary file as C source code.
I need it bake Lua scripts into the Rengine executable.
There is now a scripts directory containing a base.lua script which is the starting pooint of my built-in Lua libraries.
I've modified the Makefile to generate the Bace utility, and then to generate base.x.c from scripts/base.lua
I've decided to move the log(), setTimeout() and onUpdate() functions back into the global scope in Lua.
Updated the devnotes to take the latest changes into account.
Added the mddoc.awk Awk script so that I can generate Markdown documentation for the GitHub wiki automatically by running it over the source code.
Fixed the colors of the bm_color_atoi() function to reflect the web colors on the Wikipedia.
http://en.wikipedia.org/wiki/Web_colors
Added documentation to luastate.c for use on the GitHub wiki.
Some more minor documentation fixes.
Added support for the shorthand '#RGB' and 'RGB(x,y,z)' formats to the bm_color_atoi() function.
Optimised bm_color_atoi() to use a binary search for faster lookups of the color values.
The #RGB shorthand now only works if the parameter actually starts with a #