Re: [Warzone-dev] issues with texture radar color loading function

2007-08-03 Thread The Watermelon
On 8/2/07, Per Inge Mathisen <[EMAIL PROTECTED]> wrote: > > On 8/2/07, The Watermelon <[EMAIL PROTECTED]> wrote: > > 1.the sscanf target buffer in texLoad in texture.c was never incremented > by > > 'j' per loop,so all the tiles will have the first tile's color. > > Oops. > > > 2.%hh is a C99 featu

[Warzone-dev] [patch #787] LND format exporter

2007-08-03 Thread Per I. Mathisen
URL: Summary: LND format exporter Project: Warzone Resurrection Project Submitted by: per Submitted on: Friday 08/03/2007 at 13:51 Category: None Priority: 5 - Normal

Re: [Warzone-dev] issues with texture radar color loading function

2007-08-03 Thread Per Inge Mathisen
On 8/3/07, Per Inge Mathisen <[EMAIL PROTECTED]> wrote: > BTW, it is %hhx, not %hh. How does MSVC deal with sscanf on byte sized > variables? Surely it must have a way of doing that. This patch seems to work just as well, which I guess that should take care of any problems for MSVC: Index: src/te

Re: [Warzone-dev] issues with texture radar color loading function

2007-08-03 Thread Per Inge Mathisen
On 8/3/07, The Watermelon <[EMAIL PROTECTED]> wrote: > > > 2.%hh is a C99 feature,so it's not guaranteed to work properly with C89 > > > compiler. > > I checked MSVC and it gave a stack overflow/corruption error on variable 'b' > in runtime check when doing sscanf with %hh. BTW, it is %hhx, not %h

Re: [Warzone-dev] [Warzone-commits] r2315 - /trunk/lib/ivis_opengl/textdraw.c

2007-08-03 Thread Per Inge Mathisen
On 8/3/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote: > No, that should _not_ be the case. Const specifiers on non-pointer > parameters do _not_ need to occur in the function declaration, only in > the function definition. Especially so since it is an implementation > detail of that function, wh

[Warzone-dev] [patch #786] Reference counting patch

2007-08-03 Thread Per I. Mathisen
URL: Summary: Reference counting patch Project: Warzone Resurrection Project Submitted by: per Submitted on: Friday 08/03/2007 at 12:17 Category: None Priority: 4

Re: [Warzone-dev] [Warzone-commits] r2315 - /trunk/lib/ivis_opengl/textdraw.c

2007-08-03 Thread Giel van Schijndel
Per Inge Mathisen schreef: > On 8/3/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote: > >> No, that should _not_ be the case. Const specifiers on non-pointer >> parameters do _not_ need to occur in the function declaration, only in >> the function definition. Especially so since it is an impleme

[Warzone-dev] [bug #9665] Droid standing still do not acquire targets

2007-08-03 Thread Per I. Mathisen
URL: Summary: Droid standing still do not acquire targets Project: Warzone Resurrection Project Submitted by: per Submitted on: Friday 08/03/2007 at 18:13 Category: Engine: Scripting