X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.h;h=f32ad694c634c359ff1b0471a4969129b121b6a7;hb=91afd13180ad610e2a6cbef32b85677cf8148864;hp=bbc03d8762421e988f87fcd7b3ffdf6247a5ea82;hpb=26d4e05cb040620bcdc1ca995d8a231a40be46ff;p=rocksndiamonds.git diff --git a/src/tape.h b/src/tape.h index bbc03d87..f32ad694 100644 --- a/src/tape.h +++ b/src/tape.h @@ -1,7 +1,7 @@ /*********************************************************** * Rocks'n'Diamonds -- McDuffin Strikes Back! * *----------------------------------------------------------* -* (c) 1995-2001 Artsoft Entertainment * +* (c) 1995-2002 Artsoft Entertainment * * Holger Schemel * * Detmolder Strasse 189 * * 33604 Bielefeld * @@ -16,6 +16,11 @@ #include "main.h" + +/* values for TapeTogglePause() */ +#define TAPE_TOGGLE_MANUAL TRUE +#define TAPE_TOGGLE_AUTOMATIC FALSE + /* some positions in the video tape control window */ #define VIDEO_DISPLAY1_XPOS 5 #define VIDEO_DISPLAY1_YPOS 5 @@ -71,9 +76,11 @@ #define VIDEO_STATE_PBEND (VIDEO_STATE_PBEND_OFF | VIDEO_STATE_PBEND_ON) /* tags to draw video display labels or symbols only */ +/* (negative values to prevent misinterpretation in DrawVideoDisplay(), where + the variable "value" is also used for tape length -- better fix this) */ #define VIDEO_DISPLAY_DEFAULT 0 -#define VIDEO_DISPLAY_LABEL_ONLY 1 -#define VIDEO_DISPLAY_SYMBOL_ONLY 2 +#define VIDEO_DISPLAY_LABEL_ONLY -1 +#define VIDEO_DISPLAY_SYMBOL_ONLY -2 void DrawVideoDisplay(unsigned long, unsigned long); @@ -83,18 +90,20 @@ void TapeStartRecording(void); void TapeHaltRecording(void); void TapeStopRecording(void); void TapeRecordAction(byte *); -void TapeTogglePause(void); +void TapeTogglePause(boolean); void TapeStartPlaying(void); void TapeStopPlaying(void); byte *TapePlayAction(void); void TapeStop(void); void TapeErase(void); unsigned int GetTapeLength(void); -void TapeIndexSearch(void); void TapeQuickSave(void); void TapeQuickLoad(void); +void AutoPlayTape(void); + void CreateTapeButtons(); +void FreeTapeButtons(); void MapTapeEjectButton(); void MapTapeIndexButton(); void MapTapeButtons();