tAll HTML docs made XHTML 1.1 compliant. - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 36c606ce418559c2743a49766148e43540a10136
 (DIR) parent 62cd2c69dba8aa79e59a6ee24a6ff60d7c5300d0
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Mon, 15 Jul 2002 16:43:37 +0000
       
       All HTML docs made XHTML 1.1 compliant.
       
       
       Diffstat:
         M doc/aiplayer.html                   |      11 +++++++----
         M doc/clientplay.html                 |      25 ++++++++++++++-----------
         M doc/commandline.html                |      29 ++++++++++++++++-------------
         M doc/configfile.html                 |      37 +++++++++++++++++--------------
         M doc/credits.html                    |      11 +++++++----
         M doc/developer.html                  |      11 +++++++----
         M doc/i18n.html                       |      21 ++++++++++++---------
         M doc/index.html                      |      24 ++++++++++++++++++------
         M doc/installation.html               |      19 +++++++++++--------
         M doc/metaserver.html                 |      23 +++++++++++++----------
         M doc/protocol.html                   |      38 ++++++++++++++++---------------
         M doc/server.html                     |      19 +++++++++++--------
         M doc/servercommands.html             |      11 +++++++----
         M doc/windows.html                    |      12 +++++++-----
       
       14 files changed, 170 insertions(+), 121 deletions(-)
       ---
 (DIR) diff --git a/doc/aiplayer.html b/doc/aiplayer.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Adding computer-controlled players</title>
       t@@ -56,6 +56,9 @@ to the next dopewars release.</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>13-05-2001</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/clientplay.html b/doc/clientplay.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Playing the game: the dopewars client</title>
       t@@ -40,7 +40,7 @@ using the default settings before getting too adventurous!</p>
        <li><a href="#multiplayer">Multiplayer: interacting with other players</a></li>
        </ul>
        
       -<h2><a name="startup">Starting the dopewars client</a></h2>
       +<h2><a id="startup">Starting the dopewars client</a></h2>
        <ul>
        <li>From the command prompt, run the dopewars client with the command<br />
        <tt><b>dopewars</b></tt><br />
       t@@ -51,7 +51,7 @@ or to run an <a href="commandline.html#antique">"antique"</a> mode game,<br />
        game and version and licensing information. Press any key to clear this.</li>
        </ul>
        
       -<h2><a name="screen">The main game screen</a></h2>
       +<h2><a id="screen">The main game screen</a></h2>
        
        <p>The game screen is your interface with the dopewars world. At the top of the
        screen, from left to right, is displayed the game date, the game location
       t@@ -76,7 +76,7 @@ which messages from other players (if any) will appear.</p>
        trenchcoat which can carry 100 drugs. Antique mode also disables the
        messages window.</p>
        
       -<h2><a name="server">Connecting to a dopewars server (or not)</a></h2>
       +<h2><a id="server">Connecting to a dopewars server (or not)</a></h2>
        
        <p>On starting a game of dopewars, the first thing you must do is give
        yourself a name. This identifies you to the server and to other players. If
       t@@ -95,7 +95,7 @@ C, L, P, or Q keys respectively. If you don't want the client to attempt to
        connect to a server, this can be set - full details are given in the section
        on <a href="configfile.html#Server">configuration files</a>.</p>
        
       -<h2><a name="dealing">Dealing drugs and moving around</a></h2>
       +<h2><a id="dealing">Dealing drugs and moving around</a></h2>
        
        <p>The New York of dopewars is divided into 8 (6 in "antique" mode) locations.
        At each of these locations, a variety of drugs, with fluctuating prices, are
       t@@ -121,7 +121,7 @@ to free up space in your inventory (with the "D" key). Of course, this does
        not get you any money, and there is a chance that the cops may catch you in
        the act and attack you (see below).</p>
        
       -<h2><a name="finance">Your finances: loans and banks</a></h2>
       +<h2><a id="finance">Your finances: loans and banks</a></h2>
        
        <p>Buying and selling drugs may make money, but unfortunately you start the game
        with a debt to the loan shark of $5,000. Every turn this accumulates
       t@@ -140,7 +140,7 @@ your money in the bank lets you accumulate interest on it, and prevents it
        from being stolen if you are mugged (which does occasionally happen). Money
        in the bank also contributes to your high score at the end of the game.</p>
        
       -<h2><a name="cops">Law enforcement and why it's a bad thing</a></h2>
       +<h2><a id="cops">Law enforcement and why it's a bad thing</a></h2>
        
        <p>When you jet to a new location, one or more "random events" may occur.
        Usually this is just something such as a drug bust which affects drug prices,
       t@@ -181,7 +181,7 @@ attacked on your travels, you also run a high risk of being shot at by the
        cops if you drop drugs (dispose of drugs that you can't get any cash for)
        or if you attack other players.</p>
        
       -<h2><a name="multiplayer">Multiplayer: interacting with other players</a></h2>
       +<h2><a id="multiplayer">Multiplayer: interacting with other players</a></h2>
        
        <p>If you log on to a dopewars server, there is the possibility of meeting other
        players, either human or computer-controlled. When joining a game which
       t@@ -241,6 +241,9 @@ bitch or player was carrying.</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>13-05-2001</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/commandline.html b/doc/commandline.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>dopewars command line options</title>
       t@@ -39,18 +39,18 @@ have GNU getopt; this <b>excludes</b> the Windows version.</p>
        you're running) not to use coloured text (by default, colour is used if the
        terminal and curses support it).</dd>
        
       -<dt><a name="singleplayer"><b>-n</b>, <b>--single-player</b></a></dt>
       +<dt><a id="singleplayer"><b>-n</b>, <b>--single-player</b></a></dt>
        <dd>If running the client, run in single-player mode. Don't try to connect
        to any available dopewars servers.</dd>
        
       -<dt><a name="antique"><b>-a</b>, <b>--antique</b></a></dt>
       +<dt><a id="antique"><b>-a</b>, <b>--antique</b></a></dt>
        <dd>Puts the client into "antique" mode; dopewars is derived from the
        earlier game for MS-DOS of the same name, which in turn was based on
        "Drug Wars" by John E. Dell. "Antique" mode aims to follow the behaviour
        of the MS-DOS dopewars closely, and consequently this entails single-player
        mode also.</dd>
        
       -<dt><a name="hiscore"><b>-f <i>file</i></b>, <b>--scorefile=<i>file</i></b>
       +<dt><a id="hiscore"><b>-f <i>file</i></b>, <b>--scorefile=<i>file</i></b>
        </a></dt>
        <dd>Specifies the path and name of the file used to store the dopewars
        high scores in; this can alternatively be specified in the configuration file
       t@@ -59,7 +59,7 @@ option. (N.B. This option cannot be used to get dopewars to open a high
        score file with privilege when running setuid/setgid; all privileges are
        dropped by this point for security.)</dd>
        
       -<dt><a name="server"><b>-o <i>addr</i></b>, <b>--hostname=<i>addr</i></b>
       +<dt><a id="server"><b>-o <i>addr</i></b>, <b>--hostname=<i>addr</i></b>
        </a></dt>
        <dd>Gives the name of the machine running a dopewars server, in human
        readable (e.g. "nowhere.com") or dotted quad (e.g. 127.0.0.1) form. When the
       t@@ -68,7 +68,7 @@ connect to this server for a multiplayer game. This can also be specified with
        the <a href="configfile.html#Server">Server=<i>addr</i></a> configuration file
        option.</dd>
        
       -<dt><a name="port"><b>-p <i>port</i></b>, <b>--port=<i>port</i></b></a></dt>
       +<dt><a id="port"><b>-p <i>port</i></b>, <b>--port=<i>port</i></b></a></dt>
        <dd>Specifies the numeric port number which the server uses. This is usually
        7902, but some servers may use other port numbers to avoid conflicts with
        other services running on the machine. If you are running the dopewars client,
       t@@ -90,7 +90,7 @@ status to the <a href="metaserver.html">metaserver</a>, unless it is set
        otherwise in the <a href="configfile.html#MetaServerActive">configuration
        file</a>.</dd>
        
       -<dt><a name="privateserver"><b>-S</b>, <b>--private-server</b></a></dt>
       +<dt><a id="privateserver"><b>-S</b>, <b>--private-server</b></a></dt>
        <dd>Also runs a dopewars server, but in this case <b>does not</b> report its
        status to the metaserver. This does not stop clients from connecting to your
        server, of course (unless it is behind a firewall, or the
       t@@ -120,13 +120,13 @@ that change these same settings, will then override them.</dd>
        The file is a one-line text file, containing the process ID of the dopewars
        server process, and is deleted when the server quits.</dd>
        
       -<dt><a name="computer"><b>-c</b>, <b>--ai-player</b></a></dt>
       +<dt><a id="computer"><b>-c</b>, <b>--ai-player</b></a></dt>
        <dd>Runs a computerised player. This will connect to the specifed dopewars
        server and join in the multiplayer game going on there. When the player
        finishes the game (or is eliminated by the other players or the server) the
        program finishes.</dd>
        
       -<dt><a name="gui-client"><b>-w</b>, <b>--windowed-client</b></a></dt>
       +<dt><a id="gui-client"><b>-w</b>, <b>--windowed-client</b></a></dt>
        <dd>If running a dopewars client, then this forces the use of a graphical
        user interface. Under Microsoft Windows, this is an "ordinary" window, while
        under Unix, this uses GTK+. If a suitable environment is not present (e.g.
       t@@ -135,7 +135,7 @@ you are not running X) then dopewars will quit with an error. By default,
        if neither -w or -t are specified, then a graphical user interface will be
        used where available, falling back to a text-mode client in case of error.</dd>
        
       -<dt><a name="text-client"><b>-t</b>, <b>--text-client</b></a></dt>
       +<dt><a id="text-client"><b>-t</b>, <b>--text-client</b></a></dt>
        <dd>When running a dopewars client, forces the use of a text-mode (curses
        or console mode) interface, even if graphics are available.</dd>
        
       t@@ -168,6 +168,9 @@ contact details.</dd>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>25-06-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/configfile.html b/doc/configfile.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>dopewars configuration files</title>
       t@@ -70,16 +70,16 @@ locations</a></li>
        <li><a href="#advanced">Advanced configuration</a></li>
        </ul>
        
       -<h2><a name="fileloc">General configuration: file and server locations</a></h2>
       +<h2><a id="fileloc">General configuration: file and server locations</a></h2>
        
        <dl>
       -<dt><a name="Port"><b>Port=<i>7902</i></b></a></dt>
       +<dt><a id="Port"><b>Port=<i>7902</i></b></a></dt>
        <dd>Tells the dopewars client to look for a server on port <i>7902</i>, and
        tells the dopewars server to bind to port <i>7902</i> and wait for connections.
        This can be overridden with the -p <a href="commandline.html#port">
        command line option</a>.</dd>
        
       -<dt><a name="Server"><b>Server=<i>"localhost"</i></b></a></dt>
       +<dt><a id="Server"><b>Server=<i>"localhost"</i></b></a></dt>
        <dd>Tells the dopewars client to look for a server at the address
        <i>localhost</i>. Dotted quad (e.g. 127.0.0.1) addresses may also be used here.
        If this variable is set to one of the three "special" names
       t@@ -140,7 +140,7 @@ the user for a username and password on each connect instead.)</dd>
        <dt><b>Socks.Auth.Password=<i>""</i></b></dt>
        <dd>The corresponding password for Socks.Auth.User, above.</dd>
        
       -<dt><a name="HiScoreFile"><b>HiScoreFile=<i>"/var/lib/dopewars.sco"</i></b></a>
       +<dt><a id="HiScoreFile"><b>HiScoreFile=<i>"/var/lib/dopewars.sco"</i></b></a>
        </dt>
        <dd>Tells the dopewars server (or the client, if running in single-player
        mode, not connected to a server) to use the file <i>/var/lib/dopewars.sco</i>
       t@@ -175,9 +175,9 @@ to TRUE; this only takes effect, of course, after the ConfigVerbose variable is
        set, and then remains in force until it is reset again.</dd>
        </dl>
        
       -<h2><a name="metaserver">Metaserver configuration</a></h2>
       +<h2><a id="metaserver">Metaserver configuration</a></h2>
        <dl>
       -<dt><a name="MetaServerActive"><b>MetaServer.Active=<i>TRUE</i></b></a></dt>
       +<dt><a id="MetaServerActive"><b>MetaServer.Active=<i>TRUE</i></b></a></dt>
        <dd>Tells the dopewars server to report its status to the
        <a href="metaserver.html">metaserver</a>. If <i>TRUE</i>
        is replaced by <i>FALSE</i> the server will not report to the metaserver.
       t@@ -210,7 +210,7 @@ if MetaServer.ProxyName is blank.</dd>
        registration (server mode) or listing the available servers (client mode) is
        <i>/metaserver.php</i>.</dd>
        
       -<dt><a name="MetaServerComment"><b>MetaServer.Comment=<i>"dopewars
       +<dt><a id="MetaServerComment"><b>MetaServer.Comment=<i>"dopewars
        server"</i></b></a></dt>
        <dd>Sets the comment for your server, which appears on the list of servers
        maintained by the metaserver, to <i>dopewars server</i>.</dd>
       t@@ -254,7 +254,7 @@ server or AI player to authenticate itself with a web proxy.</dd>
        
        </dl>
        
       -<h2><a name="places">Basic configuration: places in the game</a></h2>
       +<h2><a id="places">Basic configuration: places in the game</a></h2>
        
        <dl>
        <dt><b>NumLocation=<i>8</i></b></dt>
       t@@ -313,7 +313,7 @@ the game.</dd>
        <dd>The pub is known by the name <i>"the pub"</i> during the game.</dd>
        </dl>
        
       -<h2><a name="drugs">Basic configuration: drug prices</a></h2>
       +<h2><a id="drugs">Basic configuration: drug prices</a></h2>
        <dl>
        <dt><b>NumDrug=<i>12</i></b></dt>
        <dd>Sets there to be <i>12</i> different types of drug in the game.</dd>
       t@@ -367,7 +367,7 @@ normal price distribution (between Drug[x].MinPrice and Drug[x].MaxPrice) by
        <i>4</i>.</dd>
        </dl>
        
       -<h2><a name="combat">Basic configuration: guns and fighting</a></h2>
       +<h2><a id="combat">Basic configuration: guns and fighting</a></h2>
        <dl>
        <dt><b>NumGun=<i>4</i></b></dt>
        <dd>Configures the game to have <i>4</i> guns available to players at the
       t@@ -452,7 +452,7 @@ against a player.</dd>
        <dd>The first cop's deputies will each carry <i>1</i> gun.</dd>
        </dl>
        
       -<h2><a name="advanced">Advanced configuration</a></h2>
       +<h2><a id="advanced">Advanced configuration</a></h2>
        <dl>
        <dt><b>Currrency.Symbol=<i>$</i></b></dt>
        <dd>Uses the dollar (<i>$</i>) symbol to display all prices of drugs, guns,
       t@@ -515,11 +515,11 @@ server for <i>14400</i> seconds, he/she will be automatically disconnected.</dd>
        of connecting or disconnecting to the server, the server will sever the
        connection.</dd>
        
       -<dt><a name="MaxClients"><b>MaxClients=<i>20</i></b></a></dt>
       +<dt><a id="MaxClients"><b>MaxClients=<i>20</i></b></a></dt>
        <dd>Prevents more than <i>20</i> clients from connecting to the server at
        any one time.</dd>
        
       -<dt><a name="AITurnPause"><b>AITurnPause=<i>5</i></b></a></dt>
       +<dt><a id="AITurnPause"><b>AITurnPause=<i>5</i></b></a></dt>
        <dd>Makes computer-controlled client players run from this machine (not
        necessarily AI players that connect to a server run on this machine) wait
        <i>5</i> seconds between moving from location to location - i.e. a turn
       t@@ -634,6 +634,9 @@ can be configured in the same way are: <b>FightMiss</b>, <b>FightReload</b>,
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>25-06-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/credits.html b/doc/credits.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Credits and acknowledgements</title>
       t@@ -61,6 +61,9 @@ for translating dopewars into other languages.</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>05-07-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/developer.html b/doc/developer.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Notes for developers</title>
       t@@ -41,6 +41,9 @@ with questions on this; I might possibly even know the answers!</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>25-10-2001</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/i18n.html b/doc/i18n.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Internationalization</title>
       t@@ -29,7 +29,7 @@ version</a></li>
        <li><a href="#current">Currently available translations</a></li>
        </ul>
        
       -<h2><a name="running">Running dopewars with i18n support</a></h2>
       +<h2><a id="running">Running dopewars with i18n support</a></h2>
        <p>i18n is only included in versions of dopewars later than 1.4.8. By default,
        "Native Language Support" is compiled in; binary installations should be
        already set up for i18n. When compiling dopewars from source code, the
       t@@ -56,7 +56,7 @@ should ensure that dopewars (and all other i18n-aware programs launched from
        this shell) will use the German language.</li>
        </ul>
        
       -<h2><a name="adding">Adding a new translation</a></h2>
       +<h2><a id="adding">Adding a new translation</a></h2>
        <p>Translation files are kept in the subdirectory <tt>po/</tt> of the dopewars
        source code distribution. They are named by
        <a href="http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_639.html">
       t@@ -93,7 +93,7 @@ probably crash the program on running! To fix this, use the special notation<br 
        (i.e. replace <b>%x</b> with <b>%n$x</b> where <b>n</b> is the index that the
        format specifier "should" have, starting from 1.)</p>
        
       -<h2><a name="dopespec">dopewars specifics</a></h2>
       +<h2><a id="dopespec">dopewars specifics</a></h2>
        <ul>
        <li>When questions are asked in the curses (text mode) client, the keys that
        you are allowed to press in reply are stored in a string. This should be
       t@@ -145,7 +145,7 @@ not need to be translated).</p>
        
        </ul>
        
       -<h2><a name="updating">Updating a translation for a new dopewars
       +<h2><a id="updating">Updating a translation for a new dopewars
        version</a></h2>
        
        <p>New versions of dopewars will often change what is printed to the user, and
       t@@ -165,7 +165,7 @@ Rebuild and reinstall dopewars, and the new translations should become
        available. Again, it is deeply appreciated if such updated files are
        contributed to the main dopewars distribution!</p>
        
       -<h2><a name="current">Currently available translations</a></h2>
       +<h2><a id="current">Currently available translations</a></h2>
        
        <ul>
        <li>French (<tt>fr.po</tt>)
       t@@ -212,7 +212,10 @@ contributed to the main dopewars distribution!</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>05-07-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        
        </body>
        </html>
 (DIR) diff --git a/doc/index.html b/doc/index.html
       t@@ -1,11 +1,17 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
       +<style type="text/css">
       +<!--
       +col.linklist    { width: 35% }
       +td.linklist     { vertical-align: top }
       +-->
       +</style>
        <title>dopewars 1.5.7: Main Index</title>
        </head>
        
       t@@ -13,9 +19,11 @@
        <h1>dopewars 1.5.7: Main Index</h1>
        
        <table>
       +<col class="linklist" />
       +<col />
        
        <tr>
       -<td>
       +<td class="linklist">
        <a href="installation.html">Obtaining and installing dopewars</a><br />
        <a href="commandline.html">dopewars command line options</a><br />
        <a href="clientplay.html">Playing the game: the dopewars client</a><br />
       t@@ -29,7 +37,7 @@
        <a href="credits.html">Credits and acknowledgements</a><br />
        </td>
        
       -<td>
       +<td valign="top">
        <p>dopewars is a game simulating the life of a drug dealer in 1984 New York,
        based upon the MS-DOS game of the same name, in turn derived from "Drug
        Wars" by John E. Dell. The aim of the game is to make lots and lots of
       t@@ -54,6 +62,10 @@ freely available under the <a href="LICENCE">GNU General Public License</a>.</p>
        </table>
        
        <hr />
       -<p>Last update: <b>25-06-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +  and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/installation.html b/doc/installation.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Obtaining and installing dopewars</title>
       t@@ -38,7 +38,7 @@ equivalent, such as ncurses or cur_colr) for the text-mode client, and the
        <li><a href="#tarball">Tarball installation</a></li>
        </ul>
        
       -<h2><a name="win32">Windows installation</a></h2>
       +<h2><a id="win32">Windows installation</a></h2>
        <p>The easiest way to install the Windows version is to download the Windows
        installer program from the
        <a href="http://dopewars.sourceforge.net/download.html">download page</a>, and
       t@@ -49,7 +49,7 @@ icons, etc. If, however, you wish to build the program from the source code,
        see the <a href="#tarball">tarball installation</a> section below, and also
        see the <a href="windows.html">Windows page</a>.</p>
        
       -<h2><a name="rpmbinary">RPM binary installation</a></h2>
       +<h2><a id="rpmbinary">RPM binary installation</a></h2>
        <p>The binary RPMs are built for Compaq (formerly DEC) Alpha systems running
        RedHat Linux 7.0, and Intel (also Intel compatibles, such as AMD, Cyrix, etc.)
        systems running RedHat Linux 7.1. On other systems, these binary RPMs may
       t@@ -76,7 +76,7 @@ the command<br />
        already-installed earlier version.</li>
        </ol>
        
       -<h2><a name="rpmsource">RPM source installation</a></h2>
       +<h2><a id="rpmsource">RPM source installation</a></h2>
        <p>This route is open to you if your system has "rpm", but the binary RPMs do
        not work on your system, or your machine is not an Intel or Alpha (a PowerMac,
        for example). It involves obtaining the RPM of the source code, and then
       t@@ -101,7 +101,7 @@ the output of the above - usually /usr/src/redhat/RPMS/<i>xxx</i>, where
        <tt><b>rpm -Uvh dopewars-1.5.7-1.<i>xxx</i>.rpm</b></tt></li>
        </ol>
        
       -<h2><a name="tarball">Tarball installation</a></h2>
       +<h2><a id="tarball">Tarball installation</a></h2>
        <p>If you don't have, or don't want to use, RPM, you can obtain the source code
        in gzipped, tarred ("tarball") format and recompile and install it yourself.
        This is also usually a necessity if you cannot become root (the superuser) on
       t@@ -153,6 +153,9 @@ with a command such as<br />
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>25-06-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/metaserver.html b/doc/metaserver.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>The dopewars metaserver</title>
       t@@ -31,19 +31,19 @@ pick the game that most suits them. This is the function of the dopewars
        </li>
        </ul>
        
       -<h2><a name="location">Metaserver location</a></h2>
       +<h2><a id="location">Metaserver location</a></h2>
        <p>The metaserver is a <a href="http://www.php.net/">PHP</a> script which lives
        at <a href="http://sourceforge.net/">SourceForge</a>. It is accessed by both
        dopewars servers and clients via. TCP connection to port 80, by standard
        HTTP.</p>
        
       -<h2><a name="oldmeta">The "old" metaserver</a></h2>
       +<h2><a id="oldmeta">The "old" metaserver</a></h2>
        <p>Versions of dopewars prior to 1.5.1 used a different metaserver system,
        which is now deprecated. Although the old system will continue to run for some
        time, it will eventually be discontinued, so it is recommended that dopewars
        servers and clients are upgraded to the latest version.</p>
        
       -<h2><a name="client">Using the metaserver from the client</a></h2>
       +<h2><a id="client">Using the metaserver from the client</a></h2>
        <p>Players who want to use the metaserver to list the currently available
        servers should go to
        <a href="http://dopewars.sourceforge.net/metaserver.php?getlist=2">this
       t@@ -65,7 +65,7 @@ configuration file</a>:-<br />
        <b>MetaServer.ProxyName="proxy.com"<br />
        MetaServer.ProxyPort=8080</b></p>
        
       -<h2><a name="server">Using the metaserver from the server</a></h2>
       +<h2><a id="server">Using the metaserver from the server</a></h2>
        <p>People running servers who <b>do not</b> want their details listed by the
        metaserver should disable the metaserver comunication of the server with
        the <a href="configfile.html#MetaServerActive">MetaServer.Active=0</a>
       t@@ -83,7 +83,7 @@ game. See the <a href="server.html">server page</a> for more details.</p>
        metaserver if you are using a web proxy; see the information
        <a href="#client">above</a> for fixing this problem.</p>
        
       -<h3><a name="wrongip">But it's displaying the wrong name!</a></h3>
       +<h3><a id="wrongip">But it's displaying the wrong name!</a></h3>
        <p>Once connected to the metaserver, you may find that it displays the IP
        address of your server and not its domain name, or that it gets the domain
        name wrong. This is usually because your DNS is not set up to translate
       t@@ -114,7 +114,7 @@ MetaServer.Password="Dope-Auth"</b></p>
        <p>Restart your dopewars server, or send it a SIGUSR1 signal, for changes
        to these variables to take effect.</p>
        
       -<h3><a name="dynamicip">But my server has a dynamic IP...</a></h3>
       +<h3><a id="dynamicip">But my server has a dynamic IP...</a></h3>
        <p>Finally, your server's IP may be resolved happily, but you may have a
        connection to the internet which assigns you a dynamic IP. Consider what
        happens if your connection is broken before the dopewars server exits; the
       t@@ -132,6 +132,9 @@ will automatically replace the "old" one.</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>11-05-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/protocol.html b/doc/protocol.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>The dopewars network protocol</title>
       t@@ -20,7 +20,7 @@
        <li><a href="#refclient">Client to server message reference</a></li>
        </ul>
        
       -<h2><a name="syntax">Syntax used in this document</a></h2>
       +<h2><a id="syntax">Syntax used in this document</a></h2>
        
        <dl>
        <dt><tt>(runhere)</tt></dt>
       t@@ -40,7 +40,7 @@ binary representation, but as a string - i.e. "100" takes 3 characters
        <p>Anything else should be taken as literal characters, which should appear in
        the message exactly as printed here.</p>
        
       -<h2><a name="format">General message format</a></h2>
       +<h2><a id="format">General message format</a></h2>
        
        <p>dopewars clients communicate with the dopewars server by means of a TCP/IP
        connection. Messages are sent in plain text, are of variable length, and
       t@@ -85,7 +85,7 @@ C_PRINTMESSAGE)</p>
        
        <p>For the AI codes, see the AICode type in src/message.h</p>
        
       -<p><a name="oldprotocol">N.B. Older versions of dopewars used a less
       +<p><a id="oldprotocol">N.B. Older versions of dopewars used a less
        sophisticated protocol:-</a></p>
        
        <dl>
       t@@ -99,7 +99,7 @@ often be left blank. This old protocol is used if the
        
        <p>e.g. "Fred^Bert^AFHello player"</p>
        
       -<h2><a name="startgame">Starting a game from the client</a></h2>
       +<h2><a id="startgame">Starting a game from the client</a></h2>
        
        <p>To start a game, the client must first notify the server of the protocol
        it can support (with the <a href="#abilities">C_ABILITIES</a> message) and
       t@@ -111,7 +111,7 @@ will default to using this protocol, for backwards compatibility. After sending
        these two messages, the game is run mainly by the server; the client should
        listen for incoming messages, and respond appropriately.</p>
        
       -<h2><a name="refserver">Server to client message reference</a></h2>
       +<h2><a id="refserver">Server to client message reference</a></h2>
        
        <p>The messages listed below may be sent from a dopewars server to the client.
        Most of these messages require some kind of processing to be done, and may
       t@@ -396,11 +396,11 @@ now<br />
        <b>Answer required:</b> yes, depending on the message contents: usually a
        C_REQUESTJET or C_FIGHTACT message<p /></dd>
        
       -<dt><a name="abilities"><b>C_ABILITIES</b></a> ('<tt>r</tt>')</dt>
       +<dt><a id="abilities"><b>C_ABILITIES</b></a> ('<tt>r</tt>')</dt>
        <dd>Negotiates protocol extensions between client and server<br />
        <tt>data</tt> = <tt>(playerid)(drugvalue)(newfight)(tstring)(donefight)</tt>
        
       -<p><a name="playerid"><tt>playerid</tt></a> = '1' if we use player IDs rather
       +<p><a id="playerid"><tt>playerid</tt></a> = '1' if we use player IDs rather
        than player names to identify players in network messages ('0' otherwise). It is
        strongly recommended that this new protocol be used, as the old protocol is
        difficult to properly support, and is deprecated. However, the new protocol is
       t@@ -412,21 +412,21 @@ succeeding messages sent before the server sends C_ABILITIES back, must be
        sent using the old protocol. "Old" servers will ignore the C_ABILITIES
        message.) Ability name in dopewars code: <b>A_PLAYERID</b></p>
        
       -<p><a name="drugvalue"><tt>drugvalue</tt></a> = '1' if the server should keep
       +<p><a id="drugvalue"><tt>drugvalue</tt></a> = '1' if the server should keep
        track of how much players paid for their drugs, so that they can see whether
        they're getting a good deal when they come to sell them ('0' otherwise).
        Ability name in dopewars code: <b>A_DRUGVALUE</b></p>
        
       -<p><a name="newfight"><tt>newfight</tt></a> = '1' if we use the "new" fighting
       +<p><a id="newfight"><tt>newfight</tt></a> = '1' if we use the "new" fighting
        interface (documented here). Highly recommended. Ability name in dopewars
        code: <b>A_NEWFIGHT</b></p>
        
       -<p><a name="tstring"><tt>tstring</tt></a> = '1' if names of drugs etc. should be
       +<p><a id="tstring"><tt>tstring</tt></a> = '1' if names of drugs etc. should be
        sent in the <a href="i18n.html">translated string</a> (tstring) notation;
        only necessary if you are supporting non-English languages. Ability name
        in dopewars code: <b>A_TSTRING</b></p>
        
       -<p><a name="donefight"><tt>donefight</tt></a> = '1' if, when a fight finishes,
       +<p><a id="donefight"><tt>donefight</tt></a> = '1' if, when a fight finishes,
        the client is expected to send a C_DONE message to instruct the server to
        move on. (This is to allow the user to close the fight dialog before any
        new dialogs pop up.) Ability name in dopewars code: <b>A_DONEFIGHT</b></p>
       t@@ -443,7 +443,7 @@ e.g. "^^Ar10100" (N.B. the double ^ is a feature of the "old" protocol)</dd>
        
        </dl>
        
       -<h2><a name="refclient">Client to server message reference</a></h2>
       +<h2><a id="refclient">Client to server message reference</a></h2>
        
        <p>The messages are below are typically sent from the client to the server. Note
        that players do not communicate directly between each other, but always via.
       t@@ -499,7 +499,7 @@ e.g. "^AXY"<p /></dd>
        to withdraw<br />
        e.g. "^AY10000"<p /></dd>
        
       -<dt><a name="name"><b>C_NAME</b></a> ('<tt>c</tt>')</dt>
       +<dt><a id="name"><b>C_NAME</b></a> ('<tt>c</tt>')</dt>
        <dd>Sent by the client to register the player name with the server<br />
        <tt>data</tt> = the player's name<br />
        N.B. this is always sent at the start of the game, in which case the old
       t@@ -574,7 +574,9 @@ e.g.<br />
          </ul>
        </li>
        </ul>
       -<p>Last update: <b>29-04-2002</b></p>
       -
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/server.html b/doc/server.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Setting up and running a dopewars server</title>
       t@@ -37,7 +37,7 @@ customised server will play this customised game.</p>
        <li><a href="#metaserver">Private and public: the dopewars metaserver</a></li>
        </ul>
        
       -<h2><a name="server">Running a server</a></h2>
       +<h2><a id="server">Running a server</a></h2>
        
        <p>All the code for the dopewars server is included in the same binary as the
        standard client. To run the binary in server mode, specify the <b>-s</b> or
       t@@ -48,7 +48,7 @@ a line for entering <a href="servercommands.html">server commands</a> is used
        (an "interactive" server) while on Unix systems a text-mode server that
        accepts no input ("noninteractive") is used.</p>
        
       -<h2><a name="interact">Interacting with the text-mode server</a></h2>
       +<h2><a id="interact">Interacting with the text-mode server</a></h2>
        
        <p>Once started, the text-mode server does not accept commands directly. This
        is problematic if you want to adjust settings, eject players, etc. To send
       t@@ -60,7 +60,7 @@ communication.) Also, by default the text-mode server sends its log output to
        standard output; you may wish to instead log to a file with the <b>-l</b>
        option.</p>
        
       -<h2><a name="ntservice">Running as an NT service</a></h2>
       +<h2><a id="ntservice">Running as an NT service</a></h2>
        
        <p>On Windows systems, the graphical server has one major drawback; it can
        only run while you are logged on. As soon as you log out, the server is
       t@@ -72,7 +72,7 @@ server in this configuration is that server commands cannot be issued once
        the server is running. This limitation should be fixed in a future release
        of dopewars.</p>
        
       -<h2><a name="metaserver">Private and public: the dopewars metaserver</a></h2>
       +<h2><a id="metaserver">Private and public: the dopewars metaserver</a></h2>
        
        <p>By default, a server reports its status to the dopewars
        <a href="metaserver.html">metaserver</a>. It does this on startup and
       t@@ -104,6 +104,9 @@ information on getting round these difficulties, see the
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>03-02-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/servercommands.html b/doc/servercommands.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>Interactive server commands</title>
       t@@ -66,6 +66,9 @@ command).</dd>
           </ul>
        </li>
        </ul>
       -<p>Last update: <b>23-06-2002</b></p>
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>
 (DIR) diff --git a/doc/windows.html b/doc/windows.html
       t@@ -1,9 +1,9 @@
        <?xml version="1.0" encoding="UTF-8"?>
        
       -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
       + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
        
       -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
       +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
        
        <head>
        <title>dopewars and Microsoft Windows</title>
       t@@ -49,7 +49,9 @@ the high score file.)</p>
        <ul>
        <li><a href="index.html">Main index</a></li>
        </ul>
       -<p>Last update: <b>25-06-2002</b></p>
       -
       +<p>
       +  Last update: <b>15-07-2002</b><br />
       +  Valid <a href="http://validator.w3.org/check/referer">XHTML 1.1</a>
       +</p>
        </body>
        </html>