Re: [Warzone-dev] Coding style

2007-02-23 Thread Troman
to be consistent I suggest we drop the spaces before and after round braces. After looking at the code I haven't found many places in the code where this style is used. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo

Re: [Warzone-dev] Current problems

2007-02-14 Thread Troman
am committing my changes, with the FIXMEs described above. Please comment on the list of items I mentioned if you have any thoughts on them. Thanks to Troman for helping out with most of the endianization. ___ Warzone-dev mailing list Warzone-dev

Re: [Warzone-dev] Current problems

2007-02-14 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Wednesday, February 14, 2007 5:49 PM Subject: Re: [Warzone-dev] Current problems On 2/14/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson

Re: [Warzone-dev] Re: [Warzone-commits] r749 - in /trunk:lib/script/interp.c lib/script/interp.h src/scriptfuncs.csrc/scriptfuncs.h src/scriptobj.c src/scripttabs.c

2007-02-14 Thread Troman
Am Mittwoch, 14. Februar 2007 schrieb Christian Ohm: On Wednesday, 14 February 2007 at 18:29, Roman wrote: - removed some ASSERSs doubling debug() error output ASSERT quits (in debug mode) and debug LOG_ERROR doesn't. Was that intentional? Yes, Troman explained it to me in IRC: The code

Re: [Warzone-dev] Current problems

2007-02-14 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Wednesday, February 14, 2007 10:18 PM Subject: Re: [Warzone-dev] Current problems On 2/14/07, Troman [EMAIL PROTECTED] wrote: The question is how the strings are stored - do we

Re: [Warzone-dev] Current problems

2007-02-14 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Wednesday, February 14, 2007 10:43 PM Subject: Re: [Warzone-dev] Current problems On 2/14/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson

Re: [Warzone-dev] Current problems

2007-02-14 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Wednesday, February 14, 2007 11:20 PM Subject: Re: [Warzone-dev] Current problems On 2/14/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson

Re: [Warzone-dev] Current problems

2007-02-13 Thread Troman
how it could work without endianization, well anyway, I went through the saving and loading routines and endianized what I thought had to be endianized. I assumed you do endianization to make save files compatible with little-endian systems. I hope I didn't overlook anything. Troman

Re: [Warzone-dev] Current problems

