Added VS2010 and VS2012 projects; updates for VS compile; fixes from VS code analysis and code review
authorAndreas Schiffler <aschiffler@ferzkopp.net>
Sun, 03 Feb 2013 08:37:28 -0800
changeset 3435bf0f0d6a74e
parent 341 18ab81286e51
child 344 d59179e84a3b
Added VS2010 and VS2012 projects; updates for VS compile; fixes from VS code analysis and code review
IMG.c
IMG_bmp.c
IMG_gif.c
IMG_jpg.c
IMG_lbm.c
IMG_pcx.c
IMG_png.c
IMG_pnm.c
IMG_tga.c
IMG_tif.c
IMG_webp.c
IMG_xcf.c
IMG_xpm.c
IMG_xv.c
VisualC/SDL_image_VS2010.sln
VisualC/SDL_image_VS2010.vcxproj
VisualC/SDL_image_VS2012.sln
VisualC/SDL_image_VS2012.vcxproj
VisualC/showimage/showimage_VS2010.vcxproj
VisualC/showimage/showimage_VS2012.vcxproj
     1.1 --- a/IMG.c	Sun Jan 27 15:55:03 2013 -0800
     1.2 +++ b/IMG.c	Sun Feb 03 08:37:28 2013 -0800
     1.3 @@ -123,7 +123,7 @@
     1.4  SDL_Surface *IMG_Load(const char *file)
     1.5  {
     1.6      SDL_RWops *src = SDL_RWFromFile(file, "rb");
     1.7 -    char *ext = strrchr(file, '.');
     1.8 +    const char *ext = strrchr(file, '.');
     1.9      if(ext) {
    1.10          ext++;
    1.11      }
     2.1 --- a/IMG_bmp.c	Sun Jan 27 15:55:03 2013 -0800
     2.2 +++ b/IMG_bmp.c	Sun Feb 03 08:37:28 2013 -0800
     2.3 @@ -35,7 +35,7 @@
     2.4  /* See if an image is contained in a data source */
     2.5  int IMG_isBMP(SDL_RWops *src)
     2.6  {
     2.7 -	int start;
     2.8 +	Sint64 start;
     2.9  	int is_BMP;
    2.10  	char magic[2];
    2.11  
    2.12 @@ -44,7 +44,7 @@
    2.13  	start = SDL_RWtell(src);
    2.14  	is_BMP = 0;
    2.15  	if ( SDL_RWread(src, magic, sizeof(magic), 1) ) {
    2.16 -		if ( strncmp(magic, "BM", 2) == 0 ) {
    2.17 +		if ( SDL_strncmp(magic, "BM", 2) == 0 ) {
    2.18  			is_BMP = 1;
    2.19  		}
    2.20  	}
    2.21 @@ -54,7 +54,7 @@
    2.22  
    2.23  static int IMG_isICOCUR(SDL_RWops *src, int type)
    2.24  {
    2.25 -	int start;
    2.26 +	Sint64 start;
    2.27  	int is_ICOCUR;
    2.28  
    2.29  	/* The Win32 ICO file header (14 bytes) */
    2.30 @@ -187,7 +187,7 @@
    2.31  static SDL_Surface *LoadBMP_RW (SDL_RWops *src, int freesrc)
    2.32  {
    2.33  	SDL_bool was_error;
    2.34 -	long fp_offset;
    2.35 +	Sint64 fp_offset;
    2.36  	int bmpPitch;
    2.37  	int i, pad;
    2.38  	SDL_Surface *surface;
    2.39 @@ -237,7 +237,7 @@
    2.40  		was_error = SDL_TRUE;
    2.41  		goto done;
    2.42  	}
    2.43 -	if ( strncmp(magic, "BM", 2) != 0 ) {
    2.44 +	if ( SDL_strncmp(magic, "BM", 2) != 0 ) {
    2.45  		IMG_SetError("File is not a Windows BMP file");
    2.46  		was_error = SDL_TRUE;
    2.47  		goto done;
    2.48 @@ -404,7 +404,7 @@
    2.49  		goto done;
    2.50  	}
    2.51  	if ((biCompression == BI_RLE4) || (biCompression == BI_RLE8)) {
    2.52 -		was_error = readRlePixels(surface, src, biCompression == BI_RLE8);
    2.53 +		was_error = (SDL_bool)readRlePixels(surface, src, biCompression == BI_RLE8);
    2.54  		if (was_error) IMG_SetError("Error reading from BMP");
    2.55  		goto done;
    2.56  	}
    2.57 @@ -520,7 +520,7 @@
    2.58  LoadICOCUR_RW(SDL_RWops * src, int type, int freesrc)
    2.59  {
    2.60      SDL_bool was_error;
    2.61 -    long fp_offset;
    2.62 +    Sint64 fp_offset;
    2.63      int bmpPitch;
    2.64      int i, pad;
    2.65      SDL_Surface *surface;
     3.1 --- a/IMG_gif.c	Sun Jan 27 15:55:03 2013 -0800
     3.2 +++ b/IMG_gif.c	Sun Feb 03 08:37:28 2013 -0800
     3.3 @@ -33,7 +33,7 @@
     3.4  /* See if an image is contained in a data source */
     3.5  int IMG_isGIF(SDL_RWops *src)
     3.6  {
     3.7 -	int start;
     3.8 +	Sint64 start;
     3.9  	int is_GIF;
    3.10  	char magic[6];
    3.11  
    3.12 @@ -42,9 +42,9 @@
    3.13  	start = SDL_RWtell(src);
    3.14  	is_GIF = 0;
    3.15  	if ( SDL_RWread(src, magic, sizeof(magic), 1) ) {
    3.16 -		if ( (strncmp(magic, "GIF", 3) == 0) &&
    3.17 -		     ((memcmp(magic + 3, "87a", 3) == 0) ||
    3.18 -		      (memcmp(magic + 3, "89a", 3) == 0)) ) {
    3.19 +		if ( (SDL_strncmp(magic, "GIF", 3) == 0) &&
    3.20 +		     ((SDL_memcmp(magic + 3, "87a", 3) == 0) ||
    3.21 +		      (SDL_memcmp(magic + 3, "89a", 3) == 0)) ) {
    3.22  			is_GIF = 1;
    3.23  		}
    3.24  	}
    3.25 @@ -152,7 +152,7 @@
    3.26  Image *
    3.27  IMG_LoadGIF_RW(SDL_RWops *src)
    3.28  {
    3.29 -    int start;
    3.30 +    Sint64 start;
    3.31      unsigned char buf[16];
    3.32      unsigned char c;
    3.33      unsigned char localColorMap[3][MAXCOLORMAPSIZE];
    3.34 @@ -173,14 +173,14 @@
    3.35  	RWSetMsg("error reading magic number");
    3.36          goto done;
    3.37      }
    3.38 -    if (strncmp((char *) buf, "GIF", 3) != 0) {
    3.39 +    if (SDL_strncmp((char *) buf, "GIF", 3) != 0) {
    3.40  	RWSetMsg("not a GIF file");
    3.41          goto done;
    3.42      }
    3.43 -    memcpy(version, (char *) buf + 3, 3);
    3.44 +    SDL_memcpy(version, (char *) buf + 3, 3);
    3.45      version[3] = '\0';
    3.46  
    3.47 -    if ((strcmp(version, "87a") != 0) && (strcmp(version, "89a") != 0)) {
    3.48 +    if ((SDL_strcmp(version, "87a") != 0) && (SDL_strcmp(version, "89a") != 0)) {
    3.49  	RWSetMsg("bad version number, not '87a' or '89a'");
    3.50          goto done;
    3.51      }
    3.52 @@ -337,7 +337,7 @@
    3.53  	return FALSE;
    3.54      default:
    3.55  	str = (char *)buf;
    3.56 -	sprintf(str, "UNKNOWN (0x%02x)", label);
    3.57 +	SDL_snprintf(str, 256, "UNKNOWN (0x%02x)", label);
    3.58  	break;
    3.59      }
    3.60  
    3.61 @@ -439,8 +439,9 @@
    3.62  	    table[0][i] = 0;
    3.63  	    table[1][i] = i;
    3.64  	}
    3.65 +	table[1][0] = 0;
    3.66  	for (; i < (1 << MAX_LWZ_BITS); ++i)
    3.67 -	    table[0][i] = table[1][0] = 0;
    3.68 +	    table[0][i] = 0;
    3.69  
    3.70  	sp = stack;
    3.71  
    3.72 @@ -493,12 +494,22 @@
    3.73  	    code = oldcode;
    3.74  	}
    3.75  	while (code >= clear_code) {
    3.76 +		/* Guard against buffer overruns */
    3.77 +		if (code < 0 || code >= (1 << MAX_LWZ_BITS)) {
    3.78 +			RWSetMsg("invalid LWZ data");
    3.79 +			return -3;
    3.80 +		}
    3.81  	    *sp++ = table[1][code];
    3.82  	    if (code == table[0][code])
    3.83  		RWSetMsg("circular table entry BIG ERROR");
    3.84  	    code = table[0][code];
    3.85  	}
    3.86  
    3.87 +	/* Guard against buffer overruns */
    3.88 +	if (code < 0 || code >= (1 << MAX_LWZ_BITS)) {
    3.89 +		RWSetMsg("invalid LWZ data");
    3.90 +		return -4;
    3.91 +	}
    3.92  	*sp++ = firstcode = table[1][code];
    3.93  
    3.94  	if ((code = max_code) < (1 << MAX_LWZ_BITS)) {
     4.1 --- a/IMG_jpg.c	Sun Jan 27 15:55:03 2013 -0800
     4.2 +++ b/IMG_jpg.c	Sun Feb 03 08:37:28 2013 -0800
     4.3 @@ -177,7 +177,7 @@
     4.4  /* See if an image is contained in a data source */
     4.5  int IMG_isJPG(SDL_RWops *src)
     4.6  {
     4.7 -	int start;
     4.8 +	Sint64 start;
     4.9  	int is_JPG;
    4.10  	int in_scan;
    4.11  	Uint8 magic[4];
    4.12 @@ -214,13 +214,13 @@
    4.13  					is_JPG = 0;
    4.14  				} else {
    4.15  					/* Yes, it's big-endian */
    4.16 -					Uint32 start;
    4.17 +					Sint64 innerStart;
    4.18  					Uint32 size;
    4.19 -					Uint32 end;
    4.20 -					start = SDL_RWtell(src);
    4.21 +					Sint64 end;
    4.22 +					innerStart = SDL_RWtell(src);
    4.23  					size = (magic[2] << 8) + magic[3];
    4.24  					end = SDL_RWseek(src, size-2, RW_SEEK_CUR);
    4.25 -					if ( end != start + size - 2 ) is_JPG = 0;
    4.26 +					if ( end != innerStart + size - 2 ) is_JPG = 0;
    4.27  					if ( magic[1] == 0xDA ) {
    4.28  						/* Now comes the actual JPEG meat */
    4.29  #ifdef	FAST_IS_JPEG
    4.30 @@ -374,7 +374,7 @@
    4.31  /* Load a JPEG type image from an SDL datasource */
    4.32  SDL_Surface *IMG_LoadJPG_RW(SDL_RWops *src)
    4.33  {
    4.34 -	int start;
    4.35 +	Sint64 start;
    4.36  	struct jpeg_decompress_struct cinfo;
    4.37  	JSAMPROW rowptr[1];
    4.38  	SDL_Surface *volatile surface = NULL;
     5.1 --- a/IMG_lbm.c	Sun Jan 27 15:55:03 2013 -0800
     5.2 +++ b/IMG_lbm.c	Sun Feb 03 08:37:28 2013 -0800
     5.3 @@ -61,7 +61,7 @@
     5.4  
     5.5  int IMG_isLBM( SDL_RWops *src )
     5.6  {
     5.7 -	int start;
     5.8 +	Sint64 start;
     5.9  	int   is_LBM;
    5.10  	Uint8 magic[4+4+4];
    5.11  
    5.12 @@ -71,9 +71,9 @@
    5.13  	is_LBM = 0;
    5.14  	if ( SDL_RWread( src, magic, sizeof(magic), 1 ) )
    5.15  	{
    5.16 -		if ( !memcmp( magic, "FORM", 4 ) &&
    5.17 -			( !memcmp( magic + 8, "PBM ", 4 ) ||
    5.18 -			  !memcmp( magic + 8, "ILBM", 4 ) ) )
    5.19 +		if ( !SDL_memcmp( magic, "FORM", 4 ) &&
    5.20 +			( !SDL_memcmp( magic + 8, "PBM ", 4 ) ||
    5.21 +			  !SDL_memcmp( magic + 8, "ILBM", 4 ) ) )
    5.22  		{
    5.23  			is_LBM = 1;
    5.24  		}
    5.25 @@ -84,7 +84,7 @@
    5.26  
    5.27  SDL_Surface *IMG_LoadLBM_RW( SDL_RWops *src )
    5.28  {
    5.29 -	int start;
    5.30 +	Sint64 start;
    5.31  	SDL_Surface *Image;
    5.32  	Uint8       id[4], pbm, colormap[MAXCOLORS*3], *MiniBuf, *ptr, count, color, msk;
    5.33  	Uint32      size, bytesloaded, nbcolors;
    5.34 @@ -135,8 +135,8 @@
    5.35  	pbm = 0;
    5.36  
    5.37  	/* File format : PBM=Packed Bitmap, ILBM=Interleaved Bitmap */
    5.38 -	if ( !memcmp( id, "PBM ", 4 ) ) pbm = 1;
    5.39 -	else if ( memcmp( id, "ILBM", 4 ) )
    5.40 +	if ( !SDL_memcmp( id, "PBM ", 4 ) ) pbm = 1;
    5.41 +	else if ( SDL_memcmp( id, "ILBM", 4 ) )
    5.42  	{
    5.43  		error="not a IFF picture";
    5.44  		goto done;
    5.45 @@ -144,11 +144,11 @@
    5.46  
    5.47  	nbcolors = 0;
    5.48  
    5.49 -	memset( &bmhd, 0, sizeof( BMHD ) );
    5.50 +	SDL_memset( &bmhd, 0, sizeof( BMHD ) );
    5.51  	flagHAM = 0;
    5.52  	flagEHB = 0;
    5.53  
    5.54 -	while ( memcmp( id, "BODY", 4 ) != 0 )
    5.55 +	while ( SDL_memcmp( id, "BODY", 4 ) != 0 )
    5.56  	{
    5.57  		if ( !SDL_RWread( src, id, 4, 1 ) ) 
    5.58  		{
    5.59 @@ -166,7 +166,7 @@
    5.60  
    5.61  		size = SDL_SwapBE32( size );
    5.62  
    5.63 -		if ( !memcmp( id, "BMHD", 4 ) ) /* Bitmap header */
    5.64 +		if ( !SDL_memcmp( id, "BMHD", 4 ) ) /* Bitmap header */
    5.65  		{
    5.66  			if ( !SDL_RWread( src, &bmhd, sizeof( BMHD ), 1 ) )
    5.67  			{
    5.68 @@ -185,7 +185,7 @@
    5.69  			bmhd.Hpage 	= SDL_SwapBE16( bmhd.Hpage );
    5.70  		}
    5.71  
    5.72 -		if ( !memcmp( id, "CMAP", 4 ) ) /* palette ( Color Map ) */
    5.73 +		if ( !SDL_memcmp( id, "CMAP", 4 ) ) /* palette ( Color Map ) */
    5.74  		{
    5.75  			if ( !SDL_RWread( src, &colormap, size, 1 ) )
    5.76  			{
    5.77 @@ -214,7 +214,7 @@
    5.78  				flagEHB = 1;
    5.79  		}
    5.80  
    5.81 -		if ( memcmp( id, "BODY", 4 ) )
    5.82 +		if ( SDL_memcmp( id, "BODY", 4 ) )
    5.83  		{
    5.84  			if ( size & 1 )	++size;  	/* padding ! */
    5.85  			size -= bytesloaded;
    5.86 @@ -242,7 +242,7 @@
    5.87  	/* Allocate memory for a temporary buffer ( used for
    5.88             decompression/deinterleaving ) */
    5.89  
    5.90 -	MiniBuf = (void *)malloc( bytesperline * (nbplanes + stencil) );
    5.91 +	MiniBuf = (Uint8 *)SDL_malloc( bytesperline * (nbplanes + stencil) );
    5.92  	if ( MiniBuf == NULL )
    5.93  	{
    5.94  		error="no enough memory for temporary buffer";
    5.95 @@ -335,7 +335,7 @@
    5.96  							error="error reading BODY chunk";
    5.97  							goto done;
    5.98  						}
    5.99 -						memset( ptr, color, count );
   5.100 +						SDL_memset( ptr, color, count );
   5.101  					}
   5.102  					else
   5.103  					{
   5.104 @@ -365,7 +365,7 @@
   5.105  
   5.106  		/* One line has been read, store it ! */
   5.107  
   5.108 -		ptr = Image->pixels;
   5.109 +		ptr = (Uint8 *)Image->pixels;
   5.110  		if ( nbplanes==24 || flagHAM==1 )
   5.111  			ptr += h * width * 3;
   5.112  		else
   5.113 @@ -449,19 +449,15 @@
   5.114  						{
   5.115  							finalcolor = pixelcolor;
   5.116  						}
   5.117 -						if ( SDL_BYTEORDER == SDL_LIL_ENDIAN )
   5.118 -						{
   5.119 +#if SDL_BYTEORDER == SDL_LIL_ENDIAN
   5.120  							*ptr++ = (Uint8)(finalcolor>>16);
   5.121  							*ptr++ = (Uint8)(finalcolor>>8);
   5.122  							*ptr++ = (Uint8)(finalcolor);
   5.123 -						}
   5.124 -						else
   5.125 -						{
   5.126 -							*ptr++ = (Uint8)(finalcolor);
   5.127 +#else
   5.128 +						    *ptr++ = (Uint8)(finalcolor);
   5.129  							*ptr++ = (Uint8)(finalcolor>>8);
   5.130  							*ptr++ = (Uint8)(finalcolor>>16);
   5.131 -						}
   5.132 -
   5.133 +#endif
   5.134  						maskBit = maskBit>>1;
   5.135  					}
   5.136  				}
     6.1 --- a/IMG_pcx.c	Sun Jan 27 15:55:03 2013 -0800
     6.2 +++ b/IMG_pcx.c	Sun Feb 03 08:37:28 2013 -0800
     6.3 @@ -61,7 +61,7 @@
     6.4  /* See if an image is contained in a data source */
     6.5  int IMG_isPCX(SDL_RWops *src)
     6.6  {
     6.7 -	int start;
     6.8 +	Sint64 start;
     6.9  	int is_PCX;
    6.10  	const int ZSoft_Manufacturer = 10;
    6.11  	const int PC_Paintbrush_Version = 5;
    6.12 @@ -88,7 +88,7 @@
    6.13  /* Load a PCX type image from an SDL datasource */
    6.14  SDL_Surface *IMG_LoadPCX_RW(SDL_RWops *src)
    6.15  {
    6.16 -	int start;
    6.17 +	Sint64 start;
    6.18  	struct PCXheader pcxh;
    6.19  	Uint32 Rmask;
    6.20  	Uint32 Gmask;
    6.21 @@ -127,15 +127,15 @@
    6.22  		bits = 8;
    6.23  	} else if(pcxh.BitsPerPixel == 8 && pcxh.NPlanes == 3) {
    6.24  		bits = 24;
    6.25 -		if ( SDL_BYTEORDER == SDL_LIL_ENDIAN ) {
    6.26 +#if SDL_BYTEORDER == SDL_LIL_ENDIAN
    6.27  			Rmask = 0x000000FF;
    6.28  			Gmask = 0x0000FF00;
    6.29  			Bmask = 0x00FF0000;
    6.30 -		} else {
    6.31 +#else
    6.32  			Rmask = 0xFF0000;
    6.33  			Gmask = 0x00FF00;
    6.34  			Bmask = 0x0000FF;
    6.35 -		}
    6.36 +#endif
    6.37  	} else {
    6.38  		error = "unsupported PCX format";
    6.39  		goto done;
    6.40 @@ -149,8 +149,8 @@
    6.41  	if (bpl > surface->pitch) {
    6.42  		error = "bytes per line is too large (corrupt?)";
    6.43  	}
    6.44 -	buf = malloc(bpl);
    6.45 -	row = surface->pixels;
    6.46 +	buf = (Uint8 *)malloc(bpl);
    6.47 +	row = (Uint8 *)surface->pixels;
    6.48  	for ( y=0; y<surface->h; ++y ) {
    6.49  		/* decode a scan line to a temporary buffer first */
    6.50  		int i, count = 0;
    6.51 @@ -184,16 +184,16 @@
    6.52  
    6.53  		if(src_bits <= 4) {
    6.54  			/* expand planes to 1 byte/pixel */
    6.55 -			Uint8 *src = buf;
    6.56 +			Uint8 *innerSrc = buf;
    6.57  			int plane;
    6.58  			for(plane = 0; plane < pcxh.NPlanes; plane++) {
    6.59 -				int i, j, x = 0;
    6.60 -				for(i = 0; i < pcxh.BytesPerLine; i++) {
    6.61 -					Uint8 byte = *src++;
    6.62 -					for(j = 7; j >= 0; j--) {
    6.63 -						unsigned bit = (byte >> j) & 1;
    6.64 +				int j, k, x = 0;
    6.65 +				for(j = 0; j < pcxh.BytesPerLine; j++) {
    6.66 +					Uint8 byte = *innerSrc++;
    6.67 +					for(k = 7; k >= 0; k--) {
    6.68 +						unsigned bit = (byte >> k) & 1;
    6.69  						/* skip padding bits */
    6.70 -						if (i * 8 + j >= width)
    6.71 +						if (j * 8 + k >= width)
    6.72  							continue;
    6.73  						row[x++] |= bit << plane;
    6.74  					}
    6.75 @@ -201,13 +201,13 @@
    6.76  			}
    6.77   		} else if(src_bits == 24) {
    6.78  			/* de-interlace planes */
    6.79 -			Uint8 *src = buf;
    6.80 +			Uint8 *innerSrc = buf;
    6.81  			int plane;
    6.82  			for(plane = 0; plane < pcxh.NPlanes; plane++) {
    6.83  				int x;
    6.84  				dst = row + plane;
    6.85  				for(x = 0; x < width; x++) {
    6.86 -					*dst = *src++;
    6.87 +					*dst = *innerSrc++;
    6.88  					dst += pcxh.NPlanes;
    6.89  				}
    6.90  			}
     7.1 --- a/IMG_png.c	Sun Jan 27 15:55:03 2013 -0800
     7.2 +++ b/IMG_png.c	Sun Feb 03 08:37:28 2013 -0800
     7.3 @@ -303,7 +303,7 @@
     7.4  /* See if an image is contained in a data source */
     7.5  int IMG_isPNG(SDL_RWops *src)
     7.6  {
     7.7 -	int start;
     7.8 +	Sint64 start;
     7.9  	int is_PNG;
    7.10  	Uint8 magic[4];
    7.11  
    7.12 @@ -333,7 +333,7 @@
    7.13  }
    7.14  SDL_Surface *IMG_LoadPNG_RW(SDL_RWops *src)
    7.15  {
    7.16 -	int start;
    7.17 +	Sint64 start;
    7.18  	const char *error;
    7.19  	SDL_Surface *volatile surface;
    7.20  	png_structp png_ptr;
    7.21 @@ -423,15 +423,15 @@
    7.22  			     &transv);
    7.23  		if(color_type == PNG_COLOR_TYPE_PALETTE) {
    7.24  		    /* Check if all tRNS entries are opaque except one */
    7.25 -		    int i, t = -1;
    7.26 -		    for(i = 0; i < num_trans; i++)
    7.27 -			if(trans[i] == 0) {
    7.28 +		    int j, t = -1;
    7.29 +		    for(j = 0; j < num_trans; j++)
    7.30 +			if(trans[j] == 0) {
    7.31  			    if(t >= 0)
    7.32  				break;
    7.33  			    t = i;
    7.34 -			} else if(trans[i] != 255)
    7.35 +			} else if(trans[j] != 255)
    7.36  			    break;
    7.37 -		    if(i == num_trans) {
    7.38 +		    if(j == num_trans) {
    7.39  			/* exactly one transparent index */
    7.40  			ckey = t;
    7.41  		    } else {
    7.42 @@ -454,18 +454,18 @@
    7.43  	Rmask = Gmask = Bmask = Amask = 0 ;
    7.44  	num_channels = lib.png_get_channels(png_ptr, info_ptr);
    7.45  	if ( color_type != PNG_COLOR_TYPE_PALETTE ) {
    7.46 -		if ( SDL_BYTEORDER == SDL_LIL_ENDIAN ) {
    7.47 +#if SDL_BYTEORDER == SDL_LIL_ENDIAN
    7.48  			Rmask = 0x000000FF;
    7.49  			Gmask = 0x0000FF00;
    7.50  			Bmask = 0x00FF0000;
    7.51  			Amask = (num_channels == 4) ? 0xFF000000 : 0;
    7.52 -		} else {
    7.53 +#else
    7.54  			int s = (num_channels == 4) ? 0 : 8;
    7.55  			Rmask = 0xFF000000 >> s;
    7.56  			Gmask = 0x00FF0000 >> s;
    7.57  			Bmask = 0x0000FF00 >> s;
    7.58  			Amask = 0x000000FF >> s;
    7.59 -		}
    7.60 +#endif
    7.61  	}
    7.62  	surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height,
    7.63  			bit_depth*num_channels, Rmask,Gmask,Bmask,Amask);
    7.64 @@ -485,7 +485,7 @@
    7.65  	}
    7.66  
    7.67  	/* Create the array of pointers to image data */
    7.68 -	row_pointers = (png_bytep*) malloc(sizeof(png_bytep)*height);
    7.69 +	row_pointers = (png_bytep*) SDL_malloc(sizeof(png_bytep)*height);
    7.70  	if ( (row_pointers == NULL) ) {
    7.71  		error = "Out of memory";
    7.72  		goto done;
    7.73 @@ -536,7 +536,7 @@
    7.74  								(png_infopp)0);
    7.75  	}
    7.76  	if ( row_pointers ) {
    7.77 -		free(row_pointers);
    7.78 +		SDL_free(row_pointers);
    7.79  	}
    7.80  	if ( error ) {
    7.81  		SDL_RWseek(src, start, RW_SEEK_SET);
     8.1 --- a/IMG_pnm.c	Sun Jan 27 15:55:03 2013 -0800
     8.2 +++ b/IMG_pnm.c	Sun Feb 03 08:37:28 2013 -0800
     8.3 @@ -39,7 +39,7 @@
     8.4  /* See if an image is contained in a data source */
     8.5  int IMG_isPNM(SDL_RWops *src)
     8.6  {
     8.7 -	int start;
     8.8 +	Sint64 start;
     8.9  	int is_PNM;
    8.10  	char magic[2];
    8.11  
    8.12 @@ -105,7 +105,7 @@
    8.13  
    8.14  SDL_Surface *IMG_LoadPNM_RW(SDL_RWops *src)
    8.15  {
    8.16 -	int start;
    8.17 +	Sint64 start;
    8.18  	SDL_Surface *surface = NULL;
    8.19  	int width, height;
    8.20  	int maxval, y, bpl;
    8.21 @@ -177,13 +177,13 @@
    8.22  		c[1].r = c[1].g = c[1].b = 0;
    8.23  		surface->format->palette->ncolors = 2;
    8.24  		bpl = (width + 7) >> 3;
    8.25 -		buf = malloc(bpl);
    8.26 +		buf = (Uint8 *)SDL_malloc(bpl);
    8.27  		if(buf == NULL)
    8.28  			ERROR("Out of memory");
    8.29  	}
    8.30  
    8.31  	/* Read the image into the surface */
    8.32 -	row = surface->pixels;
    8.33 +	row = (Uint8 *)surface->pixels;
    8.34  	for(y = 0; y < height; y++) {
    8.35  		if(ascii) {
    8.36  			int i;
     9.1 --- a/IMG_tga.c	Sun Jan 27 15:55:03 2013 -0800
     9.2 +++ b/IMG_tga.c	Sun Feb 03 08:37:28 2013 -0800
     9.3 @@ -87,7 +87,7 @@
     9.4  /* Load a TGA type image from an SDL datasource */
     9.5  SDL_Surface *IMG_LoadTGA_RW(SDL_RWops *src)
     9.6  {
     9.7 -    int start;
     9.8 +    Sint64 start;
     9.9      const char *error = NULL;
    9.10      struct TGAheader hdr;
    9.11      int rle = 0;
    9.12 @@ -169,18 +169,20 @@
    9.13  	alpha = 1;
    9.14  	/* fallthrough */
    9.15      case 24:
    9.16 -	if(SDL_BYTEORDER == SDL_BIG_ENDIAN) {
    9.17 +#if SDL_BYTEORDER == SDL_LIL_ENDIAN
    9.18 +		{
    9.19  	    int s = alpha ? 0 : 8;
    9.20  	    amask = 0x000000ff >> s;
    9.21  	    rmask = 0x0000ff00 >> s;
    9.22  	    gmask = 0x00ff0000 >> s;
    9.23  	    bmask = 0xff000000 >> s;
    9.24 -	} else {
    9.25 +		}
    9.26 +#else
    9.27  	    amask = alpha ? 0xff000000 : 0;
    9.28  	    rmask = 0x00ff0000;
    9.29  	    gmask = 0x0000ff00;
    9.30  	    bmask = 0x000000ff;
    9.31 -	}
    9.32 +#endif
    9.33  	break;
    9.34  
    9.35      default:
    9.36 @@ -207,7 +209,7 @@
    9.37      if(hdr.has_cmap) {
    9.38  	int palsiz = ncols * ((hdr.cmap_bits + 7) >> 3);
    9.39  	if(indexed && !grey) {
    9.40 -	    Uint8 *pal = malloc(palsiz), *p = pal;
    9.41 +	    Uint8 *pal = (Uint8 *)SDL_malloc(palsiz), *p = pal;
    9.42  	    SDL_Color *colors = img->format->palette->colors;
    9.43  	    img->format->palette->ncolors = ncols;
    9.44  	    SDL_RWread(src, pal, palsiz, 1);
    9.45 @@ -233,7 +235,7 @@
    9.46  		    break;
    9.47  		}
    9.48  	    }
    9.49 -	    free(pal);
    9.50 +	    SDL_free(pal);
    9.51  	    if(ckey >= 0)
    9.52  		SDL_SetColorKey(img, SDL_TRUE, ckey);
    9.53  	} else {
    9.54 @@ -250,11 +252,11 @@
    9.55      }
    9.56  
    9.57      if(hdr.flags & TGA_ORIGIN_UPPER) {
    9.58 -	lstep = img->pitch;
    9.59 -	dst = img->pixels;
    9.60 +		lstep = img->pitch;
    9.61 +		dst = (Uint8 *)img->pixels;
    9.62      } else {
    9.63 -	lstep = -img->pitch;
    9.64 -	dst = (Uint8 *)img->pixels + (h - 1) * img->pitch;
    9.65 +		lstep = -img->pitch;
    9.66 +		dst = (Uint8 *)img->pixels + (h - 1) * img->pitch;
    9.67      }
    9.68  
    9.69      /* The RLE decoding code is slightly convoluted since we can't rely on
    9.70 @@ -281,7 +283,7 @@
    9.71  			n = w - x;
    9.72  		    rep -= n;
    9.73  		    while(n--) {
    9.74 -			memcpy(dst + x * bpp, &pixel, bpp);
    9.75 +			SDL_memcpy(dst + x * bpp, &pixel, bpp);
    9.76  			x++;
    9.77  		    }
    9.78  		    if(x == w)
    9.79 @@ -300,13 +302,15 @@
    9.80  	} else {
    9.81  	    SDL_RWread(src, dst, w * bpp, 1);
    9.82  	}
    9.83 -	if(SDL_BYTEORDER == SDL_BIG_ENDIAN && bpp == 2) {
    9.84 +#if SDL_BYTEORDER == SDL_LIL_ENDIAN
    9.85 +	if (bpp == 2) {
    9.86  	    /* swap byte order */
    9.87  	    int x;
    9.88  	    Uint16 *p = (Uint16 *)dst;
    9.89  	    for(x = 0; x < w; x++)
    9.90  		p[x] = SDL_Swap16(p[x]);
    9.91  	}
    9.92 +#endif
    9.93  	dst += lstep;
    9.94      }
    9.95      return img;
    10.1 --- a/IMG_tif.c	Sun Jan 27 15:55:03 2013 -0800
    10.2 +++ b/IMG_tif.c	Sun Feb 03 08:37:28 2013 -0800
    10.3 @@ -165,19 +165,19 @@
    10.4  
    10.5  static toff_t tiff_size(thandle_t fd)
    10.6  {
    10.7 -	Uint32 save_pos;
    10.8 +	Sint64 save_pos;
    10.9  	toff_t size;
   10.10  
   10.11  	save_pos = SDL_RWtell((SDL_RWops*)fd);
   10.12  	SDL_RWseek((SDL_RWops*)fd, 0, RW_SEEK_END);
   10.13 -        size = SDL_RWtell((SDL_RWops*)fd);
   10.14 +    size = SDL_RWtell((SDL_RWops*)fd);
   10.15  	SDL_RWseek((SDL_RWops*)fd, save_pos, RW_SEEK_SET);
   10.16  	return size;
   10.17  }
   10.18  
   10.19  int IMG_isTIF(SDL_RWops* src)
   10.20  {
   10.21 -	int start;
   10.22 +	Sint64 start;
   10.23  	int is_TIF;
   10.24  	Uint8 magic[4];
   10.25  
   10.26 @@ -203,7 +203,7 @@
   10.27  
   10.28  SDL_Surface* IMG_LoadTIF_RW(SDL_RWops* src)
   10.29  {
   10.30 -	int start;
   10.31 +	Sint64 start;
   10.32  	TIFF* tiff;
   10.33  	SDL_Surface* surface = NULL;
   10.34  	Uint32 img_width, img_height;
   10.35 @@ -240,7 +240,7 @@
   10.36  	if(!surface)
   10.37  		goto error;
   10.38  	
   10.39 -	if(!lib.TIFFReadRGBAImage(tiff, img_width, img_height, surface->pixels, 0))
   10.40 +	if(!lib.TIFFReadRGBAImage(tiff, img_width, img_height, (uint32 *)surface->pixels, 0))
   10.41  		goto error;
   10.42  
   10.43  	/* libtiff loads the image upside-down, flip it back */
    11.1 --- a/IMG_webp.c	Sun Jan 27 15:55:03 2013 -0800
    11.2 +++ b/IMG_webp.c	Sun Feb 03 08:37:28 2013 -0800
    11.3 @@ -122,7 +122,7 @@
    11.4  #endif /* LOAD_WEBP_DYNAMIC */
    11.5  
    11.6  static int webp_getinfo( SDL_RWops *src, int *datasize ) {
    11.7 -	int start;
    11.8 +	Sint64 start;
    11.9  	int is_WEBP;
   11.10  	int data;
   11.11  	Uint8 magic[20];
   11.12 @@ -162,7 +162,7 @@
   11.13  
   11.14  SDL_Surface *IMG_LoadWEBP_RW(SDL_RWops *src)
   11.15  {
   11.16 -	int start;
   11.17 +	Sint64 start;
   11.18  	const char *error = NULL;
   11.19  	SDL_Surface *volatile surface = NULL;
   11.20  	Uint32 Rmask;
   11.21 @@ -171,7 +171,7 @@
   11.22  	Uint32 Amask;
   11.23  	WebPBitstreamFeatures features;
   11.24  	int raw_data_size;
   11.25 -	uint8_t *raw_data;
   11.26 +	uint8_t *raw_data = NULL;
   11.27  	int r;
   11.28  	uint8_t *ret;
   11.29  
   11.30 @@ -196,7 +196,7 @@
   11.31  	// skip header
   11.32  	SDL_RWseek(src, start+20, RW_SEEK_SET );
   11.33  
   11.34 -	raw_data = (uint8_t*) malloc( raw_data_size );
   11.35 +	raw_data = (uint8_t*) SDL_malloc( raw_data_size );
   11.36  	if ( raw_data == NULL ) {
   11.37  		error = "Failed to allocate enought buffer for WEBP";
   11.38  		goto error;
   11.39 @@ -219,7 +219,7 @@
   11.40  
   11.41  	if ( lib.webp_get_features_internal( raw_data, raw_data_size, &features, WEBP_DECODER_ABI_VERSION ) != VP8_STATUS_OK ) {
   11.42  		error = "WebPGetFeatures has failed";
   11.43 -		return NULL;
   11.44 +		goto error;
   11.45  	}
   11.46  
   11.47  	/* Check if it's ok !*/
   11.48 @@ -238,9 +238,9 @@
   11.49  	}
   11.50  
   11.51  	if ( features.has_alpha ) {
   11.52 -		ret = lib.webp_decode_rgba_into( raw_data, raw_data_size, surface->pixels, surface->pitch * surface->h,  surface->pitch );
   11.53 +		ret = lib.webp_decode_rgba_into( raw_data, raw_data_size, (uint8_t *)surface->pixels, surface->pitch * surface->h,  surface->pitch );
   11.54  	} else {
   11.55 -		ret = lib.webp_decode_rgb_into( raw_data, raw_data_size, surface->pixels, surface->pitch * surface->h,  surface->pitch );
   11.56 +		ret = lib.webp_decode_rgb_into( raw_data, raw_data_size, (uint8_t *)surface->pixels, surface->pitch * surface->h,  surface->pitch );
   11.57  	}
   11.58  
   11.59  	if ( !ret ) {
   11.60 @@ -258,7 +258,7 @@
   11.61  	}
   11.62  
   11.63  	if ( raw_data ) {
   11.64 -		free( raw_data );
   11.65 +		SDL_free( raw_data );
   11.66  	}
   11.67  
   11.68  	if ( error ) {
    12.1 --- a/IMG_xcf.c	Sun Jan 27 15:55:03 2013 -0800
    12.2 +++ b/IMG_xcf.c	Sun Feb 03 08:37:28 2013 -0800
    12.3 @@ -208,7 +208,7 @@
    12.4  /* See if an image is contained in a data source */
    12.5  int IMG_isXCF(SDL_RWops *src)
    12.6  {
    12.7 -	int start;
    12.8 +	Sint64 start;
    12.9  	int is_XCF;
   12.10  	char magic[14];
   12.11  
   12.12 @@ -217,7 +217,7 @@
   12.13  	start = SDL_RWtell(src);
   12.14  	is_XCF = 0;
   12.15  	if ( SDL_RWread(src, magic, sizeof(magic), 1) ) {
   12.16 -		if (strncmp(magic, "gimp xcf ", 9) == 0) {
   12.17 +		if (SDL_strncmp(magic, "gimp xcf ", 9) == 0) {
   12.18  			is_XCF = 1;
   12.19  		}
   12.20  	}
   12.21 @@ -311,12 +311,12 @@
   12.22    do {
   12.23      xcf_read_property (src, &prop);
   12.24      if (prop.id == PROP_COMPRESSION)
   12.25 -      h->compr = prop.data.compression;
   12.26 +      h->compr = (xcf_compr_type)prop.data.compression;
   12.27      else if (prop.id == PROP_COLORMAP) {
   12.28        // unused var: int i;
   12.29  
   12.30        h->cm_num = prop.data.colormap.num;
   12.31 -      h->cm_map = (unsigned char *) malloc (sizeof (unsigned char) * 3 * h->cm_num);
   12.32 +      h->cm_map = (unsigned char *) SDL_malloc (sizeof (unsigned char) * 3 * h->cm_num);
   12.33        memcpy (h->cm_map, prop.data.colormap.cmap, 3*sizeof (char)*h->cm_num);
   12.34        free (prop.data.colormap.cmap);
   12.35      }
   12.36 @@ -366,7 +366,7 @@
   12.37    xcf_channel * l;
   12.38    xcf_prop    prop;
   12.39  
   12.40 -  l = (xcf_channel *) malloc (sizeof (xcf_channel));
   12.41 +  l = (xcf_channel *) SDL_malloc (sizeof (xcf_channel));
   12.42    l->width  = SDL_ReadBE32 (src);
   12.43    l->height = SDL_ReadBE32 (src);
   12.44  
   12.45 @@ -433,14 +433,14 @@
   12.46    xcf_level * l;
   12.47    int i;
   12.48  
   12.49 -  l = (xcf_level *) malloc (sizeof (xcf_level));
   12.50 +  l = (xcf_level *) SDL_malloc (sizeof (xcf_level));
   12.51    l->width  = SDL_ReadBE32 (src);
   12.52    l->height = SDL_ReadBE32 (src);
   12.53  
   12.54    l->tile_file_offsets = NULL;
   12.55    i = 0;
   12.56    do {
   12.57 -    l->tile_file_offsets = (Uint32 *) realloc (l->tile_file_offsets, sizeof (Uint32) * (i+1));
   12.58 +    l->tile_file_offsets = (Uint32 *) SDL_realloc (l->tile_file_offsets, sizeof (Uint32) * (i+1));
   12.59      l->tile_file_offsets [i] = SDL_ReadBE32 (src);
   12.60    } while (l->tile_file_offsets [i++]);
   12.61  
   12.62 @@ -454,7 +454,7 @@
   12.63  static unsigned char * load_xcf_tile_none (SDL_RWops * src, Uint32 len, int bpp, int x, int y) {
   12.64    unsigned char * load;
   12.65  
   12.66 -  load = (unsigned char *) malloc (len); // expect this is okay
   12.67 +  load = (unsigned char *) SDL_malloc (len); // expect this is okay
   12.68    SDL_RWread (src, load, len, 1);
   12.69  
   12.70    return load;
   12.71 @@ -466,7 +466,7 @@
   12.72    int i, size, count, j, length;
   12.73    unsigned char val;
   12.74  
   12.75 -  t = load = (unsigned char *) malloc (len);
   12.76 +  t = load = (unsigned char *) SDL_malloc (len);
   12.77    reallen = SDL_RWread (src, t, 1, len);
   12.78  
   12.79    data = (unsigned char *) malloc (x*y*bpp);
   12.80 @@ -514,15 +514,15 @@
   12.81      }
   12.82    }
   12.83  
   12.84 -  free (load);
   12.85 +  SDL_free (load);
   12.86    return (data);
   12.87  }
   12.88  
   12.89  static Uint32 rgb2grey (Uint32 a) {
   12.90    Uint8 l;
   12.91 -  l = 0.2990 * ((a && 0x00FF0000) >> 16)
   12.92 +  l = (Uint8)(0.2990 * ((a && 0x00FF0000) >> 16)
   12.93      + 0.5870 * ((a && 0x0000FF00) >>  8)
   12.94 -    + 0.1140 * ((a && 0x000000FF));
   12.95 +    + 0.1140 * ((a && 0x000000FF)));
   12.96  
   12.97    return (l << 16) | (l << 8) | l;
   12.98  }
   12.99 @@ -549,7 +549,8 @@
  12.100    Uint8  * p8;
  12.101    Uint16 * p16;
  12.102    Uint32 * p;
  12.103 -  int x, y, tx, ty, ox, oy, i, j;
  12.104 +  int i, j;
  12.105 +  Uint32 x, y, tx, ty, ox, oy;
  12.106    Uint32 *row;
  12.107  
  12.108    SDL_RWseek (src, layer->hierarchy_file_offset, RW_SEEK_SET);
  12.109 @@ -673,14 +674,14 @@
  12.110  
  12.111  SDL_Surface *IMG_LoadXCF_RW(SDL_RWops *src)
  12.112  {
  12.113 -  int start;
  12.114 +  Sint64 start;
  12.115    const char *error = NULL;
  12.116    SDL_Surface *surface, *lays;
  12.117    xcf_header * head;
  12.118    xcf_layer  * layer;
  12.119    xcf_channel ** channel;
  12.120    int chnls, i, offsets;
  12.121 -  Uint32 offset, fp;
  12.122 +  Sint64 offset, fp;
  12.123  
  12.124    unsigned char * (* load_tile) (SDL_RWops *, Uint32, int, int, int);
  12.125  
  12.126 @@ -722,7 +723,7 @@
  12.127  
  12.128    while ((offset = SDL_ReadBE32 (src))) {
  12.129      head->layer_file_offsets = (Uint32 *) realloc (head->layer_file_offsets, sizeof (Uint32) * (offsets+1));
  12.130 -    head->layer_file_offsets [offsets] = offset;
  12.131 +    head->layer_file_offsets [offsets] = (Uint32)offset;
  12.132      offsets++;
  12.133    }
  12.134    fp = SDL_RWtell (src);
  12.135 @@ -764,7 +765,7 @@
  12.136    channel = NULL;
  12.137    chnls   = 0;
  12.138    while ((offset = SDL_ReadBE32 (src))) {
  12.139 -    channel = (xcf_channel **) realloc (channel, sizeof (xcf_channel *) * (chnls+1));
  12.140 +    channel = (xcf_channel **) SDL_realloc (channel, sizeof (xcf_channel *) * (chnls+1));
  12.141      fp = SDL_RWtell (src);
  12.142      SDL_RWseek (src, offset, RW_SEEK_SET);
  12.143      channel [chnls++] = (read_xcf_channel (src));
  12.144 @@ -784,7 +785,7 @@
  12.145      for (i = 0; i < chnls; i++) {
  12.146        //      printf ("CNLBLT %i\n", i);
  12.147        if (!channel [i]->selection && channel [i]->visible) {
  12.148 -	create_channel_surface (chs, head->image_type, channel [i]->color, channel [i]->opacity);
  12.149 +	create_channel_surface (chs, (xcf_image_type)head->image_type, channel [i]->color, channel [i]->opacity);
  12.150  	SDL_BlitSurface (chs, NULL, surface, NULL);
  12.151        }
  12.152        free_xcf_channel (channel [i]);
    13.1 --- a/IMG_xpm.c	Sun Jan 27 15:55:03 2013 -0800
    13.2 +++ b/IMG_xpm.c	Sun Feb 03 08:37:28 2013 -0800
    13.3 @@ -54,7 +54,7 @@
    13.4  /* See if an image is contained in a data source */
    13.5  int IMG_isXPM(SDL_RWops *src)
    13.6  {
    13.7 -	int start;
    13.8 +	Sint64 start;
    13.9  	int is_XPM;
   13.10  	char magic[9];
   13.11  
   13.12 @@ -63,7 +63,7 @@
   13.13  	start = SDL_RWtell(src);
   13.14  	is_XPM = 0;
   13.15  	if ( SDL_RWread(src, magic, sizeof(magic), 1) ) {
   13.16 -		if ( memcmp(magic, "/* XPM */", sizeof(magic)) == 0 ) {
   13.17 +		if ( SDL_memcmp(magic, "/* XPM */", sizeof(magic)) == 0 ) {
   13.18  			is_XPM = 1;
   13.19  		}
   13.20  	}
   13.21 @@ -106,7 +106,7 @@
   13.22  
   13.23  	/* we know how many entries we need, so we can allocate
   13.24  	   everything here */
   13.25 -	hash = malloc(sizeof *hash);
   13.26 +	hash = (struct color_hash *)SDL_malloc(sizeof *hash);
   13.27  	if(!hash)
   13.28  		return NULL;
   13.29  
   13.30 @@ -117,13 +117,13 @@
   13.31  	hash->maxnum = maxnum;
   13.32  	bytes = hash->size * sizeof(struct hash_entry **);
   13.33  	hash->entries = NULL;	/* in case malloc fails */
   13.34 -	hash->table = malloc(bytes);
   13.35 +	hash->table = (struct hash_entry **)SDL_malloc(bytes);
   13.36  	if(!hash->table)
   13.37  		return NULL;
   13.38  	memset(hash->table, 0, bytes);
   13.39 -	hash->entries = malloc(maxnum * sizeof(struct hash_entry));
   13.40 +	hash->entries = (struct hash_entry *)SDL_malloc(maxnum * sizeof(struct hash_entry));
   13.41  	if(!hash->entries) {
   13.42 -		free(hash->table);
   13.43 +		SDL_free(hash->table);
   13.44  		return NULL;
   13.45  	}
   13.46  	hash->next_free = hash->entries;
   13.47 @@ -149,7 +149,7 @@
   13.48  {
   13.49  	struct hash_entry *entry = hash->table[hash_key(key, cpp, hash->size)];
   13.50  	while(entry) {
   13.51 -		if(memcmp(key, entry->key, cpp) == 0)
   13.52 +		if(SDL_memcmp(key, entry->key, cpp) == 0)
   13.53  			return entry->color;
   13.54  		entry = entry->next;
   13.55  	}
   13.56 @@ -158,10 +158,12 @@
   13.57  
   13.58  static void free_colorhash(struct color_hash *hash)
   13.59  {
   13.60 -	if(hash && hash->table) {
   13.61 -		free(hash->table);
   13.62 -		free(hash->entries);
   13.63 -		free(hash);
   13.64 +	if(hash) {
   13.65 +		if(hash->table)
   13.66 +			SDL_free(hash->table);
   13.67 +		if(hash->entries)
   13.68 +			SDL_free(hash->entries);
   13.69 +		SDL_free(hash);
   13.70  	}
   13.71  }
   13.72  
   13.73 @@ -871,7 +873,7 @@
   13.74  			buf[4] = buf[5] = spec[3];
   13.75  			break;
   13.76  		case 7:
   13.77 -			memcpy(buf, spec + 1, 6);
   13.78 +			SDL_memcpy(buf, spec + 1, 6);
   13.79  			break;
   13.80  		case 13:
   13.81  			buf[0] = spec[1];
   13.82 @@ -928,9 +930,9 @@
   13.83  			len += 4;	/* "\",\n\0" */
   13.84  			if(len > buflen){
   13.85  				buflen = len;
   13.86 -				linebufnew = realloc(linebuf, buflen);
   13.87 +				linebufnew = (char *)SDL_realloc(linebuf, buflen);
   13.88  				if(!linebufnew) {
   13.89 -					free(linebuf);
   13.90 +					SDL_free(linebuf);
   13.91  					error = "Out of memory";
   13.92  					return NULL;
   13.93  				}
   13.94 @@ -948,9 +950,9 @@
   13.95  					if(buflen == 0)
   13.96  						buflen = 16;
   13.97  					buflen *= 2;
   13.98 -					linebufnew = realloc(linebuf, buflen);
   13.99 +					linebufnew = (char *)SDL_realloc(linebuf, buflen);
  13.100  					if(!linebufnew) {
  13.101 -						free(linebuf);
  13.102 +						SDL_free(linebuf);
  13.103  						error = "Out of memory";
  13.104  						return NULL;
  13.105  					}
  13.106 @@ -970,20 +972,20 @@
  13.107  
  13.108  #define SKIPSPACE(p)				\
  13.109  do {						\
  13.110 -	while(isspace((unsigned char)*(p)))	\
  13.111 +	while(SDL_isspace((unsigned char)*(p)))	\
  13.112  	      ++(p);				\
  13.113  } while(0)
  13.114  
  13.115  #define SKIPNONSPACE(p)					\
  13.116  do {							\
  13.117 -	while(!isspace((unsigned char)*(p)) && *p)	\
  13.118 +	while(!SDL_isspace((unsigned char)*(p)) && *p)	\
  13.119  	      ++(p);					\
  13.120  } while(0)
  13.121  
  13.122  /* read XPM from either array or RWops */
  13.123  static SDL_Surface *load_xpm(char **xpm, SDL_RWops *src)
  13.124  {
  13.125 -	int start = 0;
  13.126 +	Sint64 start = 0;
  13.127  	SDL_Surface *image = NULL;
  13.128  	int index;
  13.129  	int x, y;
  13.130 @@ -1019,13 +1021,13 @@
  13.131  	 * Right now we don't use the hotspots but it should be handled
  13.132  	 * one day.
  13.133  	 */
  13.134 -	if(sscanf(line, "%d %d %d %d", &w, &h, &ncolors, &cpp) != 4
  13.135 +	if(SDL_sscanf(line, "%d %d %d %d", &w, &h, &ncolors, &cpp) != 4
  13.136  	   || w <= 0 || h <= 0 || ncolors <= 0 || cpp <= 0) {
  13.137  		error = "Invalid format description";
  13.138  		goto done;
  13.139  	}
  13.140  
  13.141 -	keystrings = malloc(ncolors * cpp);
  13.142 +	keystrings = (char *)SDL_malloc(ncolors * cpp);
  13.143  	if(!keystrings) {
  13.144  		error = "Out of memory";
  13.145  		goto done;
  13.146 @@ -1085,7 +1087,7 @@
  13.147  			if(!color_to_rgb(colname, p - colname, &rgb))
  13.148  				continue;
  13.149  
  13.150 -			memcpy(nextkey, line, cpp);
  13.151 +			SDL_memcpy(nextkey, line, cpp);
  13.152  			if(indexed) {
  13.153  				SDL_Color *c = im_colors + index;
  13.154  				c->r = (Uint8)(rgb >> 16);
  13.155 @@ -1104,7 +1106,7 @@
  13.156  
  13.157  	/* Read the pixels */
  13.158  	pixels_len = w * cpp;
  13.159 -	dst = image->pixels;
  13.160 +	dst = (Uint8 *)image->pixels;
  13.161  	for(y = 0; y < h; y++) {
  13.162  		line = get_next_line(xpmlines, src, pixels_len);
  13.163  		if(indexed) {
  13.164 @@ -1137,9 +1139,11 @@
  13.165  		}
  13.166  		IMG_SetError(error);
  13.167  	}
  13.168 -	free(keystrings);
  13.169 +	if (keystrings)
  13.170 +		SDL_free(keystrings);
  13.171  	free_colorhash(colors);
  13.172 -	free(linebuf);
  13.173 +	if (linebuf)
  13.174 +		SDL_free(linebuf);
  13.175  	return(image);
  13.176  }
  13.177  
    14.1 --- a/IMG_xv.c	Sun Jan 27 15:55:03 2013 -0800
    14.2 +++ b/IMG_xv.c	Sun Feb 03 08:37:28 2013 -0800
    14.3 @@ -57,19 +57,19 @@
    14.4  
    14.5  	/* Check the header magic */
    14.6  	if ( (get_line(src, line, sizeof(line)) < 0) ||
    14.7 -	     (memcmp(line, "P7 332", 6) != 0) ) {
    14.8 +	     (SDL_memcmp(line, "P7 332", 6) != 0) ) {
    14.9  		return -1;
   14.10  	}
   14.11  
   14.12  	/* Read the header */
   14.13  	while ( get_line(src, line, sizeof(line)) == 0 ) {
   14.14 -		if ( memcmp(line, "#BUILTIN:", 9) == 0 ) {
   14.15 +		if ( SDL_memcmp(line, "#BUILTIN:", 9) == 0 ) {
   14.16  			/* Builtin image, no data */
   14.17  			break;
   14.18  		}
   14.19 -		if ( memcmp(line, "#END_OF_COMMENTS", 16) == 0 ) {
   14.20 +		if ( SDL_memcmp(line, "#END_OF_COMMENTS", 16) == 0 ) {
   14.21  			if ( get_line(src, line, sizeof(line)) == 0 ) {
   14.22 -				sscanf(line, "%d %d", w, h);
   14.23 +				SDL_sscanf(line, "%d %d", w, h);
   14.24  				if ( *w >= 0 && *h >= 0 ) {
   14.25  					return 0;
   14.26  				}
   14.27 @@ -84,7 +84,7 @@
   14.28  /* See if an image is contained in a data source */
   14.29  int IMG_isXV(SDL_RWops *src)
   14.30  {
   14.31 -	int start;
   14.32 +	Sint64 start;
   14.33  	int is_XV;
   14.34  	int w, h;
   14.35  
   14.36 @@ -102,7 +102,7 @@
   14.37  /* Load a XV thumbnail image from an SDL datasource */
   14.38  SDL_Surface *IMG_LoadXV_RW(SDL_RWops *src)
   14.39  {
   14.40 -	int start;
   14.41 +	Sint64 start;
   14.42  	const char *error = NULL;
   14.43  	SDL_Surface *surface = NULL;
   14.44  	int w, h;
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/VisualC/SDL_image_VS2010.sln	Sun Feb 03 08:37:28 2013 -0800
    15.3 @@ -0,0 +1,36 @@
    15.4 +
    15.5 +Microsoft Visual Studio Solution File, Format Version 11.00
    15.6 +# Visual Studio 2010
    15.7 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL2_image", "SDL_image_VS2010.vcxproj", "{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}"
    15.8 +EndProject
    15.9 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "showimage", "showimage\showimage_VS2010.vcxproj", "{FEE80C5D-762E-4E57-9BCB-928749E8203F}"
   15.10 +EndProject
   15.11 +Global
   15.12 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
   15.13 +		Debug|Win32 = Debug|Win32
   15.14 +		Debug|x64 = Debug|x64
   15.15 +		Release|Win32 = Release|Win32
   15.16 +		Release|x64 = Release|x64
   15.17 +	EndGlobalSection
   15.18 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
   15.19 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|Win32.ActiveCfg = Debug|Win32
   15.20 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|Win32.Build.0 = Debug|Win32
   15.21 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|x64.ActiveCfg = Debug|x64
   15.22 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|x64.Build.0 = Debug|x64
   15.23 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|Win32.ActiveCfg = Release|Win32
   15.24 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|Win32.Build.0 = Release|Win32
   15.25 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|x64.ActiveCfg = Release|x64
   15.26 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|x64.Build.0 = Release|x64
   15.27 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|Win32.ActiveCfg = Debug|Win32
   15.28 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|Win32.Build.0 = Debug|Win32
   15.29 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|x64.ActiveCfg = Debug|x64
   15.30 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|x64.Build.0 = Debug|x64
   15.31 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|Win32.ActiveCfg = Release|Win32
   15.32 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|Win32.Build.0 = Release|Win32
   15.33 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|x64.ActiveCfg = Release|x64
   15.34 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|x64.Build.0 = Release|x64
   15.35 +	EndGlobalSection
   15.36 +	GlobalSection(SolutionProperties) = preSolution
   15.37 +		HideSolutionNode = FALSE
   15.38 +	EndGlobalSection
   15.39 +EndGlobal
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/VisualC/SDL_image_VS2010.vcxproj	Sun Feb 03 08:37:28 2013 -0800
    16.3 @@ -0,0 +1,398 @@
    16.4 +<?xml version="1.0" encoding="utf-8"?>
    16.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    16.6 +  <ItemGroup Label="ProjectConfigurations">
    16.7 +    <ProjectConfiguration Include="Debug|Win32">
    16.8 +      <Configuration>Debug</Configuration>
    16.9 +      <Platform>Win32</Platform>
   16.10 +    </ProjectConfiguration>
   16.11 +    <ProjectConfiguration Include="Debug|x64">
   16.12 +      <Configuration>Debug</Configuration>
   16.13 +      <Platform>x64</Platform>
   16.14 +    </ProjectConfiguration>
   16.15 +    <ProjectConfiguration Include="Release|Win32">
   16.16 +      <Configuration>Release</Configuration>
   16.17 +      <Platform>Win32</Platform>
   16.18 +    </ProjectConfiguration>
   16.19 +    <ProjectConfiguration Include="Release|x64">
   16.20 +      <Configuration>Release</Configuration>
   16.21 +      <Platform>x64</Platform>
   16.22 +    </ProjectConfiguration>
   16.23 +  </ItemGroup>
   16.24 +  <PropertyGroup Label="Globals">
   16.25 +    <ProjectName>SDL2_image</ProjectName>
   16.26 +    <ProjectGuid>{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}</ProjectGuid>
   16.27 +    <RootNamespace>SDL2_image</RootNamespace>
   16.28 +  </PropertyGroup>
   16.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   16.30 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   16.31 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   16.32 +    <UseOfMfc>false</UseOfMfc>
   16.33 +  </PropertyGroup>
   16.34 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   16.35 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   16.36 +    <UseOfMfc>false</UseOfMfc>
   16.37 +  </PropertyGroup>
   16.38 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
   16.39 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   16.40 +    <UseOfMfc>false</UseOfMfc>
   16.41 +  </PropertyGroup>
   16.42 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
   16.43 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   16.44 +    <UseOfMfc>false</UseOfMfc>
   16.45 +  </PropertyGroup>
   16.46 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   16.47 +  <ImportGroup Label="ExtensionSettings">
   16.48 +  </ImportGroup>
   16.49 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   16.50 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.51 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   16.52 +  </ImportGroup>
   16.53 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   16.54 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.55 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   16.56 +  </ImportGroup>
   16.57 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
   16.58 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.59 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   16.60 +  </ImportGroup>
   16.61 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
   16.62 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   16.63 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   16.64 +  </ImportGroup>
   16.65 +  <PropertyGroup Label="UserMacros" />
   16.66 +  <PropertyGroup>
   16.67 +    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
   16.68 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   16.69 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   16.70 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   16.71 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   16.72 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   16.73 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
   16.74 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   16.75 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   16.76 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   16.77 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
   16.78 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
   16.79 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   16.80 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   16.81 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   16.82 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   16.83 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   16.84 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   16.85 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   16.86 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   16.87 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   16.88 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   16.89 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   16.90 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   16.91 +  </PropertyGroup>
   16.92 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   16.93 +    <Midl>
   16.94 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   16.95 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   16.96 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   16.97 +      <TargetEnvironment>Win32</TargetEnvironment>
   16.98 +      <TypeLibraryName>.\Debug/SDL_image.tlb</TypeLibraryName>
   16.99 +      <HeaderFileName>
  16.100 +      </HeaderFileName>
  16.101 +    </Midl>
  16.102 +    <ClCompile>
  16.103 +      <Optimization>Disabled</Optimization>
  16.104 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.105 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.106 +      <MinimalRebuild>true</MinimalRebuild>
  16.107 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.108 +      <PrecompiledHeaderOutputFile>.\Debug/SDL_image.pch</PrecompiledHeaderOutputFile>
  16.109 +      <WarningLevel>Level3</WarningLevel>
  16.110 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.111 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  16.112 +    </ClCompile>
  16.113 +    <ResourceCompile>
  16.114 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.115 +      <Culture>0x0409</Culture>
  16.116 +    </ResourceCompile>
  16.117 +    <Link>
  16.118 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  16.119 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  16.120 +      <ProgramDatabaseFile>.\Debug/SDL_image.pdb</ProgramDatabaseFile>
  16.121 +      <SubSystem>Windows</SubSystem>
  16.122 +      <TargetMachine>MachineX86</TargetMachine>
  16.123 +    </Link>
  16.124 +    <Bscmake>
  16.125 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.126 +      <OutputFile>.\Debug/SDL_image.bsc</OutputFile>
  16.127 +    </Bscmake>
  16.128 +  </ItemDefinitionGroup>
  16.129 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  16.130 +    <Midl>
  16.131 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.132 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  16.133 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.134 +      <TargetEnvironment>X64</TargetEnvironment>
  16.135 +      <TypeLibraryName>.\Debug/SDL_image.tlb</TypeLibraryName>
  16.136 +      <HeaderFileName>
  16.137 +      </HeaderFileName>
  16.138 +    </Midl>
  16.139 +    <ClCompile>
  16.140 +      <Optimization>Disabled</Optimization>
  16.141 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.142 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.143 +      <MinimalRebuild>true</MinimalRebuild>
  16.144 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.145 +      <PrecompiledHeaderOutputFile>.\Debug/SDL_image.pch</PrecompiledHeaderOutputFile>
  16.146 +      <WarningLevel>Level3</WarningLevel>
  16.147 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.148 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  16.149 +    </ClCompile>
  16.150 +    <ResourceCompile>
  16.151 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.152 +      <Culture>0x0409</Culture>
  16.153 +    </ResourceCompile>
  16.154 +    <Link>
  16.155 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  16.156 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  16.157 +      <ProgramDatabaseFile>.\Debug/SDL_image.pdb</ProgramDatabaseFile>
  16.158 +      <SubSystem>Windows</SubSystem>
  16.159 +      <TargetMachine>MachineX64</TargetMachine>
  16.160 +    </Link>
  16.161 +    <Bscmake>
  16.162 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.163 +      <OutputFile>.\Debug/SDL_image.bsc</OutputFile>
  16.164 +    </Bscmake>
  16.165 +  </ItemDefinitionGroup>
  16.166 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  16.167 +    <Midl>
  16.168 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.169 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  16.170 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.171 +      <TargetEnvironment>Win32</TargetEnvironment>
  16.172 +      <TypeLibraryName>.\Release/SDL_image.tlb</TypeLibraryName>
  16.173 +      <HeaderFileName>
  16.174 +      </HeaderFileName>
  16.175 +    </Midl>
  16.176 +    <ClCompile>
  16.177 +      <Optimization>MaxSpeed</Optimization>
  16.178 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  16.179 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.180 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.181 +      <StringPooling>true</StringPooling>
  16.182 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.183 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  16.184 +      <PrecompiledHeaderOutputFile>.\Release/SDL_image.pch</PrecompiledHeaderOutputFile>
  16.185 +      <WarningLevel>Level3</WarningLevel>
  16.186 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.187 +    </ClCompile>
  16.188 +    <ResourceCompile>
  16.189 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.190 +      <Culture>0x0409</Culture>
  16.191 +    </ResourceCompile>
  16.192 +    <Link>
  16.193 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  16.194 +      <ProgramDatabaseFile>.\Release/SDL_image.pdb</ProgramDatabaseFile>
  16.195 +      <SubSystem>Windows</SubSystem>
  16.196 +      <TargetMachine>MachineX86</TargetMachine>
  16.197 +    </Link>
  16.198 +    <Bscmake>
  16.199 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.200 +      <OutputFile>.\Release/SDL_image.bsc</OutputFile>
  16.201 +    </Bscmake>
  16.202 +  </ItemDefinitionGroup>
  16.203 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  16.204 +    <Midl>
  16.205 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.206 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  16.207 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.208 +      <TargetEnvironment>X64</TargetEnvironment>
  16.209 +      <TypeLibraryName>.\Release/SDL_image.tlb</TypeLibraryName>
  16.210 +      <HeaderFileName>
  16.211 +      </HeaderFileName>
  16.212 +    </Midl>
  16.213 +    <ClCompile>
  16.214 +      <Optimization>MaxSpeed</Optimization>
  16.215 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  16.216 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.217 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.218 +      <StringPooling>true</StringPooling>
  16.219 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  16.220 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  16.221 +      <PrecompiledHeaderOutputFile>.\Release/SDL_image.pch</PrecompiledHeaderOutputFile>
  16.222 +      <WarningLevel>Level3</WarningLevel>
  16.223 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.224 +    </ClCompile>
  16.225 +    <ResourceCompile>
  16.226 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.227 +      <Culture>0x0409</Culture>
  16.228 +    </ResourceCompile>
  16.229 +    <Link>
  16.230 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  16.231 +      <ProgramDatabaseFile>.\Release/SDL_image.pdb</ProgramDatabaseFile>
  16.232 +      <SubSystem>Windows</SubSystem>
  16.233 +      <TargetMachine>MachineX64</TargetMachine>
  16.234 +    </Link>
  16.235 +    <Bscmake>
  16.236 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  16.237 +      <OutputFile>.\Release/SDL_image.bsc</OutputFile>
  16.238 +    </Bscmake>
  16.239 +  </ItemDefinitionGroup>
  16.240 +  <ItemGroup>
  16.241 +    <ClCompile Include="..\IMG.c">
  16.242 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.243 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.244 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.245 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.246 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.247 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.248 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.249 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.250 +    </ClCompile>
  16.251 +    <ClCompile Include="..\IMG_bmp.c">
  16.252 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.253 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.254 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.255 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.256 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.257 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.258 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.259 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.260 +    </ClCompile>
  16.261 +    <ClCompile Include="..\IMG_gif.c">
  16.262 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.263 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.264 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.265 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.266 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.267 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.268 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.269 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.270 +    </ClCompile>
  16.271 +    <ClCompile Include="..\IMG_jpg.c">
  16.272 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.273 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.274 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.275 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.276 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.277 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.278 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.279 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.280 +    </ClCompile>
  16.281 +    <ClCompile Include="..\IMG_lbm.c">
  16.282 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.283 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.284 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.285 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.286 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.287 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.288 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.289 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.290 +    </ClCompile>
  16.291 +    <ClCompile Include="..\IMG_pcx.c">
  16.292 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.293 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.294 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.295 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.296 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.297 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.298 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.299 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.300 +    </ClCompile>
  16.301 +    <ClCompile Include="..\IMG_png.c">
  16.302 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.303 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.304 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.305 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.306 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.307 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.308 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.309 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.310 +    </ClCompile>
  16.311 +    <ClCompile Include="..\IMG_pnm.c">
  16.312 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.313 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.314 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.315 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.316 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.317 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.318 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.319 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.320 +    </ClCompile>
  16.321 +    <ClCompile Include="..\IMG_tga.c">
  16.322 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.323 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.324 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.325 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.326 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.327 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.328 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.329 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.330 +    </ClCompile>
  16.331 +    <ClCompile Include="..\IMG_tif.c">
  16.332 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.333 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.334 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.335 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.336 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.337 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.338 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.339 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.340 +    </ClCompile>
  16.341 +    <ClCompile Include="..\IMG_webp.c" />
  16.342 +    <ClCompile Include="..\IMG_xcf.c">
  16.343 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.344 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.345 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.346 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.347 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.348 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.349 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.350 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.351 +    </ClCompile>
  16.352 +    <ClCompile Include="..\IMG_xpm.c">
  16.353 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.354 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.355 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.356 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.357 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.358 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.359 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.360 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.361 +    </ClCompile>
  16.362 +    <ClCompile Include="..\IMG_xv.c">
  16.363 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.364 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.365 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.366 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.367 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.368 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.369 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.370 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.371 +    </ClCompile>
  16.372 +    <ClCompile Include="..\IMG_xxx.c">
  16.373 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.374 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.375 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.376 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.377 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.378 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.379 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  16.380 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.381 +    </ClCompile>
  16.382 +  </ItemGroup>
  16.383 +  <ItemGroup>
  16.384 +    <ResourceCompile Include="Version.rc">
  16.385 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.386 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.387 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.388 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  16.389 +    </ResourceCompile>
  16.390 +  </ItemGroup>
  16.391 +  <ItemGroup>
  16.392 +    <ClInclude Include="..\SDL_image.h" />
  16.393 +  </ItemGroup>
  16.394 +  <ItemGroup>
  16.395 +    <Library Include="..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.lib" />
  16.396 +    <Library Include="..\..\SDL\VisualC\SDLmain\$(Platform)\$(Configuration)\SDLmain.lib" />
  16.397 +  </ItemGroup>
  16.398 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  16.399 +  <ImportGroup Label="ExtensionTargets">
  16.400 +  </ImportGroup>
  16.401 +</Project>
  16.402 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/VisualC/SDL_image_VS2012.sln	Sun Feb 03 08:37:28 2013 -0800
    17.3 @@ -0,0 +1,36 @@
    17.4 +
    17.5 +Microsoft Visual Studio Solution File, Format Version 12.00
    17.6 +# Visual Studio 2012
    17.7 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SDL2_image", "SDL_image_VS2012.vcxproj", "{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}"
    17.8 +EndProject
    17.9 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "showimage", "showimage\showimage_VS2012.vcxproj", "{FEE80C5D-762E-4E57-9BCB-928749E8203F}"
   17.10 +EndProject
   17.11 +Global
   17.12 +	GlobalSection(SolutionConfigurationPlatforms) = preSolution
   17.13 +		Debug|Win32 = Debug|Win32
   17.14 +		Debug|x64 = Debug|x64
   17.15 +		Release|Win32 = Release|Win32
   17.16 +		Release|x64 = Release|x64
   17.17 +	EndGlobalSection
   17.18 +	GlobalSection(ProjectConfigurationPlatforms) = postSolution
   17.19 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|Win32.ActiveCfg = Debug|Win32
   17.20 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|Win32.Build.0 = Debug|Win32
   17.21 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|x64.ActiveCfg = Debug|x64
   17.22 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Debug|x64.Build.0 = Debug|x64
   17.23 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|Win32.ActiveCfg = Release|Win32
   17.24 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|Win32.Build.0 = Release|Win32
   17.25 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|x64.ActiveCfg = Release|x64
   17.26 +		{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}.Release|x64.Build.0 = Release|x64
   17.27 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|Win32.ActiveCfg = Debug|Win32
   17.28 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|Win32.Build.0 = Debug|Win32
   17.29 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|x64.ActiveCfg = Debug|x64
   17.30 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Debug|x64.Build.0 = Debug|x64
   17.31 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|Win32.ActiveCfg = Release|Win32
   17.32 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|Win32.Build.0 = Release|Win32
   17.33 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|x64.ActiveCfg = Release|x64
   17.34 +		{FEE80C5D-762E-4E57-9BCB-928749E8203F}.Release|x64.Build.0 = Release|x64
   17.35 +	EndGlobalSection
   17.36 +	GlobalSection(SolutionProperties) = preSolution
   17.37 +		HideSolutionNode = FALSE
   17.38 +	EndGlobalSection
   17.39 +EndGlobal
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/VisualC/SDL_image_VS2012.vcxproj	Sun Feb 03 08:37:28 2013 -0800
    18.3 @@ -0,0 +1,402 @@
    18.4 +<?xml version="1.0" encoding="utf-8"?>
    18.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    18.6 +  <ItemGroup Label="ProjectConfigurations">
    18.7 +    <ProjectConfiguration Include="Debug|Win32">
    18.8 +      <Configuration>Debug</Configuration>
    18.9 +      <Platform>Win32</Platform>
   18.10 +    </ProjectConfiguration>
   18.11 +    <ProjectConfiguration Include="Debug|x64">
   18.12 +      <Configuration>Debug</Configuration>
   18.13 +      <Platform>x64</Platform>
   18.14 +    </ProjectConfiguration>
   18.15 +    <ProjectConfiguration Include="Release|Win32">
   18.16 +      <Configuration>Release</Configuration>
   18.17 +      <Platform>Win32</Platform>
   18.18 +    </ProjectConfiguration>
   18.19 +    <ProjectConfiguration Include="Release|x64">
   18.20 +      <Configuration>Release</Configuration>
   18.21 +      <Platform>x64</Platform>
   18.22 +    </ProjectConfiguration>
   18.23 +  </ItemGroup>
   18.24 +  <PropertyGroup Label="Globals">
   18.25 +    <ProjectName>SDL2_image</ProjectName>
   18.26 +    <ProjectGuid>{2BD5534E-00E2-4BEA-AC96-D9A92EA24696}</ProjectGuid>
   18.27 +    <RootNamespace>SDL2_image</RootNamespace>
   18.28 +  </PropertyGroup>
   18.29 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   18.30 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   18.31 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   18.32 +    <UseOfMfc>false</UseOfMfc>
   18.33 +    <PlatformToolset>v110</PlatformToolset>
   18.34 +  </PropertyGroup>
   18.35 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   18.36 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   18.37 +    <UseOfMfc>false</UseOfMfc>
   18.38 +    <PlatformToolset>v110</PlatformToolset>
   18.39 +  </PropertyGroup>
   18.40 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
   18.41 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   18.42 +    <UseOfMfc>false</UseOfMfc>
   18.43 +    <PlatformToolset>v110</PlatformToolset>
   18.44 +  </PropertyGroup>
   18.45 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
   18.46 +    <ConfigurationType>DynamicLibrary</ConfigurationType>
   18.47 +    <UseOfMfc>false</UseOfMfc>
   18.48 +    <PlatformToolset>v110</PlatformToolset>
   18.49 +  </PropertyGroup>
   18.50 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   18.51 +  <ImportGroup Label="ExtensionSettings">
   18.52 +  </ImportGroup>
   18.53 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   18.54 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.55 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   18.56 +  </ImportGroup>
   18.57 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   18.58 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.59 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   18.60 +  </ImportGroup>
   18.61 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
   18.62 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.63 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   18.64 +  </ImportGroup>
   18.65 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
   18.66 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   18.67 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   18.68 +  </ImportGroup>
   18.69 +  <PropertyGroup Label="UserMacros" />
   18.70 +  <PropertyGroup>
   18.71 +    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
   18.72 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   18.73 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   18.74 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   18.75 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   18.76 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   18.77 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
   18.78 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   18.79 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   18.80 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   18.81 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
   18.82 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
   18.83 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   18.84 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   18.85 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   18.86 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   18.87 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   18.88 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   18.89 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   18.90 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   18.91 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   18.92 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   18.93 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   18.94 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   18.95 +  </PropertyGroup>
   18.96 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   18.97 +    <Midl>
   18.98 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   18.99 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  18.100 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.101 +      <TargetEnvironment>Win32</TargetEnvironment>
  18.102 +      <TypeLibraryName>.\Debug/SDL_image.tlb</TypeLibraryName>
  18.103 +      <HeaderFileName>
  18.104 +      </HeaderFileName>
  18.105 +    </Midl>
  18.106 +    <ClCompile>
  18.107 +      <Optimization>Disabled</Optimization>
  18.108 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.109 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.110 +      <MinimalRebuild>true</MinimalRebuild>
  18.111 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  18.112 +      <PrecompiledHeaderOutputFile>.\Debug/SDL_image.pch</PrecompiledHeaderOutputFile>
  18.113 +      <WarningLevel>Level3</WarningLevel>
  18.114 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.115 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  18.116 +    </ClCompile>
  18.117 +    <ResourceCompile>
  18.118 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.119 +      <Culture>0x0409</Culture>
  18.120 +    </ResourceCompile>
  18.121 +    <Link>
  18.122 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  18.123 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  18.124 +      <ProgramDatabaseFile>.\Debug/SDL_image.pdb</ProgramDatabaseFile>
  18.125 +      <SubSystem>Windows</SubSystem>
  18.126 +      <TargetMachine>MachineX86</TargetMachine>
  18.127 +    </Link>
  18.128 +    <Bscmake>
  18.129 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.130 +      <OutputFile>.\Debug/SDL_image.bsc</OutputFile>
  18.131 +    </Bscmake>
  18.132 +  </ItemDefinitionGroup>
  18.133 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  18.134 +    <Midl>
  18.135 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.136 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  18.137 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.138 +      <TargetEnvironment>X64</TargetEnvironment>
  18.139 +      <TypeLibraryName>.\Debug/SDL_image.tlb</TypeLibraryName>
  18.140 +      <HeaderFileName>
  18.141 +      </HeaderFileName>
  18.142 +    </Midl>
  18.143 +    <ClCompile>
  18.144 +      <Optimization>Disabled</Optimization>
  18.145 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.146 +      <PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.147 +      <MinimalRebuild>true</MinimalRebuild>
  18.148 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  18.149 +      <PrecompiledHeaderOutputFile>.\Debug/SDL_image.pch</PrecompiledHeaderOutputFile>
  18.150 +      <WarningLevel>Level3</WarningLevel>
  18.151 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.152 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  18.153 +    </ClCompile>
  18.154 +    <ResourceCompile>
  18.155 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.156 +      <Culture>0x0409</Culture>
  18.157 +    </ResourceCompile>
  18.158 +    <Link>
  18.159 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  18.160 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  18.161 +      <ProgramDatabaseFile>.\Debug/SDL_image.pdb</ProgramDatabaseFile>
  18.162 +      <SubSystem>Windows</SubSystem>
  18.163 +      <TargetMachine>MachineX64</TargetMachine>
  18.164 +    </Link>
  18.165 +    <Bscmake>
  18.166 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.167 +      <OutputFile>.\Debug/SDL_image.bsc</OutputFile>
  18.168 +    </Bscmake>
  18.169 +  </ItemDefinitionGroup>
  18.170 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  18.171 +    <Midl>
  18.172 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.173 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  18.174 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.175 +      <TargetEnvironment>Win32</TargetEnvironment>
  18.176 +      <TypeLibraryName>.\Release/SDL_image.tlb</TypeLibraryName>
  18.177 +      <HeaderFileName>
  18.178 +      </HeaderFileName>
  18.179 +    </Midl>
  18.180 +    <ClCompile>
  18.181 +      <Optimization>MaxSpeed</Optimization>
  18.182 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  18.183 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.184 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.185 +      <StringPooling>true</StringPooling>
  18.186 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  18.187 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  18.188 +      <PrecompiledHeaderOutputFile>.\Release/SDL_image.pch</PrecompiledHeaderOutputFile>
  18.189 +      <WarningLevel>Level3</WarningLevel>
  18.190 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.191 +    </ClCompile>
  18.192 +    <ResourceCompile>
  18.193 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.194 +      <Culture>0x0409</Culture>
  18.195 +    </ResourceCompile>
  18.196 +    <Link>
  18.197 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  18.198 +      <ProgramDatabaseFile>.\Release/SDL_image.pdb</ProgramDatabaseFile>
  18.199 +      <SubSystem>Windows</SubSystem>
  18.200 +      <TargetMachine>MachineX86</TargetMachine>
  18.201 +    </Link>
  18.202 +    <Bscmake>
  18.203 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.204 +      <OutputFile>.\Release/SDL_image.bsc</OutputFile>
  18.205 +    </Bscmake>
  18.206 +  </ItemDefinitionGroup>
  18.207 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  18.208 +    <Midl>
  18.209 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.210 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  18.211 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.212 +      <TargetEnvironment>X64</TargetEnvironment>
  18.213 +      <TypeLibraryName>.\Release/SDL_image.tlb</TypeLibraryName>
  18.214 +      <HeaderFileName>
  18.215 +      </HeaderFileName>
  18.216 +    </Midl>
  18.217 +    <ClCompile>
  18.218 +      <Optimization>MaxSpeed</Optimization>
  18.219 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  18.220 +      <AdditionalIncludeDirectories>..\..\SDL\include;external\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.221 +      <PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;LOAD_BMP;LOAD_GIF;LOAD_JPG;LOAD_JPG_DYNAMIC="libjpeg-8.dll";LOAD_LBM;LOAD_PCX;LOAD_PNG;LOAD_PNG_DYNAMIC="libpng15-15.dll";LOAD_PNM;LOAD_TGA;LOAD_TIF;LOAD_TIF_DYNAMIC="libtiff-5.dll";LOAD_WEBP;LOAD_WEBP_DYNAMIC="libwebp-2.dll";LOAD_XPM;LOAD_XV;PNG_USE_DLL;ZLIB_DLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.222 +      <StringPooling>true</StringPooling>
  18.223 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  18.224 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  18.225 +      <PrecompiledHeaderOutputFile>.\Release/SDL_image.pch</PrecompiledHeaderOutputFile>
  18.226 +      <WarningLevel>Level3</WarningLevel>
  18.227 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.228 +    </ClCompile>
  18.229 +    <ResourceCompile>
  18.230 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.231 +      <Culture>0x0409</Culture>
  18.232 +    </ResourceCompile>
  18.233 +    <Link>
  18.234 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  18.235 +      <ProgramDatabaseFile>.\Release/SDL_image.pdb</ProgramDatabaseFile>
  18.236 +      <SubSystem>Windows</SubSystem>
  18.237 +      <TargetMachine>MachineX64</TargetMachine>
  18.238 +    </Link>
  18.239 +    <Bscmake>
  18.240 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  18.241 +      <OutputFile>.\Release/SDL_image.bsc</OutputFile>
  18.242 +    </Bscmake>
  18.243 +  </ItemDefinitionGroup>
  18.244 +  <ItemGroup>
  18.245 +    <ClCompile Include="..\IMG.c">
  18.246 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.247 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.248 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.249 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.250 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.251 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.252 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.253 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.254 +    </ClCompile>
  18.255 +    <ClCompile Include="..\IMG_bmp.c">
  18.256 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.257 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.258 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.259 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.260 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.261 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.262 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.263 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.264 +    </ClCompile>
  18.265 +    <ClCompile Include="..\IMG_gif.c">
  18.266 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.267 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.268 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.269 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.270 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.271 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.272 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.273 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.274 +    </ClCompile>
  18.275 +    <ClCompile Include="..\IMG_jpg.c">
  18.276 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.277 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.278 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.279 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.280 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.281 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.282 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.283 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.284 +    </ClCompile>
  18.285 +    <ClCompile Include="..\IMG_lbm.c">
  18.286 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.287 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.288 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.289 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.290 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.291 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.292 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.293 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.294 +    </ClCompile>
  18.295 +    <ClCompile Include="..\IMG_pcx.c">
  18.296 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.297 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.298 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.299 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.300 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.301 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.302 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.303 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.304 +    </ClCompile>
  18.305 +    <ClCompile Include="..\IMG_png.c">
  18.306 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.307 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.308 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.309 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.310 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.311 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.312 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.313 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.314 +    </ClCompile>
  18.315 +    <ClCompile Include="..\IMG_pnm.c">
  18.316 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.317 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.318 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.319 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.320 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.321 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.322 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.323 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.324 +    </ClCompile>
  18.325 +    <ClCompile Include="..\IMG_tga.c">
  18.326 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.327 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.328 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.329 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.330 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.331 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.332 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.333 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.334 +    </ClCompile>
  18.335 +    <ClCompile Include="..\IMG_tif.c">
  18.336 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.337 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.338 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.339 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.340 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.341 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.342 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.343 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.344 +    </ClCompile>
  18.345 +    <ClCompile Include="..\IMG_webp.c" />
  18.346 +    <ClCompile Include="..\IMG_xcf.c">
  18.347 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.348 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.349 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.350 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.351 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.352 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.353 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.354 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.355 +    </ClCompile>
  18.356 +    <ClCompile Include="..\IMG_xpm.c">
  18.357 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.358 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.359 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.360 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.361 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.362 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.363 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.364 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.365 +    </ClCompile>
  18.366 +    <ClCompile Include="..\IMG_xv.c">
  18.367 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.368 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.369 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.370 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.371 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.372 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.373 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.374 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.375 +    </ClCompile>
  18.376 +    <ClCompile Include="..\IMG_xxx.c">
  18.377 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.378 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.379 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.380 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.381 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.382 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.383 +      <AdditionalIncludeDirectories Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  18.384 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.385 +    </ClCompile>
  18.386 +  </ItemGroup>
  18.387 +  <ItemGroup>
  18.388 +    <ResourceCompile Include="Version.rc">
  18.389 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.390 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.391 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.392 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  18.393 +    </ResourceCompile>
  18.394 +  </ItemGroup>
  18.395 +  <ItemGroup>
  18.396 +    <ClInclude Include="..\SDL_image.h" />
  18.397 +  </ItemGroup>
  18.398 +  <ItemGroup>
  18.399 +    <Library Include="..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.lib" />
  18.400 +    <Library Include="..\..\SDL\VisualC\SDLmain\$(Platform)\$(Configuration)\SDLmain.lib" />
  18.401 +  </ItemGroup>
  18.402 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  18.403 +  <ImportGroup Label="ExtensionTargets">
  18.404 +  </ImportGroup>
  18.405 +</Project>
  18.406 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/VisualC/showimage/showimage_VS2010.vcxproj	Sun Feb 03 08:37:28 2013 -0800
    19.3 @@ -0,0 +1,285 @@
    19.4 +<?xml version="1.0" encoding="utf-8"?>
    19.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    19.6 +  <ItemGroup Label="ProjectConfigurations">
    19.7 +    <ProjectConfiguration Include="Debug|Win32">
    19.8 +      <Configuration>Debug</Configuration>
    19.9 +      <Platform>Win32</Platform>
   19.10 +    </ProjectConfiguration>
   19.11 +    <ProjectConfiguration Include="Debug|x64">
   19.12 +      <Configuration>Debug</Configuration>
   19.13 +      <Platform>x64</Platform>
   19.14 +    </ProjectConfiguration>
   19.15 +    <ProjectConfiguration Include="Release|Win32">
   19.16 +      <Configuration>Release</Configuration>
   19.17 +      <Platform>Win32</Platform>
   19.18 +    </ProjectConfiguration>
   19.19 +    <ProjectConfiguration Include="Release|x64">
   19.20 +      <Configuration>Release</Configuration>
   19.21 +      <Platform>x64</Platform>
   19.22 +    </ProjectConfiguration>
   19.23 +  </ItemGroup>
   19.24 +  <PropertyGroup Label="Globals">
   19.25 +    <ProjectName>showimage</ProjectName>
   19.26 +    <ProjectGuid>{FEE80C5D-762E-4E57-9BCB-928749E8203F}</ProjectGuid>
   19.27 +  </PropertyGroup>
   19.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   19.29 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   19.30 +    <ConfigurationType>Application</ConfigurationType>
   19.31 +    <UseOfMfc>false</UseOfMfc>
   19.32 +  </PropertyGroup>
   19.33 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   19.34 +    <ConfigurationType>Application</ConfigurationType>
   19.35 +    <UseOfMfc>false</UseOfMfc>
   19.36 +  </PropertyGroup>
   19.37 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
   19.38 +    <ConfigurationType>Application</ConfigurationType>
   19.39 +    <UseOfMfc>false</UseOfMfc>
   19.40 +  </PropertyGroup>
   19.41 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
   19.42 +    <ConfigurationType>Application</ConfigurationType>
   19.43 +    <UseOfMfc>false</UseOfMfc>
   19.44 +  </PropertyGroup>
   19.45 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   19.46 +  <ImportGroup Label="ExtensionSettings">
   19.47 +  </ImportGroup>
   19.48 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   19.49 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.50 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   19.51 +  </ImportGroup>
   19.52 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   19.53 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.54 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   19.55 +  </ImportGroup>
   19.56 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
   19.57 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.58 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   19.59 +  </ImportGroup>
   19.60 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
   19.61 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   19.62 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   19.63 +  </ImportGroup>
   19.64 +  <PropertyGroup Label="UserMacros" />
   19.65 +  <PropertyGroup>
   19.66 +    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
   19.67 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   19.68 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   19.69 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   19.70 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   19.71 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   19.72 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
   19.73 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   19.74 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   19.75 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   19.76 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
   19.77 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
   19.78 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   19.79 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   19.80 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   19.81 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   19.82 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   19.83 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   19.84 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   19.85 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   19.86 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   19.87 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   19.88 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   19.89 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   19.90 +  </PropertyGroup>
   19.91 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   19.92 +    <Midl>
   19.93 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   19.94 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   19.95 +      <SuppressStartupBanner>true</SuppressStartupBanner>
   19.96 +      <TargetEnvironment>Win32</TargetEnvironment>
   19.97 +      <TypeLibraryName>.\Debug/showimage.tlb</TypeLibraryName>
   19.98 +      <HeaderFileName>
   19.99 +      </HeaderFileName>
  19.100 +    </Midl>
  19.101 +    <ClCompile>
  19.102 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  19.103 +      <Optimization>Disabled</Optimization>
  19.104 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.105 +      <MinimalRebuild>true</MinimalRebuild>
  19.106 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  19.107 +      <PrecompiledHeaderOutputFile>.\Debug/showimage.pch</PrecompiledHeaderOutputFile>
  19.108 +      <WarningLevel>Level3</WarningLevel>
  19.109 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.110 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  19.111 +      <CompileAs>Default</CompileAs>
  19.112 +    </ClCompile>
  19.113 +    <ResourceCompile>
  19.114 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.115 +      <Culture>0x0409</Culture>
  19.116 +    </ResourceCompile>
  19.117 +    <Link>
  19.118 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  19.119 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  19.120 +      <ProgramDatabaseFile>.\Debug/showimage.pdb</ProgramDatabaseFile>
  19.121 +      <SubSystem>Windows</SubSystem>
  19.122 +      <TargetMachine>MachineX86</TargetMachine>
  19.123 +    </Link>
  19.124 +    <Bscmake>
  19.125 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.126 +      <OutputFile>.\Debug/showimage.bsc</OutputFile>
  19.127 +    </Bscmake>
  19.128 +    <PostBuildEvent>
  19.129 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  19.130 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  19.131 +</Command>
  19.132 +      <Message>Copy SDL and data files</Message>
  19.133 +    </PostBuildEvent>
  19.134 +  </ItemDefinitionGroup>
  19.135 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  19.136 +    <Midl>
  19.137 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.138 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  19.139 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.140 +      <TargetEnvironment>X64</TargetEnvironment>
  19.141 +      <TypeLibraryName>.\Debug/showimage.tlb</TypeLibraryName>
  19.142 +      <HeaderFileName>
  19.143 +      </HeaderFileName>
  19.144 +    </Midl>
  19.145 +    <ClCompile>
  19.146 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  19.147 +      <Optimization>Disabled</Optimization>
  19.148 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.149 +      <MinimalRebuild>true</MinimalRebuild>
  19.150 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  19.151 +      <PrecompiledHeaderOutputFile>.\Debug/showimage.pch</PrecompiledHeaderOutputFile>
  19.152 +      <WarningLevel>Level3</WarningLevel>
  19.153 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.154 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  19.155 +      <CompileAs>Default</CompileAs>
  19.156 +    </ClCompile>
  19.157 +    <ResourceCompile>
  19.158 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.159 +      <Culture>0x0409</Culture>
  19.160 +    </ResourceCompile>
  19.161 +    <Link>
  19.162 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  19.163 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  19.164 +      <ProgramDatabaseFile>.\Debug/showimage.pdb</ProgramDatabaseFile>
  19.165 +      <SubSystem>Windows</SubSystem>
  19.166 +      <TargetMachine>MachineX64</TargetMachine>
  19.167 +    </Link>
  19.168 +    <Bscmake>
  19.169 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.170 +      <OutputFile>.\Debug/showimage.bsc</OutputFile>
  19.171 +    </Bscmake>
  19.172 +    <PostBuildEvent>
  19.173 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  19.174 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  19.175 +</Command>
  19.176 +      <Message>Copy SDL and data files</Message>
  19.177 +    </PostBuildEvent>
  19.178 +  </ItemDefinitionGroup>
  19.179 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  19.180 +    <Midl>
  19.181 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.182 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  19.183 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.184 +      <TargetEnvironment>Win32</TargetEnvironment>
  19.185 +      <TypeLibraryName>.\Release/showimage.tlb</TypeLibraryName>
  19.186 +      <HeaderFileName>
  19.187 +      </HeaderFileName>
  19.188 +    </Midl>
  19.189 +    <ClCompile>
  19.190 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  19.191 +      <Optimization>MaxSpeed</Optimization>
  19.192 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  19.193 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.194 +      <StringPooling>true</StringPooling>
  19.195 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  19.196 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  19.197 +      <PrecompiledHeaderOutputFile>.\Release/showimage.pch</PrecompiledHeaderOutputFile>
  19.198 +      <WarningLevel>Level3</WarningLevel>
  19.199 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.200 +      <CompileAs>Default</CompileAs>
  19.201 +    </ClCompile>
  19.202 +    <ResourceCompile>
  19.203 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.204 +      <Culture>0x0409</Culture>
  19.205 +    </ResourceCompile>
  19.206 +    <Link>
  19.207 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  19.208 +      <ProgramDatabaseFile>.\Release/showimage.pdb</ProgramDatabaseFile>
  19.209 +      <SubSystem>Windows</SubSystem>
  19.210 +      <TargetMachine>MachineX86</TargetMachine>
  19.211 +    </Link>
  19.212 +    <Bscmake>
  19.213 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.214 +      <OutputFile>.\Release/showimage.bsc</OutputFile>
  19.215 +    </Bscmake>
  19.216 +    <PostBuildEvent>
  19.217 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  19.218 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  19.219 +</Command>
  19.220 +      <Message>Copy SDL and data files</Message>
  19.221 +    </PostBuildEvent>
  19.222 +  </ItemDefinitionGroup>
  19.223 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  19.224 +    <Midl>
  19.225 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.226 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  19.227 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.228 +      <TargetEnvironment>X64</TargetEnvironment>
  19.229 +      <TypeLibraryName>.\Release/showimage.tlb</TypeLibraryName>
  19.230 +      <HeaderFileName>
  19.231 +      </HeaderFileName>
  19.232 +    </Midl>
  19.233 +    <ClCompile>
  19.234 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  19.235 +      <Optimization>MaxSpeed</Optimization>
  19.236 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  19.237 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.238 +      <StringPooling>true</StringPooling>
  19.239 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  19.240 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  19.241 +      <PrecompiledHeaderOutputFile>.\Release/showimage.pch</PrecompiledHeaderOutputFile>
  19.242 +      <WarningLevel>Level3</WarningLevel>
  19.243 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.244 +      <CompileAs>Default</CompileAs>
  19.245 +    </ClCompile>
  19.246 +    <ResourceCompile>
  19.247 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.248 +      <Culture>0x0409</Culture>
  19.249 +    </ResourceCompile>
  19.250 +    <Link>
  19.251 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  19.252 +      <ProgramDatabaseFile>.\Release/showimage.pdb</ProgramDatabaseFile>
  19.253 +      <SubSystem>Windows</SubSystem>
  19.254 +      <TargetMachine>MachineX64</TargetMachine>
  19.255 +    </Link>
  19.256 +    <Bscmake>
  19.257 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  19.258 +      <OutputFile>.\Release/showimage.bsc</OutputFile>
  19.259 +    </Bscmake>
  19.260 +    <PostBuildEvent>
  19.261 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  19.262 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  19.263 +</Command>
  19.264 +      <Message>Copy SDL and data files</Message>
  19.265 +    </PostBuildEvent>
  19.266 +  </ItemDefinitionGroup>
  19.267 +  <ItemGroup>
  19.268 +    <ClCompile Include="..\..\showimage.c">
  19.269 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.270 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.271 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.272 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  19.273 +    </ClCompile>
  19.274 +  </ItemGroup>
  19.275 +  <ItemGroup>
  19.276 +    <ProjectReference Include="..\SDL_image_VS2010.vcxproj">
  19.277 +      <Project>{2bd5534e-00e2-4bea-ac96-d9a92ea24696}</Project>
  19.278 +      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  19.279 +    </ProjectReference>
  19.280 +  </ItemGroup>
  19.281 +  <ItemGroup>
  19.282 +    <Library Include="..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.lib" />
  19.283 +    <Library Include="..\..\..\SDL\VisualC\SDLmain\$(Platform)\$(Configuration)\SDLmain.lib" />
  19.284 +  </ItemGroup>
  19.285 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  19.286 +  <ImportGroup Label="ExtensionTargets">
  19.287 +  </ImportGroup>
  19.288 +</Project>
  19.289 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/VisualC/showimage/showimage_VS2012.vcxproj	Sun Feb 03 08:37:28 2013 -0800
    20.3 @@ -0,0 +1,289 @@
    20.4 +<?xml version="1.0" encoding="utf-8"?>
    20.5 +<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    20.6 +  <ItemGroup Label="ProjectConfigurations">
    20.7 +    <ProjectConfiguration Include="Debug|Win32">
    20.8 +      <Configuration>Debug</Configuration>
    20.9 +      <Platform>Win32</Platform>
   20.10 +    </ProjectConfiguration>
   20.11 +    <ProjectConfiguration Include="Debug|x64">
   20.12 +      <Configuration>Debug</Configuration>
   20.13 +      <Platform>x64</Platform>
   20.14 +    </ProjectConfiguration>
   20.15 +    <ProjectConfiguration Include="Release|Win32">
   20.16 +      <Configuration>Release</Configuration>
   20.17 +      <Platform>Win32</Platform>
   20.18 +    </ProjectConfiguration>
   20.19 +    <ProjectConfiguration Include="Release|x64">
   20.20 +      <Configuration>Release</Configuration>
   20.21 +      <Platform>x64</Platform>
   20.22 +    </ProjectConfiguration>
   20.23 +  </ItemGroup>
   20.24 +  <PropertyGroup Label="Globals">
   20.25 +    <ProjectName>showimage</ProjectName>
   20.26 +    <ProjectGuid>{FEE80C5D-762E-4E57-9BCB-928749E8203F}</ProjectGuid>
   20.27 +  </PropertyGroup>
   20.28 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   20.29 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
   20.30 +    <ConfigurationType>Application</ConfigurationType>
   20.31 +    <UseOfMfc>false</UseOfMfc>
   20.32 +    <PlatformToolset>v110</PlatformToolset>
   20.33 +  </PropertyGroup>
   20.34 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
   20.35 +    <ConfigurationType>Application</ConfigurationType>
   20.36 +    <UseOfMfc>false</UseOfMfc>
   20.37 +    <PlatformToolset>v110</PlatformToolset>
   20.38 +  </PropertyGroup>
   20.39 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
   20.40 +    <ConfigurationType>Application</ConfigurationType>
   20.41 +    <UseOfMfc>false</UseOfMfc>
   20.42 +    <PlatformToolset>v110</PlatformToolset>
   20.43 +  </PropertyGroup>
   20.44 +  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
   20.45 +    <ConfigurationType>Application</ConfigurationType>
   20.46 +    <UseOfMfc>false</UseOfMfc>
   20.47 +    <PlatformToolset>v110</PlatformToolset>
   20.48 +  </PropertyGroup>
   20.49 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
   20.50 +  <ImportGroup Label="ExtensionSettings">
   20.51 +  </ImportGroup>
   20.52 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
   20.53 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.54 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   20.55 +  </ImportGroup>
   20.56 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
   20.57 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.58 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   20.59 +  </ImportGroup>
   20.60 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
   20.61 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.62 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   20.63 +  </ImportGroup>
   20.64 +  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
   20.65 +    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
   20.66 +    <Import Project="$(VCTargetsPath)Microsoft.CPP.UpgradeFromVC60.props" />
   20.67 +  </ImportGroup>
   20.68 +  <PropertyGroup Label="UserMacros" />
   20.69 +  <PropertyGroup>
   20.70 +    <_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
   20.71 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</OutDir>
   20.72 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.\Debug\</IntDir>
   20.73 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
   20.74 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</OutDir>
   20.75 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
   20.76 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
   20.77 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</OutDir>
   20.78 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.\Release\</IntDir>
   20.79 +    <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
   20.80 +    <OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
   20.81 +    <IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
   20.82 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   20.83 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   20.84 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
   20.85 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   20.86 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   20.87 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
   20.88 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
   20.89 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   20.90 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
   20.91 +    <CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
   20.92 +    <CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   20.93 +    <CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
   20.94 +  </PropertyGroup>
   20.95 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
   20.96 +    <Midl>
   20.97 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
   20.98 +      <MkTypLibCompatible>true</MkTypLibCompatible>
   20.99 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.100 +      <TargetEnvironment>Win32</TargetEnvironment>
  20.101 +      <TypeLibraryName>.\Debug/showimage.tlb</TypeLibraryName>
  20.102 +      <HeaderFileName>
  20.103 +      </HeaderFileName>
  20.104 +    </Midl>
  20.105 +    <ClCompile>
  20.106 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  20.107 +      <Optimization>Disabled</Optimization>
  20.108 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.109 +      <MinimalRebuild>true</MinimalRebuild>
  20.110 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  20.111 +      <PrecompiledHeaderOutputFile>.\Debug/showimage.pch</PrecompiledHeaderOutputFile>
  20.112 +      <WarningLevel>Level3</WarningLevel>
  20.113 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.114 +      <DebugInformationFormat>EditAndContinue</DebugInformationFormat>
  20.115 +      <CompileAs>Default</CompileAs>
  20.116 +    </ClCompile>
  20.117 +    <ResourceCompile>
  20.118 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.119 +      <Culture>0x0409</Culture>
  20.120 +    </ResourceCompile>
  20.121 +    <Link>
  20.122 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  20.123 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  20.124 +      <ProgramDatabaseFile>.\Debug/showimage.pdb</ProgramDatabaseFile>
  20.125 +      <SubSystem>Windows</SubSystem>
  20.126 +      <TargetMachine>MachineX86</TargetMachine>
  20.127 +    </Link>
  20.128 +    <Bscmake>
  20.129 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.130 +      <OutputFile>.\Debug/showimage.bsc</OutputFile>
  20.131 +    </Bscmake>
  20.132 +    <PostBuildEvent>
  20.133 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  20.134 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  20.135 +</Command>
  20.136 +      <Message>Copy SDL and data files</Message>
  20.137 +    </PostBuildEvent>
  20.138 +  </ItemDefinitionGroup>
  20.139 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  20.140 +    <Midl>
  20.141 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.142 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  20.143 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.144 +      <TargetEnvironment>X64</TargetEnvironment>
  20.145 +      <TypeLibraryName>.\Debug/showimage.tlb</TypeLibraryName>
  20.146 +      <HeaderFileName>
  20.147 +      </HeaderFileName>
  20.148 +    </Midl>
  20.149 +    <ClCompile>
  20.150 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  20.151 +      <Optimization>Disabled</Optimization>
  20.152 +      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.153 +      <MinimalRebuild>true</MinimalRebuild>
  20.154 +      <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  20.155 +      <PrecompiledHeaderOutputFile>.\Debug/showimage.pch</PrecompiledHeaderOutputFile>
  20.156 +      <WarningLevel>Level3</WarningLevel>
  20.157 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.158 +      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  20.159 +      <CompileAs>Default</CompileAs>
  20.160 +    </ClCompile>
  20.161 +    <ResourceCompile>
  20.162 +      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.163 +      <Culture>0x0409</Culture>
  20.164 +    </ResourceCompile>
  20.165 +    <Link>
  20.166 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  20.167 +      <GenerateDebugInformation>true</GenerateDebugInformation>
  20.168 +      <ProgramDatabaseFile>.\Debug/showimage.pdb</ProgramDatabaseFile>
  20.169 +      <SubSystem>Windows</SubSystem>
  20.170 +      <TargetMachine>MachineX64</TargetMachine>
  20.171 +    </Link>
  20.172 +    <Bscmake>
  20.173 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.174 +      <OutputFile>.\Debug/showimage.bsc</OutputFile>
  20.175 +    </Bscmake>
  20.176 +    <PostBuildEvent>
  20.177 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  20.178 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  20.179 +</Command>
  20.180 +      <Message>Copy SDL and data files</Message>
  20.181 +    </PostBuildEvent>
  20.182 +  </ItemDefinitionGroup>
  20.183 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  20.184 +    <Midl>
  20.185 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.186 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  20.187 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.188 +      <TargetEnvironment>Win32</TargetEnvironment>
  20.189 +      <TypeLibraryName>.\Release/showimage.tlb</TypeLibraryName>
  20.190 +      <HeaderFileName>
  20.191 +      </HeaderFileName>
  20.192 +    </Midl>
  20.193 +    <ClCompile>
  20.194 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  20.195 +      <Optimization>MaxSpeed</Optimization>
  20.196 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  20.197 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.198 +      <StringPooling>true</StringPooling>
  20.199 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  20.200 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  20.201 +      <PrecompiledHeaderOutputFile>.\Release/showimage.pch</PrecompiledHeaderOutputFile>
  20.202 +      <WarningLevel>Level3</WarningLevel>
  20.203 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.204 +      <CompileAs>Default</CompileAs>
  20.205 +    </ClCompile>
  20.206 +    <ResourceCompile>
  20.207 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.208 +      <Culture>0x0409</Culture>
  20.209 +    </ResourceCompile>
  20.210 +    <Link>
  20.211 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  20.212 +      <ProgramDatabaseFile>.\Release/showimage.pdb</ProgramDatabaseFile>
  20.213 +      <SubSystem>Windows</SubSystem>
  20.214 +      <TargetMachine>MachineX86</TargetMachine>
  20.215 +    </Link>
  20.216 +    <Bscmake>
  20.217 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.218 +      <OutputFile>.\Release/showimage.bsc</OutputFile>
  20.219 +    </Bscmake>
  20.220 +    <PostBuildEvent>
  20.221 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  20.222 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  20.223 +</Command>
  20.224 +      <Message>Copy SDL and data files</Message>
  20.225 +    </PostBuildEvent>
  20.226 +  </ItemDefinitionGroup>
  20.227 +  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  20.228 +    <Midl>
  20.229 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.230 +      <MkTypLibCompatible>true</MkTypLibCompatible>
  20.231 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.232 +      <TargetEnvironment>X64</TargetEnvironment>
  20.233 +      <TypeLibraryName>.\Release/showimage.tlb</TypeLibraryName>
  20.234 +      <HeaderFileName>
  20.235 +      </HeaderFileName>
  20.236 +    </Midl>
  20.237 +    <ClCompile>
  20.238 +      <AdditionalIncludeDirectories>..\..\..\SDL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  20.239 +      <Optimization>MaxSpeed</Optimization>
  20.240 +      <InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
  20.241 +      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.242 +      <StringPooling>true</StringPooling>
  20.243 +      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  20.244 +      <FunctionLevelLinking>true</FunctionLevelLinking>
  20.245 +      <PrecompiledHeaderOutputFile>.\Release/showimage.pch</PrecompiledHeaderOutputFile>
  20.246 +      <WarningLevel>Level3</WarningLevel>
  20.247 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.248 +      <CompileAs>Default</CompileAs>
  20.249 +    </ClCompile>
  20.250 +    <ResourceCompile>
  20.251 +      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.252 +      <Culture>0x0409</Culture>
  20.253 +    </ResourceCompile>
  20.254 +    <Link>
  20.255 +      <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
  20.256 +      <ProgramDatabaseFile>.\Release/showimage.pdb</ProgramDatabaseFile>
  20.257 +      <SubSystem>Windows</SubSystem>
  20.258 +      <TargetMachine>MachineX64</TargetMachine>
  20.259 +    </Link>
  20.260 +    <Bscmake>
  20.261 +      <SuppressStartupBanner>true</SuppressStartupBanner>
  20.262 +      <OutputFile>.\Release/showimage.bsc</OutputFile>
  20.263 +    </Bscmake>
  20.264 +    <PostBuildEvent>
  20.265 +      <Command>copy /Y "..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.dll" "$(TargetDir)\SDL.dll"
  20.266 +copy /Y "..\$(Configuration)\SDL2_image.dll" "$(TargetDir)\SDL2_image.dll"
  20.267 +</Command>
  20.268 +      <Message>Copy SDL and data files</Message>
  20.269 +    </PostBuildEvent>
  20.270 +  </ItemDefinitionGroup>
  20.271 +  <ItemGroup>
  20.272 +    <ClCompile Include="..\..\showimage.c">
  20.273 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.274 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.275 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.276 +      <PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(PreprocessorDefinitions)</PreprocessorDefinitions>
  20.277 +    </ClCompile>
  20.278 +  </ItemGroup>
  20.279 +  <ItemGroup>
  20.280 +    <ProjectReference Include="..\SDL_image_VS2010.vcxproj">
  20.281 +      <Project>{2bd5534e-00e2-4bea-ac96-d9a92ea24696}</Project>
  20.282 +      <ReferenceOutputAssembly>false</ReferenceOutputAssembly>
  20.283 +    </ProjectReference>
  20.284 +  </ItemGroup>
  20.285 +  <ItemGroup>
  20.286 +    <Library Include="..\..\..\SDL\VisualC\SDL\$(Platform)\$(Configuration)\SDL.lib" />
  20.287 +    <Library Include="..\..\..\SDL\VisualC\SDLmain\$(Platform)\$(Configuration)\SDLmain.lib" />
  20.288 +  </ItemGroup>
  20.289 +  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  20.290 +  <ImportGroup Label="ExtensionTargets">
  20.291 +  </ImportGroup>
  20.292 +</Project>
  20.293 \ No newline at end of file