added support for setting alpha value for global animations
[rocksndiamonds.git] / src / libgame / sdl.h
index f279ebc4121309254fe5149827b1434671c141f6..31de93da084907c5cb7871d98d74433822ee35bf 100644 (file)
@@ -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;