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 # item.config: Item characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006 # Markus Armbruster, 2006-2011
# #
# Derived from item.c; no known contributors. # 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 # 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 # configuration file(s), best next to your econfig, and name them in

View file

@ -27,7 +27,7 @@
# land.config: Land unit characteristics # land.config: Land unit characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006-2008 # Markus Armbruster, 2006-2011
# #
# Derived from land.c; known contributors: # Derived from land.c; known contributors:
# Thomas Ruschak, 1992 # Thomas Ruschak, 1992
@ -35,8 +35,8 @@
# Steve McClure, 1998-2000 # Steve McClure, 1998-2000
# #
# Available flags are in land_chr_flags[]. info Unit-types should # Available flags are in compiled-in table land-chr-flags. info
# document them all. # Unit-types should document them all.
# Do not edit this file to customize a game! Create your own custom # 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 # configuration file(s), best next to your econfig, and name them in

View file

@ -27,13 +27,13 @@
# nuke.c: Nuke characteristics # nuke.c: Nuke characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006 # Markus Armbruster, 2006-2011
# #
# Derived from nuke.c. # Derived from nuke.c.
# #
# Available flags are in nuke_chr_flags[]. info Nuke-types should # Available flags are in compiled-in table nuke-chr-flags. info
# document them all. # Nuke-types should document them all.
# Do not edit this file to customize a game! Create your own custom # 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 # configuration file(s), best next to your econfig, and name them in

View file

@ -27,7 +27,7 @@
# plane.config: Plane characteristics # plane.config: Plane characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006-2009 # Markus Armbruster, 2006-2011
# #
# Derived from plane.c; known contributors: # Derived from plane.c; known contributors:
# Dave Pare, 1986 # Dave Pare, 1986
@ -37,8 +37,8 @@
# Steve McClure, 1998 # Steve McClure, 1998
# #
# Available flags are in plane_chr_flags[]. info Plane-types should # Available flags are in compiled-in table plane-chr-flags. info
# document them all. # Plane-types should document them all.
# #
# Note if a flag missile is set, then flag VTOL will automatically be # Note if a flag missile is set, then flag VTOL will automatically be
# set by init_plchr(). # set by init_plchr().

View file

@ -27,14 +27,14 @@
# product.config: Product characteristics # product.config: Product characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006 # Markus Armbruster, 2006-2011
# #
# Derived from product.c; no known contributors # Derived from product.c; no known contributors
# #
# Available item types (columns ct and type) are in item.config. # Available item types (columns ct and type) are in item.config.
# Levels (columns lev and nlndx) are in level[]. Resources (column # Levels (columns lev and nlndx) are in compiled-in table level.
# nrndx) are in resources[]. # Resources (column nrndx) are in compiled-in table resources.
# A product is either an item (value other than -1 in column type) or # A product is either an item (value other than -1 in column type) or
# a level (value other than none in column lev). # a level (value other than none in column lev).

View file

@ -27,7 +27,7 @@
# sect.config: Sector characteristics # sect.config: Sector characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006-2009 # Markus Armbruster, 2006-2011
# #
# Derived from sect.c; known contributors: # Derived from sect.c; known contributors:
# Dave Pare, 1986 # Dave Pare, 1986
@ -42,8 +42,8 @@
# types, and must have themselves as terrain. # types, and must have themselves as terrain.
# Available products (column prd) are in product.config. Navigation # Available products (column prd) are in product.config. Navigation
# types (column nav) are in sector_navigation[]. Packing types # types (column nav) are in compiled-in table sector-navigation.
# (column pkg) are in packing[]. # Packing types (column pkg) are in compiled-in table packing.
# Players can only designate sectors with a non-negative value in # Players can only designate sectors with a non-negative value in
# column cost, and only to something with the same terrain. All # column cost, and only to something with the same terrain. All

View file

@ -27,7 +27,7 @@
# ship.config: Ship characteristics # ship.config: Ship characteristics
# #
# Known contributors to this file: # Known contributors to this file:
# Markus Armbruster, 2006-2008 # Markus Armbruster, 2006-2011
# #
# Derived from ship.c; known contributors: # Derived from ship.c; known contributors:
# Dave Pare, 1986 # Dave Pare, 1986
@ -37,8 +37,8 @@
# Steve McClure, 1998 # Steve McClure, 1998
# #
# Available flags are in ship_chr_flags[]. info Ship-types should # Available flags are in compiled-in table ship-chr-flags. info
# document them all. # Ship-types should document them all.
# #
# Note that if nplanes > 0 and flag plane is not set, then flag miss # Note that if nplanes > 0 and flag plane is not set, then flag miss
# will automatically be set. # will automatically be set.