X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.h;h=ab3fd55cea32dc09e1f781f212e84b6080e53280;hp=bc80f440b3ec191dd6f911caf1d1e01674fedd27;hb=14801844faf14be284c590b66f030c6bf7cea5c2;hpb=79ee4446132fd0081c8d78c51c72d8620b5e1e2b diff --git a/src/tape.h b/src/tape.h index bc80f440..ab3fd55c 100644 --- a/src/tape.h +++ b/src/tape.h @@ -21,6 +21,12 @@ /* values for tape properties */ #define MAX_TAPE_LEN (1000 * FRAMES_PER_SECOND) /* max.time x fps */ +/* values for tape mouse actions */ +#define TAPE_ACTION_LX 0 +#define TAPE_ACTION_LY 1 +#define TAPE_ACTION_BUTTON 2 +#define TAPE_ACTION_UNUSED 3 + /* some positions in the video tape control window */ #define VIDEO_DISPLAY1_XPOS 5 #define VIDEO_DISPLAY1_YPOS 5 @@ -182,6 +188,8 @@ struct TapeInfo int centered_player_nr_next; boolean set_centered_player; + boolean use_mouse; + struct { byte action[MAX_PLAYERS]; @@ -211,6 +219,7 @@ void TapeSetDateFromNow(); void TapeStartRecording(int); void TapeHaltRecording(void); void TapeStopRecording(void); +boolean TapeAddAction(byte *); void TapeRecordAction(byte *); void TapeTogglePause(boolean); void TapeStartPlaying(void);