Re: [Warzone-dev] input.c changes and projectile.c fix

2006-11-13 Thread Dennis Schridde
if (asProjNaybors[i].psObj-player != psObj-player (asProjNaybors[i].psObj-type == OBJ_DROID || asProjNaybors[i].psObj-type == OBJ_STRUCTURE || asProjNaybors[i].psObj-type == OBJ_BULLET ||

Re: [Warzone-dev] input.c changes and projectile.c fix

2006-11-13 Thread zz zz
if (asProjNaybors[i].psObj-player != psObj-player (asProjNaybors[i].psObj-type == OBJ_DROID || asProjNaybors[i].psObj-type == OBJ_STRUCTURE || asProjNaybors[i].psObj-type == OBJ_BULLET ||

Re: [Warzone-dev] Automatic dependencies

2006-11-13 Thread Gerard Krol
Dennis Schridde wrote: Am Montag, 13. November 2006 00:04 schrieb Gerard Krol: Dennis Schridde wrote: Am Freitag, 10. November 2006 16:54 schrieb Gerard Krol: Hi, The complete lack of dependencies somewhat bothers me, so I ran (X11) makedepend. Attached are changes for the

Re: [Warzone-dev] Automatic dependencies

2006-11-13 Thread Per Inge Mathisen
On 11/13/06, Gerard Krol [EMAIL PROTECTED] wrote: And it is not that every user needs to run make depend, it just needs to be done when there are changes to the includes. I believe there are switches to make gcc do the same as makedepend, but a lot slower. I do not know about slower, but

Re: [Warzone-dev] input.c changes and projectile.c fix

2006-11-13 Thread zz zz
I mean generally for input handling... Wouldn't it be much simpler to just use SDL and in our eventhandler redirect specific events to special functions? (And not have another layer above it. (and not have 1001 places where events are handled, OffTopic)) --Dennis you cannot use the broken

[Warzone-dev] Fwd: Re: Warzone Licensing

2006-11-13 Thread Dennis Schridde
Updates on Warzone Licensing. As you can read in the forwarded mail Virgil is still in touch with Alex McLean and I am optimistic that there will be good results for us. As we probably don't want to wait with the 2.0.5 release till February (even though it was delayed for lng allready), I

Re: [Warzone-dev] Automatic dependencies

2006-11-13 Thread Dennis Schridde
Am Montag, 13. November 2006 19:54 schrieb Per Inge Mathisen: Most of the sed code is just magic that I copied from somewhere else, probably http://make.paulandlesley.org/autodep.html which is a must-read. Does that code run always before the %.o: %.c rule is applied to any file? Yes.

Re: [Warzone-dev] Automatic dependencies

2006-11-13 Thread Gerard Krol
Dennis Schridde wrote: Am Montag, 13. November 2006 19:54 schrieb Per Inge Mathisen: Most of the sed code is just magic that I copied from somewhere else, probably http://make.paulandlesley.org/autodep.html which is a must-read. Does that code run always before the %.o: %.c rule is

Re: [Warzone-dev] input.c changes and projectile.c fix

2006-11-13 Thread Dennis Schridde
Am Montag, 13. November 2006 19:38 schrieb zz zz: no,it's just 'reset' the hit bounding box's radius bonus to 1(no bonus) It just looked to me that wpRadius is set before entering the loop of neighbours and is never after set back to the old value (dependend on the wpn), so for other