<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="Content-Style-Type" content="text/css"/>
<meta name="Generator" content="src2html"/>
<link rel="stylesheet" type="text/css" href="../../../../.misc/src2html.css"/>
<title>2.11BSD#431 - /usr/src/games/battlestar/com4.c</title>
</head><body>
<div class="cuser">
<div id="head">
<h1>
2.11BSD#431 - <a href="../../../../index.html">/</a><a href="../../../../usr.1.html">usr</a>/<a href="../../../src.1.html">src</a>/<a href="../../games.1.html">games</a>/<a href="../battlestar.1.html">battlestar</a>/<a href="com4.c">com4.c</a></h1>
</div>
<div id="navi">
<h5>Functions</h5>
<pre>
<span class="navo"><a href="com4.c.html#s:_drop" title="line 237">drop</a>              <span class="navx"><a href="com4.c.html#xref:s:_drop" title="to xref">X</a></span></span>
<span class="nave"><a href="com4.c.html#s:_eat" title="line 300">eat</a>               <span class="navx"><a href="com4.c.html#xref:s:_eat" title="to xref">X</a></span></span>
<span class="navo"><a href="com4.c.html#s:_puton" title="line 294">puton</a>             <span class="navx"><a href="com4.c.html#xref:s:_puton" title="to xref">X</a></span></span>
<span class="nave"><a href="com4.c.html#s:_take" title="line 13">take</a>              <span class="navx"><a href="com4.c.html#xref:s:_take" title="to xref">X</a></span></span>
<span class="navo"><a href="com4.c.html#s:_takeoff" title="line 288">takeoff</a>           <span class="navx"><a href="com4.c.html#xref:s:_takeoff" title="to xref">X</a></span></span>
<span class="nave"><a href="com4.c.html#s:_throw" title="line 157">throw</a>             <span class="navx"><a href="com4.c.html#xref:s:_throw" title="to xref">X</a></span></span>
</pre>
</div>
<div id="body">
<div id="code">
<pre>
<span class="cuser"><i id="n:1">   1</i>:</span> <span class="scom">/*</span>
<span class="cuser"><i id="n:2">   2</i>:</span> <span class="scom"> * Copyright (c) 1983 Regents of the University of California,</span>
<span class="cuser"><i id="n:3">   3</i>:</span> <span class="scom"> * All rights reserved.  Redistribution permitted subject to</span>
<span class="cuser"><i id="n:4">   4</i>:</span> <span class="scom"> * the terms of the Berkeley Software License Agreement.</span>
<span class="cuser"><i id="n:5">   5</i>:</span> <span class="scom"> */</span>
<span class="cuser"><i id="n:6">   6</i>:</span> 
<span class="cuser"><i id="n:7">   7</i>:</span> <a href="com4.c.html#n:9" title="to line 9">#if</a> !<span class="skey">defined</span>(lint) &amp;&amp; !<span class="skey">defined</span>(pdp11)
<span class="cuser"><i id="n:8">   8</i>:</span> <span class="skey">static </span><span class="styp">char </span><a href="com4.c.html#xref:s:_sccsid" id="s:_sccsid">sccsid</a>[] = <span class="sstr">"@(#)com4.c	1.3.1 1996/10/26"</span>;
<span class="cuser"><i id="n:9">   9</i>:</span> <a href="com4.c.html#n:7" title="from line 7">#endif</a>
<span class="cuser"><i id="n:10">  10</i>:</span> 
<span class="cuser"><i id="n:11">  11</i>:</span> #include <a href="externs.h.html" title="/usr/src/games/battlestar/externs.h" class="sstr">"externs.h"</a>
<span class="cuser"><i id="n:12">  12</i>:</span> 
<span class="cuser"><i id="n:13">  13</i>:</span> <a href="com4.c.html#xref:s:_take" id="s:_take">take</a>(from)
<span class="cuser"><i id="n:14">  14</i>:</span> <span class="styp">unsigned int </span>from[];
<span class="cuser"><i id="n:15">  15</i>:</span> <a href="com4.c.html#n:155" title="to line 155">{</a>
<span class="cuser"><i id="n:16">  16</i>:</span>     <span class="styp">int </span>firstnumber, heavy, bulky, value;
<span class="cuser"><i id="n:17">  17</i>:</span>     <span class="skey">register </span><span class="styp">int </span>n;
<span class="cuser"><i id="n:18">  18</i>:</span> 
<span class="cuser"><i id="n:19">  19</i>:</span>     firstnumber = <a href="externs.h.html#s:_wordnumber">wordnumber</a>;
<span class="cuser"><i id="n:20">  20</i>:</span>     <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt; <a href="externs.h.html#s:_wordcount">wordcount</a> &amp;&amp; <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>+<span class="snum">1</span>] == <a href="externs.h.html#m:OFF" title="defined: 1038">OFF</a>)<a href="com4.c.html#n:24" title="to line 24">{</a>
<span class="cuser"><i id="n:21">  21</i>:</span>         <a href="externs.h.html#s:_wordnumber">wordnumber</a>++;
<span class="cuser"><i id="n:22">  22</i>:</span>         <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:TAKEOFF" title="defined: 1016">TAKEOFF</a>;
<span class="cuser"><i id="n:23">  23</i>:</span>         <span class="skey">return</span>(<a href="cypher.c.html#s:_cypher">cypher</a>());
<span class="cuser"><i id="n:24">  24</i>:</span>     <a href="com4.c.html#n:20" title="from line 20">}</a>
<span class="cuser"><i id="n:25">  25</i>:</span>     <span class="skey">else </span><a href="com4.c.html#n:59" title="to line 59">{</a>
<span class="cuser"><i id="n:26">  26</i>:</span>         <span class="skey">while</span>(<a href="externs.h.html#s:_wordtype">wordtype</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:ADJS" title="defined: 4">ADJS</a>);
<span class="cuser"><i id="n:27">  27</i>:</span>         <span class="skey">while</span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a>&lt;=<a href="externs.h.html#s:_wordcount">wordcount</a> &amp;&amp; <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>)<a href="com4.c.html#n:58" title="to line 58">{</a>
<span class="cuser"><i id="n:28">  28</i>:</span>             value = <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>];
<span class="cuser"><i id="n:29">  29</i>:</span>             <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"%s:\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:30">  30</i>:</span>             <span class="skey">for </span>(n=<span class="snum">0</span>; <a href="externs.h.html#s:_objsht">objsht</a>[value][n]; n++);
<span class="cuser"><i id="n:31">  31</i>:</span>             heavy = (<a href="externs.h.html#s:_carrying">carrying</a> + <a href="externs.h.html#s:_objwt">objwt</a>[value]) &lt;= <a href="externs.h.html#s:_WEIGHT">WEIGHT</a>;
<span class="cuser"><i id="n:32">  32</i>:</span>             bulky = (<a href="externs.h.html#s:_encumber">encumber</a> + <a href="externs.h.html#s:_objcumber">objcumber</a>[value]) &lt;= <a href="externs.h.html#s:_CUMBER">CUMBER</a>;
<span class="cuser"><i id="n:33">  33</i>:</span>             <span class="skey">if </span>((<a href="externs.h.html#m:testbit">testbit</a>(from,value) || <a href="externs.h.html#s:_wiz">wiz</a> || <a href="externs.h.html#s:_tempwiz">tempwiz</a>) &amp;&amp; heavy &amp;&amp; bulky &amp;&amp; !<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value))<a href="com4.c.html#n:45" title="to line 45">{</a>
<span class="cuser"><i id="n:34">  34</i>:</span>                 <a href="externs.h.html#m:setbit">setbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value);
<span class="cuser"><i id="n:35">  35</i>:</span>                 <a href="externs.h.html#s:_carrying">carrying</a> += <a href="externs.h.html#s:_objwt">objwt</a>[value];
<span class="cuser"><i id="n:36">  36</i>:</span>                 <a href="externs.h.html#s:_encumber">encumber</a> += <a href="externs.h.html#s:_objcumber">objcumber</a>[value];
<span class="cuser"><i id="n:37">  37</i>:</span>                 <a href="externs.h.html#s:_Time">Time</a>++;
<span class="cuser"><i id="n:38">  38</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from,value))
<span class="cuser"><i id="n:39">  39</i>:</span>                     <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"Taken.\n"</span>);
<span class="cuser"><i id="n:40">  40</i>:</span>                 <span class="skey">else</span>
<span class="cuser"><i id="n:41">  41</i>:</span>                     <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"Zap! Taken from thin air.\n"</span>);
<span class="cuser"><i id="n:42">  42</i>:</span>                 <a href="externs.h.html#m:clearbit">clearbit</a>(from,value);
<span class="cuser"><i id="n:43">  43</i>:</span>                 <span class="skey">if </span>(value == <a href="externs.h.html#m:MEDALION" title="defined: 18">MEDALION</a>)
<span class="cuser"><i id="n:44">  44</i>:</span>                     <a href="externs.h.html#s:_win">win</a>--;
<span class="cuser"><i id="n:45">  45</i>:</span>             <a href="com4.c.html#n:33" title="from line 33">}</a>
<span class="cuser"><i id="n:46">  46</i>:</span>             <span class="skey">else if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value))
<span class="cuser"><i id="n:47">  47</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"You're already holding%s%s.\n"</span>, (<a href="externs.h.html#s:_objsht">objsht</a>[value][n-<span class="snum">1</span>] == <span class="slit">'s' </span>? <span class="sstr">" " </span>: <span class="sstr">" a "</span>),<a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:48">  48</i>:</span>             <span class="skey">else if </span>(!heavy)
<span class="cuser"><i id="n:49">  49</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"The %s %s too heavy.\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value],(<a href="externs.h.html#s:_objsht">objsht</a>[value][n-<span class="snum">1</span>] == <span class="slit">'s' </span>? <span class="sstr">"are" </span>: <span class="sstr">"is"</span>));
<span class="cuser"><i id="n:50">  50</i>:</span>             <span class="skey">else if </span>(!bulky)
<span class="cuser"><i id="n:51">  51</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"The %s %s too cumbersome to hold.\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value],(<a href="externs.h.html#s:_objsht">objsht</a>[value][n-<span class="snum">1</span>] == <span class="slit">'s' </span>? <span class="sstr">"are" </span>: <span class="sstr">"is"</span>));
<span class="cuser"><i id="n:52">  52</i>:</span>             <span class="skey">else</span>
<span class="cuser"><i id="n:53">  53</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"I dont see any %s around here.\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:54">  54</i>:</span>             <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt; <a href="externs.h.html#s:_wordcount">wordcount</a> -<span class="snum">1 </span>&amp;&amp; <a href="externs.h.html#s:_wordvalue">wordvalue</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:AND" title="defined: 1023">AND</a>)
<span class="cuser"><i id="n:55">  55</i>:</span>                 <a href="externs.h.html#s:_wordnumber">wordnumber</a>++;
<span class="cuser"><i id="n:56">  56</i>:</span>             <span class="skey">else</span>
<span class="cuser"><i id="n:57">  57</i>:</span>                 <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:58">  58</i>:</span>         <a href="com4.c.html#n:27" title="from line 27">}</a>
<span class="cuser"><i id="n:59">  59</i>:</span>     <a href="com4.c.html#n:25" title="from line 25">}</a>
<span class="cuser"><i id="n:60">  60</i>:</span>                 <span class="scom">/* special cases with their own return()'s */</span>
<span class="cuser"><i id="n:61">  61</i>:</span> 
<span class="cuser"><i id="n:62">  62</i>:</span>     <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt;= <a href="externs.h.html#s:_wordcount">wordcount</a> &amp;&amp; <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:NOUNS" title="defined: 2">NOUNS</a>)
<span class="cuser"><i id="n:63">  63</i>:</span>         <span class="skey">switch</span>(<a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>])<a href="com4.c.html#n:151" title="to line 151">{</a>
<span class="cuser"><i id="n:64">  64</i>:</span> 
<span class="cuser"><i id="n:65">  65</i>:</span>             <span class="skey">case </span><span id="l:_take:SWORD">SWORD</span>:
<span class="cuser"><i id="n:66">  66</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from, <a href="externs.h.html#m:SWORD" title="defined: 1">SWORD</a>))<a href="com4.c.html#n:69" title="to line 69">{</a>
<span class="cuser"><i id="n:67">  67</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:68">  68</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:69">  69</i>:</span>                 <a href="com4.c.html#n:66" title="from line 66">}</a>
<span class="cuser"><i id="n:70">  70</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from, <a href="externs.h.html#m:TWO_HANDED" title="defined: 4">TWO_HANDED</a>))<a href="com4.c.html#n:74" title="to line 74">{</a>
<span class="cuser"><i id="n:71">  71</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:TWO_HANDED" title="defined: 4">TWO_HANDED</a>;
<span class="cuser"><i id="n:72">  72</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:73">  73</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:74">  74</i>:</span>                 <a href="com4.c.html#n:70" title="from line 70">}</a>
<span class="cuser"><i id="n:75">  75</i>:</span>                 <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:BROAD" title="defined: 6">BROAD</a>;
<span class="cuser"><i id="n:76">  76</i>:</span>                 <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:77">  77</i>:</span>                 <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:78">  78</i>:</span> 
<span class="cuser"><i id="n:79">  79</i>:</span>             <span class="skey">case </span><span id="l:_take:BODY">BODY</span>:
<span class="cuser"><i id="n:80">  80</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from,<a href="externs.h.html#m:MAID" title="defined: 10">MAID</a>))<a href="com4.c.html#n:84" title="to line 84">{</a>
<span class="cuser"><i id="n:81">  81</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:MAID" title="defined: 10">MAID</a>;
<span class="cuser"><i id="n:82">  82</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:83">  83</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:84">  84</i>:</span>                 <a href="com4.c.html#n:80" title="from line 80">}</a>
<span class="cuser"><i id="n:85">  85</i>:</span>                 <span class="skey">else if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from,<a href="externs.h.html#m:DEADWOOD" title="defined: 20">DEADWOOD</a>))<a href="com4.c.html#n:89" title="to line 89">{</a>
<span class="cuser"><i id="n:86">  86</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:DEADWOOD" title="defined: 20">DEADWOOD</a>;
<span class="cuser"><i id="n:87">  87</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:88">  88</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:89">  89</i>:</span>                 <a href="com4.c.html#n:85" title="from line 85">}</a>
<span class="cuser"><i id="n:90">  90</i>:</span>                 <span class="skey">else if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from,<a href="externs.h.html#m:DEADNATIVE" title="defined: 57">DEADNATIVE</a>))<a href="com4.c.html#n:94" title="to line 94">{</a>
<span class="cuser"><i id="n:91">  91</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:DEADNATIVE" title="defined: 57">DEADNATIVE</a>;
<span class="cuser"><i id="n:92">  92</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:93">  93</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:94">  94</i>:</span>                 <a href="com4.c.html#n:90" title="from line 90">}</a>
<span class="cuser"><i id="n:95">  95</i>:</span>                 <span class="skey">else if </span>(<a href="externs.h.html#m:testbit">testbit</a>(from,<a href="externs.h.html#m:DEADGOD" title="defined: 55">DEADGOD</a>))<a href="com4.c.html#n:99" title="to line 99">{</a>
<span class="cuser"><i id="n:96">  96</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:DEADGOD" title="defined: 55">DEADGOD</a>;
<span class="cuser"><i id="n:97">  97</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:98">  98</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:99">  99</i>:</span>                 <a href="com4.c.html#n:95" title="from line 95">}</a>
<span class="cuser"><i id="n:100"> 100</i>:</span>                 <span class="skey">else </span><a href="com4.c.html#n:104" title="to line 104">{</a>
<span class="cuser"><i id="n:101"> 101</i>:</span>                     <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] = <a href="externs.h.html#m:DEADTIME" title="defined: 56">DEADTIME</a>;
<span class="cuser"><i id="n:102"> 102</i>:</span>                     <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:103"> 103</i>:</span>                     <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:104"> 104</i>:</span>                 <a href="com4.c.html#n:100" title="from line 100">}</a>
<span class="cuser"><i id="n:105"> 105</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:106"> 106</i>:</span> 
<span class="cuser"><i id="n:107"> 107</i>:</span>             <span class="skey">case </span><span id="l:_take:AMULET">AMULET</span>:
<span class="cuser"><i id="n:108"> 108</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,<a href="externs.h.html#m:AMULET" title="defined: 17">AMULET</a>))<a href="com4.c.html#n:114" title="to line 114">{</a>
<span class="cuser"><i id="n:109"> 109</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The amulet is warm to the touch, and its beauty catches your breath."</span>);
<span class="cuser"><i id="n:110"> 110</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"A mist falls over your eyes, but then it is gone.  Sounds seem clearer"</span>);
<span class="cuser"><i id="n:111"> 111</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"and sharper but far away as if in a dream.  The sound of purling water reaches"</span>);
<span class="cuser"><i id="n:112"> 112</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"you from afar.  The mist falls again, and your heart leaps in horror.  The gold"</span>);
<span class="cuser"><i id="n:113"> 113</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"freezes your hands and fathomless darkness engulfs your soul."</span>);
<span class="cuser"><i id="n:114"> 114</i>:</span>                 <a href="com4.c.html#n:108" title="from line 108">}</a>
<span class="cuser"><i id="n:115"> 115</i>:</span>                 <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:116"> 116</i>:</span>                 <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:117"> 117</i>:</span> 
<span class="cuser"><i id="n:118"> 118</i>:</span>             <span class="skey">case </span><span id="l:_take:MEDALION">MEDALION</span>:
<span class="cuser"><i id="n:119"> 119</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects, <a href="externs.h.html#m:MEDALION" title="defined: 18">MEDALION</a>))<a href="com4.c.html#n:122" title="to line 122">{</a>
<span class="cuser"><i id="n:120"> 120</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The medallion is warm, and it rekindles your spirit with the warmth of life."</span>);
<span class="cuser"><i id="n:121"> 121</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Your amulet begins to glow as the medallion is brought near to it, and together\nthey radiate."</span>);
<span class="cuser"><i id="n:122"> 122</i>:</span>                 <a href="com4.c.html#n:119" title="from line 119">}</a>
<span class="cuser"><i id="n:123"> 123</i>:</span>                 <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:124"> 124</i>:</span>                 <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:125"> 125</i>:</span> 
<span class="cuser"><i id="n:126"> 126</i>:</span>             <span class="skey">case </span><span id="l:_take:TALISMAN">TALISMAN</span>:
<span class="cuser"><i id="n:127"> 127</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,<a href="externs.h.html#m:TALISMAN" title="defined: 19">TALISMAN</a>))<a href="com4.c.html#n:129" title="to line 129">{</a>
<span class="cuser"><i id="n:128"> 128</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The talisman is cold to the touch, and it sends a chill down your spine."</span>);
<span class="cuser"><i id="n:129"> 129</i>:</span>                 <a href="com4.c.html#n:127" title="from line 127">}</a>
<span class="cuser"><i id="n:130"> 130</i>:</span>                 <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>--] = <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a>;
<span class="cuser"><i id="n:131"> 131</i>:</span>                 <span class="skey">return</span>(<a href="com4.c.html#s:_take">take</a>(from));
<span class="cuser"><i id="n:132"> 132</i>:</span> 
<span class="cuser"><i id="n:133"> 133</i>:</span>             <span class="skey">case </span><span id="l:_take:NORMGOD">NORMGOD</span>:
<span class="cuser"><i id="n:134"> 134</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,<a href="externs.h.html#m:BATHGOD" title="defined: 23">BATHGOD</a>) &amp;&amp; (<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_wear">wear</a>,<a href="externs.h.html#m:AMULET" title="defined: 17">AMULET</a>) || <a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,<a href="externs.h.html#m:AMULET" title="defined: 17">AMULET</a>)))<a href="com4.c.html#n:143" title="to line 143">{</a>
<span class="cuser"><i id="n:135"> 135</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"She offers a delicate hand, and you help her out of the sparkling springs."</span>);
<span class="cuser"><i id="n:136"> 136</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Water droplets like liquid silver bedew her golden skin, but when they part"</span>);
<span class="cuser"><i id="n:137"> 137</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"from her, they fall as teardrops.  She wraps a single cloth around her and"</span>);
<span class="cuser"><i id="n:138"> 138</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"ties it at the waist.  Around her neck hangs a golden amulet."</span>);
<span class="cuser"><i id="n:139"> 139</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"She bids you to follow her."</span>);
<span class="cuser"><i id="n:140"> 140</i>:</span>                     <a href="externs.h.html#s:_pleasure">pleasure</a>++;
<span class="cuser"><i id="n:141"> 141</i>:</span>                     <a href="externs.h.html#s:_followgod">followgod</a> = <a href="externs.h.html#s:_Time">Time</a>;
<span class="cuser"><i id="n:142"> 142</i>:</span>                     <a href="externs.h.html#m:clearbit">clearbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,<a href="externs.h.html#m:BATHGOD" title="defined: 23">BATHGOD</a>);
<span class="cuser"><i id="n:143"> 143</i>:</span>                 <a href="com4.c.html#n:134" title="from line 134">}</a> <span class="skey">else if </span>(!<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,<a href="externs.h.html#m:BATHGOD" title="defined: 23">BATHGOD</a>))
<span class="cuser"><i id="n:144"> 144</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"You're in no position to take her."</span>);
<span class="cuser"><i id="n:145"> 145</i>:</span>                 <span class="skey">else</span>
<span class="cuser"><i id="n:146"> 146</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"She moves away from you."</span>);
<span class="cuser"><i id="n:147"> 147</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:148"> 148</i>:</span> 
<span class="cuser"><i id="n:149"> 149</i>:</span>             <span class="skey">default</span>:
<span class="cuser"><i id="n:150"> 150</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"It doesn't seem to work."</span>);
<span class="cuser"><i id="n:151"> 151</i>:</span>         <a href="com4.c.html#n:63" title="from line 63">}</a>
<span class="cuser"><i id="n:152"> 152</i>:</span>     <span class="skey">else</span>
<span class="cuser"><i id="n:153"> 153</i>:</span>         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"You've got to be kidding."</span>);
<span class="cuser"><i id="n:154"> 154</i>:</span>     <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:155"> 155</i>:</span> <a href="com4.c.html#n:15" title="from line 15">}</a>
<span class="cuser"><i id="n:156"> 156</i>:</span> 
<span class="cuser"><i id="n:157"> 157</i>:</span> <a href="com4.c.html#xref:s:_throw" id="s:_throw">throw</a>(name)
<span class="cuser"><i id="n:158"> 158</i>:</span>     <span class="styp">char </span>*name;
<span class="cuser"><i id="n:159"> 159</i>:</span> <a href="com4.c.html#n:235" title="to line 235">{</a>
<span class="cuser"><i id="n:160"> 160</i>:</span>     <span class="styp">int </span>n;
<span class="cuser"><i id="n:161"> 161</i>:</span>     <span class="styp">int </span>deposit = <span class="snum">0</span>;
<span class="cuser"><i id="n:162"> 162</i>:</span>     <span class="styp">int </span>first, value;
<span class="cuser"><i id="n:163"> 163</i>:</span> 
<span class="cuser"><i id="n:164"> 164</i>:</span>     first = <a href="externs.h.html#s:_wordnumber">wordnumber</a>;
<span class="cuser"><i id="n:165"> 165</i>:</span>     <span class="skey">if </span>(<a href="com4.c.html#s:_drop">drop</a>(name) != -<span class="snum">1</span>)<a href="com4.c.html#n:233" title="to line 233">{</a>
<span class="cuser"><i id="n:166"> 166</i>:</span>         <span class="skey">switch</span>(<a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>])<a href="com4.c.html#n:191" title="to line 191">{</a>
<span class="cuser"><i id="n:167"> 167</i>:</span> 
<span class="cuser"><i id="n:168"> 168</i>:</span>             <span class="skey">case </span><span id="l:_throw:AHEAD">AHEAD</span>:
<span class="cuser"><i id="n:169"> 169</i>:</span>                 deposit = <a href="externs.h.html#s:_ahead">ahead</a>;
<span class="cuser"><i id="n:170"> 170</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:171"> 171</i>:</span> 
<span class="cuser"><i id="n:172"> 172</i>:</span>             <span class="skey">case </span><span id="l:_throw:BACK">BACK</span>:
<span class="cuser"><i id="n:173"> 173</i>:</span>                 deposit = <a href="externs.h.html#s:_back">back</a>;
<span class="cuser"><i id="n:174"> 174</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:175"> 175</i>:</span> 
<span class="cuser"><i id="n:176"> 176</i>:</span>             <span class="skey">case </span><span id="l:_throw:LEFT">LEFT</span>:
<span class="cuser"><i id="n:177"> 177</i>:</span>                 deposit = <a href="externs.h.html#s:_left">left</a>;
<span class="cuser"><i id="n:178"> 178</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:179"> 179</i>:</span> 
<span class="cuser"><i id="n:180"> 180</i>:</span>             <span class="skey">case </span><span id="l:_throw:RIGHT">RIGHT</span>:
<span class="cuser"><i id="n:181"> 181</i>:</span>                 deposit = <a href="externs.h.html#s:_right">right</a>;
<span class="cuser"><i id="n:182"> 182</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:183"> 183</i>:</span> 
<span class="cuser"><i id="n:184"> 184</i>:</span>             <span class="skey">case </span><span id="l:_throw:UP">UP</span>:
<span class="cuser"><i id="n:185"> 185</i>:</span>                 deposit = <a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].<a href="externs.h.html#m:up" title="defined: link[4]">up</a> * (<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].<a href="externs.h.html#m:access" title="defined: link[5]">access</a> || <a href="externs.h.html#s:_position">position</a> == <a href="externs.h.html#m:FINAL" title="defined: 275">FINAL</a>);
<span class="cuser"><i id="n:186"> 186</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:187"> 187</i>:</span> 
<span class="cuser"><i id="n:188"> 188</i>:</span>             <span class="skey">case </span><span id="l:_throw:DOWN">DOWN</span>:
<span class="cuser"><i id="n:189"> 189</i>:</span>                 deposit = <a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].<a href="externs.h.html#m:down" title="defined: link[6]">down</a>;
<span class="cuser"><i id="n:190"> 190</i>:</span>                 <span class="skey">break</span>;
<span class="cuser"><i id="n:191"> 191</i>:</span>         <a href="com4.c.html#n:166" title="from line 166">}</a>
<span class="cuser"><i id="n:192"> 192</i>:</span>         <a href="externs.h.html#s:_wordnumber">wordnumber</a> = first;
<span class="cuser"><i id="n:193"> 193</i>:</span>         <span class="skey">while </span>(<a href="externs.h.html#s:_wordtype">wordtype</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:ADJS" title="defined: 4">ADJS</a>);
<span class="cuser"><i id="n:194"> 194</i>:</span>         <span class="skey">while </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt;= <a href="externs.h.html#s:_wordcount">wordcount</a>)<a href="com4.c.html#n:231" title="to line 231">{</a>
<span class="cuser"><i id="n:195"> 195</i>:</span>             value = <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>];
<span class="cuser"><i id="n:196"> 196</i>:</span>             <span class="skey">if </span>(deposit &amp;&amp; <a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,value))<a href="com4.c.html#n:222" title="to line 222">{</a>
<span class="cuser"><i id="n:197"> 197</i>:</span>                 <a href="externs.h.html#m:clearbit">clearbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,value);
<span class="cuser"><i id="n:198"> 198</i>:</span>                 <span class="skey">if </span>(value != <a href="externs.h.html#m:GRENADE" title="defined: 25">GRENADE</a>)
<span class="cuser"><i id="n:199"> 199</i>:</span>                     <a href="externs.h.html#m:setbit">setbit</a>(<a href="externs.h.html#s:_location">location</a>[deposit].objects,value);
<span class="cuser"><i id="n:200"> 200</i>:</span>                 <span class="skey">else</span><a href="com4.c.html#n:205" title="to line 205">{</a>
<span class="cuser"><i id="n:201"> 201</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"A thundering explosion nearby sends up a cloud of smoke and shrapnel."</span>);
<span class="cuser"><i id="n:202"> 202</i>:</span>                     <span class="skey">for </span>(n = <span class="snum">0</span>; n &lt; <a href="externs.h.html#m:NUMOFWORDS">NUMOFWORDS</a>; n ++)
<span class="cuser"><i id="n:203"> 203</i>:</span>                         <a href="externs.h.html#s:_location">location</a>[deposit].objects[n] = <span class="snum">0</span>;
<span class="cuser"><i id="n:204"> 204</i>:</span>                     <a href="externs.h.html#m:setbit">setbit</a>(<a href="externs.h.html#s:_location">location</a>[deposit].objects,<a href="externs.h.html#m:CHAR" title="defined: 53">CHAR</a>);
<span class="cuser"><i id="n:205"> 205</i>:</span>                 <a href="com4.c.html#n:200" title="from line 200">}</a>
<span class="cuser"><i id="n:206"> 206</i>:</span>                 <span class="skey">if </span>(value == <a href="externs.h.html#m:ROPE" title="defined: 27">ROPE</a> &amp;&amp; <a href="externs.h.html#s:_position">position</a> == <a href="externs.h.html#m:FINAL" title="defined: 275">FINAL</a>)
<span class="cuser"><i id="n:207"> 207</i>:</span>                     <a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].<a href="externs.h.html#m:access" title="defined: link[5]">access</a> = <span class="snum">1</span>;
<span class="cuser"><i id="n:208"> 208</i>:</span>                 <span class="skey">switch</span>(deposit)<a href="com4.c.html#n:221" title="to line 221">{</a>
<span class="cuser"><i id="n:209"> 209</i>:</span>                     <span class="skey">case </span><span class="snum">189</span>:
<span class="cuser"><i id="n:210"> 210</i>:</span>                     <span class="skey">case </span><span class="snum">231</span>:
<span class="cuser"><i id="n:211"> 211</i>:</span>                         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The stone door is unhinged."</span>);
<span class="cuser"><i id="n:212"> 212</i>:</span>                         <a href="externs.h.html#s:_location">location</a>[<span class="snum">189</span>].<a href="externs.h.html#m:north" title="defined: link[0]">north</a> = <span class="snum">231</span>;
<span class="cuser"><i id="n:213"> 213</i>:</span>                         <a href="externs.h.html#s:_location">location</a>[<span class="snum">231</span>].<a href="externs.h.html#m:south" title="defined: link[1]">south</a> = <span class="snum">189</span>;
<span class="cuser"><i id="n:214"> 214</i>:</span>                         <span class="skey">break</span>;
<span class="cuser"><i id="n:215"> 215</i>:</span>                     <span class="skey">case </span><span class="snum">30</span>:
<span class="cuser"><i id="n:216"> 216</i>:</span>                         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The wooden door is blown open."</span>);
<span class="cuser"><i id="n:217"> 217</i>:</span>                         <a href="externs.h.html#s:_location">location</a>[<span class="snum">30</span>].<a href="externs.h.html#m:west" title="defined: link[3]">west</a> = <span class="snum">25</span>;
<span class="cuser"><i id="n:218"> 218</i>:</span>                         <span class="skey">break</span>;
<span class="cuser"><i id="n:219"> 219</i>:</span>                     <span class="skey">case </span><span class="snum">31</span>:
<span class="cuser"><i id="n:220"> 220</i>:</span>                         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The door is not damaged."</span>);
<span class="cuser"><i id="n:221"> 221</i>:</span>                 <a href="com4.c.html#n:208" title="from line 208">}</a>
<span class="cuser"><i id="n:222"> 222</i>:</span>             <a href="com4.c.html#n:196" title="from line 196">}</a>
<span class="cuser"><i id="n:223"> 223</i>:</span>             <span class="skey">else if </span>(value == <a href="externs.h.html#m:GRENADE" title="defined: 25">GRENADE</a> &amp;&amp; <a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,value))<a href="com4.c.html#n:226" title="to line 226">{</a>
<span class="cuser"><i id="n:224"> 224</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"You are blown into shreds when your grenade explodes."</span>);
<span class="cuser"><i id="n:225"> 225</i>:</span>                 <a href="com6.c.html#s:_die">die</a>();
<span class="cuser"><i id="n:226"> 226</i>:</span>             <a href="com4.c.html#n:223" title="from line 223">}</a>
<span class="cuser"><i id="n:227"> 227</i>:</span>             <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt; <a href="externs.h.html#s:_wordcount">wordcount</a> - <span class="snum">1 </span>&amp;&amp; <a href="externs.h.html#s:_wordvalue">wordvalue</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:AND" title="defined: 1023">AND</a>)
<span class="cuser"><i id="n:228"> 228</i>:</span>                 <a href="externs.h.html#s:_wordnumber">wordnumber</a>++;
<span class="cuser"><i id="n:229"> 229</i>:</span>             <span class="skey">else</span>
<span class="cuser"><i id="n:230"> 230</i>:</span>                 <span class="skey">return</span>(first);
<span class="cuser"><i id="n:231"> 231</i>:</span>         <a href="com4.c.html#n:194" title="from line 194">}</a>
<span class="cuser"><i id="n:232"> 232</i>:</span>         <span class="skey">return</span>(first);
<span class="cuser"><i id="n:233"> 233</i>:</span>     <a href="com4.c.html#n:165" title="from line 165">}</a>
<span class="cuser"><i id="n:234"> 234</i>:</span>     <span class="skey">return</span>(first);
<span class="cuser"><i id="n:235"> 235</i>:</span> <a href="com4.c.html#n:159" title="from line 159">}</a>
<span class="cuser"><i id="n:236"> 236</i>:</span> 
<span class="cuser"><i id="n:237"> 237</i>:</span> <a href="com4.c.html#xref:s:_drop" id="s:_drop">drop</a>(name)
<span class="cuser"><i id="n:238"> 238</i>:</span> <span class="styp">char </span>*name;
<span class="cuser"><i id="n:239"> 239</i>:</span> <a href="com4.c.html#n:286" title="to line 286">{</a>
<span class="cuser"><i id="n:240"> 240</i>:</span> 
<span class="cuser"><i id="n:241"> 241</i>:</span>     <span class="styp">int </span>firstnumber, value;
<span class="cuser"><i id="n:242"> 242</i>:</span> 
<span class="cuser"><i id="n:243"> 243</i>:</span>     firstnumber = <a href="externs.h.html#s:_wordnumber">wordnumber</a>;
<span class="cuser"><i id="n:244"> 244</i>:</span>     <span class="skey">while </span>(<a href="externs.h.html#s:_wordtype">wordtype</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:ADJS" title="defined: 4">ADJS</a>)
<span class="cuser"><i id="n:245"> 245</i>:</span>         ;
<span class="cuser"><i id="n:246"> 246</i>:</span>     <span class="skey">while </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a>&lt;=<a href="externs.h.html#s:_wordcount">wordcount</a> &amp;&amp; (<a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:OBJECT" title="defined: 1">OBJECT</a> || <a href="externs.h.html#s:_wordtype">wordtype</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:NOUNS" title="defined: 2">NOUNS</a>)) <a href="com4.c.html#n:283" title="to line 283">{</a>
<span class="cuser"><i id="n:247"> 247</i>:</span>         value = <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>];
<span class="cuser"><i id="n:248"> 248</i>:</span>         <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"%s:\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:249"> 249</i>:</span>         <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value))<a href="com4.c.html#n:266" title="to line 266">{</a>
<span class="cuser"><i id="n:250"> 250</i>:</span>             <a href="externs.h.html#m:clearbit">clearbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value);
<span class="cuser"><i id="n:251"> 251</i>:</span>             <a href="externs.h.html#s:_carrying">carrying</a> -= <a href="externs.h.html#s:_objwt">objwt</a>[value];
<span class="cuser"><i id="n:252"> 252</i>:</span>             <a href="externs.h.html#s:_encumber">encumber</a> -= <a href="externs.h.html#s:_objcumber">objcumber</a>[value];
<span class="cuser"><i id="n:253"> 253</i>:</span>             <span class="skey">if </span>(value == <a href="externs.h.html#m:BOMB" title="defined: 54">BOMB</a>)<a href="com4.c.html#n:256" title="to line 256">{</a>
<span class="cuser"><i id="n:254"> 254</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"The bomb explodes.  A blinding white light and immense concussion obliterate us."</span>);
<span class="cuser"><i id="n:255"> 255</i>:</span>                 <a href="com6.c.html#s:_die">die</a>();
<span class="cuser"><i id="n:256"> 256</i>:</span>             <a href="com4.c.html#n:253" title="from line 253">}</a>
<span class="cuser"><i id="n:257"> 257</i>:</span>             <span class="skey">if </span>(value != <a href="externs.h.html#m:AMULET" title="defined: 17">AMULET</a> &amp;&amp; value != <a href="externs.h.html#m:MEDALION" title="defined: 18">MEDALION</a> &amp;&amp; value != <a href="externs.h.html#m:TALISMAN" title="defined: 19">TALISMAN</a>)
<span class="cuser"><i id="n:258"> 258</i>:</span>                 <a href="externs.h.html#m:setbit">setbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,value);
<span class="cuser"><i id="n:259"> 259</i>:</span>             <span class="skey">else</span>
<span class="cuser"><i id="n:260"> 260</i>:</span>                 <a href="externs.h.html#s:_tempwiz">tempwiz</a> = <span class="snum">0</span>;
<span class="cuser"><i id="n:261"> 261</i>:</span>             <a href="externs.h.html#s:_Time">Time</a>++;
<span class="cuser"><i id="n:262"> 262</i>:</span>             <span class="skey">if </span>(*name == <span class="slit">'K'</span>)
<span class="cuser"><i id="n:263"> 263</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Drop kicked."</span>);
<span class="cuser"><i id="n:264"> 264</i>:</span>             <span class="skey">else</span>
<span class="cuser"><i id="n:265"> 265</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"%s.\n"</span>, name);
<span class="cuser"><i id="n:266"> 266</i>:</span>         <a href="com4.c.html#n:249" title="from line 249">}</a>
<span class="cuser"><i id="n:267"> 267</i>:</span>         <span class="skey">else </span><a href="com4.c.html#n:278" title="to line 278">{</a>
<span class="cuser"><i id="n:268"> 268</i>:</span>             <span class="skey">if </span>(*name != <span class="slit">'K'</span>) <a href="com4.c.html#n:276" title="to line 276">{</a>
<span class="cuser"><i id="n:269"> 269</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"You aren't holding the %s.\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:270"> 270</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects,value)) <a href="com4.c.html#n:275" title="to line 275">{</a>
<span class="cuser"><i id="n:271"> 271</i>:</span>                     <span class="skey">if </span>(*name == <span class="slit">'T'</span>)
<span class="cuser"><i id="n:272"> 272</i>:</span>                         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Kicked instead."</span>);
<span class="cuser"><i id="n:273"> 273</i>:</span>                     <span class="skey">else if </span>(*name == <span class="slit">'G'</span>)
<span class="cuser"><i id="n:274"> 274</i>:</span>                         <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Given anyway."</span>);
<span class="cuser"><i id="n:275"> 275</i>:</span>                 <a href="com4.c.html#n:270" title="from line 270">}</a>
<span class="cuser"><i id="n:276"> 276</i>:</span>             <a href="com4.c.html#n:268" title="from line 268">}</a> <span class="skey">else</span>
<span class="cuser"><i id="n:277"> 277</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Kicked."</span>);
<span class="cuser"><i id="n:278"> 278</i>:</span>         <a href="com4.c.html#n:267" title="from line 267">}</a>
<span class="cuser"><i id="n:279"> 279</i>:</span>         <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt; <a href="externs.h.html#s:_wordcount">wordcount</a> - <span class="snum">1 </span>&amp;&amp; <a href="externs.h.html#s:_wordvalue">wordvalue</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:AND" title="defined: 1023">AND</a>)
<span class="cuser"><i id="n:280"> 280</i>:</span>             <a href="externs.h.html#s:_wordnumber">wordnumber</a>++;
<span class="cuser"><i id="n:281"> 281</i>:</span>         <span class="skey">else</span>
<span class="cuser"><i id="n:282"> 282</i>:</span>             <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:283"> 283</i>:</span>     <a href="com4.c.html#n:246" title="from line 246">}</a>
<span class="cuser"><i id="n:284"> 284</i>:</span>     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Do what?"</span>);
<span class="cuser"><i id="n:285"> 285</i>:</span>     <span class="skey">return</span>(-<span class="snum">1</span>);
<span class="cuser"><i id="n:286"> 286</i>:</span> <a href="com4.c.html#n:239" title="from line 239">}</a>
<span class="cuser"><i id="n:287"> 287</i>:</span> 
<span class="cuser"><i id="n:288"> 288</i>:</span> <a href="com4.c.html#xref:s:_takeoff" id="s:_takeoff">takeoff</a>()
<span class="cuser"><i id="n:289"> 289</i>:</span> <a href="com4.c.html#n:292" title="to line 292">{</a>
<span class="cuser"><i id="n:290"> 290</i>:</span>     <a href="externs.h.html#s:_wordnumber">wordnumber</a> = <a href="com4.c.html#s:_take">take</a>(<a href="externs.h.html#s:_wear">wear</a>);
<span class="cuser"><i id="n:291"> 291</i>:</span>     <span class="skey">return</span>(<a href="com4.c.html#s:_drop">drop</a>(<span class="sstr">"Dropped"</span>));
<span class="cuser"><i id="n:292"> 292</i>:</span> <a href="com4.c.html#n:289" title="from line 289">}</a>
<span class="cuser"><i id="n:293"> 293</i>:</span> 
<span class="cuser"><i id="n:294"> 294</i>:</span> <a href="com4.c.html#xref:s:_puton" id="s:_puton">puton</a>()
<span class="cuser"><i id="n:295"> 295</i>:</span> <a href="com4.c.html#n:298" title="to line 298">{</a>
<span class="cuser"><i id="n:296"> 296</i>:</span>     <a href="externs.h.html#s:_wordnumber">wordnumber</a> = <a href="com4.c.html#s:_take">take</a>(<a href="externs.h.html#s:_location">location</a>[<a href="externs.h.html#s:_position">position</a>].objects);
<span class="cuser"><i id="n:297"> 297</i>:</span>     <span class="skey">return</span>(<a href="com2.c.html#s:_wearit">wearit</a>());
<span class="cuser"><i id="n:298"> 298</i>:</span> <a href="com4.c.html#n:295" title="from line 295">}</a>
<span class="cuser"><i id="n:299"> 299</i>:</span> 
<span class="cuser"><i id="n:300"> 300</i>:</span> <a href="com4.c.html#xref:s:_eat" id="s:_eat">eat</a>()
<span class="cuser"><i id="n:301"> 301</i>:</span> <a href="com4.c.html#n:349" title="to line 349">{</a>
<span class="cuser"><i id="n:302"> 302</i>:</span>     <span class="skey">register </span><span class="styp">int </span>n;
<span class="cuser"><i id="n:303"> 303</i>:</span>     <span class="styp">int </span>firstnumber, value;
<span class="cuser"><i id="n:304"> 304</i>:</span> 
<span class="cuser"><i id="n:305"> 305</i>:</span>     firstnumber = <a href="externs.h.html#s:_wordnumber">wordnumber</a>;
<span class="cuser"><i id="n:306"> 306</i>:</span>     <span class="skey">while</span>(<a href="externs.h.html#s:_wordtype">wordtype</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:ADJS" title="defined: 4">ADJS</a>);
<span class="cuser"><i id="n:307"> 307</i>:</span>     <span class="skey">while</span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt;= <a href="externs.h.html#s:_wordcount">wordcount</a>)<a href="com4.c.html#n:347" title="to line 347">{</a>
<span class="cuser"><i id="n:308"> 308</i>:</span>         value = <a href="externs.h.html#s:_wordvalue">wordvalue</a>[<a href="externs.h.html#s:_wordnumber">wordnumber</a>];
<span class="cuser"><i id="n:309"> 309</i>:</span>         <span class="skey">for </span>(n=<span class="snum">0</span>; <a href="externs.h.html#s:_objsht">objsht</a>[value][n]; n++);
<span class="cuser"><i id="n:310"> 310</i>:</span>         <span class="skey">switch</span>(value)<a href="com4.c.html#n:346" title="to line 346">{</a>
<span class="cuser"><i id="n:311"> 311</i>:</span> 
<span class="cuser"><i id="n:312"> 312</i>:</span>             <span class="skey">case </span>-<span class="snum">1</span>:
<span class="cuser"><i id="n:313"> 313</i>:</span>                 <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Eat what?"</span>);
<span class="cuser"><i id="n:314"> 314</i>:</span>                 <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:315"> 315</i>:</span> 
<span class="cuser"><i id="n:316"> 316</i>:</span>             <span class="skey">default</span>:
<span class="cuser"><i id="n:317"> 317</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"You can't eat%s%s!\n"</span>,(<a href="externs.h.html#s:_objsht">objsht</a>[value][n-<span class="snum">1</span>] == <span class="slit">'s' </span>? <span class="sstr">" " </span>: <span class="sstr">" a "</span>),<a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:318"> 318</i>:</span>                 <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:319"> 319</i>:</span> 
<span class="cuser"><i id="n:320"> 320</i>:</span>             <span class="skey">case </span><span id="l:_eat:PAPAYAS">PAPAYAS</span>:
<span class="cuser"><i id="n:321"> 321</i>:</span>             <span class="skey">case </span><span id="l:_eat:PINEAPPLE">PINEAPPLE</span>:
<span class="cuser"><i id="n:322"> 322</i>:</span>             <span class="skey">case </span><span id="l:_eat:KIWI">KIWI</span>:
<span class="cuser"><i id="n:323"> 323</i>:</span>             <span class="skey">case </span><span id="l:_eat:COCONUTS">COCONUTS</span>:  <span class="scom">/* eatable things */</span>
<span class="cuser"><i id="n:324"> 324</i>:</span>             <span class="skey">case </span><span id="l:_eat:MANGO">MANGO</span>:
<span class="cuser"><i id="n:325"> 325</i>:</span> 
<span class="cuser"><i id="n:326"> 326</i>:</span>                 <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"%s:\n"</span>,<a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:327"> 327</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value) &amp;&amp; <a href="externs.h.html#s:_Time">Time</a> &gt; <a href="externs.h.html#s:_ate">ate</a> - <a href="externs.h.html#m:CYCLE" title="defined: 100">CYCLE</a> &amp;&amp; <a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,<a href="externs.h.html#m:KNIFE" title="defined: 0">KNIFE</a>))<a href="com4.c.html#n:335" title="to line 335">{</a>
<span class="cuser"><i id="n:328"> 328</i>:</span>                     <a href="externs.h.html#m:clearbit">clearbit</a>(<a href="externs.h.html#s:_inven">inven</a>,value);
<span class="cuser"><i id="n:329"> 329</i>:</span>                     <a href="externs.h.html#s:_carrying">carrying</a> -= <a href="externs.h.html#s:_objwt">objwt</a>[value];
<span class="cuser"><i id="n:330"> 330</i>:</span>                     <a href="externs.h.html#s:_encumber">encumber</a> -= <a href="externs.h.html#s:_objcumber">objcumber</a>[value];
<span class="cuser"><i id="n:331"> 331</i>:</span>                     <a href="externs.h.html#s:_ate">ate</a> = <a href="externs.h.html#m:max">max</a>(<a href="externs.h.html#s:_Time">Time</a>,<a href="externs.h.html#s:_ate">ate</a>) + <a href="externs.h.html#m:CYCLE" title="defined: 100">CYCLE</a>/<span class="snum">3</span>;
<span class="cuser"><i id="n:332"> 332</i>:</span>                     <a href="externs.h.html#s:_snooze">snooze</a> += <a href="externs.h.html#m:CYCLE" title="defined: 100">CYCLE</a>/<span class="snum">10</span>;
<span class="cuser"><i id="n:333"> 333</i>:</span>                     <a href="externs.h.html#s:_Time">Time</a>++;
<span class="cuser"><i id="n:334"> 334</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"Eaten.  You can explore a little longer now."</span>);
<span class="cuser"><i id="n:335"> 335</i>:</span>                 <a href="com4.c.html#n:327" title="from line 327">}</a>
<span class="cuser"><i id="n:336"> 336</i>:</span>                 <span class="skey">else if </span>(<a href="externs.h.html#s:_Time">Time</a> &lt; <a href="externs.h.html#s:_ate">ate</a> - <a href="externs.h.html#m:CYCLE" title="defined: 100">CYCLE</a>)
<span class="cuser"><i id="n:337"> 337</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"You're stuffed."</span>);
<span class="cuser"><i id="n:338"> 338</i>:</span>                 <span class="skey">else if </span>(!<a href="externs.h.html#m:testbit">testbit</a>(<a href="externs.h.html#s:_inven">inven</a>,<a href="externs.h.html#m:KNIFE" title="defined: 0">KNIFE</a>))
<span class="cuser"><i id="n:339"> 339</i>:</span>                     <a href="../../lib/libc/stdio/puts.c.html#s:_puts">puts</a>(<span class="sstr">"You need a knife."</span>);
<span class="cuser"><i id="n:340"> 340</i>:</span>                 <span class="skey">else</span>
<span class="cuser"><i id="n:341"> 341</i>:</span>                     <a href="../../lib/libc/stdio/printf.c.html#s:_printf">printf</a>(<span class="sstr">"You aren't holding the %s.\n"</span>, <a href="externs.h.html#s:_objsht">objsht</a>[value]);
<span class="cuser"><i id="n:342"> 342</i>:</span>                 <span class="skey">if </span>(<a href="externs.h.html#s:_wordnumber">wordnumber</a> &lt; <a href="externs.h.html#s:_wordcount">wordcount</a> - <span class="snum">1 </span>&amp;&amp; <a href="externs.h.html#s:_wordvalue">wordvalue</a>[++<a href="externs.h.html#s:_wordnumber">wordnumber</a>] == <a href="externs.h.html#m:AND" title="defined: 1023">AND</a>)
<span class="cuser"><i id="n:343"> 343</i>:</span>                     <a href="externs.h.html#s:_wordnumber">wordnumber</a>++;
<span class="cuser"><i id="n:344"> 344</i>:</span>                 <span class="skey">else</span>
<span class="cuser"><i id="n:345"> 345</i>:</span>                     <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:346"> 346</i>:</span>         <a href="com4.c.html#n:310" title="from line 310">}</a> <span class="scom">/* end switch */</span>
<span class="cuser"><i id="n:347"> 347</i>:</span>     <a href="com4.c.html#n:307" title="from line 307">}</a> <span class="scom">/* end while */</span>
<span class="cuser"><i id="n:348"> 348</i>:</span>     <span class="skey">return</span>(firstnumber);
<span class="cuser"><i id="n:349"> 349</i>:</span> <a href="com4.c.html#n:301" title="from line 301">}</a>
</pre>
</div>
<div id="xref">
<h4>Defined functions</h4>
<div class="xe"><a id="xref:s:_drop" href="com4.c.html#s:_drop">drop</a>
 defined in line <a href="com4.c.html#n:237">237</a>;  used 5 times
