]> git.pond.sub.org Git - empserver/commitdiff
Fix documentation of empfile[] contents
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 4 Mar 2008 06:43:23 +0000 (07:43 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Fri, 14 Mar 2008 19:25:40 +0000 (20:25 +0100)
src/lib/global/file.c

index abca1ecdc87257cfb4f5cb5d0c017933e348e6bf..dd3da3b44a689c2df4b2fcf4644c23b0eee0e8e6 100644 (file)
@@ -156,10 +156,11 @@ struct empfile empfile[] = {
 
     /*
      * Static game data (configuration)
-     *
-     * These are all empty tables, except for EF_NEWS_CHR and EF_META.
-     * Use read_builtin_tables() to fill them.  EF_META gets bogus
-     * size, cids and fids here.  Fixed up by empfile_init().
+     */
+    /*
+     * Characteristics tables.  Characteristics with a null file
+     * member are compiled in.  The others are empty; use
+     * read_builtin_tables() to fill them.
      */
     {EF_ITEM, "item", "item.config", ichr_ca,
      ARRAY_CACHE(ichr, EFF_CFG)},
@@ -179,8 +180,15 @@ struct empfile empfile[] = {
      ARRAY_TABLE(rpt, EFF_CFG)},
     {EF_INFRASTRUCTURE, "infrastructure", "infra.config", intrchr_ca,
      ARRAY_CACHE(intrchr, EFF_CFG)},
+    /*
+     * Update schedule table.  Use read_schedule() to fill.
+     */
     {EF_UPDATES, "updates", NULL, update_ca,
      ARRAY_TABLE(update_time, EFF_CFG)},
+    /*
+     * Special tables.  EF_META gets bogus size, cids and fids here.
+     * Fixed up by empfile_init().
+     */
     {EF_TABLE, "table", NULL, empfile_ca,
      ARRAY_TABLE(empfile, EFF_CFG)},
     {EF_META, "meta", NULL, mdchr_ca,