projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030809-1-src
[rocksndiamonds.git]
/
src
/
tape.h
diff --git
a/src/tape.h
b/src/tape.h
index 1727ecf50faa4e6c46e1418bcebc5c4408ef3e48..f32ad694c634c359ff1b0471a4969129b121b6a7 100644
(file)
--- a/
src/tape.h
+++ b/
src/tape.h
@@
-1,14
+1,14
@@
/***********************************************************
/***********************************************************
-*
Rocks'n'Diamonds -- McDuffin Strikes Back!
*
+*
Rocks'n'Diamonds -- McDuffin Strikes Back!
*
*----------------------------------------------------------*
*----------------------------------------------------------*
-*
(c) 1995-98 Artsoft Entertainment
*
-*
Holger Schemel
*
-*
Oststrasse 11a
*
-*
33604 Bielefeld
*
-*
phone: ++49 +521 290471
*
-*
email: aeglos@valinor.owl.de
*
+*
(c) 1995-2002 Artsoft Entertainment
*
+*
Holger Schemel
*
+*
Detmolder Strasse 189
*
+*
33604 Bielefeld
*
+*
Germany
*
+*
e-mail: info@artsoft.org
*
*----------------------------------------------------------*
*----------------------------------------------------------*
-*
tape.c
*
+*
tape.h
*
***********************************************************/
#ifndef TAPE_H
***********************************************************/
#ifndef TAPE_H
@@
-16,7
+16,10
@@
#include "main.h"
#include "main.h"
-#define TAPE_PAUSE_SECONDS_BEFORE_DEATH 3
+
+/* 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
/* some positions in the video tape control window */
#define VIDEO_DISPLAY1_XPOS 5
@@
-73,28
+76,36
@@
#define VIDEO_STATE_PBEND (VIDEO_STATE_PBEND_OFF | VIDEO_STATE_PBEND_ON)
/* tags to draw video display labels or symbols only */
#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_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);
void DrawCompleteVideoDisplay(void);
void TapeStartRecording(void);
void DrawVideoDisplay(unsigned long, unsigned long);
void DrawCompleteVideoDisplay(void);
void TapeStartRecording(void);
+void TapeHaltRecording(void);
void TapeStopRecording(void);
void TapeRecordAction(byte *);
void TapeStopRecording(void);
void TapeRecordAction(byte *);
-void TapeRecordDelay(void);
-void TapeTogglePause(void);
+void TapeTogglePause(boolean);
void TapeStartPlaying(void);
void TapeStopPlaying(void);
byte *TapePlayAction(void);
void TapeStartPlaying(void);
void TapeStopPlaying(void);
byte *TapePlayAction(void);
-boolean TapePlayDelay(void);
void TapeStop(void);
void TapeErase(void);
unsigned int GetTapeLength(void);
void TapeStop(void);
void TapeErase(void);
unsigned int GetTapeLength(void);
+void TapeQuickSave(void);
+void TapeQuickLoad(void);
+
+void AutoPlayTape(void);
void CreateTapeButtons();
void CreateTapeButtons();
+void FreeTapeButtons();
+void MapTapeEjectButton();
+void MapTapeIndexButton();
void MapTapeButtons();
void UnmapTapeButtons();
void MapTapeButtons();
void UnmapTapeButtons();