Get crash when hit f10 key. Also, need to change in pcx.c //static const size_t PNG_BYTES_TO_CHECK = 4; #define PNG_BYTES_TO_CHECK 4
to compile in MSVC. It create the screenshot, but on cleanup it crash. Also, this still need: #ifdef WZ_CC_MSVC #define PACKAGE "" #define LOCALEDIR "" #endif in main.c Someone add. stack dump: msvcr80d.dll!CheckBytes(unsigned char * pb=0x00007ff8, unsigned char bCheck='í', unsigned int nSize=3) Line 1654 + 0x7 bytes C++ msvcr80d.dll!_free_dbg_nolock(void * pUserData=0x00007fff, int nBlockUse=1) Line 1257 + 0x17 bytes C++ msvcr80d.dll!_free_dbg(void * pUserData=0x00007fff, int nBlockUse=1) Line 1220 + 0xd bytes C++ msvcr80d.dll!free(void * pUserData=0x00007fff) Line 1178 + 0xb bytes C++ Warzone2100-Dbg.exe!_png_free_default() + 0x16 bytes C Warzone2100-Dbg.exe!_inflateEnd() + 0x25 bytes C Warzone2100-Dbg.exe!_png_read_destroy() + 0x210 bytes C > Warzone2100-Dbg.exe!_png_destroy_read_struct() + 0x47 bytes C Warzone2100-Dbg.exe!PNGCleanup(png_info_struct * * info_ptr=0x0013f8e0, png_struct_def * * png_ptr=0x0013f8d4) Line 383 + 0xd bytes C Warzone2100-Dbg.exe!screen_DumpPNG(PHYSFS_File * fileHandle=0x045c56e0, const unsigned char * inputBuffer=0x07440040, unsigned int width=640, unsigned int height=480, unsigned int channels=3) Line 466 + 0xd bytes C Warzone2100-Dbg.exe!screenDoDumpToDiskIfRequired() Line 514 + 0x26 bytes C Warzone2100-Dbg.exe!pie_ScreenFlip(int clearMode=7) Line 141 C Warzone2100-Dbg.exe!gameLoop() Line 203 + 0x9 bytes C Warzone2100-Dbg.exe!SDL_main(int argc=1, char * * argv=0x0013fdc4) Line 716 + 0x5 bytes C Warzone2100-Dbg.exe!_main() + 0xd1 bytes C [EMAIL PROTECTED]() + 0x1ed bytes C Warzone2100-Dbg.exe!__tmainCRTStartup() Line 589 + 0x35 bytes C Warzone2100-Dbg.exe!WinMainCRTStartup() Line 414 C kernel32.dll!7c816fd7() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] Warzone2100-Dbg.exe!addMultiRequest(char * ToFindb=0x00730065, unsigned int mode=7536756, unsigned char mapCam='\', unsigned char numPlayers='8') Line 609 + 0x8 bytes C Warzone2100-Dbg.exe!addMultiRequest(char * ToFindb=0x002c0073, unsigned int mode=6357100, unsigned char mapCam='n', unsigned char numPlayers='u') Line 609 + 0xe bytes C Warzone2100-Dbg.exe!giftResearch(unsigned int from=122949, unsigned int to=1170669568, int send=492) Line 344 + 0x2b bytes C c708c483() -- Click here for free information on consolidating your debt. http://tagline.hushmail.com/fc/CAaCXv1QPxYUzItWruVgSl8tSzALsost/ _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev