/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2006, 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
* file.c: Empire game data file descriptions.
*
* Known contributors to this file:
- * Markus Armbruster, 2005
+ * Markus Armbruster, 2005-2007
*/
#include <config.h>
#include <stddef.h>
#include "commodity.h"
#include "file.h"
+#include "game.h"
#include "land.h"
#include "loan.h"
#include "lost.h"
#include "product.h"
#include "sect.h"
#include "ship.h"
+#include "server.h"
#include "trade.h"
#include "treaty.h"
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,
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,