Update of /cvsroot/netrek/client/netrekxp/resources/docs In directory sc8-pr-cvs16:/tmp/cvs-serv22675/resources/docs Modified Files: changes.txt netrekrc netrekrc_options.txt Log Message: This patch begins the work on making the game work when font size changes. Added new font W_SmallFont which will always be the traditional 6x10 pixel font. Not used currently, but for applications that require a small font regardless of regular font size, will use this. Fontsize is now a proper global variable and the ability to change it via netrekrc is now made aware to user via netrekrc entry. Restored xtrekrc and motdwin (aka entry window) to follow TWINSIDE as it seems the right thing to do, people expect tactical window and entry window to be same size. Removed debug statement in phasers I left in on accident. Centered planet names and army count on global map, so they scale properly with font size. Moved handy MIN function to global defs file. Added functions for determining size of stats window width and height for initial window creation. Main title bar is now on by default (most people agreed it should be on, deferring to their opinion). Fixed a ton of places where entry window was not scaling properly to text height. Team and quit windows will now remap properly if entry window is moved/resized. Fixed ping stats and stat window widths so that slider bars are never lost if font size is increased greatly. Index: netrekrc =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/netrekrc,v retrieving revision 1.62 retrieving revision 1.63 diff -u -d -r1.62 -r1.63 --- netrekrc 12 Apr 2007 00:56:28 -0000 1.62 +++ netrekrc 13 Apr 2007 07:12:22 -0000 1.63 @@ -112,6 +112,9 @@ # Change window border on enemy approach extraAlertBorder: on +# Height in pixels of font, default 10 +fontSize: 10 + # Number of colors the client will display # 0 - find best available color option (default) # 1 - 16 colors @@ -153,7 +156,7 @@ mainResizeable: on # Start main window with title bar on (can be toggled by alt+enter) -mainTitleBar: off +mainTitleBar: on # Maximum number of scroll lines in a message window (range of values 50-500) maxScrollLines: 300 Index: netrekrc_options.txt =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/netrekrc_options.txt,v retrieving revision 1.49 retrieving revision 1.50 diff -u -d -r1.49 -r1.50 --- netrekrc_options.txt 11 Apr 2007 23:06:32 -0000 1.49 +++ netrekrc_options.txt 13 Apr 2007 07:12:22 -0000 1.50 @@ -55,7 +55,7 @@ fedshipGbmpfile: (path) - your own ship's grayscale bitmaps fedshipTbmpfile: (path) - shaded color bitmaps fedshipMbmpfile: (path) - mono bitmaps -fontSize: (int) default 10 +fontSize: (int) - height in pixels of font, default 10 forceDisplay: (0/3) how many colors to display # 0 - find best available color option (default) # 1 - 16 colors Index: changes.txt =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/resources/docs/changes.txt,v retrieving revision 1.173 retrieving revision 1.174 diff -u -d -r1.173 -r1.174 --- changes.txt 12 Apr 2007 09:06:09 -0000 1.173 +++ changes.txt 13 Apr 2007 07:12:22 -0000 1.174 @@ -1,4 +1,11 @@ Netrek XP 2006, Version 1.3: +- entry window now scales properly with font size, and team/quit windows no longer + disappear on resizing or moving the entry window +- main title bar now defaults to on +- stats window and ping stats window now scale properly with font size +- fixed galactic planet names and army counts so they are centered on planets +- added fontSize option to netrekrc (this option always existed, but was undocumented). + This option controls the pixel height of the font used in game - cambot files names are now autogenerated, similiar to logfile names, if no name is given (names will be like 20070401.pkt) - password, playerlist2 layout, b1keymap - b5keymap, and metaservers now save via