X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.h;h=eb0231b15b61a0becea078a19e34661e20e6e702;hb=6460301d715f72f7247b3070a5d98c0b56cfdb67;hp=c20fab418805ac8bdf5251b18f230640b05f39fc;hpb=216bac7a443561781916af1b643d14a15007db42;p=rocksndiamonds.git diff --git a/src/tape.h b/src/tape.h index c20fab41..eb0231b1 100644 --- a/src/tape.h +++ b/src/tape.h @@ -29,6 +29,13 @@ #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 @@ -192,7 +199,7 @@ struct TapeInfo int centered_player_nr_next; boolean set_centered_player; - boolean use_mouse; + int event_mask; // game action events stored in tape actions struct {