comparison LoadSprite.c @ 7:972a7f233b23

g++ compile
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 07 Dec 2010 23:03:45 +0900
parents 01387a2e419e
children
comparison
equal deleted inserted replaced
6:6541f0bebb81 7:972a7f233b23
11 #include "xml.h" 11 #include "xml.h"
12 #include "tree_controll.h" 12 #include "tree_controll.h"
13 #include "LoadSprite.h" 13 #include "LoadSprite.h"
14 14
15 //#define bmp_file "./s-dandy.bmp" 15 //#define bmp_file "./s-dandy.bmp"
16
17 SDL_Surface *sprite;
16 18
17 SDL_Surface *LoadSprite(SURFACE *surfaces) 19 SDL_Surface *LoadSprite(SURFACE *surfaces)
18 { 20 {
19 SDL_Surface *image; 21 SDL_Surface *image;
20 SDL_Surface *temp; 22 SDL_Surface *temp;