prepared code to support more tape actions than players
[rocksndiamonds.git] / src / tape.h
index 40ddd0949e39dbd36f8ef830c834802b998983e1..c20fab418805ac8bdf5251b18f230640b05f39fc 100644 (file)
@@ -27,6 +27,8 @@
 #define TAPE_ACTION_BUTTON     2
 #define TAPE_ACTION_UNUSED     3
 
+#define MAX_TAPE_ACTIONS       4
+
 // some positions in the video tape control window
 #define VIDEO_DISPLAY1_XPOS    5
 #define VIDEO_DISPLAY1_YPOS    5
@@ -194,7 +196,7 @@ struct TapeInfo
 
   struct
   {
-    byte action[MAX_PLAYERS];
+    byte action[MAX_TAPE_ACTIONS];
     byte delay;
   } pos[MAX_TAPE_LEN];