projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added support for setting alpha value for global animations
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.h
diff --git
a/src/libgame/sdl.h
b/src/libgame/sdl.h
index f279ebc4121309254fe5149827b1434671c141f6..31de93da084907c5cb7871d98d74433822ee35bf 100644
(file)
--- a/
src/libgame/sdl.h
+++ b/
src/libgame/sdl.h
@@
-75,6
+75,10
@@
struct SDLSurfaceInfo
char *source_filename;
int width, height;
+
+ int alpha[2][2]; // [surface|texture][opaque|masked]
+ int alpha_next_blit;
+
SDL_Surface *surface;
SDL_Surface *surface_masked;
SDL_Texture *texture;