Am Freitag, 20. April 2007 schrieb [EMAIL PROTECTED]:
> error   : Error while processing audio context: Invalid Name
> warning : loadFile2: optional file sequenceaudio/cam1/cam1.txt
> could not be opened: The system cannot find the file specified.
> error   : sound_StopTrack: sample 4294967295 out of range
> error   : Assert in Warzone:
> f:\warzone_src\gna\lib\sound\track.c:322 : sound_StopTrack
> (psSample->iSample != (ALuint)SAMPLE_NOT_ALLOCATED), last script
> event: 'everySec'
>
>
> It was OK on rev 1146.
>
> And here is a patch that wasn't applied yet.
> (Original way is C99 way to do arrays, and MSVC no like it)
>
>
> Index: pcx.c
> ===================================================================
> --- pcx.c     (revision 1151)
> +++ pcx.c     (working copy)
> @@ -27,8 +27,8 @@
>
>  #include "ivispatch.h"
>
> -static const size_t PNG_BYTES_TO_CHECK = 4;
> -
> +//static const size_t PNG_BYTES_TO_CHECK = 4;//size_t
> +#define PNG_BYTES_TO_CHECK  4
>  static void wzpng_read_data(png_structp ctx, png_bytep area,
> png_size_t size)
>  {
I don't think that an assert in the sound playback code is related to the 
existance of a variable in the texture loading code...

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to