rocksndiamonds-3.3.0.0
[rocksndiamonds.git] / src / game_sp / export.h
index 9e374dc52e752118fc3068b545105bea0ff75524..fe5995fdaf9bff12b5c5ad1dcc7ce1f9e9fa9ae3 100644 (file)
 #define SP_MAX_TAPE_LEN                        64010   /* (see "spfix63.doc") */
 
 
+/* sound actions */
+
+#define actActive                      0
+#define actImpact                      1
+#define actExploding                   2
+#define actDigging                     3
+#define actSnapping                    4
+#define actCollecting                  5
+#define actPassing                     6
+#define actPushing                     7
+#define actDropping                    8
+
+
 /* ------------------------------------------------------------------------- */
 /* data structure definitions                                                */
 /* ------------------------------------------------------------------------- */
@@ -98,6 +111,8 @@ struct GameInfo_SP
 
   /* needed for engine snapshots */
   int preceding_buffer_size;
+
+  int scroll_xoffset, scroll_yoffset;
 };
 
 struct DemoInfo_SP
@@ -171,6 +186,8 @@ extern struct EngineSnapshotInfo_SP engine_snapshot_sp;
 extern void sp_open_all();
 extern void sp_close_all();
 
+extern void InitGfxBuffers_SP();
+
 extern void InitGameEngine_SP();
 extern void GameActions_SP(byte *, boolean);