Fix trailing whitespace
This commit is contained in:
parent
a9653c475b
commit
d702068457
509 changed files with 922 additions and 922 deletions
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* acce.c: Report rejection status of telegrams/treaties/annos/loans
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* add.c: Add a new country to the game
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 2000
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* anti.c: Take action against che
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Pat Loney, 1992
|
||||
* Steve McClure, 1997
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* arm.c: Arm planes (missiles) with nuclear devices
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* army.c: Add units to an army
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* assa.c: Hit the beaches!
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1997
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* atta.c: Attack another sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* bdes.c: Change bmap designations
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* best.c: Show the best path between two sectors
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* boar.c: Board an enemy ship
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* bomb.c: Fly bombing missions
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* brea.c: Break out of sanctuary
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Wallace, 1989
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* budg.c: Calculate production levels, prioritize
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Thomas Ruschak, 1992
|
||||
* Ville Virrankoski, 1995
|
||||
|
@ -195,7 +195,7 @@ calc_all(long p_sect[][2],
|
|||
*ships = *sbuild = *nsbuild = *smaint = 0;
|
||||
*units = *lbuild = *nlbuild = *lmaint = 0;
|
||||
*planes = *pbuild = *npbuild = *pmaint = 0;
|
||||
|
||||
|
||||
np = getnatp(player->cnum);
|
||||
bp = bp_alloc();
|
||||
for (n = 0; NULL != (sp = getsectid(n)); n++) {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* buil.c: Build ships, nukes, bridges, planes, land units, bridge towers
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1998-2000
|
||||
* Markus Armbruster, 2004-2008
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* buy.c: Buy commodities from other nations
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Pat Loney, 1992
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* capi.c: Move your capital
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Steve McClure, 2000
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* carg.c: List cargo contents of a ship
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* cede.c: Give a sector to a neighbor
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare
|
||||
* Thomas Ruschak
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* cens.c: Do a census report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 2000
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* chan.c: Change country/representative name
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 2000
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* coas.c: Look at all the ships in the world
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Keith Muller, 1983
|
||||
* Dave Pare, 1986 (rewrite)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* coll.c: Collet on a loan
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Pat Loney, 1992
|
||||
* Steve McClure, 1996-2000
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* comm.c: Do a commodity report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* cons.c: Consider a loan or treaty
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* conv.c: Convert conquered populace into uw's
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* coun.c: Do a country roster
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* cuto.c: Do a delivery cutoff level report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff, 1987
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* decl.c: Declare war, neutrality, alliance, hostile or friendly
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* deli.c: Set deliveries from a sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* demo.c: De-mobilize "n" military in a given sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* desi.c: Redesignate sectors
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1998-2000
|
||||
* Markus Armbruster, 2004-2008
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* disa.c: Disable updates (deity)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2007
|
||||
*/
|
||||
|
|
|
@ -26,10 +26,10 @@
|
|||
* ---
|
||||
*
|
||||
* dist.c: Name distribution sector for a given range of sectors
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Thomas Ruschak, 1993 (rewritten)
|
||||
* Thomas Ruschak, 1993 (rewritten)
|
||||
* Steve McClure, 1998
|
||||
*/
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* drop.c: Air-drop commodities
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* dump.c: Dump sector information
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Wallace, 1989
|
||||
* Steve McClure, 1997 (added timestamping)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* echo.c: Just echo something
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* edit.c: Edit things (sectors, ships, planes, units, nukes, countries)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff
|
||||
* Chad Zabel, 1994
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* enab.c: Enable the updates (deity)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2007
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* enli.c: Enlist some military
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* expl.c: Take over unoccupied sectors
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Wallace, 1989
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* fina.c: Financial report on current status of loans to countries
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Steve McClure, 1996
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* flash.c: Flash a message to another player
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1998
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* flee.c: Add ships to a fleet
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* fly.c: fly a plane
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Steve McClure, 2000
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* foll.c: Set leader of a set of ships
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Robert Forsman
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* force.c: Force an update to occur (deity)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1994
|
||||
* Markus Armbruster, 2007
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* fort.c: Increase the fortification value of land units
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1999
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* give.c: give stuff to countries (deity)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff
|
||||
* Steve McClure, 1997
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* grin.c: Grind gold bars into dust
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Markus Armbruster, 2004-2006
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* hard.c: Increases the silo protection of a given missile
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* head.c: Print headlines of the Empire News
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* improve.c: Improve the infrastructure of a sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1996-2000
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* info.c: display an info page
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Mike Wise, 1997 - added apropos and case insensitivity
|
||||
|
@ -79,7 +79,7 @@ info(void)
|
|||
int nmatch = 0;
|
||||
int width = 0;
|
||||
char sep;
|
||||
|
||||
|
||||
name = player->argp[1];
|
||||
if (name) {
|
||||
/*
|
||||
|
@ -90,7 +90,7 @@ info(void)
|
|||
}
|
||||
if (!name || !*name)
|
||||
name = "TOP";
|
||||
|
||||
|
||||
snprintf(filename, sizeof(filename), "%s/%s", infodir, name);
|
||||
fp = fopen(filename, "r");
|
||||
if (fp == NULL) {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* land.c: List land units
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1998
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* laun.c: Launch missiles from land or sea
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Ken Stevens, 1995
|
||||
|
@ -93,7 +93,7 @@ laun(void)
|
|||
}
|
||||
}
|
||||
|
||||
if (plane.pln_effic < 40) {
|
||||
if (plane.pln_effic < 40) {
|
||||
pr("%s is damaged (%d%%)\n", prplane(&plane), plane.pln_effic);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* lboard.c: Board an enemy land unit (heavily borrowing from boar.c)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1998
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* ldump.c: Dump land unit information
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* John Yockey, 1997
|
||||
* Steve McClure, 1998
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* ledg.c: Get a report of the current ledger
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1996
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* leve.c: Do a distribution threshold level report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff, 1987
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* load.c: load/unload goods from a sector onto a ship or land unit
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Sharnoff, 1987
|
||||
* Ken Stevens, 1995 (rewritten)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* look.c: Lookout from a ship or land unit
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ron Koenderink, 2006-2007
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* lost.c: List lost items
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1997
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* lstat.c: Show the stats of your land units
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1996
|
||||
*/
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
*
|
||||
* lten.c: Transfer commodity from a ship to a land unit the ship is
|
||||
* carrying
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Thomas Ruschak
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* map.c: Display a map of sectors.
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* marc.c: March units around
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Thomas Ruschak
|
||||
* Ken Stevens, 1995 (rewrite)
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* mark.c: Display report for commodities
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Pat Loney, 1992
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* multifire.c: Fire at other sectors/ships
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 2000
|
||||
* Markus Armbruster, 2004-2008
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* mine.c: Lay mines from ships or units
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* miss.c: set missions for ships/planes/units
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Thomas Ruschak, 1992
|
||||
* Steve McClure, 2000
|
||||
|
@ -77,7 +77,7 @@ mission(void)
|
|||
buf)) == 0)
|
||||
return RET_SYN;
|
||||
|
||||
/*
|
||||
/*
|
||||
* 'i' interdiction
|
||||
* 's' support
|
||||
* 'o' support attacks
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* mobq.c: Set the sailing mobility quota for a ship
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Robert Forsman
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* mora.c: Edit morale of a land unit
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Bailey
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* move.c: Move commodities around
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* name.c: Name a ship
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Bailey
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* nati.c: List nation information
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* navi.c: Navigate ships and such
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995 (rewritten)
|
||||
* Ron Koenderink, 2006-2007
|
||||
|
@ -130,7 +130,7 @@ do_unit_move(struct emp_qelem *ulist, int *together,
|
|||
else
|
||||
skip = 0;
|
||||
sprintf(prompt, "<%.1f:%.1f: %s> ", *maxmob,
|
||||
*minmob, xyas(leader->x, leader->y, player->cnum));
|
||||
*minmob, xyas(leader->x, leader->y, player->cnum));
|
||||
cp = getstring(prompt, buf);
|
||||
/* Just in case any of our units were shelled while we were
|
||||
* at the prompt, we call shp_nav() or lnd_mar() again.
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* ndump.c: Dump nuke information
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* John Yockey, 1997
|
||||
* Steve McClure, 1998
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* new.c: Create a new capital for a player
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* newe.c: Show new sector efficiency (projected)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Thomas Ruschak, 1993
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* news.c: Show current Empire news
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* nuke.c: Display a listing of your nuclear arsenal
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Markus Armbruster, 2006
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* offe.c: Offer a loan or treaty
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Pat Loney, 1992
|
||||
* Steve McClure, 1996
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* orde.c: Turn on/off autonavigation
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Chad Zabel, 1994
|
||||
* Steve McClure, 2000
|
||||
|
@ -52,8 +52,8 @@
|
|||
* ORDER <ship> l[evel] <field> <start/end> <comm> <level>
|
||||
*
|
||||
* New syntax:
|
||||
* qorder <ship> display cargo levels
|
||||
* sorder <ship> display statistical info
|
||||
* qorder <ship> display cargo levels
|
||||
* sorder <ship> display statistical info
|
||||
*/
|
||||
|
||||
int
|
||||
|
@ -194,7 +194,7 @@ orde(void)
|
|||
break;
|
||||
}
|
||||
|
||||
/* to keep sub in range of our arrays
|
||||
/* to keep sub in range of our arrays
|
||||
subtract 1 so the new range is 0-(TMAX-1)
|
||||
*/
|
||||
sub = sub - 1;;
|
||||
|
@ -279,7 +279,7 @@ orde(void)
|
|||
|
||||
ship.shp_autonav |= AN_LOADING;
|
||||
|
||||
/* swap variables, this keeps
|
||||
/* swap variables, this keeps
|
||||
the load_it() procedure happy. CZ
|
||||
*/
|
||||
tcord = ship.shp_destx[0];
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* orig.c: Move your origin
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Shelley Louie, 1988
|
||||
* Markus Armbruster, 2006
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* para.c: Drop paratroopers onto a sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* path.c: Show empire distribution paths
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff, 1986
|
||||
* (unknown rewrite), 1989
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* payo.c: Calculate trade ship payoffs
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Thomas Ruschak, 1992
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* pdump.c: Dump plane information
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* John Yockey, 1997
|
||||
* Steve McClure, 1998
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* peek.c: Show hidden values report (deity)
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Wallace, 1989
|
||||
* Pat Loney, 1998
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* plan.c: Do a plane report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
* Steve McClure, 2000
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* play.c: Who is logged on?
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ken Stevens, 1995
|
||||
* Steve McClure, 1998
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* powe.c: Do a power report
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare
|
||||
* Ken Stevens, 1995
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* prod.c: Calculate production levels
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* David Muir Sharnoff, 1987
|
||||
* Steve McClure, 1997-2000
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* pstat.c: Show the stats of your planes
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Steve McClure, 1996
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* rada.c: Do radar from a ship/unit/sector
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Ron Koenderink, 2006
|
||||
*/
|
||||
|
@ -66,7 +66,7 @@ radar(short type)
|
|||
|
||||
sprintf(prompt, "Radar from (%s # or sector(s)) : ", ef_nameof(type));
|
||||
cp = getstarg(player->argp[1], prompt, buf);
|
||||
|
||||
|
||||
if (cp == 0)
|
||||
return RET_SYN;
|
||||
switch (sarg_type(cp)) {
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* rang.c: Edit range of plane/land unit
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Jeff Bailey
|
||||
*/
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* rea.c: Read telegrams
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare
|
||||
* Doug Hay, 1998
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* real.c: Show or set a realm
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
* ---
|
||||
*
|
||||
* reco.c: Fly a recon mission
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
* Dave Pare, 1986
|
||||
*/
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
* ---
|
||||
*
|
||||
* reje.c: Refuse telegrams/annos/treaties/loans from countries
|
||||
*
|
||||
*
|
||||
* Known contributors to this file:
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue