Update of /cvsroot/netrek/client/netrekxp In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv29199 Modified Files: build.cmd clientr.suo Log Message: Following COW patch "50 fps, accept new UPS feature packet", client and server now negotiate a update rate. Default is 50, but it still works with older servers running at 10 fps. Preliminary work on compiling with cygwin - added some headers for compile purposes, a few new Cygwin #ifdefs, 3 new cygwin makefiles that don't work yet (and probably never will without outside help). Index: clientr.suo =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/clientr.suo,v retrieving revision 1.74 retrieving revision 1.75 diff -u -d -r1.74 -r1.75 Binary files /tmp/cvsyEeNio and /tmp/cvsA0IxIQ differ Index: build.cmd =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/build.cmd,v retrieving revision 1.21 retrieving revision 1.22 diff -u -d -r1.21 -r1.22 --- build.cmd 31 Jan 2007 07:31:01 -0000 1.21 +++ build.cmd 23 Feb 2007 13:43:48 -0000 1.22 @@ -3,6 +3,7 @@ set HelpCompiler="C:\Program Files\HTML Help Workshop\hhc.exe" rem set Compiler=VCC set Compiler=BCC +rem set Compiler=CYGWIN @echo off Set MyCWD=%cd% @@ -363,6 +364,7 @@ if /I "%Compiler%" == "BCC" goto :CompilerBCC if /I "%Compiler%" == "VCC" goto :CompilerVCC +if /I "%Compiler%" == "CYGWIN" goto :CompilerCYGWIN echo You must set which compiler you have at the top of this batch file. goto :end @@ -398,6 +400,20 @@ goto :dist +:CompilerCYGWIN +pushd src +pushd cursors +make --makefile=makecyg +popd +pushd winkey +make --makefile=makecyg +popd +make --makefile=makecyg +%MyCWD%\tools\stampver -v%MyCWD%\src\stampver.inf netrek.exe +popd + +goto :dist + :dist copy resources\htmlhelp\netrek.chm %InstCWD%\netrek @@ -498,6 +514,10 @@ if /I "%Compiler%" == "BCC" copy src\winkey\winkey.dll %InstCWD%\netrek\bitmaps if /I "%Compiler%" == "BCC" copy src\netrek.exe %InstCWD%\netrek +if /I "%Compiler%" == "CYGWIN" copy src\cursors\curslib.dll %InstCWD%\netrek\bitmaps +if /I "%Compiler%" == "CYGWIN" copy src\winkey\winkey.dll %InstCWD%\netrek\bitmaps +if /I "%Compiler%" == "CYGWIN" copy src\netrek.exe %InstCWD%\netrek + goto end :clean @@ -548,6 +568,7 @@ if /I "%Compiler%" == "BCC" goto :CleanBCC if /I "%Compiler%" == "VCC" goto :CleanVCC +if /I "%Compiler%" == "CYGWIN" goto :CleanCYGWIN echo You must set which compiler you have at the top of this batch file. @@ -582,6 +603,19 @@ goto :end +:CleanCYGWIN +pushd src +make clean --makefile=makecyg +pushd cursors +make clean --makefile=makecyg +popd +pushd winkey +make clean --makefile=makecyg +popd +popd + +goto :end + :cleanrsa pushd src del rsa*.c