rnd-20100416-1-src
[rocksndiamonds.git] / src / main.h
index 09306600a7dbbcc6e9b06e0f445f98690ef72555..4268c9018b494b39e759a60e340852237313637e 100644 (file)
@@ -2257,6 +2257,14 @@ struct PreviewInfo
   int anim_mode;
 };
 
+struct ViewportInfo
+{
+  struct Rect window;
+  struct Rect playfield[NUM_SPECIAL_GFX_ARGS];
+  struct Rect door_1[NUM_SPECIAL_GFX_ARGS];
+  struct Rect door_2[NUM_SPECIAL_GFX_ARGS];
+};
+
 struct HiScore
 {
   char Name[MAX_PLAYER_NAME_LEN + 1];
@@ -2454,21 +2462,6 @@ struct GlobalInfo
 #endif
 };
 
-struct SubViewportInfo
-{
-  struct Rect menu;
-  struct Rect game;
-  struct Rect editor;
-};
-
-struct ViewportInfo
-{
-  struct Rect window;
-  struct SubViewportInfo playfield;
-  struct SubViewportInfo door_1;
-  struct SubViewportInfo door_2;
-};
-
 struct ElementChangeInfo
 {
   boolean can_change;          /* use or ignore this change info */