added creating engine snapshots when using mouse click events
[rocksndiamonds.git] / src / game_sp / main_sp.h
index f34baa6999ff2bbede8bc32a863a7a85b21c02b9..58693d8db95bbbb00f0a259b1d66605806fa9163 100644 (file)
@@ -1,31 +1,31 @@
 #ifndef MAIN_SP_H
 #define MAIN_SP_H
 
-/* ========================================================================= */
-/* external functions and definitions imported from main program to game_sp  */
-/* ========================================================================= */
+// ============================================================================
+// external functions and definitions imported from main program to game_sp
+// ============================================================================
 
 #include "../engines.h"
 #include "../conf_gfx.h"
 
 
-/* ========================================================================= */
-/* functions and definitions that are exported from game_sp to main program  */
-/* ========================================================================= */
+// ============================================================================
+// functions and definitions that are exported from game_sp to main program
+// ============================================================================
 
 #include "export.h"
 
 
-/* ========================================================================= */
-/* internal functions and definitions that are not exported to main program  */
-/* ========================================================================= */
+// ============================================================================
+// internal functions and definitions that are not exported to main program
+// ============================================================================
 
 
-/* ------------------------------------------------------------------------- */
-/* constant definitions                                                      */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// constant definitions
+// ----------------------------------------------------------------------------
 
-/* screen sizes and positions for SP engine */
+// screen sizes and positions for SP engine
 
 extern int                     TILESIZE_VAR;
 
@@ -40,7 +40,7 @@ extern int                    SCR_FIELDX, SCR_FIELDY;
 #define MAX_BUF_XSIZE          (2 + SCR_FIELDX + 2)
 #define MAX_BUF_YSIZE          (2 + SCR_FIELDY + 2)
 
-/* often used screen positions */
+// often used screen positions
 
 extern int                     SX, SY;
 
@@ -55,13 +55,13 @@ extern int                  REAL_SX, REAL_SY;
 #define FULL_SYSIZE            (2 + SYSIZE + 2)
 
 
-/* ------------------------------------------------------------------------- */
-/* data structure definitions                                                */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// data structure definitions
+// ----------------------------------------------------------------------------
 
-/* ------------------------------------------------------------------------- */
-/* exported variables                                                        */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// exported variables
+// ----------------------------------------------------------------------------
 
 extern struct LevelInfo_SP native_sp_level;
 
@@ -70,11 +70,11 @@ extern Bitmap *bitmap_db_field_sp;
 extern int GfxElementLast[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
 extern int GfxGraphicLast[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
 extern int GfxGraphic[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
-extern int GfxFrame[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
+extern int GfxFrameSP[SP_MAX_PLAYFIELD_WIDTH][SP_MAX_PLAYFIELD_HEIGHT];
 
 
-/* ------------------------------------------------------------------------- */
-/* exported functions                                                        */
-/* ------------------------------------------------------------------------- */
+// ----------------------------------------------------------------------------
+// exported functions
+// ----------------------------------------------------------------------------
 
-#endif /* MAIN_SP_H */
+#endif // MAIN_SP_H