Refer to table names instead of C identifiers in .config

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.
This commit is contained in:
Markus Armbruster 2011-04-24 08:30:31 +02:00
parent 97f475b6c1
commit 19215160f4
7 changed files with 21 additions and 20 deletions

View file

@ -27,12 +27,13 @@
# 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

View 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

View file

@ -27,13 +27,13 @@
# 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

View 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().

View file

@ -27,14 +27,14 @@
# 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).

View 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

View 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.