rnd-20100207-2-src
[rocksndiamonds.git] / src / game_sp / main_sp.h
index 7e0480e2c9f6fea89103b15e52fbfa4329e8571f..8aa3f7fc705ffa018db01a24c2e4f81b894bdb66 100644 (file)
@@ -6,6 +6,7 @@
 /* ========================================================================= */
 
 #include "../engines.h"
+#include "../conf_gfx.h"
 
 
 /* ========================================================================= */
 #define SXSIZE                 (SCR_FIELDX * TILEX)
 #define SYSIZE                 (SCR_FIELDY * TILEY)
 
+#define REAL_SX                        (SX - 2)
+#define REAL_SY                        (SY - 2)
+#define FULL_SXSIZE            (2 + SXSIZE + 2)
+#define FULL_SYSIZE            (2 + SYSIZE + 2)
+
 
 /* ------------------------------------------------------------------------- */
 /* data structure definitions                                                */
@@ -64,6 +70,8 @@ extern Bitmap *screenBitmap;
 
 extern Bitmap *sp_objects;
 
+extern int GfxFrame[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
+
 
 /* ------------------------------------------------------------------------- */
 /* exported functions                                                        */