IMG_xxx.c
changeset 117 e613cf987897
parent 98 9f94c4674cc9
child 118 c5e736a47ad2
equal deleted inserted replaced
116:df32aeaf0b10 117:e613cf987897
    31 #ifdef LOAD_XXX
    31 #ifdef LOAD_XXX
    32 
    32 
    33 /* See if an image is contained in a data source */
    33 /* See if an image is contained in a data source */
    34 int IMG_isXXX(SDL_RWops *src)
    34 int IMG_isXXX(SDL_RWops *src)
    35 {
    35 {
       
    36 	int start;
    36 	int is_XXX;
    37 	int is_XXX;
    37 
    38 
       
    39 	start = SDL_RWtell(src);
    38 	is_XXX = 0;
    40 	is_XXX = 0;
    39 
    41 	SDL_RWseek(src, start, SEEK_SET);
    40 	return(is_XXX);
    42 	return(is_XXX);
    41 }
    43 }
    42 
    44 
    43 /* Load a XXX type image from an SDL datasource */
    45 /* Load a XXX type image from an SDL datasource */
    44 SDL_Surface *IMG_LoadXXX_RW(SDL_RWops *src)
    46 SDL_Surface *IMG_LoadXXX_RW(SDL_RWops *src)