fixed some tape recorder display update problems
[rocksndiamonds.git] / src / tape.h
index 934239f202d030d2c51cd4826185bee807017f9d..34f17889f7f84916eef0edc6cf18f1e7682cf565 100644 (file)
@@ -65,7 +65,7 @@
 #define VIDEO_STATE_WARP       (VIDEO_STATE_WARP_OFF   | VIDEO_STATE_WARP_ON)
 #define VIDEO_STATE_WARP2_OFF  (1 << 18)
 #define VIDEO_STATE_WARP2_ON   (1 << 19)
-#define VIDEO_STATE_WARP2      (VIDEO_STATE_WARP_OFF   | VIDEO_STATE_WARP_ON)
+#define VIDEO_STATE_WARP2      (VIDEO_STATE_WARP2_OFF  | VIDEO_STATE_WARP2_ON)
 #define VIDEO_STATE_1STEP_OFF  (1 << 20)
 #define VIDEO_STATE_1STEP_ON   (1 << 21)
 #define VIDEO_STATE_1STEP      (VIDEO_STATE_1STEP_OFF  | VIDEO_STATE_1STEP_ON)
 
 struct TapeButtonInfo
 {
-  struct Rect eject;
-  struct Rect stop;
-  struct Rect pause;
-  struct Rect record;
-  struct Rect play;
+  struct XY eject;
+  struct XY stop;
+  struct XY pause;
+  struct XY record;
+  struct XY play;
 };
 
 struct TapeSymbolInfo
 {
-  struct Rect eject;
-  struct Rect stop;
-  struct Rect pause;
-  struct Rect record;
-  struct Rect play;
-  struct Rect fast_forward;
-  struct Rect warp_forward;
-  struct Rect warp_forward_blind;
-  struct Rect pause_before_end;
-  struct Rect single_step;
+  struct XY eject;
+  struct XY stop;
+  struct XY pause;
+  struct XY record;
+  struct XY play;
+  struct XY fast_forward;
+  struct XY warp_forward;
+  struct XY warp_forward_blind;
+  struct XY pause_before_end;
+  struct XY single_step;
 };
 
 struct TapeLabelInfo
 {
-  struct Rect eject;
-  struct Rect stop;
-  struct Rect pause;
-  struct Rect record;
-  struct Rect play;
-  struct Rect fast_forward;
-  struct Rect warp_forward;
-  struct Rect warp_forward_blind;
-  struct Rect pause_before_end;
-  struct Rect single_step;
-  struct Rect date;
-  struct Rect time;
+  struct XY eject;
+  struct XY stop;
+  struct XY pause;
+  struct XY record;
+  struct XY play;
+  struct XY fast_forward;
+  struct XY warp_forward;
+  struct XY warp_forward_blind;
+  struct XY pause_before_end;
+  struct XY single_step;
+  struct XY date;
+  struct XY time;
 };
 
 struct TapeTextInfo