Mercurial > sdl-ios-xcode
comparison test/testsprite2.c @ 4596:dc26c37ad70e
Got testsprite2 to work reasonably.
author | Sunny Sachanandani <sunnysachanandani@gmail.com> |
---|---|
date | Sun, 18 Jul 2010 08:28:35 +0530 |
parents | 64ce267332c6 |
children | 66e13a224bd6 |
comparison
equal
deleted
inserted
replaced
4595:73eeadf7ed8e | 4596:dc26c37ad70e |
---|---|
18 static int current_alpha = 0; | 18 static int current_alpha = 0; |
19 static int current_color = 0; | 19 static int current_color = 0; |
20 static SDL_Rect *positions; | 20 static SDL_Rect *positions; |
21 static SDL_Rect *velocities; | 21 static SDL_Rect *velocities; |
22 static int sprite_w, sprite_h; | 22 static int sprite_w, sprite_h; |
23 static SDL_BlendMode blendMode = SDL_BLENDMODE_MASK; | 23 static SDL_BlendMode blendMode = SDL_BLENDMODE_BLEND; |
24 static SDL_TextureScaleMode scaleMode = SDL_TEXTURESCALEMODE_NONE; | 24 static SDL_TextureScaleMode scaleMode = SDL_TEXTURESCALEMODE_NONE; |
25 | 25 |
26 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ | 26 /* Call this instead of exit(), so we can clean up SDL: atexit() is evil. */ |
27 static void | 27 static void |
28 quit(int rc) | 28 quit(int rc) |