<ul>
<li class="xxe">in line <a href="com4.c.html#n:165">165</a>,
<a href="com4.c.html#n:291">291</a>
</li><li class="xxo"> in <a href="com5.c.html">/usr/src/games/battlestar/com5.c</a> line 
<a href="com5.c.html#n:228">228</a>
</li><li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:102">102</a>,
<a href="cypher.c.html#n:108">108</a>
</li></ul>
</div>
<div class="xo"><a id="xref:s:_eat" href="com4.c.html#s:_eat">eat</a>
 defined in line <a href="com4.c.html#n:300">300</a>;  used 2 times
<ul>
<li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:190">190</a>-<a href="cypher.c.html#n:195">195</a>(2)
</li></ul>
</div>
<div class="xe"><a id="xref:s:_puton" href="com4.c.html#s:_puton">puton</a>
 defined in line <a href="com4.c.html#n:294">294</a>;  used 2 times
<ul>
<li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:161">161</a>-<a href="cypher.c.html#n:166">166</a>(2)
</li></ul>
</div>
<div class="xo"><a id="xref:s:_take" href="com4.c.html#s:_take">take</a>
 defined in line <a href="com4.c.html#n:13">13</a>;  used 16 times
<ul>
<li class="xxe">in line <a href="com4.c.html#n:68">68</a>-<a href="com4.c.html#n:77">77</a>(3),
<a href="com4.c.html#n:83">83</a>-<a href="com4.c.html#n:103">103</a>(5),
<a href="com4.c.html#n:116">116</a>,
<a href="com4.c.html#n:124">124</a>,
<a href="com4.c.html#n:131">131</a>,
<a href="com4.c.html#n:290">290</a>,
<a href="com4.c.html#n:296">296</a>
</li><li class="xxo"> in <a href="com2.c.html">/usr/src/games/battlestar/com2.c</a> line 
<a href="com2.c.html#n:91">91</a>
</li><li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:87">87</a>,
<a href="cypher.c.html#n:93">93</a>
</li></ul>
</div>
<div class="xe"><a id="xref:s:_takeoff" href="com4.c.html#s:_takeoff">takeoff</a>
 defined in line <a href="com4.c.html#n:288">288</a>;  used 2 times
