]> git.pond.sub.org Git - empserver/blobdiff - src/lib/global/file.c
Update copyright notice
[empserver] / src / lib / global / file.c
index 530fbff2d0d43361e1cba870093093aa7ecc4dd7..1104a528b7001393dbf658f4aecf7bef3070dda8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -28,7 +28,7 @@
  *  file.c: Empire game data file descriptions.
  * 
  *  Known contributors to this file:
- *     Markus Armbruster, 2005
+ *     Markus Armbruster, 2005-2007
  */
 
 #include <config.h>
@@ -36,6 +36,7 @@
 #include <stddef.h>
 #include "commodity.h"
 #include "file.h"
+#include "game.h"
 #include "land.h"
 #include "loan.h"
 #include "lost.h"
@@ -48,6 +49,7 @@
 #include "product.h"
 #include "sect.h"
 #include "ship.h"
+#include "server.h"
 #include "trade.h"
 #include "treaty.h"
 
@@ -139,6 +141,8 @@ struct empfile empfile[] = {
      UNMAPPED_CACHE(struct loststr, EFF_OWNER)},
     {EF_REALM, "realm", "realms", realm_ca,
      UNMAPPED_CACHE(struct realmstr, EFF_OWNER)},
+    {EF_GAME, "game", "game", game_ca,
+     UNMAPPED_CACHE(struct gamestr, 0)},
 
     /* Static game data (configuration) */
     {EF_ITEM, "item", "item.config", ichr_ca,
@@ -159,6 +163,8 @@ struct empfile empfile[] = {
      ARRAY_TABLE(rpt, EFF_CFG)},
     {EF_INFRASTRUCTURE, "infrastructure", "infra.config", intrchr_ca,
      ARRAY_CACHE(intrchr, EFF_CFG)},
+    {EF_UPDATES, "updates", NULL, update_ca,
+     ARRAY_TABLE(update_time, EFF_CFG)},
     {EF_TABLE, "table", NULL, empfile_ca,
      ARRAY_TABLE(empfile, EFF_CFG)},
     {EF_META, "meta", NULL, mdchr_ca,