Update of /cvsroot/netrek/client/netrekxp/include In directory sc8-pr-cvs16:/tmp/cvs-serv5270/include Modified Files: proto.h Log Message: This patch gets the in game save feature almost where it needs to be to allow the user to change all options in game and not have to edit the netrekrc. Other benefits are that placement of options in netrekrcs are consistent, duplicate entries are weeded out, and netrekrcs used from 1 client version to the next are standardized by the in game save function and brought up to date with the latest features. The default saveFile is now netrekrc (it was netrekrc.sav before) Fixed typo in printout of the path to the netrekrc during the save process. Added geometryDefault() function that acts like a stringDefault but for geometries. If the string is "auto" it ignores it. In game save function now always saves window geometries, currently it saves any auto or non-entry as "auto". Future enhancement would be to save values that changed from initial values. Removed some outdated beeplite features from the manual. Removed two beeplite cycle_time variables as being netrekrc options, as they were useless and had to be normalized to server update rate anyways to work right. The netrekrc save feature now saves ship specific keymaps/ckeymaps/buttonmaps/netrekrc, and observer/servertype specific options. Saving servernick options is not supported, but I doubt anyone uses those to begin with. The ' key (single quote) is now the default key for toggling on and off the expanded playerlist window Index: proto.h =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/include/proto.h,v retrieving revision 1.46 retrieving revision 1.47 diff -u -d -r1.46 -r1.47 --- proto.h 7 Apr 2007 05:17:38 -0000 1.46 +++ proto.h 9 Apr 2007 11:07:17 -0000 1.47 @@ -105,6 +105,7 @@ int booleanDefault (char *def, int preferred); int intDefault (char *def, int preferred); char *stringDefault (char *str); +char *geometryDefault (char *str); int findDefaults (char *deffile, char *file); void resetdefaults (void); void shipchange (int type);