IMG_xxx.c
changeset 0 76be7dab668c
child 53 96b084473b47
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/IMG_xxx.c	Thu Aug 10 06:05:39 2000 +0000
     1.3 @@ -0,0 +1,63 @@
     1.4 +/*
     1.5 +    IMGLIB:  An example image loading library for use with SDL
     1.6 +    Copyright (C) 1999  Sam Lantinga
     1.7 +
     1.8 +    This library is free software; you can redistribute it and/or
     1.9 +    modify it under the terms of the GNU Library General Public
    1.10 +    License as published by the Free Software Foundation; either
    1.11 +    version 2 of the License, or (at your option) any later version.
    1.12 +
    1.13 +    This library is distributed in the hope that it will be useful,
    1.14 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.16 +    Library General Public License for more details.
    1.17 +
    1.18 +    You should have received a copy of the GNU Library General Public
    1.19 +    License along with this library; if not, write to the Free
    1.20 +    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    1.21 +
    1.22 +    Sam Lantinga
    1.23 +    5635-34 Springhouse Dr.
    1.24 +    Pleasanton, CA 94588 (USA)
    1.25 +    slouken@devolution.com
    1.26 +*/
    1.27 +
    1.28 +/* This is a generic "format not supported" image framework */
    1.29 +
    1.30 +#include <stdio.h>
    1.31 +
    1.32 +#include "SDL_image.h"
    1.33 +
    1.34 +#ifdef LOAD_XXX
    1.35 +
    1.36 +/* See if an image is contained in a data source */
    1.37 +int IMG_isXXX(SDL_RWops *src)
    1.38 +{
    1.39 +	int is_XXX;
    1.40 +
    1.41 +	is_XXX = 0;
    1.42 +
    1.43 +	return(is_XXX);
    1.44 +}
    1.45 +
    1.46 +/* Load a XXX type image from an SDL datasource */
    1.47 +SDL_Surface *IMG_LoadXXX_RW(SDL_RWops *src)
    1.48 +{
    1.49 +	return(NULL);
    1.50 +}
    1.51 +
    1.52 +#else
    1.53 +
    1.54 +/* See if an image is contained in a data source */
    1.55 +int IMG_isXXX(SDL_RWops *src)
    1.56 +{
    1.57 +	return(0);
    1.58 +}
    1.59 +
    1.60 +/* Load a XXX type image from an SDL datasource */
    1.61 +SDL_Surface *IMG_LoadXXX_RW(SDL_RWops *src)
    1.62 +{
    1.63 +	return(NULL);
    1.64 +}
    1.65 +
    1.66 +#endif /* LOAD_XXX */