]> git.pond.sub.org Git - empserver/commitdiff
Refer to table names instead of C identifiers in .config
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Apr 2011 06:30:31 +0000 (08:30 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 6 Jun 2011 17:24:13 +0000 (19:24 +0200)
The C identifier permits looking up the table in the source.  The
table name permits lookup with xdump.

Coders should know how to go from table name to C identifier.  Deities
aren't all coders; we shouldn't ask them to guess table names from C
identifiers.

src/lib/global/item.config
src/lib/global/land.config
src/lib/global/nuke.config
src/lib/global/plane.config
src/lib/global/product.config
src/lib/global/sect.config
src/lib/global/ship.config

index 6e013dd6c1c35111e0649eb449b2d4a8b4b4768c..67f6531b0a4d65266d174b97e50871388db40538 100644 (file)
 #   item.config: Item characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from item.c; no known contributors.
 #
 
-# Columns pkg are indexed by packing types in packing[].
+# Columns pkg are indexed by packing types in compiled-in table
+# packing.
 
 # Do not edit this file to customize a game!  Create your own custom
 # configuration file(s), best next to your econfig, and name them in
index f1b524df58ceb842f580f64aa2a04e267f3d5d7b..1e56ad3fd0e41f0186c145bb7ca09d325b269a15 100644 (file)
@@ -27,7 +27,7 @@
 #   land.config: Land unit characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006-2008
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from land.c; known contributors:
 #      Thomas Ruschak, 1992
@@ -35,8 +35,8 @@
 #      Steve McClure, 1998-2000
 #
 
-# Available flags are in land_chr_flags[].  info Unit-types should
-# document them all.
+# Available flags are in compiled-in table land-chr-flags.  info
+# Unit-types should document them all.
 
 # Do not edit this file to customize a game!  Create your own custom
 # configuration file(s), best next to your econfig, and name them in
index 0b8b11ef20fbb4f75901fad87a7ecabb3296e2be..80ccd597b7852398697f9c570a984ce06a79b1bc 100644 (file)
 #   nuke.c: Nuke characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from nuke.c.
 #
 
-# Available flags are in nuke_chr_flags[].  info Nuke-types should
-# document them all.
+# Available flags are in compiled-in table nuke-chr-flags.  info
+# Nuke-types should document them all.
 
 # Do not edit this file to customize a game!  Create your own custom
 # configuration file(s), best next to your econfig, and name them in
index 08eb7cc38f204b24244ab2f0592148e187fe70d8..561b9d3123b33794224b64625f031dfa6a1b78c9 100644 (file)
@@ -27,7 +27,7 @@
 #   plane.config: Plane characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006-2009
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from plane.c; known contributors:
 #      Dave Pare, 1986
@@ -37,8 +37,8 @@
 #      Steve McClure, 1998
 #
 
-# Available flags are in plane_chr_flags[].  info Plane-types should
-# document them all.
+# Available flags are in compiled-in table plane-chr-flags.  info
+# Plane-types should document them all.
 #
 # Note if a flag missile is set, then flag VTOL will automatically be
 # set by init_plchr().
index 0d4a01b83cc15e83ce4f5b7e284bf30a3a2eed3c..d650ebbadab6ef2dbecd27dd0d45416a1b89f3fb 100644 (file)
 #   product.config: Product characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from product.c; no known contributors
 #
 
 # Available item types (columns ct and type) are in item.config.
-# Levels (columns lev and nlndx) are in level[].  Resources (column
-# nrndx) are in resources[].
+# Levels (columns lev and nlndx) are in compiled-in table level.
+# Resources (column nrndx) are in compiled-in table resources.
 
 # A product is either an item (value other than -1 in column type) or
 # a level (value other than none in column lev).
index 0fab8b90dc76930f67f4be331a02b00b911c2ad9..2340de9a9a946fcb4316d35cff8114a17bc24fb9 100644 (file)
@@ -27,7 +27,7 @@
 #   sect.config: Sector characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006-2009
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from sect.c; known contributors:
 #      Dave Pare, 1986
@@ -42,8 +42,8 @@
 # types, and must have themselves as terrain.
 
 # Available products (column prd) are in product.config.  Navigation
-# types (column nav) are in sector_navigation[].  Packing types
-# (column pkg) are in packing[].
+# types (column nav) are in compiled-in table sector-navigation.
+# Packing types (column pkg) are in compiled-in table packing.
 
 # Players can only designate sectors with a non-negative value in
 # column cost, and only to something with the same terrain.  All
index c80aa3f0487932987952f263a17c456b013f2e62..997af0740605f0f0e9e2abc25e626f3a0e1f9f4d 100644 (file)
@@ -27,7 +27,7 @@
 #   ship.config: Ship characteristics
 #
 #   Known contributors to this file:
-#      Markus Armbruster, 2006-2008
+#      Markus Armbruster, 2006-2011
 #
 #   Derived from ship.c; known contributors:
 #      Dave Pare, 1986
@@ -37,8 +37,8 @@
 #      Steve McClure, 1998
 #
 
-# Available flags are in ship_chr_flags[].  info Ship-types should
-# document them all.
+# Available flags are in compiled-in table ship-chr-flags.  info
+# Ship-types should document them all.
 #
 # Note that if nplanes > 0 and flag plane is not set, then flag miss
 # will automatically be set.