patch to use cmdline options, focus fixes
Taylor Richards
mtrs at bellsouth.net
Mon May 5 17:14:54 EDT 2003
Here is the patch to add command line option support to gropengl.cpp and
os_unix.cpp. One particular note about this patch, fullscreen is
default. I don't mind putting this back to windowed but this has been
asked for enough. Also the mouse is grabbed automatically unless you
tell it otherwise (-g | --nograb). The rest should be pretty
self-explanatory. One bug fix was for SDL_APPACTIVE which wasn't being
tested for properly. Comments?
One thing that I forgot to mention on the previous patch was that the
file Data/cmdline.cfg is parsed for options that aren't specified on the
command line. It will look in ${HOME}/.freespace2 first and then the
executable directory. Options in this file are specified exactly as
they are on the command line itself.
Taylor
--
Taylor Richards <mtrs at bellsouth.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: focus_cmdline.patch
Type: text/x-patch
Size: 3103 bytes
Desc: not available
URL: <http://icculus.org/pipermail/freespace2/attachments/20030505/17849f2d/attachment.bin>
More information about the freespace2
mailing list