#define TAPE_ACTION_BUTTON 2
#define TAPE_ACTION_UNUSED 3
+#define MAX_TAPE_ACTIONS 4
+
+// values for tape action events stored in tape file
+#define TAPE_EVENTS_KEYS_ONLY 0
+#define TAPE_EVENTS_MOUSE_ONLY 1
+#define TAPE_EVENTS_KEYS_AND_MOUSE 2
+
+#define TAPE_EVENTS_DEFAULT TAPE_EVENTS_KEYS_ONLY
+
// some positions in the video tape control window
#define VIDEO_DISPLAY1_XPOS 5
#define VIDEO_DISPLAY1_YPOS 5
int centered_player_nr_next;
boolean set_centered_player;
- boolean use_mouse;
+ int event_mask; // game action events stored in tape actions
struct
{
- byte action[MAX_PLAYERS];
+ byte action[MAX_TAPE_ACTIONS];
byte delay;
} pos[MAX_TAPE_LEN];