I have attached an updated main2.c file that adds a couple of basic features (SDL2 only).
Anyone wishing to try, simply backup your main2.c file and then save the file at the following link ( http://pastebin.com/raw/nhSMVP9e ) as main2.c and put it in place of the original. Assuming you have SDL2 enabled as a build flag you should now have the following additions:
- Mouse is grabbed by default in both windowed and fullscreen mode (ctrl-g still toggles if needed)
- Added 1440x900 to the screen resolution list
- Added a new command line parameter -m (or --mode) to set the screen resolution before launching.
The changes are only simple, The reason I have added them is to allow scripting to control the resolution rather than having to use the menu system.
If anyone is maintaining the project and considers any of the above functionality useful, please consider merging with the main branch.