Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15530/src Modified Files: local.c Log Message: Changed border refresh to happen at 10/second for all bitmap sets rather than just the high res bitmaps. As now there are several things that ignore borders (high res ships, range circles) it just makes more sense to redraw borders semi-constantly. Index: local.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/local.c,v retrieving revision 1.78 retrieving revision 1.79 diff -u -d -r1.78 -r1.79 --- local.c 19 Mar 2007 00:05:13 -0000 1.78 +++ local.c 25 Mar 2007 22:20:53 -0000 1.79 @@ -2472,11 +2472,11 @@ break; } } - /* Force a border redraw? Only needed for bitmaps rotated realtime, due - to the overwriting border issue. Also, very CPU expensive to write + /* Force a border redraw? Bitmaps rotated realtime as well as viewRange circles + will overwrite the border. Since it is very CPU expensive to write rectangles (drawborder function) to the active window, especially if double - buffering is off, so let's slow down redraws to at most 10 per second */ - else if (colorClient == 4) + buffering is off, let's slow down redraws to at most 10 per second */ + else { static int border_refresh = 0;