X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.h;h=948227e53823088b232bdc6de22a5c4b20020065;hb=58546d540453ea1ddf4142a3911f9873acce1132;hp=4847931cc57c359c6aea6249ee8c204540ebb751;hpb=b641818c787e48bbf03ce2a0cd5b542c4c21e523;p=rocksndiamonds.git diff --git a/src/tape.h b/src/tape.h index 4847931c..948227e5 100644 --- a/src/tape.h +++ b/src/tape.h @@ -35,6 +35,10 @@ #define TAPE_ACTIONS_DEFAULT TAPE_USE_KEY_ACTIONS_ONLY +// values for tape properties stored in tape file +#define TAPE_PROPERTY_NONE 0 +#define TAPE_PROPERTY_EM_RANDOM_BUG (1 << 0) + // some positions in the video tape control window #define VIDEO_DISPLAY1_XPOS 5 #define VIDEO_DISPLAY1_YPOS 5 @@ -202,6 +206,9 @@ struct TapeInfo boolean use_key_actions; boolean use_mouse_actions; + // bits to indicate which tape properties are stored in this tape + byte property_bits; + struct { byte action[MAX_TAPE_ACTIONS]; @@ -249,6 +256,7 @@ boolean InsertSolutionTape(void); boolean PlaySolutionTape(void); void AutoPlayTape(void); +void PatchTapes(void); void CreateTapeButtons(void); void FreeTapeButtons(void);