/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
*
* ---
*
- * See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- * related information and legal notices. It is expected that any future
- * projects/authors will amend these files as needed.
+ * See files README, COPYING and CREDITS in the root of the source
+ * tree for related information and legal notices. It is expected
+ * that future projects/authors will amend these files as needed.
*
* ---
*
* Steve McClure, 1996-2000
*/
-#include "misc.h"
-#include "com.h"
-#include "nat.h"
-#include "file.h"
-#include "commands.h"
-#include "version.h" /* need to OBSOLETE hidden command */
+#include <config.h>
+#include "com.h"
+#include "prototypes.h"
struct cmndstr player_coms[] = {
/* command form cost addr permit */
{"harden <PLANES> <NUM>", 2, hard, C_MOD, NORM + MONEY + CAP},
{"help <topic>", 0, info, 0, VIS},
{"headlines [days]", 0, head, C_MOD, VIS},
- /*
- * OBSOLETE
- * once hidden command is removed, also remove the hidden code in peek.c
- */
- {"hidden <SECTS>", 0, peek, 0, GOD},
{"improve <road|rail|defense> <SECTS> <NUM>", 1, improve, C_MOD,
NORM + MONEY + CAP},
{"info <topic>", 0, info, 0, VIS},
{"land <UNITS>", 0, land, C_MOD, NORM},
- {"launch <PLANES>", 3, laun, C_MOD, NORM + MONEY + CAP},
+ {"launch <PLANES> <SECT|SHIP>", 3, laun, C_MOD, NORM + MONEY + CAP},
{"lboard <to-LAND> [<from-sector>]", 3, lboa, C_MOD,
NORM + MONEY + CAP},
{"lcargo <UNITS>", 0, lcarg, 0, NORM},
move, C_MOD, NORM + CAP},
{"mquota <SHIPS> <value>", 2, mobq, C_MOD, NORM + CAP},
{"name <SHIPS> <NAME>", 0, name, C_MOD, NORM},
- {"nation", 0, nati, 0, VIS},
+ {"nation [as-COUNTRY]", 0, nati, 0, VIS},
{"navigate <SHIPS> <PATH|DESTINATION>", 1, navi, C_MOD, NORM + CAP},
{"ndump <SECTS>", 0, ndump, 0, NORM},
{"newcap <NAT> [<SECTOR>]", 0, new, C_MOD, GOD},
{"nuke <SECTS>", 0, nuke, 0, NORM},
{"offer <loan|treaty> <NAT> [<NUM> <DAYS> <IRATE>]", 1, offe, C_MOD,
NORM + MONEY + CAP},
- {"offset <SECT|NAT>", 0, offs, C_MOD, GOD},
{"order <SHIPS> <c|s|r|d|l> ", 1, orde, C_MOD, NORM + CAP},
- {"origin <SECT>", 1, orig, C_MOD, NORM},
+ {"origin <SECT|COUNTRY|~>", 1, orig, C_MOD, NORM},
{"paradrop <cargo-PLANES> <fighter-PLANES> <ap-SECT> <PATH|DESTINATION>", 3, para, C_MOD, NORM + MONEY + CAP},
{"path <SECT>", 0, path, 0, NORM},
{"payoff <SHIPS>", 0, payo, C_MOD, NORM},
{"swapsector <SECT> <SECT>", 0, swaps, C_MOD, GOD},
{"sweep <sweep-PLANES> <fighter-PLANES> <ap-SECT> <PATH|DESTINATION>",
3, reco, C_MOD, NORM + MONEY + CAP},
- {"telegram <NAT>", 0, tele, C_MOD, NORM},
+ {"telegram <NATS>...", 0, tele, C_MOD, NORM},
{"tend <COMM|\"land\"> <tender-SHIPS> <NUM|UNIT> <dest-SHIPS>", 1,
tend, C_MOD, NORM + CAP},
{"territory <SECTS> <NUMBER> [<FIELD>]", 0, terr, C_MOD, NORM},