projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added support for tape property bits (not used yet)
[rocksndiamonds.git]
/
src
/
tape.h
diff --git
a/src/tape.h
b/src/tape.h
index 4847931cc57c359c6aea6249ee8c204540ebb751..c8c0675936fbdbdf81db5dc1169c8a4a218f1922 100644
(file)
--- a/
src/tape.h
+++ b/
src/tape.h
@@
-35,6
+35,9
@@
#define TAPE_ACTIONS_DEFAULT TAPE_USE_KEY_ACTIONS_ONLY
#define TAPE_ACTIONS_DEFAULT TAPE_USE_KEY_ACTIONS_ONLY
+// values for tape properties stored in tape file
+#define TAPE_PROPERTY_NONE 0
+
// some positions in the video tape control window
#define VIDEO_DISPLAY1_XPOS 5
#define VIDEO_DISPLAY1_YPOS 5
// some positions in the video tape control window
#define VIDEO_DISPLAY1_XPOS 5
#define VIDEO_DISPLAY1_YPOS 5
@@
-202,6
+205,9
@@
struct TapeInfo
boolean use_key_actions;
boolean use_mouse_actions;
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];
struct
{
byte action[MAX_TAPE_ACTIONS];