]> git.pond.sub.org Git - empserver/commitdiff
Fix trailing whitespace
authorMarkus Armbruster <armbru@pond.sub.org>
Thu, 18 Sep 2008 01:09:14 +0000 (21:09 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 18 Sep 2008 01:31:40 +0000 (21:31 -0400)
509 files changed:
CREDITS
GNUmakefile.in
Make.mk
configure.ac
doc/CHANGES4.X
doc/README
doc/coding
doc/xdump
include/budg.h
include/com.h
include/combat.h
include/commands.h
include/commodity.h
include/damage.h
include/distribute.h
include/econfig-spec.h
include/empio.h
include/empobj.h
include/empthread.h
include/file.h
include/game.h
include/ioqueue.h
include/item.h
include/journal.h
include/land.h
include/loan.h
include/lost.h
include/lwp.h
include/map.h
include/match.h
include/misc.h
include/mission.h
include/nat.h
include/news.h
include/nsc.h
include/nuke.h
include/optlist.h
include/path.h
include/plague.h
include/plane.h
include/player.h
include/power.h
include/product.h
include/proto.h
include/prototypes.h
include/queue.h
include/retreat.h
include/sect.h
include/server.h
include/service.h
include/ship.h
include/tel.h
include/trade.h
include/treaty.h
include/types.h
include/unit.h
include/update.h
include/version.h
include/xdump.h
include/xy.h
info/Attacking.t
info/Autonav.t
info/Basics.t
info/CHANGES.CHAINSAW.t
info/Clients.t
info/Empire2.t
info/Empire3.t
info/Empire4.t
info/Flak.t
info/Infrastructure.t
info/Land-units.t
info/Novice.t
info/Old-empire.t
info/Overview.t
info/Research.t
info/Sector-types.t
info/Syntax.t
info/Taxes.t
info/Technology.t
info/Trade-ships.t
info/anti.t
info/assault.t
info/bdes.t
info/bestpath.t
info/bmap.t
info/board.t
info/bomb.t
info/build.t
info/cargo.t
info/coastwatch.t
info/convert.t
info/cutoff.t
info/deliver.t
info/distribute.t
info/drop.t
info/dump.t
info/fly.t
info/launch.t
info/lbmap.t
info/lcargo.t
info/ldump.t
info/level.t
info/lload.t
info/lmap.t
info/load.t
info/lost.t
info/lrange.t
info/lretreat.t
info/map.t
info/mission.t
info/move.t
info/nbmap.t
info/ndump.t
info/nmap.t
info/order.t
info/paradrop.t
info/pbmap.t
info/pdump.t
info/pmap.t
info/power.t
info/qorder.t
info/read.t
info/recon.t
info/retreat.t
info/sail.t
info/sbmap.t
info/sdump.t
info/shark.t
info/sinfrastructure.t
info/smap.t
info/sonar.t
info/sorder.t
info/spy.t
info/supply.t
info/sweep.t
info/territory.t
info/wire.t
scripts/xdump.pl
src/client/Makefile.in
src/client/configure.ac
src/client/expect.c
src/client/host.c
src/client/ipglob.c.in
src/client/linebuf.c
src/client/linebuf.h
src/client/login.c
src/client/main.c
src/client/misc.h
src/client/play.c
src/client/ringbuf.c
src/client/ringbuf.h
src/client/secure.c
src/client/secure.h
src/client/servcmd.c
src/client/sysdep_w32.c
src/client/sysdep_w32.h
src/client/termlib.c
src/lib/as/README
src/lib/as/as.h
src/lib/commands/acce.c
src/lib/commands/add.c
src/lib/commands/anti.c
src/lib/commands/arm.c
src/lib/commands/army.c
src/lib/commands/assa.c
src/lib/commands/atta.c
src/lib/commands/bdes.c
src/lib/commands/best.c
src/lib/commands/boar.c
src/lib/commands/bomb.c
src/lib/commands/brea.c
src/lib/commands/budg.c
src/lib/commands/buil.c
src/lib/commands/buy.c
src/lib/commands/capi.c
src/lib/commands/carg.c
src/lib/commands/cede.c
src/lib/commands/cens.c
src/lib/commands/chan.c
src/lib/commands/coas.c
src/lib/commands/coll.c
src/lib/commands/comm.c
src/lib/commands/cons.c
src/lib/commands/conv.c
src/lib/commands/coun.c
src/lib/commands/cuto.c
src/lib/commands/decl.c
src/lib/commands/deli.c
src/lib/commands/demo.c
src/lib/commands/desi.c
src/lib/commands/disa.c
src/lib/commands/dist.c
src/lib/commands/drop.c
src/lib/commands/dump.c
src/lib/commands/echo.c
src/lib/commands/edit.c
src/lib/commands/enab.c
src/lib/commands/enli.c
src/lib/commands/expl.c
src/lib/commands/fina.c
src/lib/commands/flash.c
src/lib/commands/flee.c
src/lib/commands/fly.c
src/lib/commands/foll.c
src/lib/commands/forc.c
src/lib/commands/fort.c
src/lib/commands/give.c
src/lib/commands/grin.c
src/lib/commands/hard.c
src/lib/commands/head.c
src/lib/commands/improve.c
src/lib/commands/info.c
src/lib/commands/land.c
src/lib/commands/laun.c
src/lib/commands/lboard.c
src/lib/commands/ldump.c
src/lib/commands/ledg.c
src/lib/commands/leve.c
src/lib/commands/load.c
src/lib/commands/look.c
src/lib/commands/lost.c
src/lib/commands/lstat.c
src/lib/commands/lten.c
src/lib/commands/map.c
src/lib/commands/marc.c
src/lib/commands/mark.c
src/lib/commands/mfir.c
src/lib/commands/mine.c
src/lib/commands/miss.c
src/lib/commands/mobq.c
src/lib/commands/mora.c
src/lib/commands/move.c
src/lib/commands/name.c
src/lib/commands/nati.c
src/lib/commands/navi.c
src/lib/commands/ndump.c
src/lib/commands/new.c
src/lib/commands/newe.c
src/lib/commands/news.c
src/lib/commands/nuke.c
src/lib/commands/offe.c
src/lib/commands/orde.c
src/lib/commands/orig.c
src/lib/commands/para.c
src/lib/commands/path.c
src/lib/commands/payo.c
src/lib/commands/pdump.c
src/lib/commands/peek.c
src/lib/commands/plan.c
src/lib/commands/play.c
src/lib/commands/powe.c
src/lib/commands/prod.c
src/lib/commands/pstat.c
src/lib/commands/rada.c
src/lib/commands/rang.c
src/lib/commands/rea.c
src/lib/commands/real.c
src/lib/commands/reco.c
src/lib/commands/reje.c
src/lib/commands/rela.c
src/lib/commands/relo.c
src/lib/commands/repa.c
src/lib/commands/repo.c
src/lib/commands/rese.c
src/lib/commands/reso.c
src/lib/commands/retr.c
src/lib/commands/rout.c
src/lib/commands/sabo.c
src/lib/commands/sail.c
src/lib/commands/sate.c
src/lib/commands/scra.c
src/lib/commands/scut.c
src/lib/commands/sdump.c
src/lib/commands/sect.c
src/lib/commands/sell.c
src/lib/commands/set.c
src/lib/commands/setres.c
src/lib/commands/setsect.c
src/lib/commands/shar.c
src/lib/commands/shark.c
src/lib/commands/shi.c
src/lib/commands/shoo.c
src/lib/commands/show.c
src/lib/commands/shut.c
src/lib/commands/sinf.c
src/lib/commands/skyw.c
src/lib/commands/sona.c
src/lib/commands/spy.c
src/lib/commands/sstat.c
src/lib/commands/stop.c
src/lib/commands/stre.c
src/lib/commands/strv.c
src/lib/commands/supp.c
src/lib/commands/surv.c
src/lib/commands/swap.c
src/lib/commands/tele.c
src/lib/commands/tend.c
src/lib/commands/terr.c
src/lib/commands/thre.c
src/lib/commands/togg.c
src/lib/commands/torp.c
src/lib/commands/trad.c
src/lib/commands/tran.c
src/lib/commands/trea.c
src/lib/commands/turn.c
src/lib/commands/upda.c
src/lib/commands/upgr.c
src/lib/commands/vers.c
src/lib/commands/wing.c
src/lib/commands/wipe.c
src/lib/commands/work.c
src/lib/commands/xdump.c
src/lib/commands/zdon.c
src/lib/common/bestpath.c
src/lib/common/btu.c
src/lib/common/cargo.c
src/lib/common/cnumb.c
src/lib/common/conftab.c
src/lib/common/ef_verify.c
src/lib/common/emp_config.c
src/lib/common/file.c
src/lib/common/filetable.c
src/lib/common/game.c
src/lib/common/hap_fact.c
src/lib/common/hours.c
src/lib/common/mailbox.c
src/lib/common/mapdist.c
src/lib/common/move.c
src/lib/common/nat.c
src/lib/common/nsc.c
src/lib/common/nstreval.c
src/lib/common/path.c
src/lib/common/rdsched.c
src/lib/common/res_pop.c
src/lib/common/stmtch.c
src/lib/common/tfact.c
src/lib/common/type.c
src/lib/common/wantupd.c
src/lib/common/xdump.c
src/lib/common/xundump.c
src/lib/common/xy.c
src/lib/empthread/io.c
src/lib/empthread/lwp.c
src/lib/empthread/ntthread.c
src/lib/empthread/posix.c
src/lib/empthread/pthread.c
src/lib/gen/chance.c
src/lib/gen/disassoc.c
src/lib/gen/fnameat.c
src/lib/gen/fsize.c
src/lib/gen/ioqueue.c
src/lib/gen/log.c
src/lib/gen/numstr.c
src/lib/gen/parse.c
src/lib/gen/plur.c
src/lib/gen/queue.c
src/lib/gen/round.c
src/lib/gen/scthash.c
src/lib/gen/tcp_listen.c
src/lib/global/constants.c
src/lib/global/dir.c
src/lib/global/init.c
src/lib/global/item.c
src/lib/global/land.c
src/lib/global/news.c
src/lib/global/nuke.c
src/lib/global/options.c
src/lib/global/path.c.in
src/lib/global/plane.c
src/lib/global/product.c
src/lib/global/sect.c
src/lib/global/ship.c
src/lib/global/symbol.c
src/lib/global/updtime.c
src/lib/global/version.c
src/lib/lwp/arch.c
src/lib/lwp/lwp.c
src/lib/lwp/lwpint.h
src/lib/lwp/queue.c
src/lib/lwp/rwlock.c
src/lib/lwp/sel.c
src/lib/lwp/sig.c
src/lib/lwp/status.c
src/lib/player/accept.c
src/lib/player/dispatch.c
src/lib/player/empdis.c
src/lib/player/empmod.c
src/lib/player/init_nats.c
src/lib/player/login.c
src/lib/player/nat.c
src/lib/player/player.c
src/lib/player/recvclient.c
src/lib/subs/aircombat.c
src/lib/subs/askyn.c
src/lib/subs/aswplnsubs.c
src/lib/subs/attsub.c
src/lib/subs/bigmap.c
src/lib/subs/border.c
src/lib/subs/bridgefall.c
src/lib/subs/bsanct.c
src/lib/subs/caploss.c
src/lib/subs/check.c
src/lib/subs/coastal.c
src/lib/subs/control.c
src/lib/subs/damage.c
src/lib/subs/detonate.c
src/lib/subs/disloan.c
src/lib/subs/distrea.c
src/lib/subs/empobj.c
src/lib/subs/fileinit.c
src/lib/subs/fortdef.c
src/lib/subs/getbit.c
src/lib/subs/getele.c
src/lib/subs/getstarg.c
src/lib/subs/getstring.c
src/lib/subs/journal.c
src/lib/subs/land.c
src/lib/subs/landgun.c
src/lib/subs/list.c
src/lib/subs/lndsub.c
src/lib/subs/lostsub.c
src/lib/subs/maps.c
src/lib/subs/mission.c
src/lib/subs/move.c
src/lib/subs/mslsub.c
src/lib/subs/mtch.c
src/lib/subs/natarg.c
src/lib/subs/natsub.c
src/lib/subs/neigh.c
src/lib/subs/nreport.c
src/lib/subs/nstr.c
src/lib/subs/nuke.c
src/lib/subs/nxtitem.c
src/lib/subs/nxtsct.c
src/lib/subs/onearg.c
src/lib/subs/paths.c
src/lib/subs/plane.c
src/lib/subs/plnsub.c
src/lib/subs/pr.c
src/lib/subs/radmap.c
src/lib/subs/rej.c
src/lib/subs/retreat.c
src/lib/subs/sarg.c
src/lib/subs/satmap.c
src/lib/subs/sect.c
src/lib/subs/sectdamage.c
src/lib/subs/ship.c
src/lib/subs/show.c
src/lib/subs/shpsub.c
src/lib/subs/snxtitem.c
src/lib/subs/snxtsct.c
src/lib/subs/supply.c
src/lib/subs/takeover.c
src/lib/subs/trdsub.c
src/lib/subs/trechk.c
src/lib/subs/unitsub.c
src/lib/subs/whatitem.c
src/lib/subs/wu.c
src/lib/update/age.c
src/lib/update/anno.c
src/lib/update/bp.c
src/lib/update/deliver.c
src/lib/update/distribute.c
src/lib/update/finish.c
src/lib/update/human.c
src/lib/update/land.c
src/lib/update/main.c
src/lib/update/material.c
src/lib/update/mobility.c
src/lib/update/move_sat.c
src/lib/update/nat.c
src/lib/update/nav_ship.c
src/lib/update/nav_util.c
src/lib/update/nxtitemp.c
src/lib/update/plague.c
src/lib/update/plane.c
src/lib/update/populace.c
src/lib/update/prepare.c
src/lib/update/produce.c
src/lib/update/removewants.c
src/lib/update/revolt.c
src/lib/update/sail.c
src/lib/update/sect.c
src/lib/update/ship.c
src/lib/w32/arpa/inet.h
src/lib/w32/netdb.h
src/lib/w32/netinet/in.h
src/lib/w32/posixfile.c
src/lib/w32/posixio.c
src/lib/w32/service.c
src/lib/w32/sys/socket.h
src/lib/w32/sys/uio.h
src/lib/w32/unistd.h
src/lib/w32/w32misc.h
src/scripts/nightly/nightlybuild.sh
src/scripts/nightly/patches/All/common_file.c.patch
src/scripts/nightly/patches/All/lost.c.patch
src/scripts/nightly/patches/All/pr.c.patch
src/scripts/nightly/patches/All/pre_update.patch
src/server/idle.c
src/server/main.c
src/server/marketup.c
src/server/shutdown.c
src/server/update.c
src/util/empdump.c
src/util/empsched.c
src/util/fairland.c
src/util/files.c
src/util/pconfig.c

diff --git a/CREDITS b/CREDITS
index 8d378944293aa6b4a38e0c0ec70a73e2939484b4..fb45208865d0e2d8433e1e71011e05bf2b9cccd7 100644 (file)
--- a/CREDITS
+++ b/CREDITS
@@ -27,7 +27,7 @@ projects building on the projects before it):
   Steve McClure (ionica@empire.cx) (Wolfpack)
 
 It is due to these above people pulling projects together that the
-Empire server has gotten to where it is today. 
+Empire server has gotten to where it is today.
 
 Empire is copyrighted and released by the 5 people above under the GNU
 GPL.  See files README, COPYING and CREDITS for related information
@@ -98,7 +98,7 @@ Steven Grimm (koreth@ucscb.UCSC.EDU)
 Karl Hagen
 Doug Hay (Doug_Hay@tsb.ca)
 Ken Huisman
-Ray Hyatt (Ray.Hyatt@gmail.com)   
+Ray Hyatt (Ray.Hyatt@gmail.com)
 Lewis R. Jansen (lrj@helios.tn.cornell.edu)
 Mike St. Johns (stjohns@edn-vax.arpa)
 Beorn Johnson
index 95e376779d270ef8ea64ced8d941c958a04c030c..b25bbb4275c9bf8b712d176a90dae0b528200001 100644 (file)
@@ -1,36 +1,36 @@
-# 
+#
 #   Empire - A multi-player, client/server Internet based war game.
 #   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
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2 of the License, or
 #   (at your option) any later version.
-# 
+#
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
-# 
+#
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-# 
+#
 #   ---
-# 
+#
 #   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.
-# 
+#
 #   ---
-# 
+#
 #   @configure_input@
 #   GNUmakefile.in: Makefile template for configure
-#  
+#
 #   Known contributors to this file:
 #      Markus Armbruster, 2005-2008
-# 
+#
 
 # The real meat is in Make.mk, which see.
 
diff --git a/Make.mk b/Make.mk
index 696e4aec867dcc4531183c10068d097496f0862a..803ebf2f302806d5f87d3b3b605505d8e9768ce1 100644 (file)
--- a/Make.mk
+++ b/Make.mk
@@ -1,35 +1,35 @@
-# 
+#
 #   Empire - A multi-player, client/server Internet based war game.
 #   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
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2 of the License, or
 #   (at your option) any later version.
-# 
+#
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
-# 
+#
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-# 
+#
 #   ---
-# 
+#
 #   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.
-# 
+#
 #   ---
-# 
+#
 #   Make.mk: The real Makefile, included by GNUmakefile
-#  
+#
 #   Known contributors to this file:
 #      Markus Armbruster, 2005-2008
-# 
+#
 
 # This makefile was inspired by `Recursive Make Considered Harmful',
 # Peter Miller, 1997.
index dffe8cabbb5362993a8cac784646eaf9c326464f..52695da938b1ee01d5591ba1685197f57f1b87b7 100644 (file)
@@ -1,35 +1,35 @@
-# 
+#
 #   Empire - A multi-player, client/server Internet based war game.
 #   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
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2 of the License, or
 #   (at your option) any later version.
-# 
+#
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
-# 
+#
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-# 
+#
 #   ---
-# 
+#
 #   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.
-# 
+#
 #   ---
-# 
+#
 #   configure.ac: Autoconf input file
-#  
+#
 #   Known contributors to this file:
 #      Markus Armbruster, 2005-2008
-# 
+#
 # Process this file with autoconf to produce a configure script.
 
 # Autoconf makes checking for and programming around assorted ancient
index 362a4caf4b62d28d4c55b0841f4f832f47a168ba..7dd59172f67c99af0af00afe2ac059088af72e66 100644 (file)
@@ -515,7 +515,7 @@ Changes to Empire 4.3.10 - Thu Sep  6 17:59:53 UTC 2007
      shutdown aborted it.  The bug allowed players to delay update and
      shutdown indefinitely.
  * Thread priorities are only implemented by LWP and no longer used.
-   With LWP, they let players with a sufficiently fast connection 
+   With LWP, they let players with a sufficiently fast connection
    starve out the threads that clean the lost file and kill idle
    connections.  Drop them.
  * Show nuke rounded required research incorrectly.
@@ -727,7 +727,7 @@ Changes to Empire 4.3.6 - Tue Jun 20 18:46:18 UTC 2006
    in 4.0.2), and trains could be sent down paths without rail (never
    worked).  Also fixes unit reaction path cost.
  * The custom table reader can now deal with sector, item, product and
-   infra tables more comfortably.  
+   infra tables more comfortably.
  * Remove option BIG_CITY.  Deities can customize the sect table to
    get the same effect.
  * Many more selectors can now be compared with names, not just
@@ -1632,7 +1632,7 @@ Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
  * News no longer call all sub-launched missiles nuclear.
  * Incoming missiles are now reported with coordinates.
  * Removed some code that served no purpose except crashing on
-   Windows. 
+   Windows.
  * Fixed Mac OSX and AIX build problems.
  * Don't resolve player IP addresses for now, because it can crash
    with certain versions of GNU libc.
@@ -1727,7 +1727,7 @@ Changes to Empire 4.2.8 - Mon Oct  9 17:35:35 MDT 2000
  * Updated order of firing flak in Flak.t.
  * Fixed 80% efficient planes on ships must be maintained.
  * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
-   variable. 
+   variable.
  * Removed "TEMPORARILY DISABLED" message from mission command for escort
    missions.  Escort missions have been re-enabled since 4.0.15.
  * Using sonar from the navigate command will print the sonar map.
@@ -1862,7 +1862,7 @@ Changes to Empire 4.2.6 - Fri Jun  4 05:55:20 PDT 1999
  * Fixed bug in sectors that don't revolt not showing up as lost items.
  * Fixed bug where maps with an X of exactly 200 is not drawing third line.
  * Fixed bug where MOB_ACCESS was not updating the mobility just before
-   the update. 
+   the update.
  * Fixed bug in the way treaties are examined and sometimes produce
    wrong results.
  * Fixed edit to allow creating negative mobility for sectors.
@@ -1893,7 +1893,7 @@ Changes to Empire 4.2.5 - Mon Mar  1 06:42:24 PST 1999
  * Fixed bug where scrapping land units was creating military.
  * Fixed description of sect_mob_neg_factor in econfig file.
  * Increased speed of PT boats.
-       
+
 Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
  * Added check to make military values match up correctly for land
    units.
@@ -1905,7 +1905,7 @@ Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
  * Fixed bug in explore command not setting mobility to correct
    value when MOB_ACCESS was enabled.
  * Fixed bug in enlist setting mobility incorrectly sometimes.
- * Added doc/backup file for deities which recommends how backups and 
+ * Added doc/backup file for deities which recommends how backups and
    restores of the data directory should be done.
 
 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
@@ -2030,7 +2030,7 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
  * Fixed bug where satellites were not orbiting the world during the
    update.
  * Fixed bug in torpedos being too smart.  They knew how to jump over
-   land! :)  Now the "line_of_sight" routine is used to determine if a 
+   land! :)  Now the "line_of_sight" routine is used to determine if a
    torpedo has a straight path to the destination.  If it doesn't, the
    torpedo no longer jumps over land, but instead slams into it.  This was
    an interesting bug because you could torp ships on the other side of
@@ -2046,9 +2046,9 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
    destination sector.  Goods are now attempted to be returned to the
    start sector, and apporpriate steps taken if the start sector is no
    longer available.
- * Fixed march to prompt you before you abandon a sector you own by 
+ * Fixed march to prompt you before you abandon a sector you own by
    marching out the last land unit.
- * Fixed check functions to only check the relevant portions of the structure 
+ * Fixed check functions to only check the relevant portions of the structure
    and not the timestamp info that doesn't affect how the object functions.
  * Fixed bug in spy command that always told you if a spy unit was in a
    non-owned sector.
@@ -2096,7 +2096,7 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
    gained information that you wouldn't normally know.)
  * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
    and "BestAirPath" to use it properly.  It is also good to note that
-   bestownedpath is used to determine paths for ships and for planes, 
+   bestownedpath is used to determine paths for ships and for planes,
    and that best_path (which uses the A* algorithm) is used for all land
    based paths, and that the two are never interchanged.
  * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
@@ -2109,7 +2109,7 @@ Changes to Empire 4.2.1 - Tue Nov  3 12:56:20 PST 1998
    properly, and thus causing crashes when accessing certain plane
    routines.  This happened during the move to make the PLANENAMES option
    run-time configurable.
-       
+
 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
  * Bumped rev to 4.2.0 since this is a major release (the server is now
    run-time configurable for just about everything and is released under
@@ -2272,7 +2272,7 @@ Changes to Empire 4.0.18 - Thu Sep 24 06:54:27 PDT 1998
  * Updated Education.t
  * Modified (increased) chances of hitting mines slightly.
  * Removed unused variables from shp_check_mines.
-       
+
 Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
  * Added ability in edit to change coastal flag for sectors.
  * Added ability in edit to edit plague values for ships.
@@ -2290,7 +2290,7 @@ Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
    (works for sea and land mines, used "lmine" to distinguish it from "min"
    which determines mineral (iron) content of a sector.)
  * No longer able to pin bomb land units on a ship.
- * Land units are required to have at least one military loaded to perform 
+ * Land units are required to have at least one military loaded to perform
    a mission.
  * Firing land units are required to have at least on military loaded to
    be able to fire (or return fire.)
@@ -2306,7 +2306,7 @@ Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
    they were not cargo capable.
  * Fixed bug in potentially crashing in update code for nations tech/research.
  * Fixed bug in execute putting you into execute mode incorrectly.
- * Fixed bug in board not allowing land units to board from 0 mobility 
+ * Fixed bug in board not allowing land units to board from 0 mobility
    sectors.
  * Fixed bug where interdicted land units that were missed displayed
    a "SPLASH! Bombs miss your ships" message.
@@ -2396,7 +2396,7 @@ Changes to Empire 4.0.16 - Fri Jun 12 08:52:06 EDT 1998
    before.)
  * Fixed bug in neweff not reporting stopped sectors.  It now (correctly)
    reports them as not changing eff.
-       
+
 Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
  * Fixed the spelling of Markus' name in CHANGES4.0 files.
  * Added Markus' patches/fixes.  Some are detailed below.
@@ -2417,7 +2417,7 @@ Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
  * Fixed bug in setsector telling the deity coordinates of sectors being
    granted/taken away.
  * Fixed bug in setting budget of enlistment sectors to 0.
-       
+
 Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed time_t problem in common/log.c
  * Fixed bug in headlines
@@ -2427,7 +2427,7 @@ Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed bug in printing of "No ship(s)" twice in cargo command when no
    ships were selected.
  * Temporarily disabled escort missions until a fix is found. They are
-   randomly crashing the server.  
+   randomly crashing the server.
  * Fixed morale.t to reflect that retreat percentage is based off of
    morale_base and not 75.
  * Fixed bug in bridgefall where planes and units on ship in a sector
@@ -2437,7 +2437,7 @@ Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed bug in produce command reporting incorrect costs (sometimes).
  * Land units on ships will now try to draw supply from the ship they
    are on.
