Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] (PR#2598) Increase leader limit
Home

[Freeciv-Dev] (PR#2598) Increase leader limit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2598) Increase leader limit
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Tue, 17 Dec 2002 14:54:08 -0800
Reply-to: rt@xxxxxxxxxxxxxx


To take use of the extra leader in the american ruleset you need the
attached patch.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Last year, out in California, at a PC users group, there was a demo of
  smart speech recognition software. Before the demonstrator could begin
  his demo, a voice called out from the audience: "Format c, return. Yes,
  return." Damned short demo, it was.

Index: common/nation.h
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/nation.h,v
retrieving revision 1.17
diff -u -u -r1.17 nation.h
--- common/nation.h     2002/11/07 18:55:25     1.17
+++ common/nation.h     2002/12/17 22:51:52
@@ -18,9 +18,11 @@
 
 #define MAX_NUM_TECH_GOALS 10
 #define MAX_NUM_NATIONS  63
-#define MAX_NUM_LEADERS  16
 #define MAX_NUM_TEAMS MAX_NUM_PLAYERS
 #define TEAM_NONE 255
+
+/* Can be changed since the client will discard any extra leaders. */
+#define MAX_NUM_LEADERS  64
 
 typedef int Nation_Type_id;
 typedef int Team_Type_id;
Index: data/nation/american.ruleset
===================================================================
RCS file: /home/freeciv/CVS/freeciv/data/nation/american.ruleset,v
retrieving revision 1.6
diff -u -u -r1.6 american.ruleset
--- data/nation/american.ruleset        2002/12/17 22:40:57     1.6
+++ data/nation/american.ruleset        2002/12/17 22:51:53
@@ -17,45 +17,44 @@
        "Millard Filmore",
        "Franklin Pierce",
        "James Buchanan",
-       "Abraham Lincoln"
-
-#       "Andew Johnson", 
-#       "Ulysses S. Grant",
-#       "Rutherford Hayes",
-#       "James Garfield",
-#       "Chester Alan Arthur",
-#       "Grover Cleveland",
-#       "Benjamin Harrison",
-#       "William McKinley",
-#       "Theodore Roosevelt",
-#       "William Howard Taft",
-#       "Woodrow Wilson",
-#       "Warren Harding",
-#       "Calvin Coolidge",
-#       "Herbert Hoover",
-#       "Franklin D. Roosevelt",
-#       "Harry S. Truman",
-#       "Dwight Eisenhower",
-#       "John F. Kennedy", 
-#       "Lyndon Johnson",
-#       "Richard Nixon",
-#       "Gerald W. Ford",
-#       "Jimmy Carter",
-#       "Ronald Reagan",
-#       "George H. W. Bush",
-#       "Bill Clinton",
-#       "George W. Bush",
-#       "Eleanor Roosevelt"
+       "Abraham Lincoln",
+       "Andew Johnson", 
+       "Ulysses S. Grant",
+       "Rutherford Hayes",
+       "James Garfield",
+       "Chester Alan Arthur",
+       "Grover Cleveland",
+       "Benjamin Harrison",
+       "William McKinley",
+       "Theodore Roosevelt",
+       "William Howard Taft",
+       "Woodrow Wilson",
+       "Warren Harding",
+       "Calvin Coolidge",
+       "Herbert Hoover",
+       "Franklin D. Roosevelt",
+       "Harry S. Truman",
+       "Dwight Eisenhower",
+       "John F. Kennedy", 
+       "Lyndon Johnson",
+       "Richard Nixon",
+       "Gerald W. Ford",
+       "Jimmy Carter",
+       "Ronald Reagan",
+       "George H. W. Bush",
+       "Bill Clinton",
+       "George W. Bush",
+       "Eleanor Roosevelt"
 leader_sex="Male", "Male", "Male", "Male", "Male", 
            "Male", "Male", "Male", "Male", "Male", 
            "Male", "Male", "Male", "Male", "Male", 
-           "Male"#, "Male", "Male", "Male", "Male", 
-           #"Male", "Male", "Male", "Male", "Male", 
-           #"Male", "Male", "Male", "Male", "Male", 
-           #"Male", "Male", "Male", "Male", "Male", 
-           #"Male", "Male", "Male", "Male", "Male", 
-           #"Male", "Male", "Male",
-           #"Female"
+           "Male", "Male", "Male", "Male", "Male", 
+           "Male", "Male", "Male", "Male", "Male", 
+           "Male", "Male", "Male", "Male", "Male", 
+           "Male", "Male", "Male", "Male", "Male", 
+           "Male", "Male", "Male", "Male", "Male", 
+           "Male", "Male",
+           "Female"
 flag="f.usa"
 flag_alt = "-"
 city_style = "European"

[Prev in Thread] Current Thread [Next in Thread]