2007-02-13 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Tuesday, February 13, 2007 8:45 PM Subject: Re: [Warzone-dev] Current problems On 2/13/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson [EMAIL

Re: [Warzone-dev] Current problems

2007-02-11 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Sunday, February 11, 2007 8:17 PM Subject: Re: [Warzone-dev] Current problems On 2/11/07, Troman [EMAIL PROTECTED] wrote: Back to this loading topic. I wasn't reading all

Re: [Warzone-dev] Current problems

2007-02-11 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Sunday, February 11, 2007 10:12 PM Subject: Re: [Warzone-dev] Current problems On 2/11/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson [EMAIL

Re: [Warzone-dev] (repost) Patch: Removal of the AND and OR macro's

2007-02-10 Thread Troman
Applied in r731. Troman - Original Message - From: Gerard Krol [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Saturday, February 10, 2007 2:07 PM Subject: [Warzone-dev] (repost) Patch: Removal of the AND and OR macro's Hi, Noticed this one still has not been

Re: [Warzone-dev] scriptlang.rtf outdated

2007-02-05 Thread Troman
already be safely added, but right now i'm short on time to go through them. Troman - Original Message - From: The Watermelon To: Development list Sent: Monday, February 05, 2007 8:21 PM Subject: [Warzone-dev] scriptlang.rtf outdated I was adding some script functions to add

Re: [Warzone-dev] Current problems

2007-01-27 Thread Troman
: eventSetContextVar (FALSE), last script event: 'none' event.c:779: failed assertion `(0)' No clue about this one, do you know when this problem started? I see you fixed something related to loading/saving in r682, was it this problem that you fixed? Troman

Re: [Warzone-dev] Music playlists

2007-01-27 Thread Troman
- Original Message - From: Troman [EMAIL PROTECTED] To: Troman [EMAIL PROTECTED] Sent: Saturday, January 27, 2007 6:35 PM Subject: tmp Troman schreef: - Original Message - From: Troman [EMAIL PROTECTED] To: Troman [EMAIL PROTECTED] Sent: Friday, January 26, 2007 10:44 PM

Re: [Warzone-dev] Current problems

2007-01-27 Thread Troman
- Original Message - From: Ari Johnson [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Saturday, January 27, 2007 6:37 PM Subject: Re: [Warzone-dev] Current problems On 1/27/07, Troman [EMAIL PROTECTED] wrote: - Original Message - From: Ari Johnson [EMAIL

Re: [Warzone-dev] Music playlists

2007-01-26 Thread Troman
- Original Message - From: Troman [EMAIL PROTECTED] To: Troman [EMAIL PROTECTED] Sent: Friday, January 26, 2007 10:44 PM Subject: tmp2 Dennis Schridde schreef: Am Donnerstag, 25. Januar 2007 18:38 schrieb Troman: - Original Message - From: Troman [EMAIL PROTECTED

Re: [Warzone-dev] Patch for removing the AND and OR macro's

2007-01-26 Thread Troman
in flavor of the native and ||. - Gerard My hands were always itching to do this. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] Music playlists

2007-01-25 Thread Troman
- Original Message - From: Troman [EMAIL PROTECTED] To: Troman [EMAIL PROTECTED] Sent: Thursday, January 25, 2007 5:57 PM Subject: temp Am Donnerstag, 25. Januar 2007 15:46 schrieb Giel van Schijndel: On Thu, 25 Jan 2007 07:31:25 +0100, Dennis Schridde [EMAIL PROTECTED] wrote

Re: [Warzone-dev] Music playlists

2007-01-24 Thread Troman
- Original Message - From: Dennis Schridde [EMAIL PROTECTED] To: warzone-dev@gna.org Sent: Thursday, January 25, 2007 12:26 AM Subject: Re: [Warzone-dev] Music playlists Am Mittwoch, 24. Januar 2007 22:42 schrieb Troman: - Original Message - From: Dennis Schridde [EMAIL

Re: [Warzone-dev] 500KB patch...

2007-01-23 Thread Troman
else is put on hold for the time being. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] wdgload utility

2007-01-21 Thread Troman
- Original Message - From: [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Saturday, January 20, 2007 9:08 PM Subject: Re: [Warzone-dev] wdgload utility On Sat, 20 Jan 2007 04:28:51 -0500 Troman [EMAIL PROTECTED] wrote: Are you refering to the gate mod we did

Re: [Warzone-dev] Music playlists

2007-01-14 Thread Troman
- Original Message - From: Per Inge Mathisen [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Sunday, January 14, 2007 2:51 PM Subject: Re: [Warzone-dev] Music playlists On 1/12/07, Troman [EMAIL PROTECTED] wrote: Per, do you want scripts to be able to create/manage

Re: [Warzone-dev] Music playlists

2007-01-12 Thread Troman
, and ends up in a dummy function (lib/sound/openal_track.c:sound_PlayStream(...)). I think I would prefer fixing the script function, rather than keeping the playlist code. What is the opinion of everyone else? Troman, you are the script guru, any thoughts? - Per Sorry, wasn't online

Re: [Warzone-dev] Re: Increasing units 'caps'

2007-01-06 Thread Troman
be rather easy. Not so easy for the users, but at least they have the possibility to change it, then. We have to make sure this works well in multiplayer. Limits for all players must be synced somehow. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org

[Warzone-dev] Compilation issues with r599

2007-01-05 Thread Troman
There are some variables declared not at the beginning of the block in r599 (mem.c - memFree() ). This will break compilation with comilers that are not C99 conform, like MSVC. Troman___ Warzone-dev mailing list Warzone-dev@gna.org

Re: [Warzone-dev] Re: [Warzone-commits] r592 - in /trunk:lib/script/chat_parser.y lib/script/parse.hlib/script/script_lexer.l lib/script/script_parser.ysrc/scriptfuncs.c src/scriptfuncs.h src/scriptta

2007-01-04 Thread Troman
in our case. Troman --Dennis ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

[Warzone-dev] Re: [Warzone-commits] r592 - in /trunk: lib/script/chat_parser.y lib/script/parse.h lib/script/script_lexer.l lib/script/script_parser.y src/scriptfuncs.c src/scriptfuncs.h src/scripttab

2007-01-02 Thread Troman
/scriptfuncs.h src/scripttabs.c Author: troman Date: Tue Jan 2 21:12:14 2007 New Revision: 592 URL: http://svn.gna.org/viewcvs/warzone?rev=592view=rev Log: -Implemented C-like #include preprocessor directive for the scripting engine, can be used up to depth of MAX_SCR_INCLUDE_DEPTH. Unlike C

Re: [Warzone-dev] Re: [Warzone-commits] r590 - /trunk/src/projectile.c

2007-01-01 Thread Troman
]: On Mon, 01 Jan 2007 13:10:14 -0500 Troman [EMAIL PROTECTED] wrote: Devurandom, I think I tested this patch throughly enough with all in all more than a day dedicated to reviewing and testing. Whenever I make mistakes and we are not making something of nothing I'm ready to stand to them, but I hope

[Warzone-dev] Re: [Warzone-commits] r590 - /trunk/src/projectile.c

2006-12-31 Thread Troman
some post processing might be required. http://user.supradigital.org/troman/screnshots/ BTW please also check the order of patches before commiting, I had to resolve quite some conflicts in the projectile.c before commiting patch from 27.12.2006. Modified: trunk/src/projectile.c

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

2006-12-30 Thread Troman
permanently lost in my harddisk crash a while ago. Good thing I have a habit of sending patches to the list frequently, even though they don't really work quite yet ;-) The problems I encountered were in the scripting engine, which I did not take time to understand, so if Troman wants to look

Re: [Warzone-dev] Java applet for IRC

2006-12-30 Thread Troman
feedback or get help) using the web browser sounds like a good idea. Troman - Original Message - From: Belhorma Bendebiche To: Development list Sent: Saturday, December 30, 2006 9:15 PM Subject: Re: [Warzone-dev] Java applet for IRC Java applets are horrible. A link

[Warzone-dev] MALLOC/FREE issues

2006-12-28 Thread Troman
The issue of MALLOC was already raised in some of the previous messages, and there seems to be something wrong with those MALLOC/FREE macros. I noticed a memory leak in the scripting engine, to find out what is actually causing it I set up a (script) loop with 10k iterations with nothing but a

Re: [Warzone-dev] MALLOC/FREE issues

2006-12-28 Thread Troman
- Original Message - From: Christian Ohm [EMAIL PROTECTED] To: warzone-dev@gna.org Sent: Thursday, December 28, 2006 4:52 PM Subject: Re: [Warzone-dev] MALLOC/FREE issues On Thursday, 28 December 2006 at 15:37, Troman wrote: The issue of MALLOC was already raised in some

Re: [Warzone-dev] Re: [Warzone-commits] r547 - in /trunk/src: action.caction.h ai.c ai.h combat.c droid.c droid.h keybind.ckeybind.h keymap.c multimenu.c multimenu.h order.c scriptai.cscriptfuncs.c st

2006-12-23 Thread Troman
Am Freitag, 22. Dezember 2006 16:13 schrieb Roman: Author: troman Date: Fri Dec 22 16:13:04 2006 New Revision: 547 URL: http://svn.gna.org/viewcvs/warzone?rev=547view=rev Log: -replaced some numbers scattered across the code with defines -when looking for a new target droids/structures will now

Re: [Warzone-dev] Backporting fixes for 2.0.5?

2006-12-05 Thread Troman
commits apply to 2.0. Most of what I have done will have to wait until 2.1 or later. If time will permit I will take a closer look at the bugfixes, although most of them seem to apply to the features to be released in 2.1. Troman ___ Warzone-dev mailing

[Warzone-dev] Re: [Warzone-commits] r513 - /trunk/lib/widget/scrap.c

2006-12-02 Thread Troman
Giel van Schijndel, this patch seems to be breaking MSVC compilation, I reverted it for now. Troman - Original Message - From: Dennis Schridde [EMAIL PROTECTED] To: warzone-commits@gna.org Sent: Wednesday, November 29, 2006 6:57 PM Subject: [Warzone-commits] r513 - /trunk/lib/widget

Re: [Warzone-dev] Re: [Warzone-commits] r510 - in /trunk:data/mp/stats/weapons.txt data/stats/weapons.txt src/combat.csrc/order.c src/projectile.c src/stats.c src/statsdef.h

2006-11-27 Thread Troman
/stats.c src/statsdef.h Am Sonntag, 26. November 2006 17:30 schrieb Roman: Author: troman Date: Sun Nov 26 17:30:34 2006 New Revision: 510 URL: http://svn.gna.org/viewcvs/warzone?rev=510view=rev Log: Patch by Watermelon: -adds penetrate flag to weapons.txt (relevant for multiplayer) -increases hit

[Warzone-dev] Multi-Turret: Patch by Watermelon: commander crash fix

2006-11-05 Thread Troman
This one fixes commander-related crash. Troman commander fix.patch Description: Binary data ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] Re: [Warzone-commits] r453 - multiple turrets

2006-11-05 Thread Troman
is too low to be a counterweight for the additional firepower. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] More patches for warnings

2006-11-03 Thread Troman
, delaying the commit until we clarify this. Troman ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev

Re: [Warzone-dev] Unit AI improvement

2006-10-14 Thread Troman
- Original Message - From: Dennis Schridde [EMAIL PROTECTED] To: Development list warzone-dev@gna.org Sent: Saturday, October 14, 2006 1:10 AM Subject: Re: [Warzone-dev] Unit AI improvement There's one flaw though: first come, first serve so to speak: if a tanks comes into the sensor

Re: [Warzone-dev] Re: [Warzone-commits] r422 - in /trunk:data/multiplay/skirmish/ lib/framework/ lib/script/ src/

2006-10-08 Thread Troman
Why did you change getPlayerColour to getPlayerColor, but left setPlayerColour? A bit inconsistent. Anyway, I'd prefer to keep the British English (to honour Pumpkin's legacy, so to speak). Pumpkin shall be honoured. ___ Warzone-dev mailing list