From havoc at icculus.org Thu Aug 4 21:55:26 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 4 Aug 2005 21:55:26 -0400 Subject: Module neither: Change committed Message-ID: <20050805015526.1718.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 01:55:26 UTC Log message: added G_PacketBuffer module for reading/writing byte buffers Modified files: darkwar/Makefile Added files: darkwar/game/g_packetbuffer.c darkwar/game/g_packetbuffer.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.015526.havoc.diff URL: From havoc at icculus.org Thu Aug 4 22:30:51 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 4 Aug 2005 22:30:51 -0400 Subject: Module neither: Change committed Message-ID: <20050805023051.3947.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 02:30:51 UTC Log message: fix a couple compile bugs Modified files: darkwar/game/g_packetbuffer.c darkwar/game/g_packetbuffer.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.023051.havoc.diff URL: From havoc at icculus.org Fri Aug 5 01:07:33 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 01:07:33 -0400 Subject: Module neither: Change committed Message-ID: <20050805050733.14100.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 05:07:33 UTC Log message: added g_util.c to hold various utility functions Modified files: darkwar/Makefile Added files: darkwar/game/g_util.c darkwar/game/g_util.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.050733.havoc.diff URL: From havoc at icculus.org Fri Aug 5 01:33:37 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 01:33:37 -0400 Subject: Module neither: Change committed Message-ID: <20050805053337.15436.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 05:33:37 UTC Log message: fix a but in Write32 (thanks Elric) Modified files: darkwar/game/g_packetbuffer.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.053337.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:04:56 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:04:56 -0400 Subject: Module neither: Change committed Message-ID: <20050805080456.23733.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:04:56 UTC Log message: fix another compile error Modified files: darkwar/game/g_packetbuffer.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.080456.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:40:03 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:40:03 -0400 Subject: Module neither: Change committed Message-ID: <20050805084003.27251.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:40:03 UTC Log message: documentation on the purpose of bevel planes Modified files: darkwar/collision.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084003.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:41:07 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:41:07 -0400 Subject: Module neither: Change committed Message-ID: <20050805084107.27304.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:41:07 UTC Log message: made console color prefix configurable changed console color prefix from @ to ^ Modified files: darkwar/console.c darkwar/console.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084107.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:42:35 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:42:35 -0400 Subject: Module neither: Change committed Message-ID: <20050805084235.27452.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:42:35 UTC Log message: added an unfinished table of which unit can kill which unit how often cleaned trailing whitespace Modified files: darkwar/design.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084235.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:42:56 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:42:56 -0400 Subject: Module neither: Change committed Message-ID: <20050805084256.27494.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:42:56 UTC Log message: updated progress on some subsystems Modified files: darkwar/enginedesign.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084256.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:44:00 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:44:00 -0400 Subject: Module neither: Change committed Message-ID: <20050805084400.27659.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:44:00 UTC Log message: support configurable color prefix character check if a light is active when rendering Modified files: darkwar/r_main.c darkwar/r_main.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084400.havoc.diff URL: From havoc at icculus.org Fri Aug 5 04:45:47 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 04:45:47 -0400 Subject: Module neither: Change committed Message-ID: <20050805084547.27777.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 08:45:47 UTC Log message: more work on networking... Modified files: darkwar/game/g_main.h darkwar/game/g_packetbuffer.c darkwar/game/g_packetbuffer.h darkwar/game/g_util.c darkwar/game/g_util.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.084547.havoc.diff URL: From havoc at icculus.org Fri Aug 5 07:38:10 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 07:38:10 -0400 Subject: Module neither: Change committed Message-ID: <20050805113810.5039.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 11:38:10 UTC Log message: unfinished networking support (lots more to do) added good network documentation (the actual code does not yet resemble it however) rearranged portions of game code (moved code out to g_render and g_network) this doesn't seem to crash, but it doesn't do anything 'new' yet either Modified files: darkwar/Makefile darkwar/system.c darkwar/game/g_main.c darkwar/game/g_main.h darkwar/game/g_packetbuffer.c darkwar/game/g_packetbuffer.h darkwar/game/g_util.c darkwar/game/g_util.h Added files: darkwar/game/g_network.c darkwar/game/g_network.h darkwar/game/g_render.c darkwar/game/g_render.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.113810.havoc.diff URL: From havoc at icculus.org Fri Aug 5 07:46:03 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 07:46:03 -0400 Subject: Module neither: Change committed Message-ID: <20050805114603.5417.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 11:46:03 UTC Log message: no longer starts maps/test.ent by default, now you must use the console to load the map Modified files: darkwar/game/g_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.114603.havoc.diff URL: From havoc at icculus.org Fri Aug 5 07:52:50 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 07:52:50 -0400 Subject: Module neither: Change committed Message-ID: <20050805115250.5793.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 11:52:50 UTC Log message: change console close to be escape, not ~, this allows using that key (which is ^ on german keyboards) Modified files: darkwar/console.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.115250.havoc.diff URL: From havoc at icculus.org Fri Aug 5 07:53:40 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 07:53:40 -0400 Subject: Module neither: Change committed Message-ID: <20050805115340.5866.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 11:53:40 UTC Log message: added G_Net_Update() call and fixed a runaway loop in it Modified files: darkwar/game/g_main.c darkwar/game/g_network.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.115340.havoc.diff URL: From havoc at icculus.org Fri Aug 5 08:03:40 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 08:03:40 -0400 Subject: Module neither: Change committed Message-ID: <20050805120340.6779.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 12:03:40 UTC Log message: now opens a socket, fixed another runaway loop error with that same line in G_Net_Update Modified files: darkwar/game/g_main.c darkwar/game/g_main.h darkwar/game/g_network.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.120340.havoc.diff URL: From havoc at icculus.org Fri Aug 5 09:02:46 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 5 Aug 2005 09:02:46 -0400 Subject: Module neither: Change committed Message-ID: <20050805130246.10988.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-05 13:02:46 UTC Log message: added connect command (doesn't actually do much yet, but the login process works) Modified files: darkwar/game/g_main.c darkwar/game/g_network.c darkwar/game/g_network.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050805.130246.havoc.diff URL: From havoc at icculus.org Sat Aug 6 04:08:53 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 6 Aug 2005 04:08:53 -0400 Subject: Module neither: Change committed Message-ID: <20050806080853.27898.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-06 08:08:53 UTC Log message: split clients from users and did other work Modified files: darkwar/game/g_main.c darkwar/game/g_main.h darkwar/game/g_network.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050806.080853.havoc.diff URL: From black at icculus.org Sat Aug 6 07:35:01 2005 From: black at icculus.org (black at icculus.org) Date: 6 Aug 2005 07:35:01 -0400 Subject: Module neither: Change committed Message-ID: <20050806113501.14645.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-06 11:35:01 UTC Log message: Updated the VC7 project file: Merged the source and header files into single virtual folders again, moved the fs files into a virtual folder and made VC include dwconfig.h automatically. Modified files: darkwar/darkwar-net2003.vcproj -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050806.113501.black.diff URL: From havoc at icculus.org Sun Aug 7 04:52:19 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 7 Aug 2005 04:52:19 -0400 Subject: Module neither: Change committed Message-ID: <20050807085219.27883.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-07 08:52:19 UTC Log message: clear impactnormal to prevent a warning Modified files: darkwar/collision.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050807.085219.havoc.diff URL: From black at icculus.org Sun Aug 7 08:31:39 2005 From: black at icculus.org (black at icculus.org) Date: 7 Aug 2005 08:31:39 -0400 Subject: Module neither: Change committed Message-ID: <20050807123139.9081.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-07 12:31:39 UTC Log message: The collision system now uses COLLISION_EPSILON and the Collision_Edge struct. Ive updated the functions accordingly. Added personalTodo.txt to the VC7 project files (might be useful for others, too - it has to be). Modified files: darkwar/collision.c darkwar/collision.h darkwar/darkwar-net2003.vcproj darkwar/game/g_packetbuffer.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050807.123139.black.diff URL: From black at icculus.org Sun Aug 7 14:40:02 2005 From: black at icculus.org (black at icculus.org) Date: 7 Aug 2005 14:40:02 -0400 Subject: Module neither: Change committed Message-ID: <20050807184002.31092.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-07 18:40:02 UTC Log message: Fixed few places where Collision_Plane should have been changed to Collision_Edge. Merged ClosestPlaneDistance and FurthestPlaneDistance into too long a function name. (Find something more fitting.) Modified files: darkwar/collision.c darkwar/collision.h darkwar/game/g_main.c darkwar/game/g_main.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050807.184002.black.diff URL: From havoc at icculus.org Mon Aug 8 05:07:55 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 8 Aug 2005 05:07:55 -0400 Subject: Module neither: Change committed Message-ID: <20050808090755.22546.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-08 09:07:55 UTC Log message: don't quit when escape is pressed Modified files: darkwar/game/g_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050808.090755.havoc.diff URL: From black at icculus.org Mon Aug 8 05:18:54 2005 From: black at icculus.org (black at icculus.org) Date: 8 Aug 2005 05:18:54 -0400 Subject: Module neither: Change committed Message-ID: <20050808091854.23230.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-08 09:18:54 UTC Log message: Removed the SO/DLL loader code. This is CVS after all and unused code only causes trouble. Modified files: darkwar/fs/zip.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050808.091854.black.diff URL: From black at icculus.org Tue Aug 9 08:46:04 2005 From: black at icculus.org (black at icculus.org) Date: 9 Aug 2005 08:46:04 -0400 Subject: Module neither: Change committed Message-ID: <20050809124604.16033.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-09 12:46:04 UTC Log message: Reformat G_EntityClassTable to make it readable on my screen. Modified files: darkwar/game/g_main.c darkwar/game/g_main.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050809.124604.black.diff URL: From black at icculus.org Mon Aug 22 08:04:57 2005 From: black at icculus.org (black at icculus.org) Date: 22 Aug 2005 08:04:57 -0400 Subject: Module neither: Change committed Message-ID: <20050822120457.1388.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-22 12:04:57 UTC Log message: Added String_InsertSubstring and String_Substring to nstring. Modified files: darkwar/nstring.c darkwar/nstring.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050822.120457.black.diff URL: From black at icculus.org Mon Aug 22 08:35:42 2005 From: black at icculus.org (black at icculus.org) Date: 22 Aug 2005 08:35:42 -0400 Subject: Module neither: Change committed Message-ID: <20050822123542.4124.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-22 12:35:42 UTC Log message: Remove the messy Match* macros from the Parser (I've replaced them with inline functions). Modified files: darkwar/util.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050822.123542.black.diff URL: From black at icculus.org Mon Aug 22 08:58:26 2005 From: black at icculus.org (black at icculus.org) Date: 22 Aug 2005 08:58:26 -0400 Subject: Module neither: Change committed Message-ID: <20050822125826.7822.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-22 12:58:26 UTC Log message: Add an assert macro stubb. Modified files: darkwar/ncommon.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050822.125826.black.diff URL: From black at icculus.org Mon Aug 22 09:27:50 2005 From: black at icculus.org (black at icculus.org) Date: 22 Aug 2005 09:27:50 -0400 Subject: Module neither: Change committed Message-ID: <20050822132750.13970.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-22 13:27:49 UTC Log message: Add 2 remarks to TODO.txt (please read them and discuss them later). Add a small header comment to nstring.h and make all functions return the visible length of a string. Fix a bug in _String_Substring and add some newlines to all functions to structure them a bit more. Modified files: darkwar/TODO.txt darkwar/nstring.c darkwar/nstring.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050822.132749.black.diff URL: From black at icculus.org Mon Aug 22 10:20:58 2005 From: black at icculus.org (black at icculus.org) Date: 22 Aug 2005 10:20:58 -0400 Subject: Module neither: Change committed Message-ID: <20050822142058.24093.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-22 14:20:58 UTC Log message: Fix a bug and make Substring and InsertSubstring more usable. Modified files: darkwar/nstring.c darkwar/nstring.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050822.142058.black.diff URL: From coderjoe at icculus.org Mon Aug 22 21:58:44 2005 From: coderjoe at icculus.org (coderjoe at icculus.org) Date: 22 Aug 2005 21:58:44 -0400 Subject: Module neither: Change committed Message-ID: <20050823015844.13146.qmail@icculus.org> Commiter : coderjoe CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 01:58:44 UTC Log message: fix truncation warning Modified files: darkwar/game/g_render.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.015844.coderjoe.diff URL: From coderjoe at icculus.org Mon Aug 22 22:07:15 2005 From: coderjoe at icculus.org (coderjoe at icculus.org) Date: 22 Aug 2005 22:07:15 -0400 Subject: Module neither: Change committed Message-ID: <20050823020715.13770.qmail@icculus.org> Commiter : coderjoe CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 02:07:15 UTC Log message: update comment. Modified files: darkwar/msvcwarnings.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.020715.coderjoe.diff URL: From coderjoe at icculus.org Mon Aug 22 22:36:06 2005 From: coderjoe at icculus.org (coderjoe at icculus.org) Date: 22 Aug 2005 22:36:06 -0400 Subject: Module neither: Change committed Message-ID: <20050823023606.15986.qmail@icculus.org> Commiter : coderjoe CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 02:36:06 UTC Log message: don't add one to the return from String_Length, or you won't find the command you are looking for, since the length will be off, and the hash will grab an extra byte into the hashing function. Modified files: darkwar/command.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.023606.coderjoe.diff URL: From coderjoe at icculus.org Mon Aug 22 23:00:43 2005 From: coderjoe at icculus.org (coderjoe at icculus.org) Date: 22 Aug 2005 23:00:43 -0400 Subject: Module neither: Change committed Message-ID: <20050823030043.17178.qmail@icculus.org> Commiter : coderjoe CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 03:00:42 UTC Log message: missing dwconfig.h Modified files: darkwar/game/g_network.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.030042.coderjoe.diff URL: From coderjoe at icculus.org Mon Aug 22 23:01:12 2005 From: coderjoe at icculus.org (coderjoe at icculus.org) Date: 22 Aug 2005 23:01:12 -0400 Subject: Module neither: Change committed Message-ID: <20050823030112.17308.qmail@icculus.org> Commiter : coderjoe CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 03:01:12 UTC Log message: make build in VC6 again. Modified files: darkwar/darkwar.dsp ------=MIME.aed300d5255c27d89f1564d43181c5fd Content-Type: text/plain; name="neither.20050823.030112.coderjoe.diff" Content-Disposition: attachment; filename="neither.20050823.030112.coderjoe.diff" Content-Transfer-Encoding: 8bit Index: neither/darkwar/darkwar.dsp diff -u neither/darkwar/darkwar.dsp:1.16 neither/darkwar/darkwar.dsp:1.17 --- neither/darkwar/darkwar.dsp:1.16 Thu Jan 20 13:31:48 2005 +++ neither/darkwar/darkwar.dsp Mon Aug 22 23:01:02 2005 @@ -54,7 +54,7 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /machine:I386 -# ADD LINK32 SDLmain.lib SDL.lib zdll.lib /nologo /subsystem:windows /machine:I386 /out:"darkwar.exe" +# ADD LINK32 SDLmain.lib SDL.lib zdll.lib wsock32.lib /nologo /subsystem:windows /machine:I386 /out:"darkwar.exe" !ELSEIF "$(CFG)" == "darkwar - Win32 Debug" @@ -80,7 +80,7 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept -# ADD LINK32 SDLmain.lib SDL.lib zdll.lib /nologo /subsystem:windows /debug /machine:I386 /out:"darkwar-debug.exe" /pdbtype:sept +# ADD LINK32 SDLmain.lib SDL.lib zdll.lib wsock32.lib /nologo /subsystem:windows /debug /machine:I386 /out:"darkwar-debug.exe" /pdbtype:sept # SUBTRACT LINK32 /profile !ELSEIF "$(CFG)" == "darkwar - Win32 Profile" @@ -108,7 +108,7 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 SDLmain.lib SDL.lib /nologo /subsystem:windows /machine:I386 /out:"darkwar.exe" -# ADD LINK32 SDLmain.lib SDL.lib zdll.lib /nologo /subsystem:windows /profile /debug /machine:I386 /out:"darkwar-profile.exe" +# ADD LINK32 SDLmain.lib SDL.lib zdll.lib wsock32.lib /nologo /subsystem:windows /profile /debug /machine:I386 /out:"darkwar-profile.exe" !ENDIF @@ -137,10 +137,6 @@ # End Source File # Begin Source File -SOURCE=.\fs\fs_new.c -# End Source File -# Begin Source File - SOURCE=.\fs\pak.c # End Source File # Begin Source File @@ -165,10 +161,26 @@ # End Source File # Begin Source File +SOURCE=.\game\g_network.c +# End Source File +# Begin Source File + +SOURCE=.\game\g_packetbuffer.c +# End Source File +# Begin Source File + SOURCE=.\game\g_rain.c # End Source File # Begin Source File +SOURCE=.\game\g_render.c +# End Source File +# Begin Source File + +SOURCE=.\game\g_util.c +# End Source File +# Begin Source File + SOURCE=.\game\particle.c # End Source File # End Group @@ -202,6 +214,10 @@ # End Source File # Begin Source File +SOURCE=.\lhnet.c +# End Source File +# Begin Source File + SOURCE=.\material.c # End Source File # Begin Source File From black at icculus.org Tue Aug 23 10:03:35 2005 From: black at icculus.org (black at icculus.org) Date: 23 Aug 2005 10:03:35 -0400 Subject: Module neither: Change committed Message-ID: <20050823140335.15349.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 14:03:35 UTC Log message: Replace the Command subsystem with the new Shell subsystem. (Shell isnt feature-complete yet and hasnt any explicit error handling.) Added back a castrated Cvar system (it will become fully potent soon again). To sum up DW compiles but has lost a few features which will come back with the next commits. Last fixme: ncommon now includes shell.h and cvar.h. Modified files: darkwar/console.c darkwar/console.h darkwar/darkwar-net2003.vcproj darkwar/dwconfig.h darkwar/hash.h darkwar/ncommon.h darkwar/nmemory.c darkwar/nstring.c darkwar/nstring.h darkwar/r_main.c darkwar/resource.c darkwar/system.c darkwar/util.c darkwar/fs/fs.c darkwar/game/g_main.c darkwar/game/g_network.c darkwar/game/g_render.c Added files: darkwar/cvar.c darkwar/cvar.h darkwar/shell.c darkwar/shell.h darkwar/shell_local.h Removed files: darkwar/command.c darkwar/command.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.140335.black.diff URL: From black at icculus.org Tue Aug 23 12:59:49 2005 From: black at icculus.org (black at icculus.org) Date: 23 Aug 2005 12:59:49 -0400 Subject: Module neither: Change committed Message-ID: <20050823165949.4097.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-23 16:59:49 UTC Log message: Update SCons and the makefile. Modified files: darkwar/SConstruct darkwar/Makefile -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050823.165949.black.diff URL: From black at icculus.org Wed Aug 24 17:23:56 2005 From: black at icculus.org (black at icculus.org) Date: 24 Aug 2005 17:23:56 -0400 Subject: Module neither: Change committed Message-ID: <20050824212356.4424.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-24 21:23:56 UTC Log message: Added String_VAPrintf to make it easier to create safe functions similar to APrintf, Console_Printf, etc. Moved the commandbuffer to the console. Shell is only a script interpreter for now. The shell now supports basic error handling with source and line outputs. It also supports nested scripts now and simple type-safety checks. Modified files: darkwar/console.c darkwar/console.h darkwar/cvar.h darkwar/darkwar-net2003.vcproj darkwar/ncommon.h darkwar/nstring.c darkwar/nstring.h darkwar/shell.c darkwar/shell.h darkwar/shell_local.h darkwar/game/g_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050824.212356.black.diff URL: From black at icculus.org Thu Aug 25 07:53:11 2005 From: black at icculus.org (black at icculus.org) Date: 25 Aug 2005 07:53:11 -0400 Subject: Module neither: Change committed Message-ID: <20050825115311.11126.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-25 11:53:11 UTC Log message: Moved a lot from shell.h into shell_local.h. Added cassert to ncommon.h. The shell uses it to verify that a public enum matches a private one (to put it simple). Added signal support to the shell. The shell now dumps the current statement on error. Added support for ITEMTYPE_VOID. Modified files: darkwar/ncommon.h darkwar/shell.c darkwar/shell.h darkwar/shell_local.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050825.115311.black.diff URL: From black at icculus.org Thu Aug 25 11:38:39 2005 From: black at icculus.org (black at icculus.org) Date: 25 Aug 2005 11:38:39 -0400 Subject: Module neither: Change committed Message-ID: <20050825153839.12496.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-25 15:38:39 UTC Log message: Change Shell_Function to Shell_Symbol. Add back EventHandlers (fromerly known as callbacks). Add back Cvar_LimitValueRange. Cvars are now shell objects. Modified files: darkwar/cvar.c darkwar/cvar.h darkwar/r_main.c darkwar/shell.c darkwar/shell.h darkwar/shell_local.h darkwar/game/g_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050825.153839.black.diff URL: From black at icculus.org Thu Aug 25 13:17:12 2005 From: black at icculus.org (black at icculus.org) Date: 25 Aug 2005 13:17:12 -0400 Subject: Module neither: Change committed Message-ID: <20050825171712.31569.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-25 17:17:12 UTC Log message: Added a local hash to each block, so it is be possible to create local shell symbols. Added CVAR_DUMMY and Cvar_ForceSet, ForceSet creates a dummy cvar if necessary. Cvar_Register now searches for a dummy cvar at first and tries to apply its value to the real cvar after it has been created (the old dummy cvar is dismissed). Added shell_maxscriptdepth and shell_maxstackdepth cvars. Modified files: darkwar/cvar.c darkwar/cvar.h darkwar/shell.c darkwar/shell.h darkwar/shell_local.h darkwar/system.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050825.171712.black.diff URL: From havoc at icculus.org Thu Aug 25 17:29:01 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 25 Aug 2005 17:29:01 -0400 Subject: Module neither: Change committed Message-ID: <20050825212901.25148.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-25 21:29:01 UTC Log message: fix some comments about drawmode BACKGROUND Modified files: darkwar/r_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050825.212901.havoc.diff URL: From havoc at icculus.org Thu Aug 25 20:33:28 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 25 Aug 2005 20:33:28 -0400 Subject: Module neither: Change committed Message-ID: <20050826003328.12753.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-26 00:33:27 UTC Log message: moved all common includes to ncommon.h (with the exception of fs/fs.h which is used by fs/, and the game includes which are clearly specific to game/) removed many includes from .h files (particularly ncommon.h, so that the .c file must include it before the other headers, or the compiler screams loudly) added File_DoesFileExist function to check for the existence of a file without using fs/fs.h changed screenshot saving to use File_WriteFile instead of fs/fs.h stuff fixed gcc compile errors and warnings in Black's recent commits Modified files: darkwar/collision.c darkwar/collision.h darkwar/console.c darkwar/console.h darkwar/crc.c darkwar/crc.h darkwar/cvar.c darkwar/cvar.h darkwar/dwmap.c darkwar/dwmesh.c darkwar/dwmesh.h darkwar/hash.c darkwar/hash.h darkwar/lhnet.c darkwar/material.c darkwar/material.h darkwar/mathlib.h darkwar/matrixlib.c darkwar/model.c darkwar/model.h darkwar/ncommon.h darkwar/nendian.h darkwar/nfile.c darkwar/nfile.h darkwar/nmemory.c darkwar/nstring.c darkwar/nstring.h darkwar/ntypes.h darkwar/polygon.c darkwar/r_dyngl.c darkwar/r_dyngl.h darkwar/r_dynglstubs.c darkwar/r_dynglstubs.h darkwar/r_main.c darkwar/r_main.h darkwar/resource.c darkwar/resource.h darkwar/s_main.c darkwar/shell.c darkwar/shell.h darkwar/shell_local.h darkwar/sound.c darkwar/sound.h darkwar/system.c darkwar/system.h darkwar/texture.c darkwar/texture.h darkwar/util.c darkwar/util.h darkwar/video.c darkwar/video.h darkwar/fs/dir.c darkwar/fs/dir_posix.c darkwar/fs/dir_win32.c darkwar/fs/embedded.c darkwar/fs/fs.c darkwar/fs/fs.h darkwar/fs/pak.c darkwar/fs/rw_ops.c darkwar/fs/zip.c darkwar/fs/zip.h darkwar/game/g_explosion.c darkwar/game/g_main.c darkwar/game/g_main.h darkwar/game/g_network.c darkwar/game/g_network.h darkwar/game/g_packetbuffer.c darkwar/game/g_packetbuffer.h darkwar/game/g_rain.c darkwar/game/g_render.c darkwar/game/g_render.h darkwar/game/g_util.c darkwar/game/g_util.h darkwar/game/particle.c darkwar/game/particle.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050826.003327.havoc.diff URL: From havoc at icculus.org Fri Aug 26 06:37:11 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 26 Aug 2005 06:37:11 -0400 Subject: Module neither: Change committed Message-ID: <20050826103711.28500.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-26 10:37:11 UTC Log message: use -std=c99 to make gcc compliant with the C99 standard (mostly this just means inline doesn't require static, to make Black happier) Modified files: darkwar/Makefile -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050826.103711.havoc.diff URL: From black at icculus.org Fri Aug 26 17:45:44 2005 From: black at icculus.org (black at icculus.org) Date: 26 Aug 2005 17:45:44 -0400 Subject: Module neither: Change committed Message-ID: <20050826214544.11673.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-26 21:45:44 UTC Log message: Fixed dumb bug in the cvar system (woops) and changed everything back to using real pointers instead of void * - conversion always works and is clean. Shell symbols are now registered by using a Shell_SymbolDecl struct. Added shell_lang.c which contains language functions for the shell (good abstraction). Cleaned up the rest of the shell a bit and added parameter type checking. Modified files: darkwar/console.c darkwar/cvar.c darkwar/cvar.h darkwar/darkwar-net2003.vcproj darkwar/nmemory.c darkwar/resource.c darkwar/shell.c darkwar/shell.h darkwar/shell_local.h darkwar/util.c darkwar/util.h darkwar/fs/fs.c darkwar/game/g_main.c Added files: darkwar/shell_lang.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050826.214544.black.diff URL: From black at icculus.org Fri Aug 26 19:09:15 2005 From: black at icculus.org (black at icculus.org) Date: 26 Aug 2005 19:09:15 -0400 Subject: Module neither: Change committed Message-ID: <20050826230915.24176.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-26 23:09:15 UTC Log message: Changed msvcwarning to make two warnings (about too many or too few parameters to a function) errors. Added support for SHELL_ITEMTYPE_VALUE to everything (including type checks). Added exec and subscript commands to shell_lang. Modified files: darkwar/console.c darkwar/cvar.c darkwar/msvcwarnings.h darkwar/shell.c darkwar/shell.h darkwar/shell_lang.c darkwar/shell_local.h darkwar/util.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050826.230915.black.diff URL: From black at icculus.org Fri Aug 26 20:13:39 2005 From: black at icculus.org (black at icculus.org) Date: 26 Aug 2005 20:13:39 -0400 Subject: Module neither: Change committed Message-ID: <20050827001339.29899.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 00:13:39 UTC Log message: Fixed a few bugs in the Shell_Parser (I forgot to add support for + and - signs for values and another error which caused it to jump over a char after newlines). Fixed a bug in the interpreter by completing the destruction functions. The shell works for basic stuff pretty well already, higher-level stuff like emitting scripts and the param code (hack atm) need a bit of work still. Modified files: darkwar/darkwar-net2003.vcproj darkwar/shell.c darkwar/shell_lang.c darkwar/shell_local.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.001339.black.diff URL: From havoc at icculus.org Sat Aug 27 04:14:45 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 27 Aug 2005 04:14:45 -0400 Subject: Module neither: Change committed Message-ID: <20050827081445.25389.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 08:14:45 UTC Log message: add newline at end of file Modified files: darkwar/shell_lang.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.081445.havoc.diff URL: From havoc at icculus.org Sat Aug 27 04:15:30 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 27 Aug 2005 04:15:30 -0400 Subject: Module neither: Change committed Message-ID: <20050827081530.25493.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 08:15:30 UTC Log message: c99 disables BSD headers (like endian.h and other headers with nice things like strdup), so no more c99 Modified files: darkwar/Makefile -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.081530.havoc.diff URL: From havoc at icculus.org Sat Aug 27 04:16:15 2005 From: havoc at icculus.org (havoc at icculus.org) Date: 27 Aug 2005 04:16:15 -0400 Subject: Module neither: Change committed Message-ID: <20050827081615.25609.qmail@icculus.org> Commiter : havoc CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 08:16:15 UTC Log message: fixed some compile errors Modified files: darkwar/shell.c darkwar/shell.h darkwar/shell_local.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.081615.havoc.diff URL: From black at icculus.org Sat Aug 27 17:10:03 2005 From: black at icculus.org (black at icculus.org) Date: 27 Aug 2005 17:10:03 -0400 Subject: Module neither: Change committed Message-ID: <20050827211003.6264.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 21:10:03 UTC Log message: A few more warnings are errors in VC now. Console: Added full multi-line command text support and changed the command history to not wrap when scrolling through it. Shell: Void is now a normal type that can be returned by subblocks, but it cant be 'converted' to anything (except String). Added a big info text to shell.h, please read and correct. Modified files: darkwar/console.c darkwar/console.h darkwar/darkwar-net2003.vcproj darkwar/msvcwarnings.h darkwar/nstring.c darkwar/nstring.h darkwar/r_main.c darkwar/shell.c darkwar/shell.h darkwar/shell_lang.c darkwar/shell_local.h darkwar/system.c darkwar/game/g_main.c darkwar/game/g_main.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.211003.black.diff URL: From warp at icculus.org Sat Aug 27 17:10:45 2005 From: warp at icculus.org (warp at icculus.org) Date: 27 Aug 2005 17:10:45 -0400 Subject: Module neither: Change committed Message-ID: <20050827211045.6323.qmail@icculus.org> Commiter : warp CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 21:10:45 UTC Log message: For Black, but see the FIXME. Modified files: darkwar/fs/dir.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.211045.warp.diff URL: From black at icculus.org Sat Aug 27 18:58:20 2005 From: black at icculus.org (black at icculus.org) Date: 27 Aug 2005 18:58:20 -0400 Subject: Module neither: Change committed Message-ID: <20050827225820.21145.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 22:58:20 UTC Log message: This commit fixes the last thing I regard as useless hack in the Shell and improves debugging once more. Added Shell_BlockType and made param and paramcount search for the last paramblock instead of using the parent of the parent of the current one. The code may want a small clean-up though since I didnt write the usual wrapper code. Modified files: darkwar/shell.c darkwar/shell.h darkwar/shell_local.h -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.225820.black.diff URL: From black at icculus.org Sat Aug 27 19:08:20 2005 From: black at icculus.org (black at icculus.org) Date: 27 Aug 2005 19:08:20 -0400 Subject: Module neither: Change committed Message-ID: <20050827230820.21675.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 23:08:20 UTC Log message: Replace _CB with _Callback and _Lang with _Symbols. Modified files: darkwar/console.c darkwar/cvar.c darkwar/cvar.h darkwar/nmemory.c darkwar/resource.c darkwar/shell.c darkwar/shell.h darkwar/shell_lang.c darkwar/shell_local.h darkwar/util.c darkwar/fs/fs.c darkwar/game/g_main.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.230820.black.diff URL: From black at icculus.org Sat Aug 27 19:25:57 2005 From: black at icculus.org (black at icculus.org) Date: 27 Aug 2005 19:25:57 -0400 Subject: Module neither: Change committed Message-ID: <20050827232557.22472.qmail@icculus.org> Commiter : black CVSROOT : /cvs/cvsroot/neither Module : neither Commit time: 2005-08-27 23:25:57 UTC Log message: Cleaned-up the escape sequence handler in the Shell parser and added support for \", \' and \\. Added an additional parameter to ExecuteText to control whether to create a param block or not. (Hint: to use a subscript like an alias, write { subscript myscript } params...) Modified files: darkwar/shell.c darkwar/shell.h darkwar/shell_lang.c -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: neither.20050827.232557.black.diff URL: