Update of /cvsroot/netrek/client/netrekxp/resources/htmlhelp/html In directory sc8-pr-cvs16:/tmp/cvs-serv17585/resources/htmlhelp/html Modified Files: generalconfig.html Log Message: This patch focuses on getting windows geometries to save via the in-game save key. Redefined win->orig_* to mean not the values in newwin(), but rather the original values as determined by the netrekrc. New variables to window struct, win->actual_*, which are defined at the exact moment of window creation to get the true screen coordinates of the original window (note that these are NOT the same as the coordinates you put in the netrekrc file! They are modified by things like border, padding, system metrics, etc). New function checkWindowsGeometry() which checks current windows placement vs. the placement that was originally given (win->actual_*). If they differ, to then backwards convert the current screen coordinates into a netrekrc entry, the current coordinates are modified by (win->actual_* - win->orig_*), to take into account things like borders, padding, etc. If they don't differ, then the netrekrc string is used (i.e. "local.geometry: xxxx"). In the in-game save function, a call to checkWindowGeometry is made to get the geometry. Also, the current mapped state of window is used for saving, rather than the one from the netrekrc, so that if people change window mappings, they save. Fixed documentation incorrectness on playerListObserver option. Index: generalconfig.html =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/htmlhelp/html/generalconfig.html,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- generalconfig.html 7 Apr 2007 05:17:38 -0000 1.48 +++ generalconfig.html 10 Apr 2007 00:44:03 -0000 1.49 @@ -854,6 +854,8 @@ <li><b>0 (default)</b> - show everyone</li> <li><b>1</b> - show only players</li> <li><b>2</b> - show only observers</li> + <li><b>3</b> - show players, then observers</li> + <li><b>4</b> - playerlist is off</li> </ul> </td> </tr>