OSDN Git Service

[Refactor] #37353 border_type を wild.h へ移動。
authordeskull <deskull@users.sourceforge.jp>
Fri, 26 Apr 2019 13:47:08 +0000 (22:47 +0900)
committerdeskull <deskull@users.sourceforge.jp>
Fri, 26 Apr 2019 13:47:08 +0000 (22:47 +0900)
src/types.h
src/wild.h

index 732e3a0..c6bdeba 100644 (file)
@@ -1795,20 +1795,6 @@ struct monster_power
 };
 
 
-/* Border */
-typedef struct border_type border_type;
-struct border_type
-{
-       s16b north[MAX_WID];
-       s16b south[MAX_WID];
-       s16b east[MAX_HGT];
-       s16b west[MAX_HGT];
-       s16b north_west;
-       s16b north_east;
-       s16b south_west;
-       s16b south_east;
-};
-
 /*
  * A structure describing a town with
  * stores and buildings
index c92fac9..e663370 100644 (file)
@@ -10,6 +10,20 @@ extern void seed_wilderness(void);
 extern errr parse_line_wilderness(char *buf, int ymin, int xmin, int ymax, int xmax, int *y, int *x);
 extern bool change_wild_mode(void);
 
+/* Border */
+typedef struct border_type border_type;
+struct border_type
+{
+       s16b north[MAX_WID];
+       s16b south[MAX_WID];
+       s16b east[MAX_HGT];
+       s16b west[MAX_HGT];
+       s16b north_west;
+       s16b north_east;
+       s16b south_west;
+       s16b south_east;
+};
+
 /*
  * A structure describing a wilderness area
  * with a terrain or a town