<ul>
<li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:131">131</a>-<a href="cypher.c.html#n:136">136</a>(2)
</li></ul>
</div>
<div class="xo"><a id="xref:s:_throw" href="com4.c.html#s:_throw">throw</a>
 defined in line <a href="com4.c.html#n:157">157</a>;  used 2 times
<ul>
<li class="xxe"> in <a href="cypher.c.html">/usr/src/games/battlestar/cypher.c</a> line 
<a href="cypher.c.html#n:119">119</a>-<a href="cypher.c.html#n:123">123</a>(2)
</li></ul>
</div>
<h4>Defined variables</h4>
<div class="xe"><a id="xref:s:_sccsid" href="com4.c.html#s:_sccsid">sccsid</a>
 defined in line <a href="com4.c.html#n:8">8</a>;  <i>never used</i>
</div>
</div>
</div>
<div id="tail">
<table border="0" width="100%" cellspacing="2" cellpadding="0">
  <tr>
    <td align="left">
      Last modified: 1996-10-27
      <br/>
      Generated: 2016-12-26
    </td>
    <td align="center"><small>Generated by src2html V0.67
      <br/>page hit count: 
      1520
      </small>
    </td>
    <td align="right">
      <a href="http://jigsaw.w3.org/css-validator/check/referer">
        <img alt="Valid CSS" height="31" width="88"
             src="../../../../.misc/valid-css.png"/>
      </a>
      <a href="http://validator.w3.org/check?uri=referer">
         <img alt="Valid XHTML 1.0 Strict" 
              height="31" width="88" src="../../../../.misc/valid-xhtml10.png"/>
      </a>
    </td>
  </tr>
</table>
</div></div>
</body></html>
