Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Giel van Schijndel schreef: Giel van Schijndel schreef: Christian Ohm schreef: On Thursday, 28 December 2006 at 20:06, Dennis Schridde wrote: I think not too long ago Per said something like simply replacing MALLOC was not possible... Dunno if I remember that correctly

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Dennis Schridde
Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots of code that never gets executed (because of if(0), #if(0), or by using other condition checking

Re: [Warzone-dev] codecleaning patch: lets delete stuff

2006-12-29 Thread Dennis Schridde
Am Donnerstag, 28. Dezember 2006 20:39 schrieb Giel van Schijndel: This patch does exactly as its filename suggest: only deleting (unused) stuff. I've only deleted functions and variables in this patch that triggered a warning (i.e. they weren't even referred to in their respective include

Re: [Warzone-dev] enum with increment operator (++)

2006-12-29 Thread Giel van Schijndel
At Wed, 27 Dec 2006 14:23:32 +0100 Troman wrote: It uses an postfix operator ++ on an enum while an enum's basetype (e.g. int) is undefined and therefore doesn't have such an operator. Attached a very simple patch to fix this one. Actually unlike in C++ using postfix increment on enum is

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots of code that never gets executed (because of if(0), #if(0), or by

[Warzone-dev] Java applet for IRC

2006-12-29 Thread Gerard Krol
Hi, How about putting a link to http://java.freenode.net/index.php?channel=warzone on the page http://www.wz2100.net/irc-chat.html, or even the applet itself like described at: http://java.freenode.net/howto.php ? Regards, Gerard ___ Warzone-dev

[Warzone-dev] JPEG Again?

2006-12-29 Thread Kamaze
I cant compile WZ2100 anymore... :( It crys for the -libjpg while linking. (Didnt happen before) D:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot fin d -ljpeg collect2: ld returned 1 exit status mingw32-make[1]: *** [warzone2100.exe] Error 1 rm scriptvals_parser.c

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Dennis Schridde
Am Freitag, 29. Dezember 2006 23:18 schrieb Giel van Schijndel: Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch does the following: * remove lots

Re: [Warzone-dev] [patch] MALLOC/FREE issues

2006-12-29 Thread Giel van Schijndel
Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 23:18 schrieb Giel van Schijndel: Dennis Schridde schreef: Am Freitag, 29. Dezember 2006 16:12 schrieb Giel van Schijndel: Well, I've done some cleaning up in the memory system, result is the attached patch. This patch