-       
+
 Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
  * Fixed bug in distribute when world sizes are other than 64x32
  * Fixed bug in getcommand (not really a bug, just made it work like
@@ -2446,10 +2446,10 @@ Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
  * Fixed building of POSIX threads on Alpha running Digital Unix.
  * Fixed line_of_sight prototype in sona.c
  * Fixed fairland not to conuse stupid C++ compilers.
-       
+
 Changes to Empire 4.0.12 - Tue Feb 24 11:27:31 EST 1998
  * Fixed client build on linux (whoops)
-       
+
 Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
  * AIX build seems to only work with gcc right now (but at least that works)
  * Vax Ultrix (vaxultrix) build should work now (hopefully) out of the box.
@@ -2464,7 +2464,7 @@ Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
  * Fixed bug where spies were not dying when damaged.
  * Fixed bug in HIDDEN mods in declare command not printing country # of
     uncontacted country correctly (or at all as a matter of fact)
-       
+
 Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
  * Fixed bug where fleets were being interdicted but the damage was being
     spread to ships not in the same sectors.
@@ -2498,7 +2498,7 @@ Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
     a sector.
  * Documented mountains only holding and using 1/10th of the normal sector
     population in Sector-types.t.
- * Fixed documentation on ship's firing ranges in fire.t to be less 
+ * Fixed documentation on ship's firing ranges in fire.t to be less
     ambiguous.
  * Updated nukes in nuke.t
  * Added apropos command (thanks to Mike Wise)
@@ -2506,7 +2506,7 @@ Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
     there are two files of the same name, and you don't get a complete match,
     then whichever file is found first in the directory is used.
  * Changed documentation in wantupd.h
-       
+
 Changes to Empire 4.0.9 - Sat Apr 19 23:01:51 EDT 1997
  * Fixed dump info pages that were getting formatted funny.
  * Fixed improve info page.
@@ -2574,7 +2574,7 @@ Changes to Empire 4.0.8 - Wed Feb 26 23:00:51 EST 1997
     This was major because it affected timestamp values which are more
     than 65535.
  * Fixed bug in sdump.c for typo in reporting the trade ships origin.
-       
+
 Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
  * Fixed bug in aircombat.c when calculating the air combat odds.  Negative
     numbers were screwing things up good...
@@ -2609,7 +2609,7 @@ Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
  * Spies caught in Neutral or Friendly countries cause the Neutral or
     Friendly country to go Hostile towards the owner of the spy.
  * Tweaked ammunition numbers for artillery units.
- * No more automatic declarations of War should be made.  You will go 
+ * No more automatic declarations of War should be made.  You will go
     hostile, but since going to war doesn't increase your countries
     defenses, and is purely political, it is left to the player to go
     that final step.
@@ -2703,7 +2703,7 @@ Changes to Empire 4.0.4 - Mon Dec  9 11:00:00 EST 1996
  * Fixed doconfig.c to create directories with right modes.
  * Fixed install macros in makefiles to move binaries to the right
     places.
-       
+
 Changes to Empire 4.0.3 - Wed Dec  4 22:46:53 EST 1996
  * Added HP/UX port.
  * Fixed doconfig.c (put exit(0) at the end of main.)
@@ -2738,7 +2738,7 @@ Changes to Empire 4.0.2 - Mon Oct 14 12:26:40 EDT 1996
  * Fixed attack value in attack_val in lndsub.c
  * Fixed lload in commands/load.c
  * Fixed defense_val in lndsub.c - Made it a minimum of 1, so that units will
-    always fight until dead or retreating.  0 makes them get stuck. 
+    always fight until dead or retreating.  0 makes them get stuck.
  * Fixed update/deliver.c - no delivery of non-oldowned civvies (or anything
     else for that matter.)
  * Fixed llook in commands/look.c
@@ -2822,7 +2822,7 @@ Changes to Empire 4.0.0 - Wed Aug 21 1996
  * Added NO_LCMS, NO_HCMS and NO_OIL options.  When any of these options are
     enabled, you don't need any of that type of material to build things.
     If NO_HCMS is enabled, you don't need HCMS to build bridges, you need
-    lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need 
+    lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need
     any materials to build a bridge.
  * There is no mobility cost for assigning missions.  But, there is also
     no longer any benefit for being on a mission either.
@@ -2877,7 +2877,7 @@ Changes to Empire 4.0.0 - Wed Aug 21 1996
  * Che can now be lessened by making happiness.  If you have more happiness
     than your conquered populace, they don't fight as hard or recruit as
     much.  If you have less than them, they fight harder and recruit more.
-    It's not much though - it ranges from 2.0 in your favor to only 0.8 
+    It's not much though - it ranges from 2.0 in your favor to only 0.8
     against you (whereas it was always 1.0 before.)  So, it definitely
     favors the attackers to make lots of happy now.
  * Bridgeheads can only be built on coasts.
index 7d485c1b89ddcbdf1fcf30e6a2f14e036a103456..d16e50cf8edf949f94770dea0b07523d71dc6d4d 100644 (file)
@@ -16,7 +16,7 @@ clients-howto
 troubleshooting
        Some common problems and solutions.
 
-configuration    
+configuration
        How to turn options on and off, change game parameters, etc...
 
 debugging
@@ -35,7 +35,7 @@ pthreads
        Sasha Mikheev's notes on Empire's threading abstraction, and
        its LWP and POSIX threads implementation.
 
-coding           
+coding
        Guidelines for coding style
 
 unicode
index 652c3deb787d7072fca97b22dac70da436c9048b..e3d8c69457f8e73a493722ca7d115e6d9a08b965 100644 (file)
@@ -462,7 +462,7 @@ player->aborted; if it is set after a read, the read failed.
 git
 ---
 
-Commit related changes together, unrelated changes separately.  
+Commit related changes together, unrelated changes separately.
 
 Write meaningfull commit messages.  Start with a single short line
 (ideally less than 50 characters) summarizing the change, followed by
@@ -507,7 +507,7 @@ a procedure, something may well be amiss.
 
 Sasha Mikheev on indentation:
 
-The empire indentation style can be achived by using 
+The empire indentation style can be achived by using
 indent -orig -i8 foo.c
 
 or in old c-mode emacs (versions before 19.29):
index e0adf04b5eee59b99179cd1039ba571eff6e98ad..0a228fe1af54c4912620810e70c9f55d500562a2 100644 (file)
--- a/doc/xdump
+++ b/doc/xdump
@@ -468,7 +468,7 @@ requirements than dumps:
   - No comment syntax.
 
 * Each table is self-contained.  You don't have to look into other
-  tables to make sense of it.  
+  tables to make sense of it.
 
   This conflicts with xdump's separation of data and meta-data.  You
   need the table's meta-data to identify fields, and the referenced
index 653ffe19a331cd2b6bdf2b7954c233523b238cf9..7cd055044696a347af58010087d8df2693206cc4 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  budg.h: Budget related definitions
- * 
+ *
  *  Known contributors to this file:
  *     Ville Virrankoski, 1995
  */
index 2509b221966cc4dd8f4e5966a1088a04aa21cfb5..6174c1b89dfb8e8960fc3d141e4af94103a85b99 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  com.h: Definitions used to parse Empire commands
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef COM_H
index 62bf34e2e9e7819cd93674fa8e5bcc584ff5e251..a62a40dde0142558774fa456027984faf5c26f62 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  combat.h: Definitions for things having to do with combat
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index f3aa6ac1f73c76f3271581666eedafb2921ee286..594d2632d85b768c2abd782cbcf6cab69d972936 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  commands.h: Definitions used for command stuff
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef COMMANDS_H
index d515364e7c8937eefdd4fc6ca646d1b5686803ed..1808fb43b63f3a8f2749f459dfd2bef30fc14fcf 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  commodity.h: Definitions for buy/market/sell commands in a time delay
  *               market
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1996
index c6a6cf39cedb232306b2b76182e50485f21a75e6..8bd6c63494f71243ae13e1bdce52ee20cf15dba4 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  damage.h: Damage formulas
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 301146b3fee2b3139c1e111ad243b41c9008fd6b..e990024563e0d3af857a59d98294a615d3249f72 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  distribute.h: Definitions for distribution stuff
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef DISTRIBUTE_H
index e2a85ce6ec90f4be3f316136029c1fbce6780c70..756bed167a5cf87790ccc6fa620484fbcf6d9440 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  econfig-spec.h: Combined include for optlist.h and emp_config.c
- * 
+ *
  *  Known contributors to this file:
  *     Marc Olzheim, 2004
  *     Markus Armbruster, 2004-2008
index 06eba67f12e0e4ad51813578eb8274b529d6bd9f..2ca28badcc64a123624033b80f846cc5d5f77717 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  empio.h: Describes io pointers used in Empire
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef EMPIO_H
index 63931c1062c90b1b45ab16c4b678bdcf0dc8faf6..fd9bb8ee80701bb0e2a89fc842f197eaee4d1314 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empobj.h: General empire objects.
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006
  *     Markus Armbruster, 2006-2008
@@ -68,7 +68,7 @@ struct empobj {
     signed char effic;
     signed char mobil;
     unsigned char off;
-    short tech;        
+    short tech;
     char group;                /* valid if EFF_GROUP is in table's flags */
     coord opx, opy;
     short mission;
@@ -83,7 +83,7 @@ union empobj_storage {
     struct lndstr land;
     struct lonstr loan;
     struct loststr lost;
-    struct natstr nat; 
+    struct natstr nat;
     struct nwsstr news;
     struct nukstr nuke;
     struct plnstr plane;
index 37c96fb0fbc7d48d3e43602a706f29a5796ea868..dc7fd3b8014e12e0d905e92eff1d952226b4884a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empthread.h: Definitions for Empire threading
- * 
+ *
  *  Known contributors to this file:
  *     Sasha Mikheev
  *     Doug Hay, 1998
index 5d5fc92067572bb4449bcaf414576a97a1a51b69..0f470c14d24fd4accc5531d9afd85e9e3ab2a9ae 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  file.h: Describes Empire tables (`files' for historical reasons)
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005-2008
  */
index 112b064763ae368996e69e9a32088408a3ef37eb..f24a5a060b32cee91bca6ada1d552cf300f9ca85 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  game.h: The game file
- * 
+ *
  *  Known contributors to this file:
  *       Markus Armbruster, 2007-2008
  */
index 1fd4e63becee7c9edd4e0fedf6cc6260ed17e2b1..bfd2d69a2a8390aa7aa5e97d7b8fdddf9621c007 100644 (file)
@@ -28,7 +28,7 @@
  *  ioqueue.h: Stores and frees data associated with a file descriptor.
  *             uses writev to write, and read to read
  *  Known contributors to this file:
- * 
+ *
  */
 
 #ifndef IOQUEUE_H
index 1c9e4cd5babd9e89a23689fa4f82f0767a7b8613..ccd17077eb816c0e28d581440cde5ab12e3ee521 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  item.h: Definitions for item characteristics stuff
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef ITEM_H
index f234430446965a72e99998930728ee6473c82954..879f19d01b5c95e1a99149fc44a9a64c02908e73 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  journal.h: Log a journal of events to a file
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 24f40cd80604d63194373d5df07a5592b811689f..0414e361c60a346edf5d993f93439c434d7320e8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  land.h: Definitions for land units
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1992
  *     Ken Stevens, 1995
index d18c4d88a6f0a99f45b6d4ab17be3ab1f412f7ef..847442b687c6c51586cd833365c1276f44e0bfc1 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  loan.h: Definitions for loans
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef LOAN_H
index 6ceb1706f7ea44c45b7028c9d79b33f0eca31ede..9c0ca5931ce10785a6e7d322ecc4f89de45b0040 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lost.h: Definitions for lost items
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1997
  */
index 4a7ca2ce8f92db4e045f1dbc6c78488464b63db7..d63f4f8fc61ae3d05f65ba6f611a235d69755b21 100644 (file)
@@ -6,12 +6,12 @@
  * modify it under the terms of the GNU Library General Public
  * License as published by the Free Software Foundation; either
  * version 2 of the License, or (at your option) any later version.
- * 
+ *
  * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  * Library General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU Library General Public
  * License along with this library; if not, write to the Free
  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
index b87a21035fcf54812ff4710165d3831ccddf3d5e..9590f6ecfa98589a58cc4d8cc4f46957e26d6550 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  map.h: Definitions for making maps
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef MAP_H
index b87c1495ee297c4c091665c4e47bd47b314aad56..e82d4d64cc6e92bdb37a2d2580d29cd00265e9f7 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  match.h: Used for string compare matching
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef MATCH_H
index 1cc47d065398360155d7dd1c701228702fb46665..758a6e78864f105ba979b14b60530a54ca49dbfd 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  misc.h: Misc. definitions which don't really belong anywhere,
  *          but have to go somewhere!
- * 
+ *
  *  Known contributors to this file:
  *       Doug Hay, 1998
  */
@@ -95,7 +95,7 @@ void exit_nomem(void) ATTRIBUTE((noreturn));
 extern char *getstarg(char *input, char *prompt, char buf[]);
 extern char *getstring(char *prompt, char buf[]);
 extern char *ugetstring(char *prompt, char buf[]);
-             
+
 extern char *prbuf(char *format, ...)
     ATTRIBUTE((format (printf, 1, 2)));
 
index 2d67b435148438321ef30c9f2c9871888a297f27..73ff44b449f6b3897a47cae36fed3d315e631a54 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mission.h: Definitions for things having to do with missions.
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index ba6268fbcd78c77d7867225d782d6ba40a6f8045..f150de381e36d00cdb43473e2708b0360fb57385 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nat.h: Definitions for things having to do with nations
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak
  *     Ken Stevens, 1995
index 5665a92fa223cc77fb562daeb9fe3d59d6f85bfc..9e5e2a3d3e808a3e24553fe988bc362c6ac8a63f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  news.h: Definitions for Empire News
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Thomas Ruschak
index a5c0d3af3098bd8dbb1b146f4c120d2a72eec16a..11c01ea65cf41d53124199a194038fab82c7a5c1 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nsc.h: Definitions for Empire conditionals
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2004-2008
index ef176d4b8854a46fc076749a01c0f600ae68e2a7..9f6caba17f0fdd7353ad1d97ee60aec5f98ef214 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nuke.h: Definitions for things having to do with nukes
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 27da78b946d986b880aa3c779002636858cfabd1..571c468b5ad900ba2b9c92498332722cc7916532 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  optlist.h: Definitions of option listings
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 04c2d8f1bc748b3a383e95083d8de15524007bfe..c927a88a959d4bf5e690724816ec8437752acbfc 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  path.h: Definitions for directions, paths, etc.
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #ifndef PATH_H
index a57fb0f8f65875d845694567d671e39b54c35b3c..661e89825a2de06678a01ce8ab61533bc2ca9c9c 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  plague.h: plague defines.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #ifndef PLAGUE_H
index d15289044af8589b2a82e3c05f34f3cb6b4ff0da..e392050dc244db9bba59e01e975b9baded51e630 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plane.h: Definitions for planes and plane types
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
index f6ab9b56322589395136d3b92bacaa02813f7e46..64c589fe14efceed9c7ce9a39c74752da531f651 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  player.h: Definitions for player information (threads)
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Doug Hay, 1998
index 41a54ff8a70f5b5eb2fd3dcf546f4c3b9f82d1d5..f77e5db093a163514574bab95a8fcf678516b04b 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  power.h: Definitions for things having to do with the power report.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #ifndef POWER_H
index ed45dfc2dbe9655f4cf4171575b4cf4d7f0e1fc3..795e4d381963fbc55306336e3f792b3528e140d3 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  product.h: Definitions for things having to do with products
- * 
+ *
  *  Known contributors to this file:
- * 
+ *
  */
 
 #ifndef PRODUCT_H
index 183e0008d3e690662770e4b36ac6c2dab734e600..8b1327ffbba2ee3e761bb025962a032a10452597 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  proto.h: Protocol for client
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index cfc98cb807c5b134418082f5c3d2e4ceafabb40b..ca671226a1e0a7460e6a06d7322b77327cb5feef 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  prototypes.h: Prototypes for server functions
- * 
+ *
  *  Known contributors to this file:
  *     Curtis Larsen, 1998
  *     Steve McClure, 1998,2000
@@ -54,7 +54,7 @@ extern void finish_server(void);
 /* in empthread.h */
 
 /*
- * src/lib/commands/ *.c 
+ * src/lib/commands/ *.c
  */
 extern int check_market(void);
 extern void gift(natid, natid, void *, char *);
@@ -253,7 +253,7 @@ int xedit(void);
 int zdon(void);
 
 /*
- * src/lib/common/ *.c 
+ * src/lib/common/ *.c
  */
 /* bestpath.c */
 extern char *bestownedpath(char *, char *, int, int, int, int, int);
@@ -315,7 +315,7 @@ extern int demandupdatecheck(void);
 /* in xdump.h */
 
 /*
- * src/lib/gen/ *.c 
+ * src/lib/gen/ *.c
  */
 /* fnameat.c */
 extern char *fnameat(const char *, const char *);
@@ -344,13 +344,13 @@ extern char *plurize(char *buf, int max_len, int n);
 /* more in misc.h */
 
 /*
- * src/lib/global/ *.c 
+ * src/lib/global/ *.c
  */
 extern void global_init(void);
 
 
 /*
- * src/lib/player/ *.c 
+ * src/lib/player/ *.c
  */
 /* accept.c */
 extern void player_init(void);
@@ -392,7 +392,7 @@ extern void stop_service(void);
 /* more in service.h */
 
 /*
- * src/lib/subs/ *.c 
+ * src/lib/subs/ *.c
  */
 /* askyn.c */
 extern int confirm(char *);
@@ -701,7 +701,7 @@ extern int typed_wu(natid, natid, char *, int);
 extern int wu(natid, natid, char *, ...) ATTRIBUTE((format (printf, 3, 4)));
 
 /*
- * src/lib/update/ *.c 
+ * src/lib/update/ *.c
  */
 /* age.c */
 extern void age_levels(int);
index 73d3eac12647b1d5a20e1d59f098197125846a9b..a7d11a1dd9bbee6bef6605379c2eb4c91df226b3 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  queue.h: Generic vax-like doubly linked list queues
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 #ifndef QUEUE_H
index 5046d64ef8bc887c61602ff746ca1f828aa79eb0..481f2982c1186e210b2454abe59ebab8253edf2c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  retreat.h: Things having to do with retreating
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index c1bce2639b660b829b148021b0b2d279a58014f6..d0f14bfe3bb5aa56193036db456fe59aa1f20ce5 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sect.h: Definitions for things having to do with sectors.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Ken Stevens, 1995
index d7d45fccba7b5f983b39226e201e252755753809..3cf987dddf410ffc23ee0463f75c2bdc9670b33b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  server.h: Server startup, control and shutdown
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index af574688bd18fbd7088b73d3e321085e9d126854..135518c14b4368bd04ef3a1ffc1921df45c102e2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  service.h: Windows services support
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2004
  */
index c660be29669c05d1b2927dad7a62ac61926fbdbe..38efe9f9ab8db2bb89042b7879a53d80b9bd15ca 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ship.h: Definitions for things having to do with ships
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Thomas Ruschak, 1992
index 0454a69091a4b870dc819836f64766c39604e98d..fef9250387daca9357bf8d804876558b583bb95b 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  tel.h: Definitions for things having to do with telegrams
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #ifndef TEL_H
index 074a77da4a0922df5c4362603dc7ce82eb240c8c..581d245b808e5969a97adaf97286435137184192 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  trade.h: Definitions for trading units/ships/planes in a time delay
  *           system
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Pat Loney, 1992
index 31491eeff139b2ad0cc3ea736d5b23a5dc42e7b6..2f8f2d91945575c8f0b4bdddc779802bf95bfdde 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  treaty.h: Definitions for treaties
- * 
+ *
  *  Known contributors to this file:
  *      Steve McClure, 1998
  */
index affa913c0012af3c68947aaedbf777920374d73d..128234db4594e5a47fa031117b52def5bee4595a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  types.h: Empire types
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006-2007
  */
index b9fe96bc6fb08614eb9df89d0c5dc5a8c7c6150c..e072bb5797ebcd98d1837063467f9e2ce8ac9c1c 100644 (file)
  *  ---
  *
  *  unit.h: Generalize unit data structures and functions.
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006-2007
  *     Markus Armbruster, 2006
  */
+
 #ifndef UNIT_H
 #define UNIT_H
 
index 6fd58d75a7a62945baf28e013d7c75b9a8088d60..36d89cbee533eff0cd3dd8fc29a403d45aebc458 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  update.h: Include headers used for updates
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #ifndef UPDATE_H
index b4aed2c6f8a88193f5b5802e92c334f2396f38f7..6ffa7d9299692f1a8ea4c896c79548a34286c424 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  version.h: Version information
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1992
  *     Ken Stevens, 1995
index 8010fbad1b60ecaeb95efb9c546eba9627ab7bc3..5a27dbf5381de5dbbae59539e4132b900d0b91fb 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xdump.h: Extended dumps
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index b3c1cbe6760d032718bfb839390fd40116a6ee73..cf176b46c2b12778a9321b69d0ed46bdcad39ea9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xy.h: Constants having to do with world locations.
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  */
index 18a139edcb13bb6f364bc2106cf0040cccb33a17..a302495077ddd3affcf76e5f73023f712ac9d41b 100644 (file)
@@ -60,7 +60,7 @@ If you are not paradropping, then you will be asked for mil and units
 you would like to attack with.
 You must always leave at least 1 mil in
 the sector or ship you are attacking from, so you may never attack
-with all of your mil out of a sector or ship.  
+with all of your mil out of a sector or ship.
 The following limitations apply to the aggressor's mil:
 .NF
 Attack:  You are limited by the mobility of the attacking sector
@@ -335,7 +335,7 @@ in "assault", "paradrop", "board" or "lboard").
 When you move your mil into the target sector after an attack, you
 will risk the same chances of interdiction (number of mil / 200) and
 stepping on land mines (see "info lmine") as
-if you were moving them using the "move" command.  
+if you were moving them using the "move" command.
 .s1
 Similarly, once you have specified which land units you'd like to move
 into the conquered sector, then all of your units will move in at
index 6fcc34bc0a2f14e84142b366a173301095fc5af1..15ee1e6e9dafab967ef9f88c9f1b6ebf02e6f8ed 100644 (file)
@@ -11,7 +11,7 @@ specified destination.  This is done via the \*Qorder\*U command.
 Each ship can be ordered to proceed to a destination.  During each update,
 the ship will try and use ALL the mobility it has and use the shortest
 possible path.  It will also avoid any known mines (sectors marked
-with an 'X' or 'x' on your bmap).  Note that this movement is all 
+with an 'X' or 'x' on your bmap).  Note that this movement is all
 done before mobility is accumulated, so that after the update is
 complete the ship will have a full updates worth of mobility
 in case you need to move it by hand.  Should a ship be fired upon
index 604b249a979c3b33f0514583715615e022eb02aa..4b76a39c7cff06aa91868ac13001f2fc62dd61bc 100644 (file)
@@ -29,10 +29,10 @@ as he/she/it will be watching who is playing what.
 .s1
 Bugs: if you find a bug,
 you are REQUIRED to report it to the deity.
-I will not let other people know about the bug 
+I will not let other people know about the bug
 and in most cases, you may exploit it until it is fixed.
 Punishment for use without telling: at least $50,000 or
-getting your country removed from the game. 
+getting your country removed from the game.
 .s1
 Denial-of-service attacks are forbidden.  Any form of attack that
 prevents a player from connecting to the server is against the rules.
index afde02c26bd1364a2b43eaa3cf461f6fd73b1c34..da13e6b57234df368800fbbdf12b8940b69ebbc3 100644 (file)
@@ -70,7 +70,7 @@ ways to kill them, but not by shelling or bombing.
 A bridge can be built in any sector adjacent to one of yours, providing
 that the target sector is adjacent to a non-sea, non-bridge sector. Since
 bridgeheads are not required, you can't collapse bridges by killing the head.
-(You can still kill them by taking the bridge below 20%) This also fixes a 
+(You can still kill them by taking the bridge below 20%) This also fixes a
 problem with planes on bridges not dying when the bridge dies. (This was partly
 fixed before, but the fix didn't work all the time)
 .s1
@@ -210,7 +210,7 @@ assaulted, or shelled.
 .s1
 Your ships/sects will no longer shoot themselves in defense.
 You can cheerfully blast your own ships/sects without fear of
-retaliation from your own forces. You can also torp your own 
+retaliation from your own forces. You can also torp your own
 ships, and they will resignedly watch as the torps slam into them.
 .s1
 Gun ranges are no longer truncated. Instead, there is a % chance equal to the
@@ -248,7 +248,7 @@ You may now upgrade allied ships. (If ALLYHARBOR is used)
 .s1
 Your civs will work on allied ships in your harbors. (If ALLYHARBOR is used)
 .s1
-You may assault your own sectors. Mil assaulting are simply added to the 
+You may assault your own sectors. Mil assaulting are simply added to the
 number in the sector.
 .s1
 You may now land planes on a carrier in an allied harbor. (If ALLYHARBOR is
@@ -301,7 +301,7 @@ a fuel usage of 1 get 10 mob for every 1 fuel, ships with 2 fuel usage get 10
 mob for 2 fuel, etc. Ships with no fuel do not get mobility. Ships with a fuel
 usage of 0 do not need fuel. (Sailing ships & nuc ships/subs)
 .s1
-A new command, "fuel" is added. It allows fueling from a harbor sector, or a 
+A new command, "fuel" is added. It allows fueling from a harbor sector, or a
 ship or ships with the "oiler" flag. When fueling, petrol and/or oil in the
 harbor or on the oiler is exchanged for fuel points, which are loaded on the
 ship. Petrol is used first, if available, at a rate of 1 pet = 10 fuel. If
@@ -433,12 +433,12 @@ Changes to the Chainsaw code in version 2.1
 Chainsaw 2.1 has some minor differences from Chainsaw 2.0.
 .s1
 Now, when navigating, sonar or radar commands will
-default to the current ship, or the first (lowest 
+default to the current ship, or the first (lowest
 numbered) ship in a group. You may override this by
 specifying the desired ship on the command line.
 (I.e. "r 12" or "radar 212", etc)
 .s1
-The chance of a plane aborting is changed to 
+The chance of a plane aborting is changed to
 (100-eff)%. This means that if a 100% plane
 takes a hit for 30% damage, it has a 30% chance to abort.
 If it then takes another hit for 20% more, a total of 50% damage,
@@ -449,11 +449,11 @@ aborting until after all ships have fired, rather
 than rolling every time the plane takes a flak
 hit from a ship.
 .s1
-A new command has been added, the 'payoff' command. 
+A new command has been added, the 'payoff' command.
 It shows the value of trade ships if scuttled at
 the current sect (check info payoff).
 .s1
-Constants have been added to control ship & plane 
+Constants have been added to control ship & plane
 efficiency growth rate. It is now possible to allow
 2xETUS growth in efficiency, 3x, etc.
 .s1
@@ -466,7 +466,7 @@ reads only telegrams & bulletins.
 .s1
 When assaulting, troops will always leave at least 1 food on the ship.
 .s1
-You may now build multiples of an item by adding a build count at the 
+You may now build multiples of an item by adding a build count at the
 end of your build command. (see info build)
 .s1
 You may now give comments in the hours file. Comment lines start with a
@@ -486,9 +486,9 @@ Chainsaw 2.2 has some minor differences from Chainsaw 2.1.
 .s1
 A new option, SNEAK_ATTACK is included. It can only be used in
 conjunction with SLOW_WAR. It allows you to attack a sector of
-someone you're not at war with. Once attacked, the attacker 
+someone you're not at war with. Once attacked, the attacker
 automatically declares war against the defender, and pays $5K.
-At that point, the attacker has to go through the normal SLOW_WAR 
+At that point, the attacker has to go through the normal SLOW_WAR
 procedure before attacking again. See info attack, info assault.
 SNEAK_ATTACKs may not be done by parachute.
 .s1
@@ -565,7 +565,7 @@ will attempt to load or unload food as necessary to get ship 4 to 10 food.
 Land units have been added. There are many new commands for dealing with them.
 Look at info Land-units for a general overview.
 .s1
-Sectors that don't have enough food at the update will now attempt to 
+Sectors that don't have enough food at the update will now attempt to
 draw food from supply sources. (see info supply for details on supply sources.
 Conquered sectors will not draw food)
 Other sectors/ships/units will now draw supplies (mostly shells) when they
@@ -585,7 +585,7 @@ them all at once. See info build for more details.
 Distribution has been changed. Each sector now has a distribution sector
 rather than a distribution path (during the update, the least-cost path
 is found and used) Also, importing & exporting via distribute now happen
-in separate  phases, rather than being mingled. See info distribute 
+in separate  phases, rather than being mingled. See info distribute
 and info update-sequence for a full description.
 Read info distribute, or don't cry.
 .s1
@@ -609,12 +609,12 @@ may also take lcms or hcms to build. Show sector build will show this.
 A new command, cede, allows you to give a sector or ship to a neighbor. See
 info cede for more details.
 .s1
-There are several new information commands, such as neweff and 
+There are several new information commands, such as neweff and
 starvation. See the info pages for details.
 .s1
 Sectors are damaged by combat occurring in them. See info attack for details.
 .s1
-Missions may be given to ships/planes/units, allowing them to interdict 
+Missions may be given to ships/planes/units, allowing them to interdict
 enemy movement, support friendly attacks & defense, and other things.
 See info mission for details.
 .s1
@@ -634,7 +634,7 @@ you first lose uw's, then civs, then mil. As before, no more than 1/2 the total
 population of a sector can starve in one update. Example: if you have 200 uw's,
 100 mil, and 500 civilians, and no food, normally you'd have 100 uw's, 50 mil,
 and 250 civs after the update. With NEW_STARVE in effect, you'd have 0 uw's,
-300 civilians, and 100 mil. 
+300 civilians, and 100 mil.
 .s1
 NEW_WORK: When moving civs to or from a sector with low work, the new loyalty
 and work percentage of the destination sector is computed proportionally.
index 936d626fa61770b76c438762e527ff0666ec77e6..23b32df248b16810b400831e693c77e0e047879d 100644 (file)
@@ -44,7 +44,7 @@ See the various info pages on these for complete documentation on how they
 work and how you can use them to help improve your clients.
 .s1
 In addition, there is a "timestamp" field on each object (sectors, ships,
-land units, planes, nuclear stockpiles, lost items) that you can use to 
+land units, planes, nuclear stockpiles, lost items) that you can use to
 compare against to keep data between clients and the database in sync with
 each other.  These timestamps are kept in systems seconds, so they should
 be accurate down to 1 second.  Every time an object is changed, it's
index 056400714997d28f75581e6ddbf167dfaeee6c2d..201b073c13ca90d7a7e0ac58385bdaac02b149c7 100644 (file)
@@ -287,9 +287,9 @@ then it will just keep resupplying itself until it finishes the job.
 Also, it now costs engineers 1 point of mobility per mine laid.
 .L -
 If land units are accompanied by engineers, then their chance of
-hitting a land mine is reduced by a factor of 3.  E.g. if there 
+hitting a land mine is reduced by a factor of 3.  E.g. if there
 are 25 mines in the sector, then a land unit has a 33%
-chance of hitting a land mine.  If it is accompanied by an 
+chance of hitting a land mine.  If it is accompanied by an
 engineer, then that chance drops to 11%.
 .L -
 If an engineer sweeps a land mine that it cannot carry, it drops
index 56c4cfbcb578122aa4df41b7a7eb38be5ac14ced..09f5f60b15241386d09f237290541f16fcb4ee6b 100644 (file)
@@ -110,7 +110,7 @@ You now have 50 realms.
 Each country now has two bmaps, their 'working' bmap and their 'true' bmap.  The true bmap contains only information put there by the
 server.  The working bmap also contains information put there by the
 bdes and sharebmap commands.  The 'bmap' command usually displays the
-working bmap unless the player specifies 'bmap <SECTS> true'.  
+working bmap unless the player specifies 'bmap <SECTS> true'.
 If the players working bmap becomes corrupted somehow, then they can
 type 'bmap <SECTS> revert' to revert their working bmap back to their
 true bmap.  This change was necessary to prevent abuse of the new 'sharebmap' command (which compares the players true bmaps when
index f9be59491c6abdd7aab06458004cb91d119931e1..a892fdbe0961ac7dfcc4336ea21a91547622e05e 100644 (file)
@@ -524,7 +524,7 @@ Changes to Empire 4.3.10 - Thu Sep  6 17:59:53 UTC 2007
      shutdown aborted it.  The bug allowed players to delay update and
      shutdown indefinitely.
  * Thread priorities are only implemented by LWP and no longer used.
-   With LWP, they let players with a sufficiently fast connection 
+   With LWP, they let players with a sufficiently fast connection
    starve out the threads that clean the lost file and kill idle
    connections.  Drop them.
  * Show nuke rounded required research incorrectly.
@@ -736,7 +736,7 @@ Changes to Empire 4.3.6 - Tue Jun 20 18:46:18 UTC 2006
    in 4.0.2), and trains could be sent down paths without rail (never
    worked).  Also fixes unit reaction path cost.
  * The custom table reader can now deal with sector, item, product and
-   infra tables more comfortably.  
+   infra tables more comfortably.
  * Remove option BIG_CITY.  Deities can customize the sect table to
    get the same effect.
  * Many more selectors can now be compared with names, not just
@@ -1641,7 +1641,7 @@ Changes to Empire 4.2.13 - Fri Feb 13 22:12:36 UTC 2004
  * News no longer call all sub-launched missiles nuclear.
  * Incoming missiles are now reported with coordinates.
  * Removed some code that served no purpose except crashing on
-   Windows. 
+   Windows.
  * Fixed Mac OSX and AIX build problems.
  * Don't resolve player IP addresses for now, because it can crash
    with certain versions of GNU libc.
@@ -1736,7 +1736,7 @@ Changes to Empire 4.2.8 - Mon Oct  9 17:35:35 MDT 2000
  * Updated order of firing flak in Flak.t.
  * Fixed 80% efficient planes on ships must be maintained.
  * Fixed initial MOB_ACCESS check thread sleep time was set by an uninitialized
-   variable. 
+   variable.
  * Removed "TEMPORARILY DISABLED" message from mission command for escort
    missions.  Escort missions have been re-enabled since 4.0.15.
  * Using sonar from the navigate command will print the sonar map.
@@ -1871,7 +1871,7 @@ Changes to Empire 4.2.6 - Fri Jun  4 05:55:20 PDT 1999
  * Fixed bug in sectors that don't revolt not showing up as lost items.
  * Fixed bug where maps with an X of exactly 200 is not drawing third line.
  * Fixed bug where MOB_ACCESS was not updating the mobility just before
-   the update. 
+   the update.
  * Fixed bug in the way treaties are examined and sometimes produce
    wrong results.
  * Fixed edit to allow creating negative mobility for sectors.
@@ -1902,7 +1902,7 @@ Changes to Empire 4.2.5 - Mon Mar  1 06:42:24 PST 1999
  * Fixed bug where scrapping land units was creating military.
  * Fixed description of sect_mob_neg_factor in econfig file.
  * Increased speed of PT boats.
-       
+
 Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
  * Added check to make military values match up correctly for land
    units.
@@ -1914,7 +1914,7 @@ Changes to Empire 4.2.4 - Tue Feb  2 05:47:44 PST 1999
  * Fixed bug in explore command not setting mobility to correct
    value when MOB_ACCESS was enabled.
  * Fixed bug in enlist setting mobility incorrectly sometimes.
- * Added doc/backup file for deities which recommends how backups and 
+ * Added doc/backup file for deities which recommends how backups and
    restores of the data directory should be done.
 
 Changes to Empire 4.2.3 - Wed Jan 13 06:02:35 PST 1999
@@ -2039,7 +2039,7 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
  * Fixed bug where satellites were not orbiting the world during the
    update.
  * Fixed bug in torpedos being too smart.  They knew how to jump over
-   land! :)  Now the "line_of_sight" routine is used to determine if a 
+   land! :)  Now the "line_of_sight" routine is used to determine if a
    torpedo has a straight path to the destination.  If it doesn't, the
    torpedo no longer jumps over land, but instead slams into it.  This was
    an interesting bug because you could torp ships on the other side of
@@ -2055,9 +2055,9 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
    destination sector.  Goods are now attempted to be returned to the
    start sector, and apporpriate steps taken if the start sector is no
    longer available.
- * Fixed march to prompt you before you abandon a sector you own by 
+ * Fixed march to prompt you before you abandon a sector you own by
    marching out the last land unit.
- * Fixed check functions to only check the relevant portions of the structure 
+ * Fixed check functions to only check the relevant portions of the structure
    and not the timestamp info that doesn't affect how the object functions.
  * Fixed bug in spy command that always told you if a spy unit was in a
    non-owned sector.
@@ -2105,7 +2105,7 @@ Changes to Empire 4.2.2 - Sun Dec 27 12:46:34 PST 1998
    gained information that you wouldn't normally know.)
  * Merged bestpath and bestownedpath and wrote new wrappers, "BestShipPath"
    and "BestAirPath" to use it properly.  It is also good to note that
-   bestownedpath is used to determine paths for ships and for planes, 
+   bestownedpath is used to determine paths for ships and for planes,
    and that best_path (which uses the A* algorithm) is used for all land
    based paths, and that the two are never interchanged.
  * Removed "jet recon" plane (it slipped in during the PLANENAMES conversion,
@@ -2118,7 +2118,7 @@ Changes to Empire 4.2.1 - Tue Nov  3 12:56:20 PST 1998
    properly, and thus causing crashes when accessing certain plane
    routines.  This happened during the move to make the PLANENAMES option
    run-time configurable.
-       
+
 Changes to Empire 4.2.0 - Thu Oct 29 06:27:15 PST 1998
  * Bumped rev to 4.2.0 since this is a major release (the server is now
    run-time configurable for just about everything and is released under
@@ -2281,7 +2281,7 @@ Changes to Empire 4.0.18 - Thu Sep 24 06:54:27 PDT 1998
  * Updated Education.t
  * Modified (increased) chances of hitting mines slightly.
  * Removed unused variables from shp_check_mines.
-       
+
 Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
  * Added ability in edit to change coastal flag for sectors.
  * Added ability in edit to edit plague values for ships.
@@ -2299,7 +2299,7 @@ Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
    (works for sea and land mines, used "lmine" to distinguish it from "min"
    which determines mineral (iron) content of a sector.)
  * No longer able to pin bomb land units on a ship.
- * Land units are required to have at least one military loaded to perform 
+ * Land units are required to have at least one military loaded to perform
    a mission.
  * Firing land units are required to have at least on military loaded to
    be able to fire (or return fire.)
@@ -2315,7 +2315,7 @@ Changes to Empire 4.0.17 - Fri Jul 31 06:12:21 PDT 1998
    they were not cargo capable.
  * Fixed bug in potentially crashing in update code for nations tech/research.
  * Fixed bug in execute putting you into execute mode incorrectly.
- * Fixed bug in board not allowing land units to board from 0 mobility 
+ * Fixed bug in board not allowing land units to board from 0 mobility
    sectors.
  * Fixed bug where interdicted land units that were missed displayed
    a "SPLASH! Bombs miss your ships" message.
@@ -2405,7 +2405,7 @@ Changes to Empire 4.0.16 - Fri Jun 12 08:52:06 EDT 1998
    before.)
  * Fixed bug in neweff not reporting stopped sectors.  It now (correctly)
    reports them as not changing eff.
-       
+
 Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
  * Fixed the spelling of Markus' name in CHANGES4.0 files.
  * Added Markus' patches/fixes.  Some are detailed below.
@@ -2426,7 +2426,7 @@ Changes to Empire 4.0.15 - Wed May 20 12:35:53 EDT 1998
  * Fixed bug in setsector telling the deity coordinates of sectors being
    granted/taken away.
  * Fixed bug in setting budget of enlistment sectors to 0.
-       
+
 Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed time_t problem in common/log.c
  * Fixed bug in headlines
@@ -2436,7 +2436,7 @@ Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed bug in printing of "No ship(s)" twice in cargo command when no
    ships were selected.
  * Temporarily disabled escort missions until a fix is found. They are
-   randomly crashing the server.  
+   randomly crashing the server.
  * Fixed morale.t to reflect that retreat percentage is based off of
    morale_base and not 75.
  * Fixed bug in bridgefall where planes and units on ship in a sector
@@ -2446,7 +2446,7 @@ Changes to Empire 4.0.14 - Wed Apr  8 08:47:54 EDT 1998
  * Fixed bug in produce command reporting incorrect costs (sometimes).
  * Land units on ships will now try to draw supply from the ship they
    are on.
-       
+
 Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
  * Fixed bug in distribute when world sizes are other than 64x32
  * Fixed bug in getcommand (not really a bug, just made it work like
@@ -2455,10 +2455,10 @@ Changes to Empire 4.0.13 - Mon Mar  2 11:04:28 EST 1998
  * Fixed building of POSIX threads on Alpha running Digital Unix.
  * Fixed line_of_sight prototype in sona.c
  * Fixed fairland not to conuse stupid C++ compilers.
-       
+
 Changes to Empire 4.0.12 - Tue Feb 24 11:27:31 EST 1998
  * Fixed client build on linux (whoops)
-       
+
 Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
  * AIX build seems to only work with gcc right now (but at least that works)
  * Vax Ultrix (vaxultrix) build should work now (hopefully) out of the box.
@@ -2473,7 +2473,7 @@ Changes to Empire 4.0.11 - Tue Feb 10 10:53:10 EST 1998
  * Fixed bug where spies were not dying when damaged.
  * Fixed bug in HIDDEN mods in declare command not printing country # of
     uncontacted country correctly (or at all as a matter of fact)
-       
+
 Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
  * Fixed bug where fleets were being interdicted but the damage was being
     spread to ships not in the same sectors.
@@ -2507,7 +2507,7 @@ Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
     a sector.
  * Documented mountains only holding and using 1/10th of the normal sector
     population in Sector-types.t.
- * Fixed documentation on ship's firing ranges in fire.t to be less 
+ * Fixed documentation on ship's firing ranges in fire.t to be less
     ambiguous.
  * Updated nukes in nuke.t
  * Added apropos command (thanks to Mike Wise)
@@ -2515,7 +2515,7 @@ Changes to Empire 4.0.10 - Mon Aug 18 12:34:58 EDT 1997
     there are two files of the same name, and you don't get a complete match,
     then whichever file is found first in the directory is used.
  * Changed documentation in wantupd.h
-       
+
 Changes to Empire 4.0.9 - Sat Apr 19 23:01:51 EDT 1997
  * Fixed dump info pages that were getting formatted funny.
  * Fixed improve info page.
@@ -2583,7 +2583,7 @@ Changes to Empire 4.0.8 - Wed Feb 26 23:00:51 EST 1997
     This was major because it affected timestamp values which are more
     than 65535.
  * Fixed bug in sdump.c for typo in reporting the trade ships origin.
-       
+
 Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
  * Fixed bug in aircombat.c when calculating the air combat odds.  Negative
     numbers were screwing things up good...
@@ -2618,7 +2618,7 @@ Changes to Empire 4.0.7 - Mon Feb 24 22:48:54 EST 1997
  * Spies caught in Neutral or Friendly countries cause the Neutral or
     Friendly country to go Hostile towards the owner of the spy.
  * Tweaked ammunition numbers for artillery units.
- * No more automatic declarations of War should be made.  You will go 
+ * No more automatic declarations of War should be made.  You will go
     hostile, but since going to war doesn't increase your countries
     defenses, and is purely political, it is left to the player to go
     that final step.
@@ -2712,7 +2712,7 @@ Changes to Empire 4.0.4 - Mon Dec  9 11:00:00 EST 1996
  * Fixed doconfig.c to create directories with right modes.
  * Fixed install macros in makefiles to move binaries to the right
     places.
-       
+
 Changes to Empire 4.0.3 - Wed Dec  4 22:46:53 EST 1996
  * Added HP/UX port.
  * Fixed doconfig.c (put exit(0) at the end of main.)
@@ -2747,7 +2747,7 @@ Changes to Empire 4.0.2 - Mon Oct 14 12:26:40 EDT 1996
  * Fixed attack value in attack_val in lndsub.c
  * Fixed lload in commands/load.c
  * Fixed defense_val in lndsub.c - Made it a minimum of 1, so that units will
-    always fight until dead or retreating.  0 makes them get stuck. 
+    always fight until dead or retreating.  0 makes them get stuck.
  * Fixed update/deliver.c - no delivery of non-oldowned civvies (or anything
     else for that matter.)
  * Fixed llook in commands/look.c
@@ -2831,7 +2831,7 @@ Changes to Empire 4.0.0 - Wed Aug 21 1996
  * Added NO_LCMS, NO_HCMS and NO_OIL options.  When any of these options are
     enabled, you don't need any of that type of material to build things.
     If NO_HCMS is enabled, you don't need HCMS to build bridges, you need
-    lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need 
+    lcms.  If both NO_HCMS and NO_LCMS are enabled, then you don't need
     any materials to build a bridge.
  * There is no mobility cost for assigning missions.  But, there is also
     no longer any benefit for being on a mission either.
@@ -2886,7 +2886,7 @@ Changes to Empire 4.0.0 - Wed Aug 21 1996
  * Che can now be lessened by making happiness.  If you have more happiness
     than your conquered populace, they don't fight as hard or recruit as
     much.  If you have less than them, they fight harder and recruit more.
-    It's not much though - it ranges from 2.0 in your favor to only 0.8 
+    It's not much though - it ranges from 2.0 in your favor to only 0.8
     against you (whereas it was always 1.0 before.)  So, it definitely
     favors the attackers to make lots of happy now.
  * Bridgeheads can only be built on coasts.
index 502763223039c05cba554fb81a9893118920a635..beb85dfb57522bbae14093552502258274235239 100644 (file)
@@ -20,7 +20,7 @@ The way that flak works when planes fly over a sector is:
    scaled by unit tech factor.
 .fi
 .s1
-In addition, if you are pin-bombing a land unit or a ship, when 
+In addition, if you are pin-bombing a land unit or a ship, when
 you make your bombing run, the specific unit/ship you are bombing
 gets to fire flak at you again.  This number of guns firing flak
 in these cases does NOT saturate.
index 688275ada0125456b72f83a8727763a7f87746af..e83cb3aaf51169436f5b900f04e3735b93b40a47 100644 (file)
@@ -53,7 +53,7 @@ Use the "improve" command to improve the infrastructure of your sectors.
 To find out the required amounts of materials, mobility, and money
 use the "show sect build" command.
 .s1
-Also, defensive infrastructure is not always improvable.  See the version 
+Also, defensive infrastructure is not always improvable.  See the version
 info to see if the DEFENSE_INFRA option is enabled or not.  If it is not
 enabled, the defense infrastructure of the sector is always the same
 as the efficiency of the sector.  If it is enabled, you must improve your
index a7abe25b6e1c11427ae6710491d01bba2a324117..89b4169bda79579e084bb8ba1ddb5d27a0d4a833 100644 (file)
@@ -8,10 +8,10 @@ abilities. With the addition of land units, mil are now more or less
 considered to be militia instead of military, and are less important.
 .s1
 The way that military are incorporated into units are that the mil are
-loadable commodities of the unit.  The offensive or defensive 
+loadable commodities of the unit.  The offensive or defensive
 .s1
 Commands for land units are generally similar to those of planes/ships, and
-will usually start with 'l'. 
+will usually start with 'l'.
 .s1
 .L "Land unit characteristics"
 .s1
@@ -58,7 +58,7 @@ morale checks, see info \*QAttacking\*U) Just as you can use \*Qrange\*U to chan
 range of your planes and control how far away they'll intercept, you can
 change the reaction radius for land units with \*Qlrange\*U. Units with a base reaction
 radius of 0, or those whose radius you have set to 0, will not react.
-When built, the unit will have as its reaction radius set to zero. 
+When built, the unit will have as its reaction radius set to zero.
 .s1
 .L Cargo
 .s1
@@ -126,7 +126,7 @@ in other sector types, but at a much reduced efficiency (1/3rd normal gain)
 .s1
 .L "Land unit statistics"
 .s1
-Each land unit has certain vital statistics which show how it will 
+Each land unit has certain vital statistics which show how it will
 operate. These are obtainable from the show command:
 .s1
 .EX show land statistics
@@ -175,7 +175,7 @@ units' visibility (see info \*Qllookout\*U for more details).
 Spy is the other side of the equation, i.e. how well can the unit find things?
 A unit with a low spy won't be very good at locating other units, and won't
 be able to report much when it encounters them in battle. A high-spy unit
-will be able to use the \*Qllookout\*U command with more chance of success, and 
+will be able to use the \*Qllookout\*U command with more chance of success, and
 will be able to more accurately report information about the units it runs
 into in battle. (See info \*QAttacking\*U for information about intelligence
 reports) Units with radar capacity also use their spy value to determine how
@@ -291,7 +291,7 @@ When you decide to attack a sector, you can use mil and units from adjacent
 sectors. The attack value of your forces is the combined attack values of all
 attacking land units, plus the number of mil coming in from adjacent sectors.
 .s1
-The defense value is equal to the mil in the defending sector, plus 
+The defense value is equal to the mil in the defending sector, plus
 the defense values of any defending units in the sector, as well as any that
 react and move there.
 .s1
index ed75a7821cbb52bf981b040c1bd4447ab3a040a3..fb5ea5dd3833d779351e5ca857ed10b513b4c0b4 100644 (file)
@@ -238,7 +238,7 @@ The first thing you want is land.
 Lots of land.
 A whole hell of a lot of land.
 You should try to expand your country from the very beginning.
-From there, you'll meet your neighbors who are doubtlessly 
+From there, you'll meet your neighbors who are doubtlessly
 doing the same thing you're doing.
 Expanding wildly.
 Now comes the first of a series of decisions you have to make.
@@ -255,13 +255,13 @@ about 20% agribusinesses
 (later dropping to 10%, 5%, or even none at all!),
 and a few schools, research, parks, etc.
 to fill up some of the other space.
-The most important thing to have is a good transportation system 
+The most important thing to have is a good transportation system
 in the form of your highways.
 Anywhere from 20-40% of your country should be highways.
 You'll find them infinitely useful
 in moving food to a starving sector,
 taking people to a new settlement,
-or transporting troops to a local revolution, highways are vital!  
+or transporting troops to a local revolution, highways are vital!
 .s1
 Another important consideration is \*Qdo you want really want to win?\*U
 This implies the idea of competing
@@ -335,7 +335,7 @@ Try to get a hold of nukes to devastate them.
 Form a cartel with other small nations
 and try to run over a big country.
 As in real life, the possibilities are endless!
-Look at the Middle East, they're having fun, right? 
+Look at the Middle East, they're having fun, right?
 .s1
 This is just a game, and from this point on,
 you don't have to worry about watching over your nation too closely.
@@ -410,7 +410,7 @@ You can do this for all of your sectors using a command like
 And give a threshold for each of your sectors as prompted.
 .s1
 Now at each update,
-Empire will move food to and from your warehouse 
+Empire will move food to and from your warehouse
 in an attempt to satisfy all your threshold requirements.
 If for example a certain sector
 has more than its allotted threshold of a certain product
@@ -435,7 +435,7 @@ Empire would move all iron off your iron mine (except for one unit),
 try to put 45 iron on your lcm factory and take all lcm's
 (except for one)
 off your lcm plant
-(possibly to be used somewhere else).  
+(possibly to be used somewhere else).
 .s1
 Note: the order in which this happens is predictable,
 but not always desirable.
@@ -489,7 +489,7 @@ Sector -2,0 (the distribution sector for 4,0)
 will attempt to keep 400 units of food in 4,0
 by importing or exporting as necessary.
 .s1
-.EX thresh oil 4,0 100 
+.EX thresh oil 4,0 100
 This command is the same as above,
 but will instead attempt to keep 100 units of oil.
 .s1
index 2a0ef636131b8f06345f97125735f3d410170179..10bc5aa9bcc7c0360dbc1bb1572b3b17f92d8036 100644 (file)
@@ -10,7 +10,7 @@ So you want to try the New Empire Huh?
 Okay, I have written this document with YOU in mind!
 Welcome to the University of California at Berkeley's Empire!
 (From now on called UCB Empire).
-There are a whole bunch of changes in the game 
+There are a whole bunch of changes in the game
 since we last played, so I need to bring you up to date.
 .s1
 Our OLD EMPIRE game was Version 1.2 -
@@ -40,7 +40,7 @@ and you can make an \*Qannouncement\*U to the World.
 In the OLD game -
 you simply dug up ORE and sent it to the Shell, Defense, etc.
 factory to have it processed into something else
-(make guns, shells, etc).  
+(make guns, shells, etc).
 .s1
 But in the NEW game - sectors are a lot more complex.
 For one thing curtain sectors CAN'T even PRODUCE
@@ -55,7 +55,7 @@ Uranium Mines   (need at least 40 TECH)
 Other sectors can produce normally,
 even though your TECH level is still 0.
 Keep in mind that you CAN DESIGNATE the ABOVE sectors -
-but they won't produce until you reach the desired TECH LEVEL. 
+but they won't produce until you reach the desired TECH LEVEL.
 .s1
 Also, it takes more \*QMaterials\*U
 to make 1 Unit of a finished product.
index 265126d097b72a0ac4f8892d1ebb5d3be847b726..d3ee1529c61164aab2924f6a30b223f2f3b3dbea 100644 (file)
@@ -110,7 +110,7 @@ Most commands that are not merely informative cost BTU's.
 .s1
 BTU's are generated by your country's capital.
 The more efficient your capital, the more BTU's that are generated.
-The number of BTU's also depend on the game's settings.. See the 
+The number of BTU's also depend on the game's settings.. See the
 output of the 'version' command for an estimate of BTU generation speeds.
 However, you may have a maximum of 512 BTU's at any one time.
 And once your BTU's reach zero, you may not issue any commands
@@ -226,7 +226,7 @@ code, most notably, Dave Pare added plane units in 1986, Jeff Bailey
 added many configurable options in the KSU distribution, Thomas
 Ruschak added land units and missions in 1992-1993 and released the
 "Chainsaw" server, and Ken Stevens rewrote much of the server code in
-1995 and released the "Empire2" server, and Steve McClure and the Wolfpack 
+1995 and released the "Empire2" server, and Steve McClure and the Wolfpack
 made lots
 of other changes and released the "Empire4" server in August of 1996.
 .in
index c3b79344fbb56b4da21fa881dd007c70bbacd3c2..b7eb20eb85020018276dcbc789b17ccd54de853f 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .sp
 .s1
-If the RES_POP option is in use, 
+If the RES_POP option is in use,
 the research level of a country determines the maximum number of civilians
 and uw's
 that can live in a sector. For ordinary sectors, the maximum is:
index 8ab9d65d6a68c25ac0ad0aaff51494683a3dd37a..372389ac4927248569afe1c64aabc45c5d01ed24 100644 (file)
@@ -71,9 +71,9 @@ described in \*Qinfo capital \*U.
 Capitals are typically better at defending against attack than other
 sectors, except fortresses.
 .s1
-PARK - Parks are provided solely for the convenience of the 
+PARK - Parks are provided solely for the convenience of the
 people.
-Parks require construction materials to provide maintenance 
+Parks require construction materials to provide maintenance
 services and
 add to a nation's \*Qhappiness\*U level.
 .s1
@@ -118,7 +118,7 @@ FINANCIAL
 .s1
 BANK - Banks are used for smelting and storing gold bars.
 They include a smelter to refine gold dust into gold bars.
-While the bars are stored in the bank the busy little bankers 
+While the bars are stored in the bank the busy little bankers
 invest them and return a profit on their use.
 Banks are of the Fort Knox variety; they are more impervious to shelling
 than most other sectors, and military in them fight harder
@@ -170,7 +170,7 @@ AGRIBUSINESS - These sectors are large farms and provide food.
 Agribusiness sectors produce much more food than other sectors.
 .s1
 OIL - Oil fields produce oil by pumping it out of the ground.
-.s1 
+.s1
 REFINERY - Refineries produce petroleum by processing oil.
 .s1
 LIGHT - Light manufacturing plants produce light construction materials
index 8e7178b44ae6ec455eb5c9360795a67ae7d3d6e8..6e68fa01dc72cb6567557d15e7456ed815282ec3 100644 (file)
@@ -10,7 +10,7 @@ The Empire Shell (command interpreter)
 expects input in the form:
 .EX VERB ARG1 ARG2 ...
 VERB is any one of the Empire commands on the \*Qcommand list\*U
-(what you see when you type \*Qlist\*U-- e.g. 
+(what you see when you type \*Qlist\*U-- e.g.
 \*Qmap\*U, \*Qmove\*U, \*Qinfo\*U, etc).
 .s1
 The number of ARGs varies from command to command.
@@ -92,7 +92,7 @@ have food delivery.
 Note that \*Qhix\*U, \*Qhiy\*U, and \*Q?cond\*U are all optional.
 Also, the entire \*Qlox:hix,loy:hiy\*U section may be replaced
 by either \*Q#\*U, \*Q#0\*U, \*Q#1\*U, \*Q#2\*U,
-or \*Q#3\*U, ... which refer to 
+or \*Q#3\*U, ... which refer to
 \*Qrealm\*Us which you can define.
 (See \*Qinfo realm\*U.)
 Note that \*Q#\*U and \*Q#0\*U are equivalent.  Also \*Q*\*U refers to
index 966ef78c4bd5d7fa3bb471717dd2ce69237f811f..d6d29c92fcae198873b0c4f428eaf5a53492825a 100644 (file)
@@ -32,5 +32,5 @@ already have made the technological investment.
 .s1
 Also note that captured civilians only pay 1/4 the normal taxes.  They
 like to hide money until they are all finally agree to become naturalized
-citizens of their new government. 
+citizens of their new government.
 .SA "Updates, Nations"
index 20ec5afa90d30760f905f27450e8e3feced4ecb2..8411bb767fe4068bfbad708d0823c194f2d745bc 100644 (file)
@@ -85,7 +85,7 @@ chance that your tech level will increase by one third of the
 difference between your tech level and the minimum tech.
 .fi
 .s1
-Note that if the TECH_POP option is enabled, technology costs 
+Note that if the TECH_POP option is enabled, technology costs
 proportionately more $$$ to make as your civilian population grows
 past 50,000 civilians.
 .s1
index ce29cadd4b1e8e3251b6b2a04fa81c1d5c66052c..3a3c69c2051a205b1b05d867f9e1098c1fb4fa77 100644 (file)
@@ -40,7 +40,7 @@ Currently, the return rates are:
 For example, if you sail the ship 10 sectors from the harbor where it was
 built and scuttle it in a harbor there, you would get 125% of the money you
 paid for it, or $2188. If you sailed it 15 sectors to a harbor and scuttled it,
-you would get 153%, or $2678. 
+you would get 153%, or $2678.
 .s1
 Use the \*Qpayoff\*U command to see how much the trade ship would pay
 were it scuttled in a harbour at its present location.
index 4086a34506ec041a840a77babd9841c78bb66639..c0a4bcaf02ca21f4db2fafddd159d4641dfdf603 100644 (file)
@@ -27,8 +27,8 @@ Units do not participate in the anti command.  A sector can revert
 to the old owner while your units are stuck in it.
 .s1
 Note that che are finicky.  If you manage to lose a sector fighting them,
-they do unpredictable things. 
-They may all come out of hiding to join the 
+they do unpredictable things.
+They may all come out of hiding to join the
 military.  A few may stay in hiding while the majority come out to join
 the military.  Who knows what else they may do.
 .s1
index e8c8a02752acd1e32c74c03cca0af98ee98b5c0a..b255d5e578c391633c943aa23e93876407a44d12 100644 (file)
@@ -17,7 +17,7 @@ This represents the use of the Admiral's gig, the Captain's barge, etc.
 Note that some ships will have the
 semi-lander flag, which allows them to land 25% of their troops.
 .s1
-If you have land units with the 'assault' ability 
+If you have land units with the 'assault' ability
 aboard the ship assaulting, you will be asked if
 you wish them to join in the assault as well.
 Assaulting units pay one update's worth of mobility, except for marine
index eda649b1171d51e80eda6690f61526bcb0519152..d5a0444b19dbcb5fed5af2c75a5f3ec78b36e946 100644 (file)
@@ -7,7 +7,7 @@ Bdes allows you to change a sector of your bmap.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is as sea, it will show up on your bmap as sea, even if it 
+out that it is as sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 When you get new information, it will overwrite the designation you put in
index 6318feb0789c9ec20503abe9ecdd24c0263d7f05..f513472662e1c35b300ea40bb4230d300aa12786 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "bestpath <SECTS> <SECTS>"
 .s1
-The bestpath command shows you the best path from any sector 
+The bestpath command shows you the best path from any sector
 to any sector. You must own both sectors.
 .s1
 The path shown by bestpath is the cheapest
index 08a8a559ff6246484bd106b096153c1763ee1853..c03cdb5645c5a0b757e5a9103ec2d91578796c0d 100644 (file)
@@ -10,7 +10,7 @@ A bmap gives you a graphic representation of all or part of your country.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is sea, it will show up on your bmap as sea, even if it 
+out that it is sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 Note that bmap shows the \*QLAST KNOWN INFORMATION\*U you have about
@@ -65,7 +65,7 @@ and also put the bmap in the file called \*Qmapfil\*U.
 You can also give the number of a ship, and bmap will give you a small
 bmap centered on the location of that ship, provided you own it.
 .s1
-If you use lbmap, you can get a bmap around a land unit. 
+If you use lbmap, you can get a bmap around a land unit.
 If you use pbmap, you can get a bmap around a plane.
 If you use sbmap, you can get a bmap around a ship.
 If you use nbmap, you can get a bmap around a nuke.
index e2cca18d1f00d14fbd43da00b2c3bf54b4bc7030..b32a6e3e287d1b17f7026e78293ff2cfc62bcac9 100644 (file)
@@ -7,7 +7,7 @@ combat.
 To board ship #16 from ship #93 you might type:
 .EX board 16
 .s1
-The program will ask from which ship or sector you wish to board, 
+The program will ask from which ship or sector you wish to board,
 (you may only board from one ship at a time), how many troops to board
 with, and which land units (having "assault" capability) to board with.
 .s1
index f4bc083b352ac1ad9866131ac69eb4a812e8a191..c77fa73fec82fb475bdaa88e59b797efea45c19b 100644 (file)
@@ -36,7 +36,7 @@ The assembly point must be owned by you or an ally, or you or an ally
 must have a ship there.  It must not be more than
 four sectors away from any of the planes selected for the mission.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
@@ -67,14 +67,14 @@ at the target sector, your force must still contend with
 any flak guns which your enemy has stationed there.
 What's more, any enemy ship in the target sector will also
 shoot at each of your bombers before any attacks are performed.
-Any enemy land units with the 'flak' ability will also fire at 
+Any enemy land units with the 'flak' ability will also fire at
 all your planes at this time.
 .s1
 A well-equipped fleet of battleships in a heavily-defended harbor
 can be very risky to attack, even though hitting ships in harbor is
 like shooting fish in a barrel.
 .s1
-When bombing ships/planes/units, entering a '~' character will cause a 
+When bombing ships/planes/units, entering a '~' character will cause a
 particular plane not to bomb. Other planes on the mission will still
 be asked for their targets.
 .s1
@@ -93,7 +93,7 @@ sector which has fuel in it.
 .s1
 When you pin-bomb a land unit, it will fire flak at the plane bombing it,
 unless
-it has an AA fire rating of 0. 
+it has an AA fire rating of 0.
 .s1
 In the case of pinpoint bombing, see \*Qinfo Hitchance\*U for the formula
 determining whether a plane hits its target.
index 10ede4b327d577892f1ff7f5cf9ac431050d9d52..28a40e4bd77b0006bec836f75f9ab8f47ece168f 100644 (file)
@@ -56,7 +56,7 @@ military crew.  So, for maximum efficiency growth,
 put full crews on your newly built
 ships and leave them in harbor until they reach 100%.
 .s1
-The work required to add a point of efficiency to a ship is 
+The work required to add a point of efficiency to a ship is
 .s1
 .NF
 (20 + (lcm_to_build + 2 * hcm_to_build))/100
@@ -66,7 +66,7 @@ Ships at sea have only their crews to make repairs.
 A small crew on a large ship
 may not be able to make any repairs at all.
 (Moral: keep your ships fully crewed in anticipation of future damage.)
-Repairs at sea do not use any lcms or hcms, but may not push the 
+Repairs at sea do not use any lcms or hcms, but may not push the
 efficiency of a ship over 80%.
 .s1
 AIRFIELD SECTORS & BUILDING PLANES
@@ -80,7 +80,7 @@ A plane is not capable of leaving the ground until
 it has reached 40% efficiency.  Planes below 10% efficiency are
 destroyed.
 .s1
-The work required to add a point of efficiency to a plane is 
+The work required to add a point of efficiency to a plane is
 .s1
 .NF
 (20 + (lcm_to_build + 2 * hcm_to_build))/100
@@ -89,7 +89,7 @@ The work required to add a point of efficiency to a plane is
 Planes will also gain efficiency in non-airport sectors, but at only 1/3rd
 the normal rate.
 .s1
-Planes on carriers will also gain 
+Planes on carriers will also gain
 efficiency. The amount of work available is based on the carrier's crew,
 and the rate is the same as a non-airport sector.
 Repairs at sea do not use any materials, but may not push the
@@ -101,11 +101,11 @@ Land units are built in headquarters sectors.
 In order to build a land unit, you must have 10% of the items
 listed by \*Qshow\*U available at the time of building. The land unit will
 appear at 10% efficiency (a unit of less than 10% efficiency is
-dead). Then, 
+dead). Then,
 each update, the unit will grow in efficiency, and use up more
 of the required goods until it reaches 100%.
 .s1
-The work required to add a point of efficiency to a land unit is 
+The work required to add a point of efficiency to a land unit is
 .s1
 .NF
 (20 + (lcm_to_build + 2 * hcm_to_build))/100
index af302571fa931426dd6cfa36a64f2d89e099bd50..446761c1beb35740125585c1c9fce1fc26c102d8 100644 (file)
@@ -3,7 +3,7 @@
 .LV Basic
 .SY "cargo [<SHIP/FLEET> | <SECTS>]"
 .SY "lcargo [<UNIT/ARMY> | <SECTS>]"
-The cargo command lists the commodities on board your ships 
+The cargo command lists the commodities on board your ships
 in readable format. The lcargo command does the same for land units.
 .s1
 The <SHIP/FLEET>, <UNIT/ARMY>, and <SECTS> arguments are
index 4de64d919fbb97ee4e3f9977297c791ec5baa92f..df45aab4209a0db99ad11eb2a901727d691a9ade 100644 (file)
@@ -22,7 +22,7 @@ Pandora (#5) oil derrick #74 @3, -9
 Galexis (#2) destroyer #35 @-3, 11
 .FI
 .s1
-Note that subs will NOT show up on coastwatch, unless they are in a 
+Note that subs will NOT show up on coastwatch, unless they are in a
 sector you own.
 .s1
 .SA "skywatch, lookout, Sector-types, radar, Ships, Detection"
index 1a89145126080c979984c7aace48e51639e0b82c..3c2fbcd5bd76b56f6ec57d1a4cb8f3f0bcc49785 100644 (file)
@@ -11,7 +11,7 @@ is no longer occupied (i.e. you become the "oldowner" of the sector).
 After the program has collected any necessary information
 it will list each sector where civilians are converted.
 .s1
-Note: you must have enough military in the sectors to force the 
+Note: you must have enough military in the sectors to force the
 populace to become uncompensated workers -- about 10%. Land units
 count toward this at a value equal to the number of mil required
 to build them. Security units are even more efficient, counting for
index 3a95bd9f6283872cde73b4695cc576fb70f90cf2..bb6053a5191f108478b98c412ecb738b115533f3 100644 (file)
@@ -2,7 +2,7 @@
 .NA cutoff "List delivery thresholds"
 .LV Expert
 .SY "cutoff <SECTS>"
-The cutoff report provides information about the various 
+The cutoff report provides information about the various
 delivery cutoff levels in some or all of the sectors that
 you occupy.
 .s1
index 91ebc6b35de8ba8d85364518d4fc49fdebe60f71..dc18adcb5a1149ff2510abfb1d21c1630340d61a 100644 (file)
@@ -40,7 +40,7 @@ Will set iron delivery threshold to 80 in all mines.
 Will list all lcm delivery specifications.  (Sectors with no delivery
 threshold or direction will not be listed).
 .s1
-The census and commodity reports will indicate deliveries by the 
+The census and commodity reports will indicate deliveries by the
 same characters used to specify them in this command.
 .s1
 If, during an update, the destination sector is not owned by you,
index fc3d55107736b76d030c543569ea2dbc940e8c52..9d6af56c8b4d5f27a8ba4ca189fe5e197352c766 100644 (file)
@@ -82,7 +82,7 @@ will flow to and from the warehouse.
 .s1
 .L "Finding sectors with not dist point set"
 .s1
-If you want to find sectors with no distribution point set, use the 
+If you want to find sectors with no distribution point set, use the
 xdist and ydist selectors:
 .s1
 .EX level # ?xdist=xloc&ydist=yloc
index d3db42dfda98fb244749fe999529d850929a71e0..00039930e69039473e68c3bdd90a41d75c79bef9 100644 (file)
@@ -24,7 +24,7 @@ four sectors away from any of the planes selected for the mission.
 <COMMODITY> is the name of a commodity which is to be carried along
 on all of the planes which have a transport capacity.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
index 8b848ca20c6c480ca7ee4a049c2a8d2603f2685e..400511e8bb9e3bda38f5cf3a48839eda1f9bdb6a 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "dump <SECTS> [<fields>]"
 The dump command displays all information on
-some or all of the sectors you occupy. 
+some or all of the sectors you occupy.
 dump is a combination of census, commodity, cutoff and level.
 Each sector's information is printed on one very long line.
 Fields are separated by a single space.
index 09339679f0dbff9d1b37621d6df00a427065e8d1..b426c2ff7221c59cc0b59882efbfa5d0756503b3 100644 (file)
@@ -24,7 +24,7 @@ four sectors away from any of the planes selected for the mission.
 on all of the planes which have a transport capacity.
 If nothing is specified, then nothing will be carried.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
index bb39b0cbe478a9b6db141d9cc13c736ee2c4e77a..974f4c226bccc6e5ccc0fc67c5397893f009b131 100644 (file)
@@ -44,7 +44,7 @@ The formula for the chance that a missile hits its target is in
 .s1
 In the case of non-marine tactical missiles, if there are any HOSTILE
 abm's within range of the target sector, then two of them will fire in
-an attempt to intercept the incoming missile.  
+an attempt to intercept the incoming missile.
 .s1
 Similarly, two AT_WAR a-sat's will attempt to intercept any satellites
 you attempt to launch within their range.  Also, if the sector you are
@@ -52,7 +52,7 @@ launching your satellite at is owned by a non-allied country, then
 they will get a telegram informing them of the positioning of the
 satellite.  See below for details of a satellite's orbit path.
 .s1
-When launching missiles, there is a 
+When launching missiles, there is a
 % chance equal to (5 + 100 - efficiency) * (1 - techfactor) that the
 missile will blow up on
 the launching pad instead of launching.
index 091ec0e726f5d96b088f964cf00960f98a461951..a2a9e48215ce8f8d1936b812e6c11618d8d2af85 100644 (file)
@@ -10,7 +10,7 @@ A bmap gives you a graphic representation of all or part of your country.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is sea, it will show up on your bmap as sea, even if it 
+out that it is sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 Note that bmap shows the \*QLAST KNOWN INFORMATION\*U you have about
@@ -67,7 +67,7 @@ and also put the bmap in the file called \*Qmapfil\*U.
 You can also give the number of a ship, and bmap will give you a small
 bmap centered on the location of that ship, provided you own it.
 .s1
-If you use lbmap, you can get a bmap around a land unit. 
+If you use lbmap, you can get a bmap around a land unit.
 If you use pbmap, you can get a bmap around a plane.
 If you use sbmap, you can get a bmap around a ship.
 If you use nbmap, you can get a bmap around a nuke.
index 12827422c008da681f749125e02e3e5eda39e06a..8b0833430f411f173a094d87690f238a040fd255 100644 (file)
@@ -3,7 +3,7 @@
 .LV Basic
 .SY "cargo [<SHIP/FLEET> | <SECTS>]"
 .SY "lcargo [<UNIT/ARMY> | <SECTS>]"
-The cargo command lists the commodities on board your ships 
+The cargo command lists the commodities on board your ships
 in readable format. The lcargo command does the same for land units.
 .s1
 The <SHIP/FLEET>, <UNIT/ARMY>, and <SECTS> arguments are
index 3ab5215a7024d9e55415c12da6a4185a6b1edbb6..a9f584c16a22c760151bb72b9c244cad46ad53cb 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "ldump <UNITS> [<fields>]"
 The ldump command displays all information on
-some or all of your land units. 
+some or all of your land units.
 ldump is a combination of land, lcargo, and lstat.
 Each ship's information is printed on one very long line.
 Fields are separated by a single space.
index b26d859edaf31fa21670b952c5804d43fc1ae527..1bbcb41f1cc9e86855069bc2be0207488c9ab8c8 100644 (file)
@@ -2,7 +2,7 @@
 .NA level "List distribution thresholds"
 .LV Basic
 .SY "level <SECTS>"
-The level report provides information about the various 
+The level report provides information about the various
 distribution thresholds in some or all of the sectors that
 you occupy.
 .s1
index 0c3a9ee57a3732101f0259aa7b591da5608a55e2..4d2b334001c50ab68b97419ed15d592456edd9ca 100644 (file)
@@ -6,7 +6,7 @@
 .SY "lload land <UNITS> <UNITS>"
 The load command carries out the loading of units.
 Commodities (like guns, civs, food) can be loaded onto any unit capable
-of carrying them (to see what cargos a unit can carry, use the show command). 
+of carrying them (to see what cargos a unit can carry, use the show command).
 .s1
 Some land units can carry extra-light
 planes (typically these are SAM's)
@@ -26,7 +26,7 @@ than that amount, the commodity will be unloaded. For example,
 .EX load food 3 -100
 .s1
 will cause unit 3 to load or unload food so that it has 100.
-If it had 120 food, 20 would be unloaded. If it had 50 food, 
+If it had 120 food, 20 would be unloaded. If it had 50 food,
 50 would be loaded.
 .s1
 .SY "lload plane <UNITS> <PLANES>"
index 6ecb1304e37a9f72a88a0042ecaa27204969431b..333aa04d53bc721a91b63281a1505e1bfe98ba6d 100644 (file)
@@ -53,7 +53,7 @@ own it).
 If you use nmap, you can get a map that shows new sector designations
 instead of old sector designations of your own country.
 .s1
-If you use lmap, you can get a map around a land unit. 
+If you use lmap, you can get a map around a land unit.
 If you use pmap, you can get a map around a plane.
 If you use smap, you can get a map around a ship.
 If you use nmap, you can get a map around a nuke.
index 78f2962072498c841fd5fbadeac361201a952520..6ac474dbc7a9c243bcca346c9940fe0eeca7ac22 100644 (file)
@@ -5,14 +5,14 @@
 .SY "load plane <SHIPS> <PLANES>"
 .SY "load land <SHIPS> <UNITS>"
 The load command carries out the loading of ships.
-Commodities (like guns, civs, food) can be loaded onto any ship. 
+Commodities (like guns, civs, food) can be loaded onto any ship.
 Missiles can be loaded onto nuke subs
 and planes can be loaded onto carriers.
 Land units may be loaded onto many ships.
 .s1
 The ship(s) must be in a harbor and
 the harbor must be at least 2% efficient.
-.s1 
+.s1
 .SY "load <COMMODITY> <SHIPS> <AMOUNT>"
 In the first form,
 the amount argument specifies the amount of the given commodity
@@ -26,17 +26,17 @@ than that amount, the commodity will be unloaded. For example,
 .EX load food 3 -100
 .s1
 will cause ship 3 to load or unload food so that it has 100.
-If it had 120 food, 20 would be unloaded. If it had 50 food, 
+If it had 120 food, 20 would be unloaded. If it had 50 food,
 50 would be loaded.
 .s1
 .SY "load plane <SHIPS> <PLANES>"
-In the second form, 
+In the second form,
 where you say \*Qplane\*U instead of say \*Qciv\*U planes are
 loaded onto ships. Multiple planes may be given. Some
 may not be loaded, if there is not enough room.
 .s1
 .SY "load land <SHIPS> <UNITS>"
-In the third form, 
+In the third form,
 where you say \*Qland\*U instead of say \*Qciv\*U, a unit
 is loaded onto a ship. Multiple units may be given. Some may
 not be loaded, if there is not enough room. (Note that planes on
@@ -52,14 +52,14 @@ each items that can be carried on each ship type.
 .s1
 If you are loading things onto FRIENDLY ships, you need to type the
 numbers of the ships, fleets or realms
-will not work. I.e. if you do "load f s 999", it'll load 999 food onto 
+will not work. I.e. if you do "load f s 999", it'll load 999 food onto
 all your ships in fleet s. If you do "load 1/2/3/4 999 f", it'll try to
 load food onto ships 1, 2, 3, and 4, regardless of whether they're yours
 or they belong to a friendly trading partner.
 .s1
 If you load something onto a friendly nation's ship, it becomes
 his and he gets a telegram. If you load a unit, he gets any planes it
-may be carrying. 
+may be carrying.
 .s1
 If you unload a plane or unit in a friendly nation's harbor, it
 becomes his. If you unload a unit, he gets any planes it may be carrying.
index c27d76efc2a3f11a6dc3fae1590ee0893b3558c5..2e180ea55721e86deb4dd3859c7e23788d3fbe5b 100644 (file)
@@ -18,7 +18,7 @@ command does not remove items from the database.  That is where the
 timestamp functionality becomes important.
 .s1
 While the lost command does not take any arguments, it does
-take the standard syntax for selecting information.  
+take the standard syntax for selecting information.
 (see \*Qinfo Selector\*U).
 .s1
 A typical usage might be:
index a8c475a5659abe32600746105433c159b36a683b..91dc17efe1c8c7fe434658e8b119c2246f2f42a8 100644 (file)
@@ -2,7 +2,7 @@
 .NA lrange "Edit the reaction range of a unit"
 .LV Expert
 .SY "lrange <UNITS> <reaction-radius>"
-The \*Qlrange\*U command is used to limit the maximum reaction radius of 
+The \*Qlrange\*U command is used to limit the maximum reaction radius of
 land units. This can be useful in restricting the area which a unit will
 attempt to defend. (see info attack for details of the reaction process)
 .s1
index 2011c6eee23df2843c7b2a115a4baad87ca8312e..573e8cca208c4d65e4338bd9787b071b29891886 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "retreat [<SHIP/FLEET> | <SECTS>] [<PATH>] [<CONDITIONS>]"
 .SY "lretreat [<UNIT/ARMY> | <SECTS>] [<PATH>] [<CONDITIONS>]"
-The retreat command allows you to examine or modify the retreat 
+The retreat command allows you to examine or modify the retreat
 paths and conditions of your ships or units. The following description
 is for ships. Land units are exactly the same, except of course that
 some of the retreat conditions (being sonared, depth charged, etc) don't apply.
@@ -44,12 +44,12 @@ shp#     ship type       x,y   fl path       as flt? flags
 .s1
 .L Overview
 .s1
-A player may give retreat orders for a ship or a fleet. Retreat 
+A player may give retreat orders for a ship or a fleet. Retreat
 orders include a set of conditions that determine when the fleet/ship
 will retreat, and a path that the fleet/ship will follow. When a condition
 is met for a particular ship, the \*Qas flt?\*U field is checked. If it
 is Yes, then every ship in that fleet with fleet retreat orders retreats
-along the specified path. If it is no, then the retreat orders apply to 
+along the specified path. If it is no, then the retreat orders apply to
 that ship only, and only that ship retreats.
 .s1
 When a ship is added to a fleet, it is given the retreat orders of that
index a37d85521ecdb2c84195f930f6a3af3118b6ab73..4076177ddafde204494671f5ae0e82bd9b681b8b 100644 (file)
@@ -51,7 +51,7 @@ own it).
 If you use nmap, you can get a map that shows new sector designations
 instead of old sector designations of your own country.
 .s1
-If you use lmap, you can get a map around a land unit. 
+If you use lmap, you can get a map around a land unit.
 If you use pmap, you can get a map around a plane.
 If you use smap, you can get a map around a ship.
 If you use nmap, you can get a map around a nuke.
index a1f48f3cee09c05468f287e6b92178e856e7ea79..23c8eb6c6fec5d0aafc0a2bd0cc7a94e804b1c39 100644 (file)
@@ -111,7 +111,7 @@ This would make the unit interdict anything passing within 5 sectors of
 This would make the unit interdict anything passing within 2 sectors of
 4,0, provided it was also within 5 sectors (the unit's range) of 0,0.
 .s1
-The op-sector/op-range concept allows you to restrict a unit's area of 
+The op-sector/op-range concept allows you to restrict a unit's area of
 interest to a small, important area, or just let it shoot at anything within
 range.
 .s1
@@ -124,8 +124,8 @@ perform that mission if done by the player.
 A unit stays on its mission until you cancel it, OR the unit acts. Any type
 of action not a part of a mission
 is sufficient, so marching, navigating, transporting, flying, reconing,
-bombing, mining, paratrooping, being attacked, being 
-paratrooped on, retreating, etc, will all cause a unit to lose its 
+bombing, mining, paratrooping, being attacked, being
+paratrooped on, retreating, etc, will all cause a unit to lose its
 mission status, but the unit could bomb/shell/etc AS PART OF A MISSION, and
 still retain its mission status.
 Also, land units with a reserve
@@ -167,7 +167,7 @@ have mobility left.
 .s1
 Damage done is divided amongst all units/ships/commodities moving. For
 example, if 6 ships were moving, and the interdiction mission did 18 points of
-damage, each ship would take 3. 
+damage, each ship would take 3.
 .s1
 Note that only ships with sonar and ASW planes can interdict subs. Also, the
 units may or may not detect the subs, so it's kind of random. The sub also
@@ -188,8 +188,8 @@ sector that the commodities were moving into.
 .s1
 Note also that forts will fire at enemy ships coming within
 range. You don't have to set anything for this, it
-happens automatically. (Forts firing at enemy ships naving happens before 
-ships/planes/units interdicting ships, so if the enemy is using an area a 
+happens automatically. (Forts firing at enemy ships naving happens before
+ships/planes/units interdicting ships, so if the enemy is using an area a
 lot, a fort will hurt him without costing you mob from planes)
 .s1
 SUPPORT MISSIONS (planes only)
@@ -239,9 +239,9 @@ owned sectors, some sea, some allied sectors, and some enemy sectors, it
 would try to intercept over any of them.
 .s1
 When a plane enters a sector, any planes with air defense missions that are
-at war with the owner of the plane will fly there to fight it. 
+at war with the owner of the plane will fly there to fight it.
 The air defense planes
-encounter normal interception along the way (but do \*QNOT\*U trigger 
+encounter normal interception along the way (but do \*QNOT\*U trigger
 more air defense missions, but \*QMAY\*U be intercepted normally).
 Once the air defense planes get to the sector,
 they fight the plane. Then, if the owner of the sector
index c755ef3aadd2f1cc2369c845fc18acd2cf2eed61..344e9782b03eb01311747084b07ea84ea0509aa4 100644 (file)
@@ -106,7 +106,7 @@ some damage to the sector you were moving into.
 .s1
 .L "Unhappy civilians"
 .s1
-Also, when moving unhappy civilians (work percentage less than 100%), 
+Also, when moving unhappy civilians (work percentage less than 100%),
 unhappiness is contagious. The work percentage of the
 destination sector is computed by averaging the incoming civ's happiness
 with the happiness of the civs already there. For example, say you move
index 1f9b900e032cdbd3f101474f917d6ba258c324b2..76ccdf1dd5082c797bddb01499106d60d7e3eb63 100644 (file)
@@ -10,7 +10,7 @@ A bmap gives you a graphic representation of all or part of your country.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is sea, it will show up on your bmap as sea, even if it 
+out that it is sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 Note that bmap shows the \*QLAST KNOWN INFORMATION\*U you have about
@@ -65,7 +65,7 @@ and also put the bmap in the file called \*Qmapfil\*U.
 You can also give the number of a ship, and bmap will give you a small
 bmap centered on the location of that ship, provided you own it.
 .s1
-If you use lbmap, you can get a bmap around a land unit. 
+If you use lbmap, you can get a bmap around a land unit.
 If you use pbmap, you can get a bmap around a plane.
 If you use sbmap, you can get a bmap around a ship.
 If you use nbmap, you can get a bmap around a nuke.
index 4368b0aab5411582f963bae51d030e3a074d3050..794b02cae1e68804772d1a2abb1afb83f8c27311 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "ndump <SECTS>"
 The ndump command displays all information on
-some or all of the sectors you occupy. 
+some or all of the sectors you occupy.
 Each nuke's information is printed on one very long line.
 Fields are separated by a single space.
 .s1
index a50f70deeafeaa38a8b640347e872ce0ef7d09a2..5a7c1721196f3f5668d55457e57f64683dc83568 100644 (file)
@@ -51,7 +51,7 @@ own it).
 If you use nmap, you can get a map that shows new sector designations
 instead of old sector designations of your own country.
 .s1
-If you use lmap, you can get a map around a land unit. 
+If you use lmap, you can get a map around a land unit.
 If you use pmap, you can get a map around a plane.
 If you use smap, you can get a map around a ship.
 If you use nmap, you can get a map around a nuke.
index be39bec5ea1ee10c3fac104ab6b29ee784c1100c..2da8f54a9f00389b6d2c22b3d2d359de91adfe77 100644 (file)
@@ -1,7 +1,7 @@
 .TH Command ORDER
 .NA order "Order a ship to auto-navigate"
 .LV Expert
-.SY "order <SHIP/FLEET> [c|r|s|d|l] 
+.SY "order <SHIP/FLEET> [c|r|s|d|l]
 You use the \*Qorder\*U command to give sailing orders to ships.
 At each update, ships sailing under orders \*Qautonavigate\*U toward a
 specific destination sector.  Telegrams notify you of arrivals.
@@ -9,7 +9,7 @@ specific destination sector.  Telegrams notify you of arrivals.
 ONLY merchant ship may be given orders, but in order to move during the
 update a ship must have at least one crew (which may be civilian or military,
 but not an uncompensated worker).  Merchant ships are those that
-have 0 for their firing range and gun limit values.  
+have 0 for their firing range and gun limit values.
 .s1
 Note that your ships sailing on orders will be interdicted just as if
 you were navigating them by hand.
@@ -23,17 +23,17 @@ points and clear all the cargo levels for the ship.
 .EX order <SHIP/FLEET> s      Suspend Orders
 .s1
      If you want to keep orders but don't want the ship
-to move during the update use the suspend option. 
+to move during the update use the suspend option.
 A quick look at \*Qsorder\*U
 will display the eta time as suspended.
 As long as a ship is suspended it will be unable to move
-during the update.  
+during the update.
 .s1
 .EX order <SHIP/FLEET> r      Resume Orders
      Resume will allow ships that have a suspended order to move
-again. 
+again.
 .s1
-.EX order <SHIP/FLEET> d <dest1> [dest2|scuttle|-]   Declare Orders 
+.EX order <SHIP/FLEET> d <dest1> [dest2|scuttle|-]   Declare Orders
 .s1
 To declare an order you have 3 options.
 .NF
@@ -79,7 +79,7 @@ scuttle themselves at sea.
 .s1
 .EX order <SHIP/FLEET> l <hold> <start/end> <COMM> <amount>
 .s1
-Set cargo Levels. 
+Set cargo Levels.
 .NF 
 Example: Cargo ship #109 is at your harbor in sector 10,0.
 You have agreed to trade 200 lcm and 100 hcm to your friend and
@@ -103,45 +103,45 @@ shp #   type           [Starting]  (Ending)
 .FI 
 .s1
 AutoNav Features.
-.s1 
+.s1
 Whenever a ship is autoloading cargo, it will always wait until it loads
-to capacity.  If a ship does not load fully it will not move!!! 
+to capacity.  If a ship does not load fully it will not move!!!
 Remember 'ships need food!!' unless the NOFOOD option is enabled.
 Set one of your cargo holds to load food or your ship will starve at sea.
 When unloading cargo, the ship will unload all goods
 listed in the cargo holds ONLY!  It will not unload any extra good
-manually placed on the ship.  
+manually placed on the ship.
 .s1
 If you are dealing with civilians 1 will be left in either the
 sector or the harbor depending if your loading or unloading.
 In either case when you arrive at the other harbor all but 1 civ
 will be dumped into the harbor.  Be careful if you set civilians
-as one of your cargo levels. 
-.s1 
+as one of your cargo levels.
+.s1
 You can set any commodity in the game to be loaded on the ship.
 However if you tell a ship to load a commodity it can not hold it
 will be ignored.  Example:  If you tell a battleship to load
-Lcm, and of course it does not have that capability, see 'show ship 
+Lcm, and of course it does not have that capability, see 'show ship
 capability' that level will be ignored at the update.
-Planes and Units are not commodities so they can not be loaded this way. 
-.s1 
+Planes and Units are not commodities so they can not be loaded this way.
+.s1
 At update time, the most direct path from the ship to destination
 is calculated.  Each ship is then autonavigated along that path to
 the best of its mobility.  The path is calculated from what the player
 knows of the world (what you can see using the \*Qbmap\*U command).
 Open sea, bridges, harbors, and unexplored regions of the world
 are considered to be navigable.  Your friend's harbors and bridges
-may be uses as long as the harbor >= 2% and the bridge >= 60%. 
+may be uses as long as the harbor >= 2% and the bridge >= 60%.
 Your ships will also try to avoid any mines you have declared on your
 bmap.  'x' or 'X' characters.  Should your ship hit a mine the ship
 will stop moving and its orders suspended.  You bmap will also be updated
-with a 'x' marking the sector for you. 
-.s1 
+with a 'x' marking the sector for you.
+.s1
 If a ship sails in range of enemy forts they will be fired upon.
 Setting your ship to autonavigate into an area with good fort
 cover could result in many ships getting sunk fast.
-However you could put an invasion fleet off someone's coast in a hurry. 
-.s1 
+However you could put an invasion fleet off someone's coast in a hurry.
+.s1
 If the ship has a 'sweep' flag
 ships will try and sweep any mines if any are present as they move.
 .s1
@@ -151,7 +151,7 @@ adding sector information to the known world map.
 The autonav code will try and use as much mobility as possible and this
 is all done before mobility is gained from the update.
 After an update has completed
-your ship will have mobility so it can be moved by hand if needed. 
+your ship will have mobility so it can be moved by hand if needed.
 .s1
 Ships with capability fish or oil can be setup to \*Qload\*U
 from the sea sector.
index ba6e9dbfcecd6a129bc2f339a4f11d1328f13a00..150eb79dd3fd94d18a56ace9847a8ab9c258b3f0 100644 (file)
@@ -23,7 +23,7 @@ The assembly point must be owned by you or an ally, or you or an ally
 must have a ship there.  It must not be more than
 four sectors away from any of the planes selected for the mission.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
index 0dad3bdc1a93e42380c57ec3ac40c1a380c05f40..271cb33bd39acdba53c91f98c36be188ce16be51 100644 (file)
@@ -10,7 +10,7 @@ A bmap gives you a graphic representation of all or part of your country.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is sea, it will show up on your bmap as sea, even if it 
+out that it is sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 Note that bmap shows the \*QLAST KNOWN INFORMATION\*U you have about
@@ -65,7 +65,7 @@ and also put the bmap in the file called \*Qmapfil\*U.
 You can also give the number of a ship, and bmap will give you a small
 bmap centered on the location of that ship, provided you own it.
 .s1
-If you use lbmap, you can get a bmap around a land unit. 
+If you use lbmap, you can get a bmap around a land unit.
 If you use pbmap, you can get a bmap around a plane.
 If you use sbmap, you can get a bmap around a ship.
 If you use nbmap, you can get a bmap around a nuke.
index 28c60b935db3b63a7f623984e05ff23d7a3defcb..cb8aeccd366064cd501ed0113b51847fa83efdd5 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "pdump <PLANES> [<fields>]"
 The pdump command displays all information on
-some or all of your planes. 
+some or all of your planes.
 pdump is a combination of plane and pstat.
 Each plane's information is printed on one very long line.
 Fields are separated by a single space.
index 78ea74ccd2997ef6c68793db76e2299e01003a8c..958640d0a2f14a732b573ff9e30041d6968596fd 100644 (file)
@@ -51,7 +51,7 @@ own it).
 If you use nmap, you can get a map that shows new sector designations
 instead of old sector designations of your own country.
 .s1
-If you use lmap, you can get a map around a land unit. 
+If you use lmap, you can get a map around a land unit.
 If you use pmap, you can get a map around a plane.
 If you use smap, you can get a map around a ship.
 If you use nmap, you can get a map around a nuke.
index 62bf10d61d1414cc3835369051b68f4caec9a0b1..9ec6dfadd0ee2588a3894f3906c43eb2e98b38f0 100644 (file)
@@ -85,7 +85,7 @@ power factor = ((power factor) * (nation tech level / 500))
 power factor = ((power factor) * (research factor))
 .FI
 .s1
-The research factor is either 1, if RES_POP is not being used, or 1+(max 
+The research factor is either 1, if RES_POP is not being used, or 1+(max
 pop in a sector)/10000, if it is being used.
 .s1
 .SA "census, nation, Communication, Nations, Diplomacy"
index 43c1d22e9966fa3805d93d4ce524984817943dda..9cad2125ea2f2c300a4a6f000d446d4be2ea7522 100644 (file)
@@ -18,10 +18,10 @@ shp#     ship type           [Starting]  ,  (Ending)
 1003 destroyer 2               [1-s:40]  ,  ( ) 
 .FI
 This report reads.
-Cargo Ship #6 will sail to its starting sector, displayed 
-in the sorder, and load cargo hold 1 with 50 shells and cargo hold 2 with 500 
+Cargo Ship #6 will sail to its starting sector, displayed
+in the sorder, and load cargo hold 1 with 50 shells and cargo hold 2 with 500
 light construction materials.  Then sail to the ending sector, again
-displayed in the sorder command, unload the cargo and load cargo hold 
+displayed in the sorder command, unload the cargo and load cargo hold
 1 with 50 guns.
-.s1 
+.s1
 .SA "order, sorder, bmap, navigate, ship, Ships, Autonav, Autofish"
index 643fad9803a80ba73ed6fd380d8c20beec8dbb6a..5f1721764112a3f02abe00b50fa31b8d095d2935 100644 (file)
@@ -6,7 +6,7 @@ The read command is used to read the telegrams sent you
 by other countries and by the game,
 (e.g. when you make a sale or are attacked).
 .sp
-After reading all your telegrams you may delete them by 
+After reading all your telegrams you may delete them by
 specifying \*Qyes\*U or not by specifying \*Qno\*U as an argument.
 If an argument is not supplied then you will be prompted
 to either answer \*Qyes\*U or \*Qno\*U to delete the telegrams.
index 2164ad39f0e552c6b2cbd2d33d2341f5078f52c2..f6f8f6774a2fd4ffd5cb48e5b7d8bb28dd9b2576 100644 (file)
@@ -22,7 +22,7 @@ The assembly point must be owned by you or an ally, or you or an ally
 must have a ship there.  It must not be more than
 four sectors away from any of the planes selected for the mission.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
@@ -44,7 +44,7 @@ of the sub, from the sector in which it
 is first detected (which may not be the sector the sub is in, as plane
 sonar has a range dependent on acc, and a chance of finding a sub of
 ((100-acc)-(4-sub visib)*10))+((100-effic)/5) percent.
-The sub being sonared may detect the sonar ping. 
+The sub being sonared may detect the sonar ping.
 .s1
 Note that a plane must be at least 40% efficient before it can leave
 the ground.
index 8c511938fee3a106b7499c466f8ffba1d124b290..46030a4086dccd1dc31eecc15c4f22dbf81dbb9a 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "retreat [<SHIP/FLEET> | <SECTS>] [<PATH>] [<CONDITIONS>]"
 .SY "lretreat [<UNIT/ARMY> | <SECTS>] [<PATH>] [<CONDITIONS>]"
-The retreat command allows you to examine or modify the retreat 
+The retreat command allows you to examine or modify the retreat
 paths and conditions of your ships or units. The following description
 is for ships. Land units are exactly the same, except of course that
 some of the retreat conditions (being sonared, depth charged, etc) don't apply.
@@ -44,12 +44,12 @@ shp#     ship type       x,y   fl path       as flt?  flags
 .s1
 .L Overview
 .s1
-A player may give retreat orders for a ship or a fleet. Retreat 
+A player may give retreat orders for a ship or a fleet. Retreat
 orders include a set of conditions that determine when the fleet/ship
 will retreat, and a path that the fleet/ship will follow. When a condition
 is met for a particular ship, the \*Qas flt?\*U field is checked. If it
 is Yes, then every ship in that fleet with fleet retreat orders retreats
-along the specified path. If it is no, then the retreat orders apply to 
+along the specified path. If it is no, then the retreat orders apply to
 that ship only, and only that ship retreats.
 .s1
 When a ship is added to a fleet, it is given the retreat orders of the
index 34a08b282eabd22e5780d35df27dac4cfc79cbae..4a511180c38df08a99ee69e5ddbb4bd3eaff1cdd 100644 (file)
@@ -44,7 +44,7 @@ shp#     ship type       x,y    mobil mobquota follows path
 \*Qsail\*U, with the \*Q-\*U parameter, causes the sailing path
 for the ships specified to be removed.
 .s1
-The PATH is a normal empire path specification. You may *not* give a 
+The PATH is a normal empire path specification. You may *not* give a
 destination sector on the command line, or at any time while giving
 the route.  Use the \*Qorder\*U command if you wish this functionality.
 .s1
index 56f4919c7045caa968aeb9d3bbeac5ef46e7d924..16e113bf7cf68be907defe3ff17357aea13c61e5 100644 (file)
@@ -10,7 +10,7 @@ A bmap gives you a graphic representation of all or part of your country.
 .s1
 Bmap differs from map in that it reflects everything you've learned
 about the world. If, for example, you navigate near a sector and find
-out that it is sea, it will show up on your bmap as sea, even if it 
+out that it is sea, it will show up on your bmap as sea, even if it
 doesn't show up on your map.
 .s1
 Note that bmap shows the \*QLAST KNOWN INFORMATION\*U you have about
@@ -67,7 +67,7 @@ and also put the bmap in the file called \*Qmapfil\*U.
 You can also give the number of a ship, and bmap will give you a small
 bmap centered on the location of that ship, provided you own it.
 .s1
-If you use lbmap, you can get a bmap around a land unit. 
+If you use lbmap, you can get a bmap around a land unit.
 If you use pbmap, you can get a bmap around a plane.
 If you use sbmap, you can get a bmap around a ship.
 If you use nbmap, you can get a bmap around a nuke.
index bcd942f86a6c5d76b0ed115d0a447793fd27e190..ea2deaf25a7b711775ab636785d483fe5ac187ad 100644 (file)
@@ -3,7 +3,7 @@
 .LV Expert
 .SY "sdump <SHIPS> [<fields>]"
 The sdump command displays all information on
-some or all of your ships. 
+some or all of your ships.
 sdump is a combination of ship, cargo, and sstat.
 Each ship's information is printed on one very long line.
 Fields are separated by a single space.
index 662e390fa3d0b10fed44089bdb1035986f695dbc..aee8d216926241be2876c694e1201228bdf9daa6 100644 (file)
@@ -7,7 +7,7 @@ owner.  The <LOAN #> is the number of the loan you wish to buy.
 .s1
      The loan must be in arrears.  The holder of the note will recieve
 the value of the loan plus one periods worth of interest from your
-treasury.  The player who owes the money on the loan will be notified 
+treasury.  The player who owes the money on the loan will be notified
 of the switch.  After the loan is transfered you may collect on it as
 normal.
 .sp
index 32afb64f1ec7a6493426f9640c07e322326afb08..abff6289fa7c15641b26de6c1b1288730d71d91b 100644 (file)
@@ -39,7 +39,7 @@ the rail efficiency of the sector
 the mcost used to determine the mobility cost of moving trains through the
 sector.  If the rail eff is 0, trains cannot move through this sector.
 .L "defense eff"
-the defense efficiency of the sector. 
+the defense efficiency of the sector.
 .L "defense fact"
 the defense factor of the sector.  This is how well the sector defends.
 All sectors start at 1, and improve (see "improve") from there to the maximum
index 568d131cf88b0d2540e6af9f42db5cb6c2af02c5..fdbf7a22c6cb4094bbee4672987ecca91e1fd632 100644 (file)
@@ -53,7 +53,7 @@ own it).
 If you use nmap, you can get a map that shows new sector designations
 instead of old sector designations of your own country.
 .s1
-If you use lmap, you can get a map around a land unit. 
+If you use lmap, you can get a map around a land unit.
 If you use pmap, you can get a map around a plane.
 If you use smap, you can get a map around a ship.
 If you use nmap, you can get a map around a nuke.
index c3a3511917c253517d7e65f18b707e52ce79851a..0e1d8b81ba3192d845da173b2a8c77d940cd08aa 100644 (file)
@@ -14,7 +14,7 @@ Only ships at sea may use sonar and sonar only detects ships
 which are at sea.  Furthermore, there must be a straight line of water
 between the detector and the detected (sonar doesn't work around corners).
 .s1
-In the current implementation, sonar works similar to 
+In the current implementation, sonar works similar to
 lookout.  The major difference is that a submarines cannot use
 lookout to sight ships.  Likewise, submarines cannot be sighted
 by ships via lookout.
@@ -90,7 +90,7 @@ If detection is above 7, then you will be told the ship type, and if
 it is above 9, you will also be told the owner of the sub.  Note that
 type and owner will always be shown for Friendly subs.
 .s1
-Planes with the ASW ability can use 
+Planes with the ASW ability can use
 sonar while on recon missions. See info recon for more details.
 .s1
 .SA "coastwatch, Ship-types, Sector-types, radar, recon, Ships, Detection"
index e5f9b0c0237df03c3849e14cac3ea528f277e1b6..e3abf9dc389802d9d8d217f73fd6e37d2d9c8ddd 100644 (file)
@@ -31,5 +31,5 @@ Destroyer 1 is at sector -10,0 and only has orders to sail to sector
 20,2.  It needs to move 17 sectors and will arrive at 20,2 in 2 updates.
 When it arrives order will be cleared since only one destination
 order was given to it.
-.s1 
+.s1
 .SA "order, qorder, bmap, navigate, ship, Ships, Autonav, Autofish"
index b4833f9e70248f830f901d1c9296bb6f0162c8a7..f9294bc186cc5ed53bd7442cfac0e0623c696acb 100644 (file)
@@ -12,7 +12,7 @@ efficiency in neighboring sectors.
 .s1
 The sectors denoted by <SECTS>
 are those from which you are spying,
-(see \*Qinfo syntax\*U for format). 
+(see \*Qinfo syntax\*U for format).
 Note: you can only spy from sectors that have military or land units in them.
 .s1
 Note that the number of BTU's consumed
@@ -49,7 +49,7 @@ the sector you are spying from, such as allied land units that have been
 marched there, allied planes that have been landed there, spy units that have
 marched there and non-allied units that have been trapped there.
 .s1
-Note that spy units are not always seen.  There is a 10-100% chance of a spy 
+Note that spy units are not always seen.  There is a 10-100% chance of a spy
 unit being seen by the spy command.  See "info Spies" for more information.
 .s1
 .L NOTE
index fd184724c851ea0d0034a38f815b346c5d5b004a..455139df8e678c387b701d0894ee6ec2c6e44af3 100644 (file)
@@ -45,7 +45,7 @@ unit must be within supply range of the source. Supply range is:
 10 * ((tech+50)/(tech+200) sectors.
 .s1
 In addition there must be a valid supply path to the source. A supply path
-is a path of sectors owned by the owner of the unit that leads to the 
+is a path of sectors owned by the owner of the unit that leads to the
 supply source. (Note that the path may be of any length.. only the supply
 source itself must be within supply range.. this is to make the coding
 simpler, and may change in the future) The best path (in terms of mobility
index 486f72c683fbc05ccd0a0a2b7907f6d4abbe0e41..7d21e955cf07d006944e84a565ac80d80d063f58 100644 (file)
@@ -21,7 +21,7 @@ The assembly point must be owned by you or an ally, or you or an ally
 must have a ship there.  It must not be more than
 four sectors away from any of the planes selected for the mission.
 .s1
-Route is a normal empire path specification. You may also give a 
+Route is a normal empire path specification. You may also give a
 destination sector on the command line, or at any time while giving
 the route, and empire will use the best path from the current sector
 to the desired destination sector.
@@ -43,7 +43,7 @@ of the sub, from the sector in which it
 is first detected (which may not be the sector the sub is in, as plane
 sonar has a range dependent on acc, and a chance of finding a sub of
 ((100-acc)-(4-sub visib)*10))+((100-effic)/5) percent.
-The sub being sonared may detect the sonar ping. 
+The sub being sonared may detect the sonar ping.
 .s1
 Planes with the sweep ability will
 automatically attempt to sweep mines in sea or harbor sectors they overfly.
index c1762db91086d8c76040b2a6623d09704c94ff8c..d8241e5ed0d99f103eed319cb4ca64fae3de3203 100644 (file)
@@ -9,7 +9,7 @@ The program will then give you a census report for all the
 sectors that have been assigned the territory number \*Q27\*U.
 .s1
 In this sense it is essentially an extended \*Qrealm\*U.
-However, you are not limited to rectangular regions and you have 
+However, you are not limited to rectangular regions and you have
 99 values to choose from.
 .s1
 There are four independent territory fields terr, terr1, terr2, terr3
index 7768f1facf4cb99c4eefa32c19e8b268c2d1f3a8..ebd687ab725898593fa46a7c6e3ab1372eddc3b6 100644 (file)
@@ -5,7 +5,7 @@
 The wire command is used to read the announcements sent you by other countries.
 .sp
 After reading all your announcements you may mark them
-as being read by 
+as being read by
 specifying \*Qyes\*U or not by specifying \*Qno\*U as an argument.
 If an argument is not supplied then you will be prompted
 to either answer \*Qyes\*U or \*Qno\*U to marking announcements
index 90cf798ad90dd00bb06ddc3f217f06f4ea425166..1a6dbfce7022d096a9bb4c0df0be9059db5c3127 100644 (file)
@@ -164,7 +164,7 @@ sub parse_xdump {
     my $n = 0;
     while ($data !~ /^\//) {
        ($_, $data) = split(/\n/, $data, 2);
-       my @fld = split(/ /);   
+       my @fld = split(/ /);
        &$store_record($tuid, $meta, $name, $n, \@fld, $timestamp);
        $n++;
     }
index bff295c7e15f4e2358ded8f58c94d4df2c5ea898..4b0d7f6d9e73148907855d9fe44aca40a3d39671 100644 (file)
@@ -1,36 +1,36 @@
-# 
+#
 #   Empire - A multi-player, client/server Internet based war game.
 #   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
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2 of the License, or
 #   (at your option) any later version.
-# 
+#
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
-# 
+#
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-# 
+#
 #   ---
-# 
+#
 #   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.
-# 
+#
 #   ---
-# 
+#
 #   @configure_input@
 #   Makefile.in: Makefile template for configure
-#  
+#
 #   Known contributors to this file:
 #      Markus Armbruster, 2005-2006
-# 
+#
 
 CC = @CC@
 CFLAGS = @CFLAGS@ @CPPFLAGS@ @DEFS@ -I.
index 7a8936d1cf8b32b3b885610278305a9b2915af87..54e00a2920d358f10220ee807d34095b3fe56b2e 100644 (file)
@@ -1,35 +1,35 @@
-# 
+#
 #   Empire - A multi-player, client/server Internet based war game.
 #   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
 #   it under the terms of the GNU General Public License as published by
 #   the Free Software Foundation; either version 2 of the License, or
 #   (at your option) any later version.
-# 
+#
 #   This program is distributed in the hope that it will be useful,
 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 #   GNU General Public License for more details.
-# 
+#
 #   You should have received a copy of the GNU General Public License
 #   along with this program; if not, write to the Free Software
 #   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-# 
+#
 #   ---
-# 
+#
 #   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.
-# 
+#
 #   ---
-# 
+#
 #   configure.ac: Autoconf input file
-#  
+#
 #   Known contributors to this file:
 #      Markus Armbruster, 2005
-# 
+#
 # Process this file with autoconf to produce a configure script.
 
 # Autoconf makes checking for and programming around assorted ancient
index 3384529397cd434f210048fb4b75c7ed65a7358d..9f66e130b451362be6f6ae8334e688d938ad67f4 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  expect.c: Read from the socket, expecting to see a particular code.
- * 
+ *
  *  Known contributors to this file:
  *      Steve McClure, 1998
  *      Markus Armbruster, 2007
index 3c79ba2f2bebaadd1ef1026e367ca2db39601713..d5c3640ff2e31a32731efa31fa64a433d290841f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  host.c: make stream connection to empire
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1998
index f010976f0cb1eec479d7077b9cb26808b7291439..f927ea61adae7bfbd7682fb4fa84950c26cb2b9d 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  @configure_input@
  *  ipglob.c.in: IP globals.
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005
  */
index 200be3f3cffe588c9ace2b0340c3df586a951d8c..5025fc533f425aa4bd24b874519c93e9d0a52c5f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  linebuf.c: Simple line buffer
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 6115a7b4b7441a837fae4c47340d36b91c28092c..7c7d590a242b3a6f01091d16327cd5127946bef9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  linebuf.h: Simple line buffer
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 9c111a46b0aa3e4efec582594a62689fbf698002..64cb49529f17d6a5e32608b65b742cd2a1ad2e65 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  login.c: Log into an empire server
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1998
index 2bce73431b9267e86eb931d55aaee801d279fec1..fc8fccb4bbdbcf04db05ae0a60da9ceda6b8feb0 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  main.c: client main function
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998
index 8bb4716cde27ea6c901c930a49ddb0ffaee79cef..ea61f653f74d16cf97c275c6b85f9b6bc8768292 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  misc.h: Misc client definitions
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  */
index 68a2f9ede19995b147a06c1251ab2c06343e74ef..0649c34044a2eb87502632bd5cf4b5a002656023 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  play.c: Playing the game
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  *     Ron Koenderink, 2007
@@ -104,7 +104,7 @@ sigaction(int signal, struct sigaction *action, struct sigaction *oaction)
 {
     assert(!oaction);
     assert(action);
-    
+
     if (signal == SIGPIPE)
        assert(action->sa_handler == SIG_IGN);
     else {
@@ -218,7 +218,7 @@ w32_select(int nfds, fd_set *rdfd, fd_set *wrfd, fd_set *errfd, struct timeval*
        return -1;
     }
     WSACloseEvent(handles[num_handles - 1]);
-    
+
     if (num_handles == 3 && result == WAIT_OBJECT_0) {
        errno = EINTR;
        return -1;
index 699c683ab00c43dd9bf7b253b4b03be0ec9cff7c..6fa387fb435210674a27059f4f4c408529ab81cd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ringbuf.c: Simple ring buffer
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index a40a4bb9170b3c306e98de13fa182021c42016de..1e8bcc42f0c9ef6439a4f09ae5f3d0bfb82da7df 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ringbuf.h: Simple ring buffer
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 624cbeb962371069e5cdfdcb0e0d2384578ac0fe..b691743565a20890d4f4b53fd8aede8fd0b64933 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  secure.c: Check redir etc. to protect against tampering deity
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 7aeaa001b7df559e75db9c89f26dbc84a6d605e8..7c3406d5fcbc266b8926ee89e244ac07c6caebfd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  secure.h: Check redir etc. to protect against tampering deity
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 7e637e1dc111593665ea010d75bf76ec5b979eb1..4bd97408ae0d2b302278fc4562e4c6be263f9ba8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  servercmd.c: Change the state depending on the command from the server.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1998
index 8260fa4582686e0bb33df331b6d44215c7ea9c78..54cc78e9431179f2c5ff29606f8d5d9038478206 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sysdep_w32.c: system dependent functions for WIN32 environments
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
@@ -95,7 +95,7 @@ int
 w32_socket(int family, int sock_type, int protocol)
 {
     SOCKET result;
-    
+
     result = socket(family, sock_type, protocol);
     if (result == INVALID_SOCKET) {
        errno = WSAGetLastError();
@@ -112,7 +112,7 @@ int
 w32_connect(int sock, struct sockaddr *addr, int addrlen)
 {
     int result;
-    
+
     result = connect(sock,  addr, addrlen);
     if (result == SOCKET_ERROR) {
        errno = WSAGetLastError();
@@ -197,7 +197,7 @@ int
 w32_close_socket(int fd)
 {
     int result;
-    
+
     result = closesocket(fd);
     if (result == SOCKET_ERROR)
        errno = WSAGetLastError();
index c166480414b01c0437db55ba1d20a9c7ef2533e0..dfa92f42eb3ceedd1f64d4039e4009e11ba96759 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sysdep_w32.h: system dependent support for WIN32 environments
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
@@ -84,7 +84,7 @@ extern void sysdep_init(void);
     w32_socket((family), (sock_type), (protocol))
 #define connect(sock, addr, addrlen) \
     w32_connect((sock), (addr), (addrlen))
-                                   
+
 #define pclose _pclose
 #define popen _popen
 #define snprintf _snprintf
index 823c1dcbcb5957893f0f77455a4dd6a186712013..97c3dced81e24d6f350d5fab395e0c3e5b502a65 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  termlib.c: Various termlib stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998
index 00069f4bdaccb2a13a8113e72da97ff84dd3c01e..99b807612067db6c2a5496ceaff3357c69b826e9 100644 (file)
@@ -162,7 +162,7 @@ arbitrary cost function we get off of a map.  E.g.,
 
           0  1  2  3
        0  0  0  0  0
-       1  0  0  0  0 
+       1  0  0  0  0
    Y   2  0  0  2  0
        3  0  0  0  0
 
@@ -238,7 +238,7 @@ to move on.  The secondary sort function is then used to break the tie --
 it says, "Take the one that moves you closer to the destination".
 
 Fourth, all of the information we need about a sector (its mobility
-cost, who owns it, etc.) is stored in the sector file on disk.  This 
+cost, who owns it, etc.) is stored in the sector file on disk.  This
 means that the getsect() function to get it off disk will do a read(),
 which is VERY expensive.  Because of the weak lower bound, A* ends up
 checking lots of sectors, including sectors that it's seen before.
index 1399106ccefc24731f92e69f310068b7f3f6ce81..d084e575c1ed6489260bece92543245dab24a80b 100644 (file)
@@ -114,7 +114,7 @@ struct as_data {
     struct as_node **neighbor_nodes;
 };
 
-/* 
+/*
  * Added these for caching of paths as we stumble across them
  */
 
index 1a0fdbf8a8972cdf5a6218c3ae2c81175e935dba..72096f320708f1b89c9c6cba992a57617c6be0e8 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  acce.c: Report rejection status of telegrams/treaties/annos/loans
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index eba4d33e234a48a1c6b3e564eb184b702143888f..1ecd94e20d7b7e1047139b9abb7ded4457424612 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  add.c: Add a new country to the game
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index bdced571843b2fefa3829652c2ed9faac13d8b50..0022c92e6abd5fe7cbc9471a9b16db5b66675f84 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  anti.c: Take action against che
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1997
index bb4a6a08670cea21d4c36e7bc56f733e63a8bb08..abe770b97de1ddc729fc3f52675c935eb2450f44 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  arm.c: Arm planes (missiles) with nuclear devices
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
index c30376068a397ebf4fa8d1da8e82841955110d49..19c528c97673b2383457eb367b6327bab047cec2 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  army.c: Add units to an army
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index d1f64aa890a79136f888c61c70ef9da477054cd8..fa0260cd51294283835110df43f2b7886b758463 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  assa.c: Hit the beaches!
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1997
index 6c2b7e65373faa4f57127992436a63e15058bc7a..25a531a900f2b865f67c3102395fd0ed916fe5aa 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  atta.c: Attack another sector
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Ken Stevens, 1995
index 8e20b62d7af2e8b94008484137e9854416c4a9cf..967461dfca316835665707dd9d53df1c191ccbfc 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  bdes.c: Change bmap designations
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 34be9053fa4c3ee707a838049f990d74bb12770e..39333c82d7ae2e2867810a9030c2f1d304136288 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  best.c: Show the best path between two sectors
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 5d2d78be1328130390ac1b1be1a26440966a0d7b..f2cfdb8b9b23cc17c4a1438e06d5e53ec4a9d7cf 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  boar.c: Board an enemy ship
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index 583079f3ee50f83e4a0f1f3c93ba518ea3b1d36c..59b19373740aa744cb09814cb7c2762565747968 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  bomb.c: Fly bombing missions
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
index 94671c117457a42682cf8fded9591a0f750d123d..28a4e56bc7822be7c2a1f1b8910822b10a6273c7 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  brea.c: Break out of sanctuary
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Wallace, 1989
  */
index 3c8f36df4b55cc5605f0e3a9bc7bd5bc4078c8cd..a8d12f3d07849f727e343a8ff51f3578b45994a4 100644 (file)
@@ -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++) {
index 142c21c528f153b5e6bac3323d127bcb5bd456bb..e962bde7b557bdd43951f42552bfc0ace3ea6473 100644 (file)
@@ -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
index 31f68d58a51b022e5bdfddf53cd0c2e4cc4dd9e2..7e4daf0498ec482141e0932a995fe45a0a66edd7 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  buy.c: Buy commodities from other nations
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Pat Loney, 1992
index 248199f3eef45bade93958701d4d4515306f8b46..98fa95801d7876c1f1a78b342cdc5f4f73f59470 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  capi.c: Move your capital
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 2000
index 28869b13e271a284459b82e10baf170a7fc15d92..21d14584c36096f9b7659c042f407b8849aa8ec6 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  carg.c: List cargo contents of a ship
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index b1981475b508cf88dfb24452e59c69a3cf202462..e2663253a771a258db665d336157790afbfe3bda 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  cede.c: Give a sector to a neighbor
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Thomas Ruschak
index 9cc90b3bce0511e21ddd12d863fdf25d0af4e934..04b099b26a7a01b027dcc8d259b2693720f40d97 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  cens.c: Do a census report
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index 2dbe393cba70f59a35cf1ee2a72d735fc78fec3c..03da08d01573768d7fb8e39a5b6c0f99cd2fa769 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  chan.c: Change country/representative name
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index e11974986d51132cade1bbe0cb1b35798e154463..3d4cf8f9dc6c8dbf1e41ef1526751a1e190e31f5 100644 (file)
@@ -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)
index 94a78afd21b96efb905844751c422ea546ab3db1..3fcb48f075a3a6a79501f6f42d85a8bfb029ec0b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  coll.c: Collet on a loan
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1996-2000
index 55014a0f61d938e0c473ce9a30d25aa2fc550756..5024e10911df75ec876a754285d0229ed8a81392 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  comm.c: Do a commodity report
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 00cdb1f0c59c6b6828cf924a1ff09f448d6ba73b..d67e64e99e0346429a0af36a486f9bdc560626ac 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  cons.c: Consider a loan or treaty
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index de3928e4fd1bc5e29869f394ed5484dbaf8bc2f5..2b8c1cfb2edda6087262af6b03784815f989f002 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  conv.c: Convert conquered populace into uw's
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 7b56cbc503a6df5ea5ee7fedc0fc295131571227..4f0509dfb5967b06d019fbb62fcc6578471efa8f 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  coun.c: Do a country roster
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index fd5da7394983dbd38d192755bbc602b93775f4de..46846e33fecb79f93cd0c50623f057fe83bd8562 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  cuto.c: Do a delivery cutoff level report
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff, 1987
  */
index b7ed5ebc045dc49b809a93949c1d7b868a3b9a2f..44d7894d6942546a5714924a8d2e0083ed7550b4 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  decl.c: Declare war, neutrality, alliance, hostile or friendly
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 4d894636dac835ef8a7cf66321f44a92f0d8c19b..d04264202ce6f696b5001f40d0870382e2fa1040 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  deli.c: Set deliveries from a sector
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 39c1b7ad1a73695207967e9de976b86df120cf8b..4d6f45fd37353934754e66c36393723ae00d133b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  demo.c: De-mobilize "n" military in a given sector
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 917cfdf62695ef19968e75cefae8ee6f82dcfa13..3d095469d677f4d3e78f166b873e75f83c9978a7 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  desi.c: Redesignate sectors
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998-2000
  *     Markus Armbruster, 2004-2008
index 1c4d4b33844b9b047b8c97305e0b42bd13d459af..d92b746dd86369644b5e5f36ec3463dcd40c9135 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  disa.c: Disable updates (deity)
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index b4124b51d8d993389d6203167206c7a680ee39db..8fdc935009b4bc47ee348fca6e632ee09e9a2717 100644 (file)
  *  ---
  *
  *  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
  */
 
index e33bb086f98129a8564c023c62d5b0fdc93d5ff6..7c8dcaf3bea77d73d9e5f25561c5e72866000643 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  drop.c: Air-drop commodities
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 3e1cf72f489573d13cdfe1cc958acb05577edc4d..3ad1f21ffc1336eb5ec418e843118ebe0f9ceaba 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  dump.c: Dump sector information
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Wallace, 1989
  *     Steve McClure, 1997 (added timestamping)
index ac5309c59d472ae4cd7535b38296148d41b40209..bd924b2ab9a9d5c96364010f00c2c5cafc7bd755 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  echo.c: Just echo something
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index 7e4c8ecf04583fa5394328584967f39e176a7663..b17712da4761940fb6e90d0dcf8aad4e7b2baafa 100644 (file)
@@ -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
index bd2309d2a51e15b9c03ca8bca454a67ef4c54f06..46c8b51d6e414662ae85da5f8e925b957cd17a37 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  enab.c: Enable the updates (deity)
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 4f669dcb53d29be2eb239cb342270b12210f45dd..8ed463179a74291743edc1b267aadef8cb193c77 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  enli.c: Enlist some military
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index f3ce7bbc0aa72291bf135e1d7b505c2a027c8762..0c363c51e40f072ff051682009209e5c75c61573 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  expl.c: Take over unoccupied sectors
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Wallace, 1989
  */
index 680afaf10d9410bc5c35bcf28cef16214f601e2d..a6add313382285270db77866c27399e5f0ef323f 100644 (file)
@@ -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
index 9879bc2e0c7926942c779a4bfe1f4571d2dbfee3..787e4a4b0be64521e9472d8dfce93a3ebb9fcd0f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  flash.c: Flash a message to another player
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 965f9477535348b860dea4f6944d38e86686c814..d0c8a71167ce762861aefda95b3b172a325ba910 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  flee.c: Add ships to a fleet
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 2ca896335aa8fa27184c2fd4a1fd023c08b8aa80..e8713481a8f8ffc3cc26b024dfa6bbd82ba39337 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fly.c: fly a plane
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 2000
index c81694b02a81e19737e0689c15b7c187d8ea9214..14dd8b3c1ea601d6d4f10cf354d1c765d7739e54 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  foll.c: Set leader of a set of ships
- * 
+ *
  *  Known contributors to this file:
  *     Robert Forsman
  */
index d64e7ac044e73d2c5ee8d3c7b9ea7fafaeb6f42e..deff2565631cb3ca0bbc6047e6f6b5ebf7d898e1 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  force.c: Force an update to occur (deity)
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Markus Armbruster, 2007
index 8630bed847832ef72797301af47f9ef4bb0d3e60..fe44c288c09542d8cf10af65711bfdafd2151b22 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fort.c: Increase the fortification value of land units
- * 
+ *
  *  Known contributors to this file:
  *    Steve McClure, 1999
  */
index e8ba83bf242c7c3c8e76b5404121354b0a808110..7389d00590bb5ac3930f50792d864bf59f6e3287 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  give.c: give stuff to countries (deity)
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff
  *     Steve McClure, 1997
index 336b4946df3473c66252ee300dbe8481ce900525..ff085ecf5106b7e8029578105520d82584152ea3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  grin.c: Grind gold bars into dust
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2006
  */
index 2f3bb167cfff62ee4aec1def1bae1f10b914d5c8..6b34c7b7d8b219dbb6269fbc02a6cf7a29e46782 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  hard.c: Increases the silo protection of a given missile
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index ed506de68d0d83e73aca80145bcb8edde9d9e318..2b1c1482932c8325022a74a1bf651aaffe0d9593 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  head.c: Print headlines of the Empire News
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index e8fba1b67a70eca38806b7ed2bfbf9cbfd33d953..044827118ccce53ca576c96407c664d45ffde472 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  improve.c: Improve the infrastructure of a sector
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996-2000
  */
index 61a0b9bc1fc4dff53df7272dd2dcf3ff56fa5dac..d29bbc8021c4a452fb0bce247fd0ca2411e542b5 100644 (file)
@@ -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) {
index f32f52a826afc50f87807178773a963ff6c7054e..b2adc8b6cc92fa02a35a39021ba9599bfa23a605 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  land.c: List land units
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  */
index 5c5db7203e0cce5d48fbeffde683225f2e37c767..7c565c3006792c2c9dec4b40e188b5566d286f53 100644 (file)
@@ -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;
        }
index 7360d734ad48864a3958425d9b65fadcfc2c0c42..9fd6b1e98fa77f5e20ca89b0b53a211dbe221a1b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lboard.c: Board an enemy land unit (heavily borrowing from boar.c)
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  */
index 8d5473760c3f80afc0553a2c98f2ed4af81c657f..930810fc617a4643f4de44409efea28432004ea3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ldump.c: Dump land unit information
- * 
+ *
  *  Known contributors to this file:
  *     John Yockey, 1997
  *     Steve McClure, 1998
index 6a6be7bf0998efb7c21591303216276eaf0dcf8d..9e74ca8d275b6ec0a7e18d7216c19cfa7bc3517b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ledg.c: Get a report of the current ledger
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 800ea8b45503204ef160ee12d8b2d42385e5143e..cfdf8a6dc0a26cbc75f44d1b39083615f71feae6 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  leve.c: Do a distribution threshold level report
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff, 1987
  */
index e3aedd690e2f0e7ebb77cff686e6480b829dc8ba..cb35f10844aa45ded0bfd888700a9eebe255e966 100644 (file)
@@ -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)
index 2ee22047a40b7c0e481114b2cc2010c6e5a5c8de..45e316fc8900d71fa22ad5f72aedf582b3cbb7b5 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  look.c: Lookout from a ship or land unit
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006-2007
  */
index 8e410e68ac91eae20d6bbff3bf8af1dc4b0ba420..ad76e5910471a5d04ba67eb8c47a6d09f4a594bd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lost.c: List lost items
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1997
  */
index 42b89914d854a46b425589df7be0efacd3ef108c..f640e60883851a5b6c1d19f8292c13711f0cc9cf 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lstat.c: Show the stats of your land units
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 32fd31e3e627e006ee90d7022abb8bea8eed4048..e917f99e5e183daee26bcf73a7b3d217069e6ff9 100644 (file)
@@ -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
index dfe04c6a707ddd607f012fd7794c284683d5bebf..d4a0677df5d80670e7e63f97c2572c8cecee84bf 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  map.c: Display a map of sectors.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
index 0e97c29dc7e35d51d05351e8ba3b473fe156513c..a69dfd4b1eca6e95fc2290c1fa6e85f09aaac993 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  marc.c: March units around
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak
  *     Ken Stevens, 1995 (rewrite)
index ad84187185bd47749a51d5525b06266731bd9b93..f857444988d4725dc7fff84370690f7517f94c54 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mark.c: Display report for commodities
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Pat Loney, 1992
index db768ff3a965542b566777872ced6deb4f96cc17..0df7e5e981d68d989214649e998e96e2d1141852 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  multifire.c: Fire at other sectors/ships
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  *     Markus Armbruster, 2004-2008
index fd8e619ebed3a720db496ddff84934939d61c0ee..43410559a18968143041b7f232f4647a9cfd3eb9 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  mine.c: Lay mines from ships or units
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 6e4f4fe0656e4fe17441ed96e0f6485ede616348..13a8adf88cfe0d75fecc27f2654db6680f53bfdc 100644 (file)
@@ -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
index 19dff8135f45e61242f0d8e7a8a325f635b98c7a..99acb05e8dc0a4c53d91eb41d11b5f61340cf86e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mobq.c: Set the sailing mobility quota for a ship
- * 
+ *
  *  Known contributors to this file:
  *     Robert Forsman
  */
index 23e2cd8e84d9321f3e0a37745bfdfe1cb2bd2c3b..5c3921967cfe46a212a65a8c2b55565b0e47b94f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mora.c: Edit morale of a land unit
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Bailey
  */
index 706020821580c5f85fb909c4f10d0992948a73c7..0891ee8672e18e2347aecbf2feac0b3de0256709 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  move.c: Move commodities around
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 9e5d2861f0c34d5b9e2182108b6e2e842fa6b9f4..6aab820b27a48674ddec517de0ee358a08be6366 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  name.c: Name a ship
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Bailey
  */
index d27b31fc7159077ce9408409521146ef191f44b3..4fa1d6bc9d6834c9c078cedf3ba61340d1641b77 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  nati.c: List nation information
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 6d19e36bf16266041fac00f2361fdbd46651a6ae..ddab374868fedfcfd3a31c1628bee7da035fd847 100644 (file)
@@ -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.
index c9f0098cfe8d302f5541c8f3c28946e5fff1f0e6..927db4f82c2f4972c4f0d0f31edab3c79f4701d3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ndump.c: Dump nuke information
- * 
+ *
  *  Known contributors to this file:
  *     John Yockey, 1997
  *     Steve McClure, 1998
index cbe88e9e2f58272ad08b5f1d4be945a9d16d5056..556d1e2f8f1dc15ff6cfaee69bb1ecf152020a76 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  new.c: Create a new capital for a player
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 5d7983304e11931c8ec3b9650c899c0f1ce20e21..9ccc2cb776c39bb45c8d74ae41431f08f94143d1 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  newe.c: Show new sector efficiency (projected)
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1993
  */
index 7490e38fe580b82dd8bb40ab1f50c6765fd41260..0095170b5f7f518e8b6327f44e455067d7cf3c0d 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  news.c: Show current Empire news
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 18705158bca5615397ba9fbf46342ffbb7071177..3287d0dd8c555423267596914fe313a27d96527a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nuke.c: Display a listing of your nuclear arsenal
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Markus Armbruster, 2006
index 685e7052b5e2f2c8272b422f5d9c62e9e695e375..01570b596ca72a7d1a0d6a74c82b04be5bc2de7b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  offe.c: Offer a loan or treaty
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1996
index 5aebcf605c42a8015ac87a59e98b3e200cbb56fe..236dbe8c31725c36e0f46231737bece445d64a0d 100644 (file)
@@ -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];
index 120bb823ebd5b418915ceeb0215cd00c935feabc..b956edd97106c2f0e630d834987ade2625e27fbf 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  orig.c: Move your origin
- * 
+ *
  *  Known contributors to this file:
  *     Shelley Louie, 1988
  *     Markus Armbruster, 2006
index 620fc4578522181cc56ac36ff8f73274b136e08a..0918eee6e6770ff9d00954ac75f9dcda01008cd0 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  para.c: Drop paratroopers onto a sector
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
index fa9d6cbadaddff676b2106114cd7501bda46b77a..637e8c71a7844bc99e1a7f6922453e843cdd8e5b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  path.c: Show empire distribution paths
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff, 1986
  *     (unknown rewrite), 1989
index c7414863c6bfc4bc604cc8a087d34c0f2f71cfc2..2a892671b9b87292849d78e11c6e6d569d7fc51d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  payo.c: Calculate trade ship payoffs
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1992
  */
index c97ea98b1277199f130811fce4a292ef7a797f0b..48f0f4d4d67c779e66904342edec0e85ecfffb3f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  pdump.c: Dump plane information
- * 
+ *
  *  Known contributors to this file:
  *     John Yockey, 1997
  *     Steve McClure, 1998
index 43800c65f8eedd2480d34ff799e2d02dcd260e43..68ae921551576ffce58b831d861c8b648e171ceb 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  peek.c: Show hidden values report (deity)
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Wallace, 1989
  *     Pat Loney, 1998
index fdc079006ea70aa6b485fc7ac4ec2b8714de8930..b42c1b9838f83d0b984e4b93c3fd779638bd27fa 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plan.c: Do a plane report
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 2000
index 6aa397d03685793707a0184ea04e6231da290430..8179ec58fbbabe8b5016bcef325ef65a4ab37d5d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  play.c: Who is logged on?
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 8bee8e4e6e81bf62c6e4462886121b1169582a16..23670021c51812029b9a2e6a9d16f8543acd66dc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  powe.c: Do a power report
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Ken Stevens, 1995
index 18f892893c1666146dc5f79a58a5dd8f1bef0719..3dd58f66c539a51e2907c1098fd33091211601e9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  prod.c: Calculate production levels
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff, 1987
  *     Steve McClure, 1997-2000
index 8d5c0d16938e9dd74d878e2d1b233d04313bed06..6bfe33511455315201f3ac8ff23a506f3fa013a6 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  pstat.c: Show the stats of your planes
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 3e488bee6aeee85fa219509c1f39c75c0ade3575..af91ceaa0faf289503c3def40aef4e671504575a 100644 (file)
@@ -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)) {
index 3e1d2c585ae919652e23968ddb7619fd6ec730c2..a62c0e4ff6f6878fbb918b0016f652703ec07c1e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rang.c: Edit range of plane/land unit
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Bailey
  */
index 934b0dfba258e6012ad9daeb2de9d2be05166e7e..5de2bb2b9849227589d5975bcab98bd0056f7c0a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rea.c: Read telegrams
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Doug Hay, 1998
index b1f21b35145490ce03f51f7b724587506d0fce4b..98e88cb9c30b338de46326a84a76b6412d41038b 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  real.c: Show or set a realm
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index a28387fb71467c271e992120c66d22cb55eb0ef2..ebc9e06e0de6ce639f7ea71cc5b5af34744296fc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  reco.c: Fly a recon mission
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 6bc0af58b4a89c609ea9c6a6171af3774a3aaf83..8da60a57d752e661300088a0a8f546eb36d152ac 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  reje.c: Refuse telegrams/annos/treaties/loans from countries
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 988ebf8190a2b979b124ddc59f192aec4cb040f9..cb25e58007df677c67f0f4f65e294a490fe2bb69 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  rela.c: Show relations with other countries
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 6fc32038dab0182fdf9f4b45bdec22df03f663f7..6a3f463ff781e7673e2a1345fcf5ff779ff16aa9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  relo.c: Re-read (some) configuration files
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index c1b4b077aa869fd45c2a2243d89a06ee3b012714..77a473467404d2d0df1a5b09c1559071b46feba3 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  repa.c: repay loan from a country
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 2401928bc9f3e261f3599b25210fb21a834c880e..645f77bba02f833bbf0ab852e7fa6e6f491faa80 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  repo.c: Report on various levels (tech, research) of other nations
- * 
+ *
  *  Known contributors to this file:
  *     Keith Muller, 1983
  *     Dave Pare, 1986 (rewrite)
index 83cede05ce466ae36c0afd108253f9557666e193..bfb64d29cfaf627220bb213cdbdfb1dfa0d69697 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rese.c: Reset (lower) commodity prices
- * 
+ *
  *  Known contributors to this file:
  *     Jeff Bailey
  *     Pat Loney, 1992
index 70caee4dea29c417ef5d3c9ce46a0144ecc5493f..0e65c28f4de7fb37c6a43b1be956145f9650a28c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  reso.c: Display natural resources
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index c116a886fc337b6ac262eeb7736ea2c1fee2da41..4aed39140a574e52a44a13eb4795e87ca6bc3844 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  retr.c: Set retreat conditionals for ships and land units
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 2000
index a4eab2059b9f0e764f65fbfb39a2e9d29a9f3e9b..7c346d41f2360dfa4dff98d55fa16fb18949556d 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  rout.c: Show empire deliver routes
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 45445e48cc9cbd34022a8852e74f6da0b526141b..31f52a0b685e60997b5964174f49745958e5b639 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sabo.c: Spy terrorist bombing
- * 
+ *
  *  Known contributors to this file:
  *     John Yockey, 2001
  */
index 230e06e81e868aedb8c385d8b91833cbfabf9403..27a47e14aa558ffcfde810345e44294bfa1e3a6c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sail.c: Set sail path for leaders
- * 
+ *
  *  Known contributors to this file:
  *     Robert Forsman
  */
index 8c574e5dc0e8bb047bc4f405488308b31edc6230..6a7d5c59fdc72fbf03764cd893e3188bbfe80a32 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sate.c: Do satellite maps/reports.
- * 
+ *
  *  Known contributors to this file:
  *     Edward M. Rynes Esq, 1988
  *     Ken Stevens, 1995
index 51187b22965e9fcf44d6f8b7841cd82f4c8fcb14..aba67d1a82015420d2aded55e7bf9abd54bf8014 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  scra.c: Scrap ships, planes or land units
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  *     Markus Armbruster, 2004-2008
index 731e2e699615289a0211ad941049155d3f0046af..aa7f3246b65f39951e3ce333791965427da60536 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  scut.c: Scuttle ships, planes or land units
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 31915f68688056feaef42be9788550c011394b32..95899e51bff9f1db27439793894895e51f88238c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sdump.c: Dump ship information
- * 
+ *
  *  Known contributors to this file:
  *     John Yockey, 1997
  *     Steve McClure, 1998
index 2e38a6fdf263d882263074928a23587b4f6a8e0b..0d7f2b8b7594c0375e3b9b0f9b30126946321eaf 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sect.c: Show sectors in map-like format with conditionals.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 0a9c6ae564ade9e768f29cb831c4fd60d2342c90..e6ad4ea7b642ae744200b9fa9b403ab920e3d5e2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sell.c: Sell commodities to other nations.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Jeff Bailey
index 567e47c2f08ec4410386f2a8ed111707b4af87ca..dcda30306fbf5c3f161c8690e269404a31049346 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  set.c: Place units/ships/planes/nukes up for sale.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Pat Loney, 1992
index 6106a0aef00f7eb1d1dd2085b8b95cac988f902a..b62d97abed52c9c26dc3b39933ed56c869759333 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  setres.c: Set resources of a sector
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff
  *     Karl Hagen
index 9c608e297849804ca3cc6f6c0932312801fe18a5..838e10d1b38fc55cd5bd2759143463767e34daf2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  setsect.c: Give resources to a country
- * 
+ *
  *  Known contributors to this file:
  *     David Muir Sharnoff
  *     Steve McClure, 1998
index 748bc98b4d7e153dd45c5e0d0fc4e766b20b10de..b3909f13968958a9b0b0df3177d83a1f39815b76 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shar.c: share a bmap with a friend
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index c52532bdf9cbd8129725db8d2e2fbdba72744209..ec38b3c45253a4b4ffb41f8f8db0f72976d3da18 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shark.c: Transfer a loan by buying it out
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1996-2000
index 2d33cec97754769b3fe5dd62b375ee88849faee1..d15aa334d922d04f2628e183e2c4b9274ad618d6 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shi.c: Show a list of your ships
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index 8ecac739d53bce44a9260eb07ad153366e233bae..a6cd8ae0dc3c97e2bc587310fc5fc020b633ab1b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shoo.c: Shoot some conquered populace or pigeons.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 081133da4b5ab44760c6f0bfc154db5568fd41cf..c4b0e4683d00534fa42c55c3ee46cdecd3c68c3f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  show.c: Give info on empire objects, planes, boats, nukes, etc.
- * 
+ *
  *  Known contributors to this file:
  *     Julian Onions, 1988
  *     Steve McClure, 1997
index 9d09e702b687b9416be1259c9677f9a106b629e4..6e0fba8bacc7c9cace6c5e2d4967e58a7b326650 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shut.c: Shut down the server with a warning.
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Markus Armbruster, 2007-2008
index e17cf3f7c1ec8279bf6f73559839c69c04542124..5d01ecd50037e2a284db4b04ab3afd16ee3adfeb 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sinf.c: Do an infrastructure report
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 62f231201409d4c691ae1d1abf784e2585137217..c8a88a9e55543ee6651fee819cce678ce6ed42bd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  skyw.c: Look at satellites in the sky.
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index f2639b05ffa9459c33bd55c591af01b6f0983785..7ee9ec94267800e7c5fbad21cac4f3a5220fe26f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sona.c: Sonar from a sub (or other sonar-equipped ship)
- * 
+ *
  *  Known contributors to this file:
  *     Jim Griffith, 1989
  *     Ken Stevens, 1995
@@ -295,7 +295,7 @@ plane_sona(struct emp_qelem *plane_list, int x, int y,
     }
 }
 
-/* 
+/*
  * line_of_sight() - is there a "straight" all water path from (x,y) to (tx,ty)
  * Ken & Irina Stevens, 1995
  */
index 4cd61b0098e679291ceb7d569d42c902c90a1cda..5c31d243327257d7bc71b383354e56c5d5d4b168 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  spy.c: Spy on your neighbors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998-2000
index 520b5fd1e97eb8e45ab54aa0b7500b546e42b6ce..ef40f8d3a916aa85767357c291639369ad9feb98 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sstat.c: Show the stats of your ships
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 414d484009d55d710e35e79238ac2e417e26f06c..eab8866cd48c949c69f8e3d6542f51ed1b4993c2 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  stop.c: Stop a sector or unit from producing
- * 
+ *
  *  Known contributors to this file:
- *     Thomas Ruschak, 1992 
+ *     Thomas Ruschak, 1992
  *     Steve McClure, 1998
  *     Markus Armbruster, 2006-2008
  */
index 4489627ca1c7c5eee3304a57d9330683ad019698..03693ae3ef188736b65f68d8f114df6b4f4aac8b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  stre.c: Calculate military strengths of sectors
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index 61f41f38464c0d35808cf667009cbdb33658299d..7102b106abee455ba94cb3677d7fcc9cb395e90b 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  star.c: Do a starvation report
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 8c1a3e6a43f5afa1b32f9c80b73da5ee634ac03d..12e67d9ff2ff1a7f07f046c4d1979abd93128930 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  supp.c: supply land units
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index 92117a7d8846a858c094c8d915f072d947de14d1..8a5da0385dd09e641f459fc6b156f5366054c3c8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  surv.c: Show sector survey
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 309977c5eaffadcd314ece6b3091ecb936f4ea8c..6be3da4f15ea98d48100c0f17c47a2fb46c9de77 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  swap.c: Swap two sectors on the map
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  */
index 522097eb7920afd63f1499c2c0fc8b4d59e891fa..5667f85e64ac2b1b1db5d2a748af164a5618f7dd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  tele.c: Send a telegram
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index 8f597a3de6f453cd66e1e812cadc81c47d73d9ad..5be3a1fac0d7ac75430259d5a17253aa70bd0808 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  tend.c: Transfer goodies from one ship to another.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Thomas Ruschak, 1992
index e48e4d03c3c2e0e35e84672986e64ab66466313f..be73fd49e1b09f2755764161f5cdcdd158409e7e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  terr.c: Designate territory of sectors
- * 
+ *
  *  Known contributors to this file:
  *     Edward M. Rynes Esq.
  */
index 03aed85a63432dde50c53b834c0f9889ee5d30b1..8e633731564cd7ec06d76af40a75402755da8b5a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  thre.c: Describe/set threshold for given commodity
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998
index befcc1d515fecd85de3b90f5b1c3db51ebc2135d..43f5845471a0522bdec7856b352e4e60ddb6c66d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  togg.c: Set player flags
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996
index b0ce4befe07a7bcbf3fc292b84c78e0dce53a713..7910f351321dcc52bc767a80527c8c1b40f180cb 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  torp.c: Fire torpedoes at enemy ships
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Thomas Ruschak, 1992
index c61c9c3a100c458619b8121afb0155e15af2b3ee..5b0af5890b8642199868a8751f4762c76e5a46fa 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  trad.c: Buy units/ships/planes/nukes from other nations.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Pat Loney, 1992
index 259e64ebb944e25526a709f906fb53333e76104a..223f1a7c50de4a171da5daed3263d73e4e2924a3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  tran.c: Transport nuclear devices and planes
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  *     Markus Armbruster, 2006
index ac1c2da45fcf227d0d804e6776bb310c086a05d8..e601edcd9e4601b42a57f7c8bcaf8e8f6f1db8cb 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  trea.c: Look at current treaties.
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 #include <config.h>
index c35703c17d93fd544611b553552d65ebe908e072..640cef891c63ca0b528d175b95f3bbb0aeb1541a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  turn.c: Turn the game on, off, or set the login message.
- * 
+ *
  *  Known contributors to this file:
  *     Marc Olzheim, 2004
  */
index 49154036fb051aecc8d3c7c74888c0f3ec5db363..3ba68a1f7d3208ac1be9ca07c02dab2eaa9fce55 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  upda.c: Give the time of the next update
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 510f08f7d73004643ce1c6ab9896af5ba81e04c0..08c9b1a2048ac5638a180b32ce4bfa5776765959 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  upgr.c: Upgrade tech of ships/planes/units
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1996-2000
index 8726471d76fcdb2ed89975b0626e782466987a61..6e618c020a4a1adad3cd89bcf1d25f1f69fc202f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  vers.c: Print out the Empire version
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare
  *     Jeff Bailey
index 51226f05980f1d6a5faf5284d1701efb39137b02..5b0172319dc17cf044eb51b894fb2cc691d6baa9 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  wing.c: Add planes to a wing
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #include <config.h>
index cee5c1a4eea086b9246f3b5d062b2a4494a80918..bd14be3cf61c48b66d08a8e88cab981939509ab9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  wipe.c: Clear all existing distribution thresholds
- * 
+ *
  *  Known contributors to this file:
  *     Jim Griffith, 1989
  */
index c68a1da948787093e03cf20aeffb728ef6669041..874f4b5e975b84580fbb40b1bdecc4f95032069e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  work.c: Implementation of the work command
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index d4713ba9c829b988c829dc9414d9b023d1627033..f7b9b7e05f38b253109937c5d0cd8cb0a4d06410 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xdump.c: Extended dump
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 27154415e4589a0456fb36385a0cde407d8238f1..90ad50b9c9a1f0493db13cd08c8ed3b868505aec 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  zdon.c: Update right now
- * 
+ *
  *  Known contributors to this file:
  *     Doug Hay, 1990
  *     Markus Armbruster, 2007-2008
index 41b0e83086e4accfdfb105f251880dd6acee819e..9f7d33a9654c3e244bb06826b0c21dda5629aada 100644 (file)
  *  ---
  *
  *  bestpath.c: Find the best path between sectors
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998-2000
  *     Markus Armbruster, 2006
  */
 
-/* 
+/*
  * IMPORTANT: These routines are very selectively used in the server.
  *
  * "bestownedpath" is only used to determine paths for ships and planes.
- * 
+ *
  * Callers should not be calling these directly anymore. They should use
  * the "BestShipPath", "BestAirPath", "BestLandPath" and "BestDistPath"
  * functions.  Note that those last two use the A* algorithms to find
index 8edef74f500ce246c4fc3c0b177027b73f10cf63..92bb90069dee6c577ccb83206411210be2eba3ca 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  btu.c: Dealing with BTUs
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 5449d47b511e30788883c079f18b2bb14e12e557..519c29f50e05f10e59fc079fa76d3b12d1d8583b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  cargo.c: Cargo lists
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index 26a48b1120855451f50b5e41f236a2bb8d4587e7..7ed0c01517cc6c2f0d6ad1a80acc4d1ce7ff0735 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  cnumb.c: Return country number give country name
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 2a4abef1de30788b0880fa3d5205fcd3c2b5b6cf..47586c0fbf1789ebdfe4929f9daaae516b02d107 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  conftab.c: Load game configuration files
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006-2008
  */
index ad96ee62a0df090f8951acb1427cfd875135288e..f6bd6e23e753a79d9cda7abcafed9911b61ef0aa 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ef_verify.c: Verify game configuration
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2005
  *     Markus Armbruster, 2006-2008
@@ -99,11 +99,11 @@ verify_row(int type, int row)
     struct valstr val;
     int ret_val = 0;
     int flags = ef_flags(type);
+
     if (flags & EFF_MEM)
-       row_ref = ef_ptr(type, row); 
+       row_ref = ef_ptr(type, row);
     else {
-       row_ref = malloc(empfile[type].size); 
+       row_ref = malloc(empfile[type].size);
        ef_read(type, row, row_ref);
     }
 
@@ -177,7 +177,7 @@ verify_row(int type, int row)
                }
            }
        } while (++j < n);
-    } 
+    }
     if (!(flags & EFF_MEM))
         free(row_ref);
     return ret_val;
index df9e3c2c7fe96703dfc8f6b3e94e1afc33902e4d..2111c9c42c76ba6ddbdba5aa932360487dd877b1 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  emp_config.c: Allows config file to control server config. from a file
- * 
+ *
  *  Known contributors to this file:
  *     Julian Onions, 1995
  *     Steve McClure, 1998-2000
index 4c63be71877133d3658d8fcd4b0a638e8007f4ca..8b0962f5e5d96d04cdc9384e8bbcc651209445c8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  file.c: Operations on Empire tables (`files' for historical reasons)
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 2000
index 2b92ab5c377fa55d2314217bf5aa9c787a65d309..12d4dcff99d4243138606bcbf0d27a0c6a8da813 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  filetable.c: Empire game data file descriptions.
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005-2008
  */
index 36dd3b31501de457d7545611313620aa84ccdde2..0800d626e44d383b97b9cad8f31ce8b041d8be85 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  game.c: Game file access
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007-2008
  */
@@ -51,7 +51,7 @@
 #include "server.h"
 
 /*
- * Disable updates 
+ * Disable updates
  */
 void
 game_ctrl_update(int enable)
index 24f8e9ec0a595d65f221222d5e8eb8a337a537b5..e10e1768a33c3f9cfe203b12247e1a2be78e4368 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  hap_fact.c: Happiness effect on che
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  */
index 6fa1cc4e9bcdda45d63b6742b30238b2e20a0e36..bd12a7addd16ec472fbb38dc0cd33d846e97c791 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  hours.c: Game hours determination; is it legal to play now?
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Doug Hay, 1998
index 51695601325a0942d64314f48cf294ebdedb256b..a418705cf5c7a72d645de582faf0f331c3542721 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  mailbox.c: Return string containing telegram file
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 #include <config.h>
index 098789be481966ad3815ebf8c77ebcf68f019353..323c9e38686cb4e2494301c05f92e2730c615166 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  mapdist.c: Return the distance between two sectors
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 /*
index 18d748febafd698361b4ef4fe63a7d35be4cceca..3257acb97ecf45c9d08d29e11ad16e36a0f192a9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  move.c: Misc. move routines
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006
  */
index 1296a4fb955a3676755834c8d52279ac894814d3..c3d92db3e44eb3160c3d7cd665d921b11fb1c92e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nat.c: Misc. accesses on the nation file
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index 6219c6d1a3f7ee7f91f7c65b2dca046642474753..774f85434172aa60822d7a1ff26600bf45d58429 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nsc.c: Empire selection global structures
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 10a44110f8bf60d4c8689f7ff3828ab5fe9071c5..770df45fdecf20f8b18c1ebb3531868e79ac6b78 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nstreval.c: evaluate compiled values
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1997
index 61bf4e7b077785f94b567495eee47ec2ca601339..103d3b0ae80c8a240834e522a5d7b6fd6deb8d87 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  path.c: Empire/A* Interface code.
  *          Define AS_STATS for A* statistics.
- * 
+ *
  *  Known contributors to this file:
  *     Phil Lapsley, 1991
  *     Dave Pare, 1991
index 050549ad2fa4494a389f35e0d8947c7749432870..0720841209a6ef314a552ee13745e4c3817b7e06 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rdsched.c: Read update schedule
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007-2008
  */
@@ -57,7 +57,7 @@ static int delete_update(time_t, time_t[], int);
  * Read update schedule from file FNAME.
  * Put the first N-1 updates after T0 into SCHED[] in ascending order,
  * terminated with a zero.
- * Use ANCHOR as initial anchor for anchor-relative times. 
+ * Use ANCHOR as initial anchor for anchor-relative times.
  * Return 0 on success, -1 on failure.
  */
 int
index 5e03c2d2b5491000e18f2ab3fef6265f1139b5d7..bf2d065df9f27b490327ee0da8cbda7a96e3f6a9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  res_pop.c: Get maximum pop of a sector
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 7041e3df519ce5fc3fec6c01a6a1a9d796a0aabf..ddc63c7bd86ac0184c7709d0d397353b422ab8e1 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  stmtch.c: Matching operations on structures and commands
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 8c0925814a5962867a4bf37773d3eba80cea9431..3223e30bddb5b3d1878c30ad80559495cef9d717 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  tfact.c: return tech fact given multiplier
- * 
+ *
  *  Known contributors to this file:
  *     Yannick Trembley
  */
index 457f14f241c92d4d51cbdbd2e5849e40225e9d38..2f5a32beaf9ea57a2a28804f7cf25f4ff23e1239 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  type.c: typename to array offset translation
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 2000
index b1561843efd4b5ae7174cc68e82f023c4965d92e..07c3db0afb7337d9b20543d69470607d0f56faf3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  wantupd.c: Check to se if an update is wanted and/or allowed.
- * 
+ *
  *  Known contributors to this file:
  *     Doug Hay, 1990
  */
index f51c620b7de23cd3e187e249807b57f8c0509d3d..5d131c933973b355fade05cba03f43767fb71911 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xdump.c: Extended dumps
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 9b389260c5a57170e2e50b10a9daeaa13fad71af..16056c25c87f9ef2c18dd268662bdab23c317f3b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xundump.c: Load back xdump output
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2005
  *     Markus Armbruster, 2005-2008
index 87f3f4adcee879c2609ac06565a6c8b00bce39f2..0a8a9f89f9cfcbc016af3538f6408c0c87e6d21b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  xy.c: x-y related conversion routines
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2004-2008
index 4c42a55efedb0c6137dff4b4709cc8b53823f75b..9b629e24411aed0f6b2ed91d9e88ecd3e9882643 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  io.c: Arrange for input and output on a file descriptor to be queued.
- * 
+ *
  *  Known contributors to this file:
  *      Doug Hay, 1998
  *      Steve McClure, 1998
index 838bb6b9fb9ddcb376cde13d8bfa67e40508e42f..190cc11cc45a640db6fcfb4fa7041aeea998d565 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lwp.c: Interface from Empire threads to LWP threads
- * 
+ *
  *  Known contributors to this file:
  *     Sasha Mikheev
  *     Markus Armbruster, 2006-2007
index 8a4abbd236d4d0552392d637d09afce2027d01ea..68bd3ffb1945e5403ce457cd9d41c72500b92d55 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ntthread.c: Interface from Empire threads to Windows NT threads
- * 
+ *
  *  Known contributors to this file:
  *     Doug Hay, 1998
  *     Steve McClure, 1998
@@ -304,12 +304,12 @@ loc_BlockThisThread(void)
 static BOOL WINAPI
 loc_Exit_Handler(DWORD fdwCtrlType)
 {
-    switch (fdwCtrlType) { 
+    switch (fdwCtrlType) {
         case CTRL_C_EVENT:
         case CTRL_CLOSE_EVENT:
-        case CTRL_BREAK_EVENT: 
-        case CTRL_LOGOFF_EVENT: 
-        case CTRL_SHUTDOWN_EVENT: 
+        case CTRL_BREAK_EVENT:
+        case CTRL_LOGOFF_EVENT:
+        case CTRL_SHUTDOWN_EVENT:
            empth_request_shutdown();
             return TRUE;
         default:
index 64fa13a8079e3784ed99195b7b0ef433faa7b952..4e62d568ded96e4dc86d355c336a61840447d4bd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  posix.c: Thread-related code common to POSIX systems
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006
  */
index 854e03264bb6bf79789361431727e7eb7b7d5807..aa8b56949f1d11ca9984b15841fdcbf8274da93e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  pthread.c: Interface from Empire threads to POSIX threads
- * 
+ *
  *  Known contributors to this file:
  *     Sasha Mikheev
  *     Steve McClure, 1998
index fc9ab3edb43e6631ed6ffacb04dff805f15d968c..1892e2e20866dc4e025109898a740531f6e93d6a 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  chance.c: return 1 if "roll" is under the chance.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 1034aeecbb674b314b4adf7fc76a178dc766b6df..e80fdd8969791d0716dc07a4ea21e378a22eb37c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  disassoc.c: Boilerplate daemonization code
- * 
+ *
  *  Known contributors to this file:
  *     Doug Hay, 1998
  *     Markus Armbruster, 2005
index 995320c36fa56429f36fcd378486940128358167..8ddebcf4e1dbb23694706ccd8531a4c4af2d5afa 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fnameat.c: Interpret file names relative to a directory
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index 36af6d2635fae6f2016dd28d6f909933c0c8803b..95078cfb47dd27170ebdcf9ec199b730e2a90b2b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fsize.c: BSD dependant file and block sizing routines
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Doug Hay, 1998
index 420e9c137040d17ea930ace56af9338078d48a2c..efa3904da8f724569c28114d19d0744e71c9f102 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  ioqueue.c: Read and write i/o queues
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 /*
index 1c78f2efda24a7dd8f99df6375f4858c470e3db3..7f57182dc1cd7bdaa456da4d65df23011682014b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  log.c: Log an Empire error to a file
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2003-2008
index bc7b2fa6c63a45c314df1a0f2fc1b84ea272e97c..524ef462100f13e1745c08ca5897d4a3a39c30fc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  numstr.c: Turn a number into a word
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index c9b8b7002a78800c2810db37e0b0939c455b4c86..9481d16bb4fa41e0111b26e2b1e2632195253ac8 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  parse.c: Parse an Empire command line
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 8bea201c3ead3409fa82f003877fe9cbda64986b..d7b9cdaa8c6eb0f50403e8767a541cc37aa55a33 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  plur.c: Pluralize (is that a word?) something
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 3420727611f9862c92597d723062bc0df515268c..3295c8781de5185f47731ea4197971d4f978dda2 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  queue.c: Various queue routines (for lists)
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index bb6de73c8f02fedfaf518816dd33940434d52b12..40f38656177b6329e960b3fa539af100e7236670 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  round.c: Round off functions
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 1c0c28b4f9c220c15475003cb8896ebefdf2707b..f13246b24405a69349a96ca0d9d3bb123367c091 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  scthash.c: Create a hash function based on the sector x-y mod table size
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 10566a9579090fdf95833352f48a49676caf4fb6..9b90ada58e311f4fdc041107e10f260b97439e77 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  tcp_listen.c: Create a socket and listen on it
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005
  */
index db8c6103e8a8c7ef3e1832db98ae66ffbcf51086..2611679f509bc9114562013f1a05f39598f352da 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  constants.c: Global constants
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996
@@ -129,7 +129,7 @@ double decay_per_etu = 0.006;       /* This gives a half life of ? etus,
                                   you can not get a precise number
                                   without intensive simulation
                                   (more than 3 digits). */
-double fallout_spread = 0.005; /* fraction of fallout that leaks into 
+double fallout_spread = 0.005; /* fraction of fallout that leaks into
                                   each surrounding sector */
 /* end opt_FALLOUT */
 
index c08958c81220a3d7ebcbf2681e22ed3a84348acb..7b8b5f17b9e1b4b4d8cc8d429b957dc508094924 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  dir.c: Directional orientation descriptions.  Must agree with defines
  *         in path.h
- * 
+ *
  *  Known contributors to this file:
  */
 
index dc344e009595f2feb5f9a6f6c3aeda5a2c542173..0207fbda01b4dc11fffd84880e8cd09e443ce4d9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  init.c: Initialize global unit arrays
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1997
index 6d7153126c1f7cc8df57a556084438894911a447..3d52834c554e315861154506fb467d0a98b72f76 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  item.c: Item characteristics
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 5fd5dfe691786b99bee9e7c3c988dce526a1a76b..a96ff3d2f6e25e1ccb0ddf84e453bd0d4a711a22 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  land.c: Land unit characteristics
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1992
  *     Ken Stevens, 1995
index 670ffdb6e914eec4c54afa293a89c849be07b8b0..6827eb5946082388a0f049421737db519d6710e7 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  news.c: News item characteristics
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 /*
index bcd21af05f3e1dccc19e240c713b00cc2f0ca55b..9a814a0aa9b3ce879e25699fe9d62f58fc969593 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  nuke.c: Nuke characteristics
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 561bd1417d2a8fc5ddc5f2d67290d758a8d86972..3cab294c228b4bec124e3c604b2e1252d9d2b127 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  options.c: Options definitions
- * 
+ *
  *  Known contributors to this file:
  *       Steve McClure, 1998
  *       Markus Armbruster, 2005-2006
index 569d01a19080c257b7621e2df4133360f0a27708..f34836d23c518f398adc3283861df25e06b3e1bc 100644 (file)
@@ -28,7 +28,7 @@
  *  @configure_input@
  *  path.c.in: Path initializations needed outside of the file
  *            initialization tables
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005-2008
  */
index d2be188f0d9409452ad5af70bcf75dce23d58c02..a9b769fd5fedfea4418c8842ace467231c070a6d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plane.c: Plane characteristics
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Jeff Bailey
index f4b90fa491c2d786c06ebd56cd1a861464cbd61e..46a9ffbe35f2ee0a129ee8c4083447556fe5001d 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  product.c: Product information
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 8f96d436817c3978d8a70baaaf27ab3b4078352f..b9d7b956d980ccbf2abdacf5850ffb0ce7e00939 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sect.c: Sector designation characteristics
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Jeff Bailey
index 6c5734873444d663ee10c373b0d8782c948dfe53..f14124b3d2db71a0d2beeb207adf3fdc8fbdef8b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ship.c: Ship characteristics
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Jeff Bailey
index 682ee5e47e3d6d9d7a2b087cf7a4c2e63e98c384..924d375cc7f0b4a242a55767c4c980e8e68744f8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  symbol.c: Empire symbol tables
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006-2008
  */
index 524572d67cbf255b28a7926b9a5a48b92b2492f8..912251edbfb1fbd8afb6caf15c0c299e03f1a7ce 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  updtime.c: Scheduled update times
- * 
+ *
  *  Known contributors to this file:
  *       Markus Armbruster, 2007
  */
index 9e89bc591dc65aeb8c01e6fa1a733b50f1879133..00e2ce44d24f97f8c81eee034fe367a609a355d0 100644 (file)
@@ -25,8 +25,8 @@
  *
  *  ---
  *
- *  version.c: 
- * 
+ *  version.c:
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006
  */
index d43dd8810ce4f52a7f6198f79a1a08ad28873b5f..2cf1e23fe5b4bb13d5e4d69d4d9e47c3a7a9700a 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  arch.c: architecture-dependant process context code
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1994-2000
index 41b8a966f36d4f606275bf5e191ff9fbd11520f7..c3ec7a4db36079c919eac2d0d03bc021e927250e 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  lwp.c: lightweight process creation, destruction and manipulation
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index 99a792f6697e954af3509cc696fbf56e566d8412..5b36077e528b481e1d1113f33dc05d12e29a2ceb 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  lwpint.h: lwp internal structures
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  */
index b1a9842cc516184081ea12caaab6a68364ffd8a0..5bad087d130407ffac59bbf56c27dd7534b895a3 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  queue.c: queue manipulation routines
- * 
+ *
  *  Known contributors to this file:
  *
  */
index 3ec746e28aaeaa32c93ff2eeaf20dbe6330021bb..2170564383c1c8d8b8c086752c2b9db31a331cf9 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  rwlock.c: Read-write locks
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  *     Markus Armbruster, 2007
index 3786c7eb1da17d008d463e12d5da89b80b60e2c0..d6ec8403eee68a43d853515bbbb7863e98f68568 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  sel.c: arrange to block on read/write file descriptors using lwp
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Markus Armbruster, 2007
@@ -59,7 +59,7 @@ static struct lwpProc **LwpFdwait;
 static struct lwpQueue LwpDelayq;
 
 /* The thread executing lwpSelect() */
-static struct lwpProc *LwpSelProc;     
+static struct lwpProc *LwpSelProc;
 
 void
 lwpInitSelect(struct lwpProc *proc)
index 788f53f076ed8b3f8f6fc79100c3ac2f68f1da38..e844a2c598b632d09556d6a9712a0accb116a498 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sig.c: Wait for signals
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006-2007
  */
@@ -46,7 +46,7 @@
 static sigset_t LwpSigCatched;
 
 /*
- * LwpSigCatched changed since last 
+ * LwpSigCatched changed since last
  */
 static sig_atomic_t LwpSigCheck;
 
index 85492f3712ea751137fbffaf265a2028af0c4f52..84005148a131a6b8c3377457441bee3971476832 100644 (file)
@@ -27,7 +27,7 @@
  *  ---
  *
  *  status.c: Process and perhaps display status messages
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  */
index 116e69b92e7e08b237f079dbb5a58ca504600649..160ca6480195cba28d84cfa66803ba5139a46f94 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  accept.c: Keep track of people logged in
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Markus Armbruster, 2005-2008
index e91a502007ee67259202d9f74c1f392608fd3745..35182ddedd37111def58a53c09b5e2a1c3149de2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  dispatch.c: Actually execute the command given
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1998
index 166836ac5891aceb33db27ee5c8773ca1d17ea64..fc915a6c03516a37ce0ade537b92e2f32362f717 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empdis.c: Empire dispatcher stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 2000
index 2a2a2913fcb5c6fdec5f534854a40695817d9efc..283d44c3f95af9dd313d3c0b97b21ba61620b543 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empmod.c: List all commands for Empire
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Jeff Bailey
index 280ca8abf18178ff2c253e1725165d57e57f3f32..f1bfd2425d1c29a8d8f3b195ec0dd4a5d771369f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  init_nats.c: Initialize country and nation file stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 2000
index 2fe4442238e56a0ff4d3af9ecdb4f5a33a119340..63d3c3f17ee1a0566a74f215633bbe91a377c045 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  login.c: Allow the player to login
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 2000
index 590d9782afd0a4a2096fcd948ddcb1fe2206d18d..b31a28e06fde45340e3e1c321ca4e0c0486e1e6d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nat.c: Get nation stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  */
index 16664abcc108540aa711b7c1ebc591fe970b3ea5..14a7aaddac8e267840b9017d5afcb60ceb55b3c6 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  player.c: Main command loop for a player
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  *     Markus Armbruster, 2004-2008
index f94845ff5f2fd05ce9213e97cd15597c0259aeda..467deedf007e7307847303526d678387dbfe8c82 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  recvclient.c: Receive input from the client
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Markus Armbruster, 2006-2008
index 3e396c966dde3773be1a3019448bd10b642f8fb9..bcac4395973b877b83ff973b19b97035a4e892cd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  aircombat.c: Deal with air to air combat
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Thomas Ruschak, 1992
index 0043845089956b677a947be9fddcdc51c1501d7e..65e0f21cc169b3c8577d9b30adeb4f02fb145af7 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  askyn.c: The oldest routines in the book... ask questions of the user
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak, 1993
  *     Doug Hay, 1998
index 79663b284c61334b6dd8f73e59d098bcfffeac0e..f6ab1f13afbced8d1d130564a8a45751850de3ae 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  aswplnsubs.c: Various subroutines used for ASW planes
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2004
  */
@@ -71,7 +71,7 @@ add_shiplist(short uid, struct shiplist **head)
     }
 
     s = malloc(sizeof(struct shiplist));
-    if (s2 != NULL) 
+    if (s2 != NULL)
        s2->next = s;
     else
        *head = s;
index b541283e1bcd17b3f6cf79cc80beec5bbc8d283c..ef160d4ffc20c8df3f50e9c73f8119681b255385 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  attsub.c: Attack subroutines
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996-2000
@@ -155,7 +155,7 @@ prcom(int inon, struct combat *com)
 
 /*
  * This is the combat object "type" based integrity check.  It basically
- * splits along three divisions: ship/sector, attacker/defender, 
+ * splits along three divisions: ship/sector, attacker/defender,
  * first time/not first time.
  */
 
@@ -1845,7 +1845,7 @@ att_fight(int combat_mode, struct combat *off, struct emp_qelem *olist,
     att_infect_units(dlist, def->plague);
 
     /*
-     * Fighting is slightly random.  There is always that last little 
+     * Fighting is slightly random.  There is always that last little
      * effort you see people put in.  Or the stray bullet that takes out
      * an officer and the rest go into chaos.  Things like that.
      * Thus, we have added a very slight random factor that will sometimes
@@ -2586,7 +2586,7 @@ att_free_lists(struct emp_qelem *olist, struct emp_qelem *dlist)
 /*
  * sector_strength - Everyone starts at 1.  You can get up to a max
  *                   of d_dstr, depending on how much you build up the
- *                   defenses of the sector. 
+ *                   defenses of the sector.
  */
 
 double
index 5f056ddd1f97aa272e34f29de51d337546eeca46..3f21514e9ff8c99da7f9f05e9175c5812ace8d7d 100644 (file)
@@ -27,9 +27,9 @@
  *
  *  bigmap.c:  Updates a player's sector map using sector offsets and
  *             simple overwrite rules.
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #include <config.h>
index a3157faab36f8f7a6bf69644f9f5ac0e2470699a..26221a9575ebc85bf6a4638040d9a9ebb12a523c 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  border.c: Create a border around a map
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 70fa4875c5b16b6577fcb088b55f86254e634e41..c9e30af4f7d20e148ab8d687df9677df20b3f363 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  bridgefall.c: Knock a bridge down
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  *     Markus Armbruster, 2004-2008
index a6bbf33e5dc4dc5a72b1d6896633337d5b220d9b..11b89efad8a5cd8e04fbe418769d3b6bc6489680 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  bsanct.c: Break Sanctuary subroutines
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #include <config.h>
index cb3c5942feb26ddaa374885ec5984a96fe504720..e8ecfcc2da055d68f231a5d395d7adc96bef90dd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  caploss.c: Lose your capital (kiss of death)
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  *     Markus Armbruster, 2007-2008
index d8b31507686181c55334e18688aff464eafe841c..6e50ebce68aa1d4dc449a25941f5ef4733aa4678 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  check.c: Check a sector, plane, land unit, ship or nuke
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998
  */
index 56c8567f2a53fe430d32f4227771da29227e9757..ecc402ea652b2d7500a3ed1fcf32154b5a9d62ee 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  coastal.c: Routines to calculate the coastal flag
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2005
  */
index 0ce143d36494c4567a6edc2747fdd3e96d21c51b..748a2826447f779e1f8fd4d770981525327e414d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  control.c: Military control functions
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index b0b763d290bb2004821850283b49fd3a9e444581..95d763fb3968c5f6d34c3cf3e5d1a690ff742174 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  damage.c: Damage stuff.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1997
index beca372a9616809f31a115a9c864e4ada17bad0a..5bbd5fcd772bc2c8f41c09e62f336301b2a59b49 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  detonate.c: Detonate a nuclear device in a sector.
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998-2000
  */
index 0ef35431bb8d26f141014aad9ffb2eeef42e9851..9a6c67072f50c5f738ce42daef097420e66e6b05 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  disloan.c: Display a loan
- * 
+ *
  *  Known contributors to this file:
  *     Pat Loney, 1992
  *     Steve McClure, 1996
index 8f6454b2a31c93e752593394ca450dec5f587494..bfb182c63d0fb002d87302807a971c2ddb4b4337 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  distrea.c: Display treaty information
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index bd1e0560b5f238ee20b87c20dbfc62cc7a57b73e..5e27bb8ed7d273eb8a0c14e5e1a25bd307cc7d3d 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  empobj.c: Common functions on struct empobj and
  *            union empobj_storage
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2006
  *     Markus Armbruster, 2006-2008
index 1a63a1dd0eb2cb2af07d1f502ea23b37321e00ab..4b1619c64f644fd94ba6eccef09e5827c0f5fa7e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fileinit.c: Initialize Empire tables for full server operations.
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2005
  *     Markus Armbruster, 2005-2008
index 5e931c779cce53d3a95725088c3af8ff53e8d69a..7c8b4e46e0c6f3737cf8434a3438b5998a62ee3a 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  fortdef.c: Fort defends an area.
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 /*
index 8379ffcdaf469c02739f6ef2c002f7b2df935353..94195a07d25e21784074740074ec37d5042baa55 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  getbit.c: Replaces old bitmap code
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index 5fa442bced0430c6ffec77e79b41487d02da2671..9b46fa717fbd939c8693764473748eb7649350b1 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  getele.c: Read a telegram from a file or stdin and send it to a country
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 #include <config.h>
index 62605d7065b74d402ccc38bf225c5a5ee328e505..1f46e13867195d7fa299b4fa38eb4d3ae78c3812 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  getstarg.c: Get a string argument (ask if not there)
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 8f07230bffdbbcb427f81f9b4e22279aeedee1d1..229d112cbce6f5adea92af6998512ec305489095 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  getstring.c: get string, printing a prompt if there is one
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 9313135ab453859ff223cbda08ee7d16d00aa31f..4f553c51ef2410397cb6dc3fb63e9ad2e169984e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  journal.c: Log a journal of events to a file
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004-2008
  *     Ron Koenderink, 2008
@@ -86,7 +86,7 @@ journal_entry(char *fmt, ...)
        time(&now);
        fprintf(journal, "%.24s %10.10s ",
                ctime(&now), empth_name(empth_self()));
-       
+
        va_start(ap, fmt);
        vsnprintf(buf, sizeof(buf) - 1, fmt, ap);
        va_end(ap);
index de39de69785c300a6d3293c3a74f458a0db446fa..7c743ab0408bce54e93c1f91d682ae64edc80aa2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  land.c: Land unit post-read and pre-write
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  *     Markus Armbruster, 2004-2008
index 151679a41a0e6e8849b6de301168e7f43d823cf9..d011f9badc82f1204ed1dd27bdb14452b31a481e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  landgun.c: Fire weapons
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006-2008
  */
index 13a35f5c6848c6f729e3828c3e50e41a3939f5d9..e91dc2796a45077f899b61b966f4bb9be3e36edc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  list.c: List ships, planes, units at a given x,y
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 8cbe130497ef7b47d25b51e7bc339b0709f17a67..548877efcee4bff06a82dab1d9f28eb824e3cd9a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lndsub.c: Land unit subroutines
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998-2000
@@ -214,7 +214,7 @@ lnd_take_casualty(int combat_mode, struct ulist *llp, int cas)
        else if (combat_mode == A_DEFEND) {
            /*
             * defending unit.. find a place to send it
-            * strategy: look for the most-populated 
+            * strategy: look for the most-populated
             * adjacent sector that is owned by the unit
             * owner. Charge mob..
             */
index 427ec5a5625a7da35f86b2ce53ef18fc9b1a6470..2d0d04676c713b18c240be2b9f5c050aa8302ed2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  lostsub.c: Subroutines for lost items
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1997
  *     Markus Armbruster, 2008
index 7144e1c83d4167a2af4e83c99e7f093c400ff1fb..08537dcabf709804e6a14a13204d7952a3449d55 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  maps.c: Map routines
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 9a252ad3143091d7d453936caee48104e217b787..197c4bcd8ac14d2e8671a77223513f079bc77766 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mission.c: Mission subroutines for planes/ships/units
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996-2000
@@ -902,7 +902,7 @@ mission_pln_sel(struct emp_qelem *list, int wantflags, int nowantflags,
            free(qp);
            continue;
        }
-           
+
        if (pcp->pl_flags & P_A) {
            if (roll(100) > pln_identchance(pp, hardtarget, EF_SHIP)) {
                emp_remque(qp);
index 6e2570e5551ed2df1f18fac16b3e56a7b9635ead..556599a2de3c8185896279129845a3b87b780d3d 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  move.c: Move something somewhere.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 89dbc22e745c3d8827563c8f34b49becfeda5969..3652d9766581390eb49f4da65b91060ebdd6a921 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mslsub.c: Missile subroutine stuff
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996-2000
index f7c910b9badfa708ae5a0d48f1efc39bb3b0fd77..92d6677e65bb38d33bffa054a62281c9dcb1f518 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mtch.c: Matching operations on structures and commands.
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2004
  */
index 6ee5e6466657750eaacba1b40f91d7d5fb95b76b..53ccb62df7aa6c61a73a97c503ba897b59920769 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  natarg.c: Return countr # given country name or country #
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2006
  */
index a844bb36d5e901de840216764e4b39241a2d994e..bc6b727f685674d2872303ed888c57bcdbfafe99 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nat.c: Nation subroutines
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index 890a49f2a18650ef692356ae5d58379a3ae5b1a6..2fac0d026c3fa4acec42c93f2366aa0f3af7a198 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  neigh.c: Return true if a neighbor
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 2dffb2681c758b3fae4f005105e8b920174c9f19..2e833264948d4d6975affe74f8c8e30ecb1130ce 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nreport.c: File a news report.  Downgrade relations if things get hostile.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1997
index dde96a0eacd6f21aa539dc3c5167e45929dac10c..ec625c6fd2632644381ca26adc53b8bf20936312 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nstr.c: compile and execute the item selections on sectors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1997
index 6924cf0536731f59a87789aae2131d900dfe828d..1b8e71cc56523c01447d40680f536ddf6ba936b9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nuke.c: Nuke post-read and pre-write data massage
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1996
index 51bc027c531fb335f901c28c3d5f0c93d1e87172..cfcf777600a49978e30288cfdc10c7ac08a45328 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nxtitem.c: Get the next item from a list
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index 9a97d7eb741297f67a58707ee7b4d06997283a8c..287a7f99528123336a9ab0bb5653f5c13ead3e68 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nxtsct.c: Select/get the next sector from a range of sectors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index 79c8e46eb4e3b4771b9905eafd88f6c70b7fa778..57b406f71d375bf9b816862cc4b10e8e8427b6fd 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  onearg.c: Get one argument, or ask if not there
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 9d98058d8e5d3463b96768fa1b09e8811187961b..3b1aeba25bcfe1936aabccb3ddaadee38c03725b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  path.c: Routines associated with paths, directions, etc.
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2005-2008
  */
index c49d9e53d6809ec42f56f802bb7b2f1d659ab4b3..e6695237c50872ed3538696a6f879597e5afc819 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plane.c: Plane post-read and pre-write data massage
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1996
index e0aaa1e64afd41cd7e29ad9c38d783d7fa147dc5..b6694730984a3f54d0a791fef75ee131d5ba28ed 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plnsub.c: Plane subroutine stuff
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Ken Stevens, 1995
@@ -805,7 +805,7 @@ pln_put1(struct plist *plp)
  * planes.
  */
 int
-could_be_on_ship(struct plnstr *pp, struct shpstr *sp, 
+could_be_on_ship(struct plnstr *pp, struct shpstr *sp,
                 int n, int nch, int nxl, int nmsl)
 {
     struct plchrstr *pcp = &plchr[pp->pln_type];
index cbec5212ea87d8c41bdd55ad86adda21b5ebc101..628d8310bd957ee1b6dee1c48dd137b93624ca89 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  pr.c: Output to players
- * 
+ *
  *  Known contributors to this file:
- *     Dave Pare, 1986, 1989 
+ *     Dave Pare, 1986, 1989
  *     Steve McClure, 1998-2000
  *     Ron Koenderink, 2005
  *     Markus Armbruster, 2005-2008
index 4f1226971f0deb38a37362ba52458f25d8d2913d..5461e582af91c3265fa6262819afc76fe86f74dc 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  radmap.c: Do a radar map given an x,y location, effic, and other
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
@@ -171,7 +171,7 @@ radmap2(int owner,
            rad[y][x] = (*mchr[(int)ship.shp_type].m_name) & ~0x20;
        }
     }
-    /* 
+    /*
      * make the center of the display 0
      * so ve et al can find it.
      */
index 31a481e43b18a9eacd8d6a6a42f4cd11e0496487..df99de46ae01fce0ff185c6b639eebe7ecb5646e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  rej.c: Various relations setting routines
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  */
index 57eceeae7d4762cae4da6afc5296dc0de619f38a..59bf4ac78e2f38cfcc960d4e0e3d5ddf36819eb9 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  retreat.c: Retreat subroutines
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index f23903d08d675490f1ae00765543e083e75001e9..f8839a8a59b875f04ad58f65eba6606d5245d9bd 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sarg.c: Parse selection arguments
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2004-2008
@@ -116,7 +116,7 @@ sarg_area(char *str, struct range *rp)
            if (end == str || (*end != 0 && !isspace(*end))
                || rlm < 0 || MAXNOR <= rlm)
                return 0;
-       } else 
+       } else
            rlm = 0;
        getrealm(rlm, player->cnum, &realm);
        rp->lx = realm.r_xl;
index cf69c5f0c13e88a776468cd6718ce41bb2c7c054..fd29c8eb598e9c0c471a10de6b339904534d1f8d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  satmap.c: Do a satellite map given an x,y location, effic and other
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
index 5edb0f399f07f7d40733d3143a3a06be560aa6d6..cae10971ffdb769d388220063031378be7386f39 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sect.c: Sector pre-write and post-read data massage
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1996
index 920f45aa28a690661459b8eb94de62161a1d6c27..5086462e18ee8f723b691a71ce97a84302ca1d44 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sectdamage.c: Damage a sector
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1996
index 3811374eafd52ec52b70ed3feb7d475d70e04568..725c535fe7a06e0cc5da30c3ad33637bad995143 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ship.c: Ship pre-write data massage
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1996
index 6c13c6eeea0dc440f3c49c3bde3cddf6ed6e8e58..ac3125b8e3fe0fc5a9d63728a4ba09030d8200b4 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  show.c: General show routines
- * 
+ *
  *  Known contributors to this file:
  *     Julian Onions, 1988
  *     Jeff Bailey, 1990
@@ -592,7 +592,7 @@ void
 show_news(int tlev)
 {
     int i, j;
-    
+
     pr("id category           good will\n");
     pr("    messsages\n");
 
@@ -668,7 +668,7 @@ fmttime2822(time_t t)
     TIME_ZONE_INFORMATION tzi;
     long time_offset;
     struct tm *time;
-    
+
     time = localtime(&t);
 
     n = strftime(buf, sizeof(buf), "%a, %d %b %Y %H:%M:%S", time);
index 4bb1064f09c1503733dcf3b3ac0f24b1d2bd7d6e..56abb29abf87f4477919d5aac176574c0a7c468a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shpsub.c: Ship subroutine stuff
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1996-2000
@@ -810,11 +810,11 @@ shp_nav_one_sector(struct emp_qelem *list, int dir, natid actor,
 }
 
 /*
- * shp_miss_defence 
- * Check for incoming missiles with a P_MAR flag. 
+ * shp_miss_defence
+ * Check for incoming missiles with a P_MAR flag.
  * Return True=1 if the missile was shotdown.
  * Or False=0
- * 
+ *
  * Chad Zabel, July 95
  */
 
index 2b795d2a3f370b966eeabf2348c5c3fa2da13f12..2c7534d47a420af176a093c4ba51c2186b3eb92f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  snxtitem.c: Arrange item selection using one of many criteria.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2008
index c492ef702147d49c6c33584934d32e69999eb119..7f2248b111bbb1f84b26455938e1c8a181ef067c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  snxtsct.c: Arrange sector selection using either distance or area
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Markus Armbruster, 2006-2008
index a32b379d72bb5d193cd807d6323cff24fd16a6c1..792495b984af1fca45805427ac4c3a788d8dc22e 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  supply.c: Supply subroutines
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #include <config.h>
index 4fd01c6fd03df0816e023347ce288b9225008244..4491c6c105c9f69081ce26854f8b7af5f655f99b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  takeover.c: Take over from another country
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1996-2000
index 8195642bd3a74ea79b99719159460c7ec90a6cb1..a3c535eb6e06d75eb4356fb96c22190d90fb51de 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  trdsub.c: Trade helper functions
- * 
+ *
  *  Known contributors to this file:
  *     St Phil, 1989
  *     Pat Loney, 1992
index 9f488a3bd908f11e2d771831b115806f49b4a40a..e77e2b0eea6573e075f74016fe230e3c16fb3d9d 100644 (file)
@@ -26,8 +26,8 @@
  *  ---
  *
  *  trechk.c: Check to see if an actor has violated a treaty.
- * 
- *  Known contributors to this file: 
+ *
+ *  Known contributors to this file:
  *      Steve McClure, 1998-1999
  */
 
index a5a3655d612d3435f439d97806d39b0e95fd4ab2..1d6da175d49ebfd658a5c13615c54e65764882e2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  unitsub.c: Common subroutines for multiple type of units
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  *     Markus Armbruster, 2008
index 2010f48767f9c7926e79c92806dac6fafbb88ee5..d2eaae3c5b52a940eb23f1739a611bacad7feea9 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  whatitem.c: Return pointer to item chr struct given an item name
- * 
+ *
  *  Known contributors to this file:
- * 
+ *
  */
 
 #include <config.h>
index 6b43bf30e3b2059fd7d08e88d435be3f0abc4926..5bcce21f30a9070a5d6b7a7126ebd4eba59f3c82 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  wu.c: Write a telegram to a user from another
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 2000
  */
@@ -57,7 +57,7 @@ clear_telegram_is_new(natid to)
 }
 
 /*
- * telegram_is_new counts new telegrams the same as read_telegrams in 
+ * telegram_is_new counts new telegrams the same as read_telegrams in
  * lib/commands/mail.c and lib/commands/rea.c
  */
 
index 29dca549f46659029f6a2c6a4e07f0b9324e6353..7f34f1537a7f2d8c1926a7998c90b8e23203f917 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  age.c: Age people
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index af4d4f107bf7071b5a08575e3bd6c6d6bd57c6f4..f07d4419e7d5d034187e4a3c1fad7827b6b64bc8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  anno.c: Delete announcements older than ANNO_KEEP_DAYS
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Doug Hay, 1998
index 3dd7b0d5e3b46d6d5202a45217d421accea5b0e7..cad281da34fca5dc52cf775b54d8f35d48a5399f 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  bp.c: The `build pointer' (bp) map
- * 
+ *
  *  Known contributors to this file:
  *     Ville Virrankoski, 1996
  *     Markus Armbruster, 2007
index 8ee140ec3555158c0035068c087bd259cc253ee1..8f154c0ae548dbd3910a9fa5e65d91ceda71a87e 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  deliver.c: Deliver commodities to neighboring sector
- * 
+ *
  *  Known contributors to this file:
- *  
+ *
  */
 
 #include <config.h>
index 462346d7e3a2c1120695d1023836e0843db080d4..685ab1fef9711144d3d588ac9412ca30bfadd3ee 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  distribute.c: Do distribution to sectors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998
index da03cee164c04f4ca5299c9fd797a34cd007f864..b8c8342c1b319199a458f986b54e018a02d8b79b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  finish.c: Finish the update
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Thomas Ruschak, 1993
index fea35adef6737f5bc950959402ac52861d8ffe81..8b8a23cf8fe4e222a78be87ba992fb0343e527a3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  human.c: Food related functions
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1996
index ee1c170fe0c9caaa767eb13834b9264c65166bfb..5c0fb5cf0fffbb5c50dcbef293028e1dd26ff804 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  land.c: Do production for land units
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Thomas Ruschak, 1992
index 3a6663b786a182ff55fd17e064da9fe5debb3053..32fa0595639b4a2171620e2a30bb0eb25423b5b5 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  main.c: World update main function
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1996
index dd1841c46c0587ea394dc6843e86d0a868761cbb..6aef082fe8560674e5443f23177d73424bdcfe33 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  material.c: Tries to find materials for production
- * 
+ *
  *  Known contributors to this file:
  *     Ville Virrankoski, 1996
  *     Markus Armbruster, 2007
index c37f5dd4006da0180d4236a661d2136d5b47c5cf..95a81aa57d0cf414ea32ee491cf6c2a273702605 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  mobility.c: Add mobility to each of the items which accumulate mobility.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998-1999
index 82728037adec00efc8b6c8a7a3d336242b52b952..1d94f5452e26e45b403e359e7c4bcf15c8081074 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  move_sat.c: Move a satellite to the next point in it's orbit.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index e7d50b0eec86c2a2ee6686f746a619b065100262..eba1ee283ce82979fab947a37fe406ddf386d39d 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nat.c: Accumulate tech, edu, research and happiness.
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  *     Steve McClure, 1997
index f34b56709cfc875c0060cb9eb06083077ca1ccd8..9670f1382d6b10b26477179ecf28ac2b86763fa8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nav_ship.c: Navigate ships and such
- * 
+ *
  *  Known contributors to this file:
  *     Chad Zabel, 1994
  *     Ken Stevens, 1995
@@ -228,7 +228,7 @@ nav_load_ship_at_sea(struct shpstr *sp)
 }
 
 /* new autonav code.
- * 
+ *
  * 1. Try and move to the next sector/harbor given by the player.
  * 2. Once we reach a harbor try and load all cargo holds for that ship.
  * 3. If the ship reaches its max levels set by the player try to use
@@ -237,8 +237,8 @@ nav_load_ship_at_sea(struct shpstr *sp)
  * the ship gets sunk (forts,ect..), the ship hits a mine.
  *
  * Questions, bugs (fixes) , or new ideas should be directed at
- * Chad Zabel.  
- * 6-1-94   
+ * Chad Zabel.
+ * 6-1-94
  * Modified to use shp_nav by Ken Stevens 1995
  */
 int
index ab97062083b9b05e7120b2bfa3f0c2d9f02993e5..0fd03dc920a3504a6d587ed06cacc51bc18886a9 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  nav_util.c: Utilities for autonav and sail
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
 #include "ship.h"
 #include "update.h"
 
-/* load a specific ship given its 
+/* load a specific ship given its
  * location and what field to modify.
  * new autonav code
- * Chad Zabel 6/1/94 
+ * Chad Zabel 6/1/94
  */
 int
 load_it(struct shpstr *sp, struct sctstr *psect, int i)
@@ -115,13 +115,13 @@ load_it(struct shpstr *sp, struct sctstr *psect, int i)
 
 }
 
-/* unload_it 
+/* unload_it
  * A guess alot of this looks like load_it but because of its location
  * in the autonav code I had to split the 2 procedures up.
  * unload_it dumps all the goods from the ship to the harbor.
  * ONLY goods in the trade fields will be unloaded.
  * new autonav code
- * Chad Zabel 6/1/94  
+ * Chad Zabel 6/1/94
  */
 void
 unload_it(struct shpstr *sp)
index 6d01e2ccb1920bc72b5409fb3e2ab70382f8f6ff..83d9d5961d517253b490b44b9c56aafab98231e2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  nxtitemp.c: Get next item from list
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1989
  */
index f1188f73f79b39f81ac3db3046569f43dbbdaf5e..e13f9818342ea384500bce4c4975187681f1291b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plague.c: Plague related functions
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1998-2000
  */
index ca4930196c0c57c93139546072cb2ff79487711f..c4a5369841e26e913c95de8015641b1313804383 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  plane.c: Do production for planes
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1998
index d73cc40080b97b436178c2011a8a1eef55853fde..c6f48703fd333ab20d3f11e639a1b78f8d8007f0 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  populace.c: Return workforce available
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  */
index 13e44f263021126c5c5e772765986d3c304f63c0..3ee6f7c5118df8afbef62de872aa1723921412e3 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  prepare.c: Perform prelimiary updates of sectors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Thomas Ruschak, 1992
index 027006f830fbff35f91513357a5bc3b5ddda6c2e..4c4c8dcace3384e1d720e6e2416c21af3cf7773c 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  produce.c: Produce goodies
- * 
+ *
  *  Known contributors to this file:
- *    
+ *
  */
 
 #include <config.h>
index 46cf4564cafe9a86eca37d8ddbeb06c478b1108a..f4283768bfccb471a58558c7b585353f9012cf44 100644 (file)
@@ -26,9 +26,9 @@
  *  ---
  *
  *  removewants.c: Remove the "I want an update" flag.
- * 
+ *
  *  Known contributors to this file:
- *     
+ *
  */
 
 #include <config.h>
index 65472588bde8e2f6849bd7b51cfe5357a8c19ead..d6fe613da5e018e4261820aa652b0f41f4efbb5a 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  revolt.c: Have disloyal populace revolt!
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1997-2000
index 6c0b81c29aa14bb1a846fdd84df3302ee32f5f34..079614cc481fa0a430d13e3e7aca6604096dec39 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sail.c: Sail ships during the update
- * 
+ *
  *  Known contributors to this file:
  *     Doug Hay
  *     Robert Forsman
index f1450f393f78ec81c34af4eb84f53e48457090d8..c6ceb9f32d6ddea75e01163dfb8197537e1540f8 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sect.c: Do production for sectors
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1996
@@ -291,7 +291,7 @@ produce_sect(int natnum, int etu, struct bp *bp, long p_sect[][2])
        } else
            vec = sp->sct_item;
 
-       /* If everybody is dead, the sector reverts to unowned. 
+       /* If everybody is dead, the sector reverts to unowned.
         * This is also checked at the end of the production in
         * they all starved or were plagued off.
         */
index e1e7e0710f8c650ec7deb16b55360227fefb8638..7d9e50a69e12e2f6d745bb396bbc1f6c459bab84 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  ship.c: Do production for ships
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1986
  *     Steve McClure, 1996
index e07e20314254029e4bf51a1a6cebe1bf3c6689e9..72ca0f1c9ab3108d8a17f38d23c7eb20113f8142 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  arpa/inet.h: POSIX networking for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 57a36518c644ea2dc26037717f814dba29c42b33..3c3434247f0b73d73dc969e80e99489cffd45575 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  netdb.h: POSIX networking for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 91fedbc650315e3ee608ae4c317a57426c3fecf2..9f0397c0c171275125fc0fa9271f339d6166dc7c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  netinet/in.h: POSIX networking for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 53fb4fa00372feea9e07b9663d1ac005dd22b634..cf8b0a6f385140cb08c5dac4497b8358c8d16e06 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  posixfile.c: POSIX equivalents for file operations
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index b813ae0e0ffd3e60382fa5bbfc67021046367bea..42ab8cde25816039394f853efcb355712dbb9e2c 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  posixio.c: POSIX IO emulation layer for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  *     Markus Armbruster, 2007-2008
@@ -314,7 +314,7 @@ posix_socket(int domain, int type, int protocol)
 {
     SOCKET handle;
     int new_fd;
-    
+
     if ((new_fd = get_fd()) < 0)
        return -1;
 
@@ -669,7 +669,7 @@ fcntl(int fd, int cmd, ...)
        if (type == FDMAP_IO_SOCKET) {
            result = WSAIoctl(handle, FIONBIO, NULL, 0,&nonblocking,
                sizeof (nonblocking), &bytes_returned, NULL, NULL);
-       
+
            if(result < 0) {
                errno = WSAGetLastError();
                return -1;
index 8cb654996c13e1da0bfa9f6023f82dc0d01ec9c7..d0b6ae9688567dda1e0dda4b0ab85ac5ea282e82 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  service.c: Windows services support
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2004
  */
@@ -57,7 +57,7 @@ install_service(char *program_name, char *service_name, char *config_file)
     schSCManager = OpenSCManager(NULL,NULL,SC_MANAGER_ALL_ACCESS);
 
     if (schSCManager == NULL) {
-        fprintf(stderr, "install_service failed to open Service Control Manager\n"); 
+        fprintf(stderr, "install_service failed to open Service Control Manager\n");
        return EXIT_FAILURE;
     }
 
@@ -74,7 +74,7 @@ install_service(char *program_name, char *service_name, char *config_file)
         NULL,                          /* database service dependency */
         NULL,                          /* LocalSystem account */
         NULL);                         /* no password */
+
     if (schService == NULL) {
        fprintf(stderr, "install_service failed to create service %s\n", service_name);
         return EXIT_FAILURE;
@@ -107,7 +107,7 @@ remove_service(char *service_name)
     schSCManager = OpenSCManager(NULL, NULL, SC_MANAGER_ALL_ACCESS);
 
     if (schSCManager == NULL) {
-        fprintf(stderr, "remove_service failed to open Service Control Manager\n"); 
+        fprintf(stderr, "remove_service failed to open Service Control Manager\n");
        return EXIT_FAILURE;
     }
 
@@ -124,81 +124,81 @@ remove_service(char *service_name)
     }
 
     if (CloseServiceHandle(hService) == 0) {
-        fprintf(stderr, "remove_service failed to close service %s\n", service_name); 
+        fprintf(stderr, "remove_service failed to close service %s\n", service_name);
         return EXIT_FAILURE;
     } else {
-        printf("Service %s removed.\n", service_name); 
+        printf("Service %s removed.\n", service_name);
         return EXIT_SUCCESS;
     }
 }
 
-static SERVICE_STATUS          service_status; 
+static SERVICE_STATUS          service_status;
 static SERVICE_STATUS_HANDLE   service_status_handle;
 
 static void WINAPI
-service_ctrl_handler(DWORD Opcode) 
-{ 
-    switch(Opcode) { 
-        case SERVICE_CONTROL_PAUSE: 
+service_ctrl_handler(DWORD Opcode)
+{
+    switch(Opcode) {
+        case SERVICE_CONTROL_PAUSE:
             service_status.dwCurrentState = SERVICE_PAUSED;
            logerror("Pausing the service not supported");
-            break; 
-        case SERVICE_CONTROL_CONTINUE: 
+            break;
+
+        case SERVICE_CONTROL_CONTINUE:
            logerror("Continuing the service not supported");
-            service_status.dwCurrentState = SERVICE_RUNNING; 
-            break; 
+            service_status.dwCurrentState = SERVICE_RUNNING;
+            break;
+
         case SERVICE_CONTROL_STOP:
            logerror("Service stopping");
            empth_request_shutdown();
-            return; 
-        case SERVICE_CONTROL_INTERROGATE: 
+            return;
+
+        case SERVICE_CONTROL_INTERROGATE:
         /* Fall through to send current status.  */
-            break; 
-        default: 
-            logerror("Unrecognized opcode %ld in ServiceCtrlHandler", 
-                Opcode); 
-    } 
+            break;
+
+        default:
+            logerror("Unrecognized opcode %ld in ServiceCtrlHandler",
+                Opcode);
+    }
+
     /* Send current status. */
     if (!SetServiceStatus (service_status_handle,  &service_status))
-        logerror("SetServiceStatus error %ld",GetLastError()); 
-    return; 
-} 
+        logerror("SetServiceStatus error %ld",GetLastError());
+    return;
+}
 
 void WINAPI
 service_main(DWORD argc, LPTSTR *argv)
 {
     int sig;
-    
-    service_status.dwServiceType        = SERVICE_WIN32; 
-    service_status.dwCurrentState       = SERVICE_START_PENDING; 
-    service_status.dwControlsAccepted   = SERVICE_ACCEPT_STOP; 
-    service_status.dwWin32ExitCode      = 0; 
-    service_status.dwServiceSpecificExitCode = 0; 
-    service_status.dwCheckPoint         = 0; 
-    service_status.dwWaitHint           = 0; 
+
+    service_status.dwServiceType        = SERVICE_WIN32;
+    service_status.dwCurrentState       = SERVICE_START_PENDING;
+    service_status.dwControlsAccepted   = SERVICE_ACCEPT_STOP;
+    service_status.dwWin32ExitCode      = 0;
+    service_status.dwServiceSpecificExitCode = 0;
+    service_status.dwCheckPoint         = 0;
+    service_status.dwWaitHint           = 0;
+
     service_status_handle = RegisterServiceCtrlHandler(
         DEFAULT_SERVICE_NAME, service_ctrl_handler);
-    if (service_status_handle == (SERVICE_STATUS_HANDLE)0) { 
+
+    if (service_status_handle == (SERVICE_STATUS_HANDLE)0) {
         logerror("RegisterServiceCtrlHandler failed %lu\n", GetLastError());
        finish_server();
         return;
     }
+
     start_server(0);
+
     /* Initialization complete - report running status. */
-    service_status.dwCurrentState       = SERVICE_RUNNING; 
-    service_status.dwCheckPoint         = 0; 
-    service_status.dwWaitHint           = 0; 
-    if (!SetServiceStatus (service_status_handle, &service_status)) { 
+    service_status.dwCurrentState       = SERVICE_RUNNING;
+    service_status.dwCheckPoint         = 0;
+    service_status.dwWaitHint           = 0;
+
+    if (!SetServiceStatus (service_status_handle, &service_status)) {
         logerror("SetServiceStatus error %ld\n", GetLastError());
     }
 
@@ -214,12 +214,12 @@ void
 stop_service(void)
 {
     logerror("Service stopped");
-    service_status.dwWin32ExitCode = 0; 
-    service_status.dwCurrentState  = SERVICE_STOPPED; 
-    service_status.dwCheckPoint    = 0; 
-    service_status.dwWaitHint      = 0; 
+    service_status.dwWin32ExitCode = 0;
+    service_status.dwCurrentState  = SERVICE_STOPPED;
+    service_status.dwCheckPoint    = 0;
+    service_status.dwWaitHint      = 0;
 
-    if (!SetServiceStatus (service_status_handle, &service_status)) 
+    if (!SetServiceStatus (service_status_handle, &service_status))
        logerror("Error while stopping service SetServiceStatus"
-           " error %ld", GetLastError()); 
+           " error %ld", GetLastError());
 }
index bd152404a84c9f832be217e216c9be8264ee9da6..655cfa5ef38c227fde7a8be9ffa85476621e2148 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sys/socket.h: POSIX socket emulation for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 253ab681367fdc17c1b2a1abd94f0248c609706e..c32bf63dbee1d8583a1a5006d416e040762e3f2b 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  sys/uio.h: POSIX emulation for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 807be4a5f87294266c6140c0f71b194f0247ec08..8e9774aec785419300948fec1eae67011f3be258 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  unistd.h: POSIX emulation for WIN32
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 9918febdb91bd761af2b374a82ccbd3bdf15edd0..bd64f94b23ad00e457f72065e39b1f34892ec0c2 100644 (file)
@@ -27,7 +27,7 @@
  *
  *  w32misc.h: POSIX emulation for WIN32
  *     Stuff that can not be put in the equivalent include files
- * 
+ *
  *  Known contributors to this file:
  *     Ron Koenderink, 2007
  */
index 58607afedf868e13e89347af6821ad2185cb642b..8f4f2d65f755208fc2bf3305e0ce44f5f86625aa 100755 (executable)
@@ -312,16 +312,16 @@ fi
                *)
 
        echo "Removing existing server.log and journal.log"
-       if [ -f "../var/empire/server.log" ] 
+       if [ -f "../var/empire/server.log" ]
        then
            rm "../var/empire/server.log"
        fi
-       if [ -f "../var/empire/journal.log" ] 
+       if [ -f "../var/empire/journal.log" ]
        then
            rm "../var/empire/journal.log"
        fi
        echo "Removing existing schedule"
-       if [ -f "../etc/empire/schedule" ] 
+       if [ -f "../etc/empire/schedule" ]
        then
            >../etc/empire/schedule
        fi
@@ -357,7 +357,7 @@ fi
                }
        echo "Done (newcap_script / empire)."
        echo ""
-       
+
        echo "TODO: Replace this with a real test script."
        echo "Just do some rudimentary testing for now."
        echo ""
@@ -549,7 +549,7 @@ EOF
        runfeed 8 << EOF
 cen *
 map #
-read y 
+read y
 exp c 0,0 50 gyyygh
 des -7,-3 )
 lost *
@@ -590,7 +590,7 @@ EOF
        runfeed 8 << EOF
 cen *
 map #
-read y 
+read y
 lost *
 EOF
        echo "Run an update"
@@ -1033,10 +1033,10 @@ EOF
        echo "Done (kill)."
 cd "${BOXDIR}/${WORKDIR}/emp4/var/empire" || err "Could not cd to ${BOXDIR}/${WORKDIR}/emp4/var/empire"
        echo "-- Start Server Log --"
-       cat server.log 
+       cat server.log
        echo "-- End of Server Log --"
        echo "-- Start Journal Log --"
-       cat journal.log 
+       cat journal.log
        echo "-- End of Journal Log --"
        echo "Server stopped"
                                        ;;
index c995fd345f9fe140601c1cd82309468524bb3bd1..02b5f3b4b8e1eaacaeb7cbf02b403b7a071fa387 100644 (file)
@@ -4,7 +4,7 @@ index ae851ae..872c363 100644
 +++ b/src/lib/common/file.c
 @@ -384,7 +384,7 @@ do_write(struct empfile *ep, void *buf, int id, int count)
        return -1;
+
      if (ep->flags & EFF_TYPED) {
 -      now = ep->flags & EFF_NOTIME ? (time_t)-1 : time(NULL);
 +      now = ep->flags & EFF_NOTIME ? (time_t)-1 : (time_t)100;
index ceb2006421bbe63debe63583e588b83b553f54e9..cfbc58912b432c6276ffd8540e8d6f693216936a 100644 (file)
@@ -3,7 +3,7 @@ index 8e410e6..b29c0a2 100644
 --- a/src/lib/commands/lost.c
 +++ b/src/lib/commands/lost.c
 @@ -51,7 +51,7 @@ lost(void)
+
      prdate();
      nlost = 0;
 -    time(&now);
index 19f1e10d86060f5879ec609c2e89cbc82200fb77..4a917443fa1e5287d6f1c68d7f6836c2649c1ada 100644 (file)
@@ -4,7 +4,7 @@ Index: empserver/src/lib/subs/pr.c
 @@ -68,6 +68,13 @@
  static void upr_player(struct player *pl, int id, char *buf);
  static void outid(struct player *pl, int n);
+
 +/* Hack for nightlybuild */
 +char *
 +ctime(const time_t *clock)
@@ -22,5 +22,5 @@ Index: empserver/src/lib/subs/pr.c
 -    pr_id(player, C_PROMPT, "%d %d\n", min, btu);
 +    pr_id(player, C_PROMPT, "0 640\n"); /* Hack for nightlybuild */
  }
+
  /*
index f44ed6f3f6b3ad87905beff4a1b5afb4a7420055..f96b9db0a0301673204fdc5bdda0f248a135bb40 100644 (file)
@@ -8,5 +8,5 @@ Index: empserver/src/lib/global/constants.c
 -char *pre_update_hook = "";
 +char *pre_update_hook = "echo pre_update_hook executed here";
  int max_idle = 15;            /* session dies after max_idle minutes idle */
+
  int sect_mob_max = 127;               /* sector mobility limits */
index 5ca5c16d62cc009449c01bf0a42958c7c9586ba2..ba0f7672f3494d61d55e4bb6bae4a8e341ebc439 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  idle.c: Stamps out idle players.  Runs at low priority
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  */
index e487759a053815df96f41490596a495046889f84..2bcdd2d9b770811aadab3c6ddf0cb137a07dd707 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  main.c: Empire Server main, startup and shutdown
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1996, 1998
index a18ead21d7fcf7ffb58702d9af61709e790d1c4f..925c844278a099edd3092fff310ce6f139e37428 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  marketup.c: Market updater thread
- * 
+ *
  *  Known contributors to this file:
  *     Steve McClure, 1996
  *     Markus Armbruster, 2007
index 7c739de3978efdfa6c854acb15a204f0e315a62c..0bf329005b569c2f87fe8b629175708efbf62b93 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  shutdown.c: Shuts down server.  Runs at low priority.
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Markus Armbruster, 2007-2008
index 5477c0d429157c8edf93ffd5702e9aceedfb6bd6..28cb0772e5bf9d109b4d02e7e11b7ab41d050e08 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  update.c: Update scheduler
- * 
+ *
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1996
@@ -221,9 +221,9 @@ int
 run_hook(char *cmd, char *name)
 {
     int status;
-    
+
     fflush(NULL);
-    
+
     status = system(cmd);
     if (status == 0)
        ;                       /* successful exit */
index a486e3af40ab4ab00a2c9281240eca8222d765f8..caeb049f2033d4ea1e1904e46e1707d76ad23a25 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empdump.c: Export/import Empire game state
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2008
  */
index 3b626f0d210b54fdcc67191152be70791395a63c..1ac1cdc1c4ce89941283adb0d65c6defeb4c984e 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  empsched.c: Show the update schedule
- * 
+ *
  *  Known contributors to this file:
  *     Markus Armbruster, 2007
  */
index 1069a3942d7bf156bdd1ccc4cbde5871ac76e8b8..77a5a538a5baeacc6280e0a6a16333ab874b32e2 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  fairland.c: Create a nice, new world
- * 
+ *
  *  Known contributors to this file:
  *     Ken Stevens, 1995
  *     Steve McClure, 1998
index 43ae38781de0a8a3616917ce8e3ee8c17534d689..b68fc06b3d5b4d0e70576f9927c6d147bf71ea20 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  files.c: Create all the misc files
- * 
+ *
  *  Known contributors to this file:
  *     Thomas Ruschak
  *     Ken Stevens, 1995
index e9942e2adfafee0a5b635f86f041783c2de7a721..b8ba33ea39705df750feeb58405316ba7cc36747 100644 (file)
@@ -26,7 +26,7 @@
  *  ---
  *
  *  pconfig.c: Print the empire configuration
- * 
+ *
  *  Known contributors to this file:
  *     Julian Onions
  */