rnd-20030327-1-src
[rocksndiamonds.git] / src / tape.h
index a3743d38115ec350ea2ab83c280c94778a9c64a0..f32ad694c634c359ff1b0471a4969129b121b6a7 100644 (file)
@@ -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                            *
 #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);
@@ -95,11 +97,13 @@ 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();