]> git.pond.sub.org Git - empserver/commitdiff
(fltelemstr, fltheadstr): Move from ship.h to sail.c.
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 18 Aug 2007 13:48:15 +0000 (13:48 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 18 Aug 2007 13:48:15 +0000 (13:48 +0000)
include/ship.h
src/lib/update/sail.c

index 99167fb680e980cec8a4459fb4cb0bf51e15272a..bda8c6df5589ce04573dcf036aea8c200d94b48f 100644 (file)
@@ -110,27 +110,6 @@ struct shpstr {
     char shp_rpath[RET_LEN];   /* retreat path */
 };
 
     char shp_rpath[RET_LEN];   /* retreat path */
 };
 
-struct fltelemstr {
-    int num;
-    int own;
-    double mobil, mobcost;
-    struct fltelemstr *next;
-};
-
-struct fltheadstr {
-    int leader;
-    signed char real_q;
-/* defines for the real_q member */
-#define        LEADER_VIRTUAL  0
-#define        LEADER_REAL     1
-#define        LEADER_WRONGSECT        2
-    coord x, y;
-    natid own;
-    unsigned maxmoves;
-    struct fltelemstr *head;
-    struct fltheadstr *next;
-};
-
 struct mchrstr {
     short m_item[I_MAX+1];     /* load limit */
     int m_lcm;                 /* units of lcm to build */
 struct mchrstr {
     short m_item[I_MAX+1];     /* load limit */
     int m_lcm;                 /* units of lcm to build */
index 9009f414eea0e7c77c8e5509bedc0b0bf9b85ba6..c86ff366bad7ac947e49d97681f5d57650bb800c 100644 (file)
 #include "empobj.h"
 #include "unit.h"
 
 #include "empobj.h"
 #include "unit.h"
 
+struct fltelemstr {
+    int num;
+    int own;
+    double mobil, mobcost;
+    struct fltelemstr *next;
+};
+
+struct fltheadstr {
+    int leader;
+    signed char real_q;
+/* defines for the real_q member */
+#define        LEADER_VIRTUAL  0
+#define        LEADER_REAL     1
+#define        LEADER_WRONGSECT        2
+    coord x, y;
+    natid own;
+    unsigned maxmoves;
+    struct fltelemstr *head;
+    struct fltheadstr *next;
+};
+
 static void fltp_to_list(struct fltheadstr *, struct emp_qelem *);
 
 static void
 static void fltp_to_list(struct fltheadstr *, struct emp_qelem *);
 
 static void