Minor fixes:
The logging system is inited first, so other things don't try to use it beforehand.
It no longer tries to free a NULL bitmap.
Merge branch 'HEAD' of https://github.com/wernsey/rengine.git
Fixed some of my Linux ports in the Windows build.
There's now a keys_down[] and keys_up[] that are only populated if the key has been pressed or released within the last frame.
This functionality is intended to "debounce" the keyboard for GUIs and so on.
I've exposed this functionality to Lua as the Keyboard.pressed() and Keyboard.released() functions.
The virtual screen width and height are now available to the Lua scripts from the start.
There is now a frameCounter exposed to Lua for animation purposes.
You can now filter the virtual screen through "nearest" or "linear" interpolation modes.
You now have the ability to disable the mouse cursor globally. I couldn't get it working on a per-state basis, but I'll try again later.
I've also sorted and documented some of the globals in game.c