On Fri, 20 Apr 2007 16:52:26 -0400 Dennis Schridde
<[EMAIL PROTECTED]> wrote:
>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...
I think maybe a messed up .wrf file, but I no check that yet.
I just know that it no crash in 1146. Now it does?
--
Click to compare & save $100's on medical insurance, free quote
http://tagline.hushmail.com/fc/CAaCXv1QS4gBAvhJ9MWtI44CHbQFHroR/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev