games@tekred.TEK.COM (07/02/88)
Submitted by: "Stanley T. Shebs" <shebs%defun@cs.utah.edu> Comp.sources.games: Volume 4, Issue 105 Archive-name: xconq5/Part17 #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of archive 17 (of 18)." # Contents: ToDo Xdefaults global.h hexify.c lib/1800.map # lib/beirut.map lib/beirut.per lib/beirut.scn lib/crater.map # lib/crater2.map lib/deathray.b lib/deathstar.b lib/empire.per # lib/fortress.b lib/fred.map lib/globe.map lib/hard.map # lib/harder.map lib/hill.per lib/hill.scn lib/hovcraft.b # lib/icos.map lib/impcruisr.b lib/maze.map lib/mormon.per # lib/relief.per lib/ringworld.map lib/simplest.per lib/t1.map # lib/t2.map lib/t3.map lib/t6.map lib/t8.map lib/three.map # lib/torpbombr.b lib/two.map misc.h # Wrapped by billr@saab on Wed Jun 29 08:56:07 1988 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f ToDo -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"ToDo\" else echo shar: Extracting \"ToDo\" \(1916 characters\) sed "s/^X//" >ToDo <<'END_OF_ToDo' XBUGS AND LOSSAGES TO FIX X XTry *again* to get display updating to work for captured always-seen units. X XFix loss of first input character after reconfiguring display. X XFix to not fail if favorite terrain type is not present on the map. X XFix save/restore of counts so they don't get incremented twice. X XEliminate redraw of unit info during another displayed side's turn. X XMake machine players adjust construction to current situation better. X XMake crippled transports lose occupants at the moment they are hit. X XFix annoyances in disbanding occupants (kicks out of survey back to move mode). X XFix machine player attached to iconified window (wedges other players). X XProvide manual control over repetition of standing orders. X XImplement temporary wakeup using "awake" slot. X XFix Sun bug causing display of char 0 instead of usual box-shaped cursor. X(Appears to be due to server rather than library?) X XAccount for impassable terrain when deciding about siege existence. X XImplement effect of population on supply and attrition. X XImplement view coverage of hex due to population. X XFinish the command to add a player in middle of game. X XFinish the CHEAT compile time option. X XFake 3d maps by allowing some unit types to jump over/under other units. X XAdd "automove" capability (one order only, dies if woken up). X XFind and fix any byte/word pointer sloppiness. X XAdd scrolling to message window, and delays to keep from scrolling too fast. X XFix unit array growing bug that weirds out unit parameters. X XAdd ability to attach particular names only to particular types of units, Xand to set a side name from some unit names (encode both in unit name). X XProvide a way to write a period so it can be read in again. X XExtend the graphics interface to use different kinds of display systems Xtogether, where each type of display would have a server, and the protocol Xwould have to be the graphic interface calls (an "xconq protocol"). END_OF_ToDo if test 1916 -ne `wc -c <ToDo`; then echo shar: \"ToDo\" unpacked with wrong size! fi # end of overwriting check fi if test -f Xdefaults -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"Xdefaults\" else echo shar: Extracting \"Xdefaults\" \(440 characters\) sed "s/^X//" >Xdefaults <<'END_OF_Xdefaults' X# This is an example of stuff to go in .Xdefaults, in particular it X# illustrates yet another way to get fonts to work right - just include X# the full pathname of the font. This will also work if you are experimenting X# and don't want to recompile the program just to get a font from elsewhere. X Xxconq.TextFont: timrom12 Xxconq.IconFont: /u/shebs/games/xconq/lib/xconq.onx Xxconq.UnitFont: /u/shebs/games/xconq/lib/ww2.onx X END_OF_Xdefaults if test 440 -ne `wc -c <Xdefaults`; then echo shar: \"Xdefaults\" unpacked with wrong size! fi # end of overwriting check fi if test -f global.h -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"global.h\" else echo shar: Extracting \"global.h\" \(1985 characters\) sed "s/^X//" >global.h <<'END_OF_global.h' X/* Copyright (c) 1987, 1988 Stanley T. Shebs, University of Utah. */ X/* This program may be used, copied, modified, and redistributed freely */ X/* for noncommercial purposes, so long as this notice remains intact. */ X X/* RCS $Header: global.h,v 1.1 88/06/21 12:29:41 shebs Exp $ */ X X/* Global data structures. */ X X/* There is actually no inherent limit on the number of winning and losing */ X/* conditions, but scenarios usually only need a couple. */ X X#define NUMCONDS 10 X X/* Not many types of conditions (probably could think of a few more). */ X X#define TERRITORY 0 X#define UNITCOUNT 1 X#define RESOURCECOUNT 2 X#define POSSESSION 3 X X/* Win/lose conditions can take several different forms. Some of these */ X/* slots could be glommed into a union, but so what... */ X Xtypedef struct a_condition { X bool win; /* is this a condition of winning or losing? */ X int type; /* based on units, resources, or location? */ X int starttime; /* first turn to check on condition */ X int endtime; /* last turn to check on condition */ X int sidesn; /* side number to which this cond applies */ X int units[MAXUTYPES]; /* numbers for each type of unit */ X int resources[MAXRTYPES]; /* numbers for each type of resource */ X int x, y; /* a location */ X int n; /* a vanilla value */ X} Condition; X X/* Definition of structure containing all global variables. */ X Xtypedef struct a_global { X int time; /* the current turn */ X int endtime; /* the last turn of the game */ X bool setproduct; /* true if production changes allowed */ X bool leavemap; /* true if units can leave the map */ X int numconds; /* number of conditions... */ X Condition winlose[NUMCONDS]; /* and space for the conditions themselves */ X} Global; X X/* Just have the one "global" object. */ X Xextern Global global; X END_OF_global.h if test 1985 -ne `wc -c <global.h`; then echo shar: \"global.h\" unpacked with wrong size! fi # end of overwriting check fi if test -f hexify.c -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"hexify.c\" else echo shar: Extracting \"hexify.c\" \(2407 characters\) sed "s/^X//" >hexify.c <<'END_OF_hexify.c' X/* Quicky hack to convert old-style maps into new-style. R/W to stdin/out. */ X/* Unit side names evaporate entirely, sigh, and no run-length encoding. */ X X#include <stdio.h> X#include "misc.h" X X#define SEPCHAR '*' X Xchar citybuf[8000]; Xchar *uname[1000], *usname[1000]; X/* have to do something about this! */ Xchar terrchars[] = ".,=+%~(^_:"; Xchar terrain[400][400]; Xint ux[1000], uy[1000], utype[1000]; X Xmain() X{ X char ch, *name, *sname, *next; X int worldwidth, worldheight, worldscale, greenwich, equator; X int i, j, x, y, terr, x1, numcities = 0; X X scanf("M %d %d %d %d %d\n", X &worldwidth, &worldheight, &greenwich, &equator, &worldscale); X for (y = worldheight-1; y >= 0; --y) { X for (x = 0; x < worldwidth; ++x) { X x1 = x - y / 2; /* New x coordinate */ X if (x1 < 0) x1 += worldwidth; X scanf("%c", &ch); X terr = iindex(ch, terrchars); X if (terr < 0) { X terr = '+'; X ux[numcities] = x1; uy[numcities] = y; X utype[numcities] = ch; X numcities++; X } X terrain[x1][y] = terr; X } X scanf("\n"); X } X i = 0; X while ((ch = getc(stdin)) != EOF) { X if (ch == ' ' || ch == '\n' || ch == '\t') ch = '\0'; X if (ch == '\\') ch = getc(stdin); X citybuf[i++] = ch; X } X citybuf[i++] = '\0'; /* in case somebody forgot a newline at EOF */ X name = citybuf; X for (i = 0; i < numcities; ++i) { X next = (char *) index(name,'\0'); X sname = (char *) index(name, SEPCHAR); X if (sname != NULL) *sname++ = '\0'; X uname[i] = name; X usname[i] = sname; X while (*next++ == '\0'); X name = next-1; X } X printf("Xconq 0 -+---+\n"); X printf("Map %d %d %d 1 0\n", worldwidth, worldheight, worldscale); X for (y = worldheight-1; y >= 0; --y) { X for (x = 0; x < worldwidth; ++x) { X putc(terrchars[(int) terrain[x][y]], stdout); X } X printf("\n"); X } X printf("Units %d 1 0\n", numcities); X for (i = 0; i < numcities; ++i) { X if (usname[i] == NULL || strlen(usname[i]) == 1) usname[i] = "*"; X for (j = 0; j < strlen(uname[i]); ++j) { X if ((uname[i])[j] == ' ') (uname[i])[j] = '*'; X } X printf("%c %s %d,%d\n", utype[i], uname[i], ux[i], uy[i]); X } X} X X/* Get a *numeric* index into a string (infinitely more useful than ptr!). */ X/* Return -1 on failed search. */ X Xiindex(ch, str) Xchar ch, *str; X{ X int i; X X if (str == NULL) return (-1); X for (i = 0; str[i] != '\0'; ++i) { X if (ch == str[i]) return i; X } X return (-1); X} END_OF_hexify.c if test 2407 -ne `wc -c <hexify.c`; then echo shar: \"hexify.c\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/1800.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/1800.map\" else echo shar: Extracting \"lib/1800.map\" \(2257 characters\) sed "s/^X//" >lib/1800.map <<'END_OF_lib/1800.map' XXconq 0 -----+ Cities of Europe ca 1800 for oldeur.map (needs work) XUnits 115 1 0 X@ St.*Petersburg 31,115 -1 X@ Stockholm 15,108 -1 X* Riga 32,100 -1 X* Edinburgh 161,96 -1 X* Viteosk 49,93 -1 X* Smolensk 54,93 -1 X* Copenhagen 13,92 -1 X* Memel 33,91 -1 X* Kovno 39,90 -1 X* Vilna 43,90 -1 X* Konigsberg 31,89 -1 X* Lubeck 11,87 -1 X* Stralsund 16,87 -1 X* Danzig 30,87 -1 X* Minsk 51,87 -1 X* Kharkov 75,87 -1 X* Hamburg 9,86 -1 X* Bremen 8,85 -1 X* Stettin 22,85 -1 X* Thorn 30,85 -1 X@ Berlin 19,83 -1 X* Posen 26,82 -1 X* Warsaw 36,82 -1 X* Brest-Litovsk 42,82 -1 X* Pinsk 48,82 -1 X* Kiev 59,82 -1 X* Cassel 11,81 -1 X* Hannover 14,81 -1 X* Brunswick 16,81 -1 X* Magdeburg 18,81 -1 X* Amsterdam 4,80 -1 X* Munster 11,79 -1 X@ London 173,79 -1 X* Antwerp 3,77 -1 X* Weimar 20,77 -1 X* Leipzig 22,77 -1 X* Lublin 43,77 -1 X* Portsmouth 172,77 -1 X* Dover 177,77 -1 X* Dresden 25,76 -1 X* Breslau 31,76 -1 X* Cracow 38,76 -1 X* Lvov 49,76 -1 X* Plymouth 164,76 -1 X* Calais 179,76 -1 X* Coblenz 0,74 -1 X* Frankfurt 3,74 -1 X* Bayreuth 5,74 -1 X* Cologne 178,74 -1 X* Boulogne 15,73 -1 X* Lille 19,73 -1 X* Brussels 26,73 -1 X* Cherbourg 172,73 -1 X* Le*Havre 2,71 -1 X* Amiens 21,71 -1 X* Namur 176,71 -1 X* Prague 7,70 -1 X* Brest 9,70 -1 X* Rheims 11,70 -1 X* Verdun 37,70 -1 X@ Mainz 168,70 -1 X@ Metz 3,69 -1 X* Olmutz 17,69 -1 X* Paris 19,69 -1 X* Ansbach 17,67 -1 X* Lorient 19,67 -1 X* Strasbourg 21,67 -1 X* Baden 27,67 -1 X* Stuttgart 171,67 -1 X* Ulm 174,65 -1 X* Ratisbon 27,64 -1 X* Vienna 0,63 -1 X* Nantes 17,63 -1 X* Munich 45,62 -1 X* Tours 7,61 -1 X* Budapest 16,60 -1 X* Basel 178,60 -1 X* Zurich 15,57 -1 X* Leobert 33,56 -1 X* Neufchatel 2,55 -1 X* Innsbruck 29,55 -1 X* Nevers 162,55 -1 X* Rochefort 33,53 -1 X* Geneva 0,52 -1 X* Trieste 17,52 -1 X* Lyon 20,52 -1 X@ Venice 28,52 -1 X* Corunna 179,51 -1 X* Bordeaux 34,50 -1 X@ Milan 22,49 -1 X* Mantua 176,48 -1 X* Bayonne 163,47 -1 X@ Grenoble 39,44 -1 X* Avignon 171,44 -1 X* Toulouse 13,43 -1 X@ Genoa 179,43 -1 X* San*Sebastian 163,42 -1 X@ Toulon 47,40 -1 X@ Burgos 1,39 -1 X@ Marseilles 165,39 -1 X* Florence 177,39 -1 X* Ciudad*Rodrigo 9,37 -1 X* Oporto 170,37 -1 X* Barcelona 17,36 -1 X* Madrid 11,34 -1 X* Talavera 0,33 -1 X* Vimiero 169,33 -1 X* Lisbon 175,33 -1 X* Toledo 9,31 -1 X* Valencia 4,30 -1 X* Badajoz 176,30 -1 X* Port*Mahon 179,28 -1 X@ Turin 19,49 -1 X@ Moscow 63,100 -1 END_OF_lib/1800.map if test 2257 -ne `wc -c <lib/1800.map`; then echo shar: \"lib/1800.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/beirut.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/beirut.map\" else echo shar: Extracting \"lib/beirut.map\" \(1776 characters\) sed "s/^X//" >lib/beirut.map <<'END_OF_lib/beirut.map' XXconq 0 --+--- XMap 60 42 0 1 0 X26.,5=+5=+21. X25.,,5=+3=%==21. X..,3+.,,.,8+.7,+4=+==%3=21. X.,+^5+,,+^^+^^+^++^^+^^+^^+^^+3=%==21. X,++^^+^^4+^^+^^+^^+^^+^^+^^+^^+^^==%=15.6, X++^6+3^6+3^15+=%%==10.9+ X^+3^+^^+3^=^+^^+^3+^+^^+^^+^^+^^+6=8.++3^++^+1^ X^^+^^+^^+3^=^+^^+^+3^+^^+^^+^^+^^+^==%==6.3+5^+^^1+ X13+=10+^^12+3=6.++^10+ X^^+^+3^+^++^^%^^+^^+^^+^^+^^+^^+^^+^^=%==5.+^^+^+3^+^^1+ X+^+^^+^^+^^+^^=^^+^^+^^+^^+^^+3^+^+^^+=%==4.+^^+^^+^^+^^1+ X^5+^^7+%7+^8+^+^^4+3=5.3+^^5+^1+ X^^+^^+^^+^^+^^+%^+^+3^+^^+^+3^++4^+^=%%=4.,+3^+^+^^2+ X^^+^^4+^^+^^+%^+^^+^^+^^+^^+^^+^^+^^+^^3=5.,+^^+^^+^^1+ X6+^^8+%++^^+^6+^11+=%%6.,9+ X^^+^++^^+^^+^^+^^=^+^+^+5^+5^+^^+^^+3=5.,^^+^+3^1+ X^^+^^+^^+^^+^^+^^=^^++^+^^+^^+5^+^^+^^+=%==4.,^^+^+3^1+ X10+^^6+=^+^11+^3+^4+5=4.,^++^4+ X^^+^+3^+^4+3^+^=+^^+^^+^^+^^+^+^^++^^+^5=4.,+^^+^^1+ X^^+^^+^^+5^+^^+^%+^^+^^+3^+^+^^+^^+^^+^^=%==5.,^^+^^1+ X10+4^6+%8+^^14+3=5.,6+ X^^+^^+^+^^+^^++^+3^%^^+^^+^^+^^+^^+^^+^+3^+=%==4.,^^+^^1+ X^^+^++^^+^^+^+^^+3^+^^+3^+^+^^+^++^^+^^+^^+5=4.,^^+^1+ X++^^+^16+=3+^+^^3+^+^^8+^%%==4.,+^^2+ X^^+^+3^+^^+^+3^+^^+^^=^^+^^+^^+^^+^^+^+3^+^%4=3.,,+^^1+ X^^+^^+3^+^+^^+^^+^^+3^=^+^^++^+^^+^++^^+^^+^3=%==3.,+^^1+ X12+^^4+^^10+^7+^+^+^4+5=4.,3+ X^^+^^+5^+^^+^+3^+^^+^=+^^+5^+^^+^^+^^+^^+%4=4.,2+ X^^+3^++3^+^++^^+^^+^^+^%+^^+^^+^^+^++^^+^^+^^+==%3=3.,,1+ X7+^++^3+3^8+%10+^+^+^7+=%4=4.2, X,+3^+4^++^^++^+^+3^+^++^^+5^+^+^^++^^+^^+^==%=%=5. X,,++^+5^+^^+^++^^+3^+^+=^+5^+^+3^+^^+^^+^^=%4=4. X..,,9+4^8+^++%3+3^+^^++^10+6=3. X4.7,+^+3^+^^+5^+^^%^^+3^+3^++^^+^^+^^+=%4=3. X11.,+^+3^+^+5^+^^+%^+^^3+3^+^^+^^+^^+^=%3=3. X12.,,7+^^++^4+%5+^^14+6=2. X14.,+^+^^+^^+^++^++^%+^^+^^+5^+^^+^^+^7=1. X15.,++^^+^^+^+^+^+^^=^^+^^+5^+^^+^^+^^==%3=1. X15.,10+^^4+=14+^4+^7= X16.++^^+^^+^^+^^+^^+=^+^^+^^+^^+^^+^^+^^7= X12.^^..^+^^+^^+^^+^^+^^+^^+^^+^^+^^+^^+^^+^^+==+^^1+ X+..57+ END_OF_lib/beirut.map if test 1776 -ne `wc -c <lib/beirut.map`; then echo shar: \"lib/beirut.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/beirut.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/beirut.per\" else echo shar: Extracting \"lib/beirut.per\" \(2032 characters\) sed "s/^X//" >lib/beirut.per <<'END_OF_lib/beirut.per' XXconq 0 -+---- The heroic fighters of Beirut XPeriod 0 X X; buildings should be able to be neutral after revolt X; death squads should be as fast as leaders and shouldn't retreat X; and should be able to take over buildings. X; no capturing if leader if they are win/lose condition. X X"Beirut 1982" period-name X X0 scale ; well under 1 km per hex... X X"m" "militia" "hide and fight from building to building" utype X"d" "death squad" "hit people and not buildings" utype X"l" "leader" "an individual" utype X"c" "car bomb" "destroys buildings" utype X"t" "tank" "also destroys buildings and other things" utype X"B" "building" "good for hiding out" utype X X; hostages rtype? X X"." "sea" "sky blue" ttype X"," "beach" "yellow" ttype X"+" "street" "light gray" ttype X"^" "junkheap" "sienna" ttype X"=" "fields" "green" ttype X"%" "trees" "forest green" ttype X Xtrue junkheap dark X X[ 0 20 25 35 80 90 ] t* min-alt X[ 20 25 35 80 90 100 ] t* max-alt X X"soldiers" m icon-name X"45" d icon-name X"man" l icon-name X"auto" c icon-name X"tank" t icon-name X"city20" B icon-name X X[ m d l c t ] "movers" define X[ c t ] "vehicles" define X[ sea ] "water" define X[ beach street junkheap fields trees ] "land" define X X1 B territory X10 l territory X X[ 5 1 1 2 2 1 ] u* in-country X3000 B density X100 street movers favored X100 junkheap B favored X X; 100 t* u* favored X X5 country-size X5 country-min-distance X;10 country-max-distance X X100 B revolt X X[ 1 1 2 3 3 ] movers speed X X0 land [ m d l ] moves X0 [ beach street ] vehicles moves X X2 [ m d l ] B capacity X X0 d visibility Xtrue B already-seen X Xtrue all-seen X X[ 1 1 1 1 2 10 ] u* hp X X[ 50 50 50 50 50 50 ] u* m hit X[ 5 50 70 20 20 0 ] u* d hit X[ 0 20 50 0 20 0 ] u* l hit X[ 90 90 90 90 90 90 ] u* c hit X[ 90 90 90 90 90 90 ] u* t hit X[ 10 10 10 10 0 0 ] u* B hit X X1 u* u* damage X1 B t damage X[ 2 10 ] [ t B ] c damage X X-100 neutrality X Xtrue c self-destruct X X100 B m capture X100 c m capture X50 l m capture X50 t m capture X X[ 20 80 90 0 0 ] movers retreat X X;30 m control X X50 [ m d ] B protect X90 B m protect X Xend END_OF_lib/beirut.per if test 2032 -ne `wc -c <lib/beirut.per`; then echo shar: \"lib/beirut.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/beirut.scn -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/beirut.scn\" else echo shar: Extracting \"lib/beirut.scn\" \(578 characters\) sed "s/^X//" >lib/beirut.scn <<'END_OF_lib/beirut.scn' XXconq 2 ---++- The battle of Beirut; XActually, this includes only a subset of the actual participants. XThey all fight each other here; there should actually be some alliances. X. Xbeirut.per Xlib/beirut.map XGlobals 0 100 0 0 1 0 X0 1 0 100 -1 X10 10 0 10 10 1000 XSides 7 2 0 XMaronite X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XAmal X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XHezbollah X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XDruze X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XSyrian X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XIsraeli X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 XPLO X0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 END_OF_lib/beirut.scn if test 578 -ne `wc -c <lib/beirut.scn`; then echo shar: \"lib/beirut.scn\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/crater.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/crater.map\" else echo shar: Extracting \"lib/crater.map\" \(1658 characters\) sed "s/^X//" >lib/crater.map <<'END_OF_lib/crater.map' XXconq 0 --+--+ Random map with a "crater lake"; Xa real test-piece, difficult to maneuver on, bottlenecked, etc. XMachine players just can't figure this one out - nor can some people! X. XMap 35 31 100 1 0 X___________________________________ X....+,............................. X....+....+++++~~................... X........+++++++++,................. X......++++++++++~,................. X......%%++++++++++,................ X...+%.++++++++++++................. X.......++++++++++++................ X......+++++++++++,.......,......... X.......%++++++++++........~~....... X.......%+++++++++.................. X..,+%..,%++++++++.................. X..+%%%+%%%++++++................... X...%%%%%%%%%%+++%.................. X...,%%%%%,%%%%%%................... X.....%%%....,%%%................... X^%...........%%................+^^^ X^^^%%........%%%......+........+^^^ X^^^^%%......%%%%+.....+.......+^^^^ X.%^^^^%.....%%%%%++,+..........^^^% X.+^^^^^%%...%%%%+++++..+.......^^^. X.+^^^%%^^%..%%%%++++++..+.......^^^ X+^^^%%%%+%..,%%+++++~+~..+......^^^ X^^^^^%%%%%.....++++++^~++++++....^^ X^^^^%%%%%........+++~^^^~~~~+....++ X+^++.%%%%.........,++~~~~~+~~~..... X.....%%+............++~~~~+........ X......%++.............++~+......... X.....,.++.......................... X........+%......................... X___________________________________ XUnits 16 1 0 X* Vryburg 8,27 -1 X* Mistake*Creek 3,24 -1 X@ Paramagudi 6,24 -1 X* Tooele 9,24 -1 X* Bellows*Falls 6,22 -1 X* Atlasburg 10,22 -1 X* Adobe*Acres 6,18 -1 X* Philomath 22,13 -1 X@ Vrigstad 20,10 -1 X* Waggaman 1,9 -1 X* Yeehaw*Junction 24,9 -1 X* Ushtobe 8,8 -1 X* Tillamook 16,7 -1 X* Hayti 20,7 -1 X* Bo*Phloi 24,7 -1 X* Buzzards*Bay 20,4 -1 END_OF_lib/crater.map if test 1658 -ne `wc -c <lib/crater.map`; then echo shar: \"lib/crater.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/crater2.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/crater2.map\" else echo shar: Extracting \"lib/crater2.map\" \(848 characters\) sed "s/^X//" >lib/crater2.map <<'END_OF_lib/crater2.map' XXconq 0 --+-++ saved game XMap 35 31 100 1 0 X35_ X4.+,29. X4.+4.5+~~19. X8.9+,17. X6.10+~,17. X6.%%10+,16. X3.+%.12+17. X7.12+16. X6.11+,7.,9. X7.%10+8.~~7. X7.%9+18. X..,+%..,%8+18. X..+3%+3%6+19. X3.10%3+%18. X3.,5%,6%19. X5.3%4.,3%19. X^%11.%%16.+3^ X3^%%8.3%6.+8.+3^ X4^%%6.4%+5.+7.+4^ X.%4^%5.5%++,+10.3^1% X.+5^%%3.4%5+..+7.3^1. X.+3^%%^^%..4%6+..+7.3^ X+3^4%+%..,%%5+~+~..+6.3^ X5^5%5.6+^~6+4.2^ X4^5%8.3+~3^4~+4.2+ X+^++.4%9.,++5~+3~5. X5.%%+12.++4~+8. X6.%++13.++~+9. X5.,.++26. X8.+%25. X35_ XSides 2 1 0 XItalian XAfrican XUnits 17 1 0 X* Waggaman 1,9 -1 X* Ushtobe 8,8 -1 X@ Paramagudi 6,24 0 Xi * 6,24 0 X* Bellows*Falls 6,22 0 X* Mistake*Creek 3,24 0 X* Tooele 9,24 0 X* Atlasburg 10,22 0 X* Vryburg 8,27 0 X* Adobe*Acres 6,18 0 X* Tillamook 16,7 1 X* Buzzards*Bay 20,4 1 X* Hayti 20,7 1 X@ Vrigstad 20,10 1 Xi * 20,10 1 X* Bo*Phloi 24,7 1 X* Yeehaw*Junction 24,9 1 X* Philomath 22,13 1 END_OF_lib/crater2.map if test 848 -ne `wc -c <lib/crater2.map`; then echo shar: \"lib/crater2.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/deathray.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/deathray.b\" else echo shar: Extracting \"lib/deathray.b\" \(227 characters\) sed "s/^X//" >lib/deathray.b <<'END_OF_lib/deathray.b' X#define deathray_width 16 X#define deathray_height 16 Xstatic short deathray_bits[] = { X 0x0001, 0x0002, 0x0004, 0x0008, X 0x0011, 0x0026, 0x0058, 0x00e0, X 0xffff, 0x00c0, 0x0070, 0x002c, X 0x0013, 0x0008, 0x0004, 0x0002}; END_OF_lib/deathray.b if test 227 -ne `wc -c <lib/deathray.b`; then echo shar: \"lib/deathray.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/deathstar.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/deathstar.b\" else echo shar: Extracting \"lib/deathstar.b\" \(218 characters\) sed "s/^X//" >lib/deathstar.b <<'END_OF_lib/deathstar.b' X#define death_width 16 X#define death_height 16 Xstatic short death_bits[] = { X 0x0000, 0x03e0, 0x0f98, 0x1f6c, X 0x3f56, 0x3f56, 0x7fb7, 0x7fcf, X 0x2222, 0x7fff, 0x7fff, 0x3ffe, X 0x3ffe, 0x1ffc, 0x0ff8, 0x03e0}; END_OF_lib/deathstar.b if test 218 -ne `wc -c <lib/deathstar.b`; then echo shar: \"lib/deathstar.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/empire.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/empire.per\" else echo shar: Extracting \"lib/empire.per\" \(2808 characters\) sed "s/^X//" >lib/empire.per <<'END_OF_lib/empire.per' XXconq 0 -+---- Empire-like period XPeriod 0 X X"empirical" period-name X X"A" "army" "" utype X"F" "fighter" "" utype X"D" "destroyer" "" utype X"S" "submarine" "" utype X"T" "troop transport" "" utype X"R" "cruiser" "" utype X"C" "carrier" "" utype X"B" "battleship" "" utype X"@" "city" "" utype X X"f" "avgas" "" rtype ; used only to constrain fighter range X X"." "sea" "sky blue" ttype X"+" "land" "green" ttype X Xland default-terrain ; for compatibility with other maps X X[ 0 70 ] t* min-alt X[ 70 100 ] t* max-alt X[ 0 0 ] t* min-wet X[ 100 100 ] t* max-wet X X90 alt-roughness X X; bitmaps are all 16x16. X X"soldiers" A icon-name X"jets" F icon-name X"dd" D icon-name X"sub" S icon-name X"ap" T icon-name X"bb" R icon-name X"cv" C icon-name X"bb" B icon-name X"city20" @ icon-name X X[ D S T R C B ] "ship" define X X1 @ in-country X100 @ density Xtrue @ named X100 land @ favored X@ first-unit Xtrue @ already-seen X X[ 5 10 20 30 25 50 60 75 0 ] u* @ make Xtrue @ maker ; very important! X20 u* startup ; why does original empire doc list out the numbers? X1 ship @ repair X X[ 1 4 ] [ A F ] speed X2 ship speed X X0 land A moves X0 t* F moves X0 sea ship moves X X2 A @ capacity ; must have capacity for units being built X100 F @ capacity ; essentially infinite? X100 ship @ capacity X6 A T capacity X8 F C capacity X X4 u* F enter-time X X[ 1 1 3 3 2 8 8 12 1 ] u* hp X[ 0 0 2 2 1 4 4 6 0 ] u* crippled X X50 u* u* hit ; differing odds reflected by hp I guess... X 0 @ u* hit ; cities not treated like other units X 0 u* @ hit X X1 u* u* damage X3 ship S damage ; subs hit only ships harder X X50 @ A capture ; note that armies capture cities without hitting them X1 @ A guard ; use up the capturing army X X"shoots down" F destroy-message X"sinks" ship destroy-message X X;; Model limited fighter range. Carriers and cities should have essentially X;; infinite fuel supply. X X20 avgas F storage X 1 avgas F to-move X 4 avgas F consume X5000 avgas [ C @ ] storage X5000 avgas @ produce X100 land @ productivity X100 sea C productivity X X"runs out of fuel and crashes" F starve-message X X1 @ territory ; need this so machine player goes after right stuff X Xtrue @ neutral X Xbegin{notes} X XOf course, this will not be exactly like empire - for one thing, xconq maps Xare in hexes and not in squares! However, we can reproduce the characteristics Xof the playing pieces fairly well. X XThe chief defects are that combat is always mutual, rather than Xone-side-at-a-time hits, and that cities must have capacity for armies. XIn the latter case, this period fixes an annoying defect of the original Xempire game! Also, some of the messages are a little weird. X XThere is also an imbalance in that ships defeating armies don't run Xaground, so they are more useful than in the original. X Xend{notes} X Xend END_OF_lib/empire.per if test 2808 -ne `wc -c <lib/empire.per`; then echo shar: \"lib/empire.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/fortress.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/fortress.b\" else echo shar: Extracting \"lib/fortress.b\" \(227 characters\) sed "s/^X//" >lib/fortress.b <<'END_OF_lib/fortress.b' X#define fortress_width 16 X#define fortress_height 16 Xstatic short fortress_bits[] = { X 0x0000, 0x0000, 0x0000, 0x0040, X 0x00e0, 0x07fc, 0x071c, 0x06ec, X 0x0d16, 0x1d17, 0x0d16, 0x06ec, X 0x071c, 0x07fc, 0x00e0, 0x0040}; END_OF_lib/fortress.b if test 227 -ne `wc -c <lib/fortress.b`; then echo shar: \"lib/fortress.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/fred.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/fred.map\" else echo shar: Extracting \"lib/fred.map\" \(2086 characters\) sed "s/^X//" >lib/fred.map <<'END_OF_lib/fred.map' XXconq 0 --+-++ saved game XMap 60 41 30 1 0 X60: X6.3+28.4+17:2. X7.++29.3+17:2. X8.++21.3+..+.3+18:1. X9.++19.4+..+.4+17:1. X8.6+.+..3+8.7+,.4+18: X10.6+.6+5.8+,6+17: X:10.5+..6+3.10+,5+17: X:9.+,13+..10+,6+16: X::5.3+.++,4+,+,6+.9+,6+16: X::6.3+,++3,10+,9+,7+15: X3:.3+.4+,4+,3+,,++,+,9+,7+15: X3:.9+,4+,9+,9+,,6+14: X4:..8+,,3+,,7+,10+21: X4:..8+,+,4+,++.4+4,+,,4+20: X5:.8+,++,4+5,3+,++,,+,3+20: X5:10+,+,4+,4+,,++,4+,++,,19: X6:,,7+,++,4+,5+,++3,++3,+19: X6:++,,6+,++,^%++,,4+,4+,6+18: X7:3+,6+,++%^%3+,3+,6+,4+18: X7:3+,6+,,^^%^4+,,++,6+,4+17: X8:3+,4+,,+,^^%6+,9+,,++17: X8:3+,4+,+,+,,8+,10+,,+16: X9:3+,6+,+%,^^6+,,4(6+,16: X9:4+,7+%%3(5+(^,3(^^(+,,++15: X10:4+,7+%^(^^++(^^(^,++^^(^,3+15: X10:5+,8+(+^(^^(^^+,5+^^(3+14: X11:3+3,10+(3^4+3,+,+^(^^+14: X11:3+,++5,6+((5+,++,,3+^^(^13: X12:++,4+,++5,++(^5+,7+,(^13: X12:++,5+,6+,++(^(4+,,6+,++12: X13:+,5+,7+,++((^(++,+,,5+,+12: X13:+,5+,7+,4+(^(++,5+,+,++11: X14:+,4+,+^12+(^++,5+,,++11: X14:+,4+,+((++^(++,,+3,(^+,6+,3+10: X15:+,+^+,+^^+^((+,6+,3(7+,++10: X15:+,+^+,+((+^(3,6+,+(^(6+,3+9: X16:+,+(,+3^+(,9+,6+3,+,++9: X16:++,^+,+^^+,,10+7,++5,8: X16:3+,^,+^^+,25+8: X60: XSides 7 1 0 XPrussian XHannoverian XAustrian XSaxon XFrench XRussian XSwedish XUnits 52 1 0 X* Danzig 35,35 -1 X* Hamburg 12,32 -1 X* Emden 8,30 -1 X* Thorn 38,29 -1 X* Bremen 13,28 -1 X* Posen 36,25 -1 X* Cassel 18,19 -1 X* Leipzig 27,18 -1 X* Chemnitz 29,16 -1 X* Eger 31,12 -1 X* Wurzburg 24,11 -1 X* Donauworth 29,6 -1 X* Regensburg 32,6 -1 X* Passau 36,5 -1 X* Ulm 27,4 -1 Xg * 9,26 0 X@ Magdeburg 22,23 0 X@ Berlin 25,26 0 X@ Stettin 26,30 0 X@ Kustrin 30,25 0 X@ Glogau 36,21 0 X@ Colberg 29,34 0 X@ Schweidinitz 39,17 0 X@ Breslau 40,18 0 X@ Glatz 40,16 0 X@ Brieg 42,17 0 X@ Neisse 43,15 0 X@ Munster 11,23 1 X@ Minden 14,24 1 X@ Hannover 17,25 1 X@ Stade 12,31 1 X@ Prague 35,12 1 Xg * 44,4 1 X@ Brunn 44,7 1 X@ Olmutz 46,9 1 X@ Vienna 46,3 2 X@ Koniggratz 40,13 2 X@ Nuremberg 28,9 3 X@ Torgau 28,19 3 X@ Dresden 31,17 3 X@ Metz 15,8 4 X@ Strasbourg 20,5 4 X@ Venlo 7,20 4 X@ Roermond 9,18 4 X@ Cologne 12,17 4 X@ Coblenz 15,14 4 X@ Dusseldorf 11,19 4 X@ Mainz 18,12 4 X@ Wesel 9,22 4 X@ Frankfort 20,13 4 X@ Konigsberg 38,38 5 X@ Stralsund 20,34 6 END_OF_lib/fred.map if test 2086 -ne `wc -c <lib/fred.map`; then echo shar: \"lib/fred.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/globe.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/globe.map\" else echo shar: Extracting \"lib/globe.map\" \(346 characters\) sed "s/^X//" >lib/globe.map <<'END_OF_lib/globe.map' XXconq 0 --+--- XMap 30 17 1360 1 0 X30: X_5:_5:_5:_5:_5: X_.4:..4:__4:__4:__4: X__.3:.%%3:3%3:3%3:.^_3: X++%.::..++::4+::^3+::+..^2: X^++..:.4+:+4^:3+..:4.^1: X~++5.6~+3^++10. X.~+5.~%%~~.++.%%11. X3.3%4.%%+..+.%,%,%8. X3.+%%+3.+%+8.~+7. X4.3+4.++8.~~+6. X:4.+:5.:5.:5.:+4. X::3.+::4.::4.::4.::4. X3:3.3:3.3:3.3:3.3:3. X4:__4:__4:__4:__4:2_ X5:_5:_5:_5:_5:1_ X30: END_OF_lib/globe.map if test 346 -ne `wc -c <lib/globe.map`; then echo shar: \"lib/globe.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/hard.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/hard.map\" else echo shar: Extracting \"lib/hard.map\" \(2697 characters\) sed "s/^X//" >lib/hard.map <<'END_OF_lib/hard.map' XXconq 0 --+--+ XMap 41 41 100 1 0 X_________________________________________ X......................................... X......................................... X...+++%.%%%.............................. X....,+%+%%%.............................. X....%%+%%%%+%............................ X...+,%%%++%++++,................,,,,~~~.. X.....%%%%%^^^++++%..............~~~~~~++, X....%%%%%^^^+^++%%+............,+~~~~~++, X+....%%%%%^^^^^^++++,...........,++~~~~++ X~+++%%%%%%^^^^^+^++++.............,~~~~~~ X~++%%%%%++%+%++^^^+++,...............~~~~ X~+%%%+++++++++++^^+++................+~~+ X~++%%%%%++++++++++++++.............+..~++ X++++%%%%++++++++++++++..............+.~~+ X+++%%%%++%%%+++++++++++................++ X+++%%%%%%+++%++%%%++++,................+~ X+~++%%%%%%++++%%%%%%%+++................+ X++~+%%%%%^^+++%%%%%%%%+%................+ X++++%%++%^^^^%%%%%%%%%%+.+.............., X+%^^^%+^^+^^^^^^%%%%%..................., X.++^^%%^^^^^^^^^^%+%+.................... X..+++++^^^^^^^^^^%+++.................... X....++++%^^^^^^^+^%++,................... X...+..+++%^^^^^^^%+++.................... X.....+..,+++%%%^^^%++.................... X....+......+%%%++%+++.~+................. X.............+%++++++.................... X..............%+^+++.~................... X...............%++++...+................. X..............,%+++...................... X......................................... X......................................... X......................................... X............,............................ X...........++++.......................... X..........~~~+..............,,........... X...........~__+..............+++......... X...........~_~+..............++,......... X............+~~+...............,......... X_________________________________________ XUnits 45 1 0 X* Needmore 3,37 -1 X@ Counce 5,37 -1 X* Estiffanulga 7,36 -1 X* Bafwabalinga 6,35 -1 X* Vikna 11,35 -1 X* Meerut 3,34 -1 X* Housatonic 8,34 -1 X@ Roquefort 15,33 -1 X* Waggaman 39,32 -1 X* Toyooka 12,32 -1 X* Hardburly 34,31 -1 X* Whitby 15,30 -1 X* Todenyang 17,30 -1 X* Tongobory 19,30 -1 X* Granite*Quarry 11,29 -1 X* Fairchance 40,28 -1 X* Mascoutah 5,28 -1 X* Fukude 7,28 -1 X* Ushaia 35,27 -1 X* Black*Earth 40,26 -1 X@ Hack*Point 9,26 -1 X* Buckfastleigh 17,26 -1 X@ Soap*Lake 39,25 -1 X* Metalton 7,25 -1 X* Star*City 22,25 -1 X* Saugatuck 9,24 -1 X* Vrigstad 18,24 -1 X* Alosno 0,23 -1 X* Grindsted 2,23 -1 X@ Wonthaggi 22,23 -1 X* New*Straitsville 23,21 -1 X* Yoakum 25,21 -1 X* Lutesville 0,20 -1 X* Disputanta 6,20 -1 X* Loogootee 9,20 -1 X@ Daisytown 5,17 -1 X* Gratis 7,17 -1 X* Sleepy*Eye 16,17 -1 X* Wisconsin*Dells 3,16 -1 X* Bugt 4,14 -1 X* Ngetera 18,14 -1 X@ Galaxidhion 20,14 -1 X* Herbertabad 23,14 -1 X* Pocklington 19,11 -1 X* Buzzards*Bay 23,11 -1 END_OF_lib/hard.map if test 2697 -ne `wc -c <lib/hard.map`; then echo shar: \"lib/hard.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/harder.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/harder.map\" else echo shar: Extracting \"lib/harder.map\" \(2697 characters\) sed "s/^X//" >lib/harder.map <<'END_OF_lib/harder.map' XXconq 0 --+--+ XMap 41 41 100 1 0 X_________________________________________ X......................................... X.%%%%%................................... X..%+%+%%%%%.............................. X..%%%%%+%%%%............................. X..%%%%+%%%%+%............................ X..%+%%%%++%++++%................,,,,~~~.. X...%%%%%%%^^^++++%..............~~~~~~+++ X....%%%%%^^^+^++%%+............,+~~~~~+++ X+....%%%%%^^^^^^+++++...........,++~~~~++ X~+++%%%%%%^^^^^+^++++............++~~~~~~ X~++%%%%%++%+%++^^^++++...............~~~~ X~+%%%+++++++++++^^+++............+++++~~+ X~++%%%%%++++++++++++++............++++~++ X++++%%%%+++++++++++++++...........+++++~+ X+++%%%%++%%%++++++++++++..............+++ X+++%%%%%%+++%++%%%++++++..............++~ X+~++%%%%%%++++%%%%%%%+++................+ X++~+%%%%%^^+++%%%%%%%%+%%%..............+ X++++%%++%^^^^%%%%%%%%%%+%+%.............+ X+%^^^%+^^+^^^^^^%%%%%%%%%%%.............+ X+++^^%%^^^^^^^^^^%+%+.................... X..+++++^^^^^^^^^^%+++.................... X..++++++%^^^^^^^+^%++,................... X..+++++++%^^^^^^^%+++.................... X...+++..,+++%%%^^^%++++++................ X...+++.....+%%%++%+++++++................ X....+++......+%+++++++++++............... X..............%+^+++++++................. X...............%+++++++++................ X..............,%+++++++++................ X......................................... X......................................... X......................................... X............,............................ X...........++++.......................... X..........~~~+..............,,........... X...........~__+..............+++......... X...........~_~+..............++,......... X............+~~+...............,......... X_________________________________________ XUnits 45 1 0 X* Needmore 3,37 -1 X@ Counce 5,37 -1 X* Estiffanulga 7,36 -1 X* Bafwabalinga 6,35 -1 X* Vikna 11,35 -1 X* Meerut 3,34 -1 X* Housatonic 8,34 -1 X@ Roquefort 15,33 -1 X* Waggaman 39,32 -1 X* Toyooka 12,32 -1 X* Hardburly 34,31 -1 X* Whitby 15,30 -1 X* Todenyang 17,30 -1 X* Tongobory 19,30 -1 X* Granite*Quarry 11,29 -1 X* Fairchance 40,28 -1 X* Mascoutah 5,28 -1 X* Fukude 7,28 -1 X* Ushaia 35,27 -1 X* Black*Earth 40,26 -1 X@ Hack*Point 9,26 -1 X* Buckfastleigh 17,26 -1 X@ Soap*Lake 39,25 -1 X* Metalton 7,25 -1 X* Star*City 22,25 -1 X* Saugatuck 9,24 -1 X* Vrigstad 18,24 -1 X* Alosno 0,23 -1 X* Grindsted 2,23 -1 X@ Wonthaggi 22,23 -1 X* New*Straitsville 23,21 -1 X* Yoakum 25,21 -1 X* Lutesville 0,20 -1 X* Disputanta 6,20 -1 X* Loogootee 9,20 -1 X@ Daisytown 5,17 -1 X* Gratis 7,17 -1 X* Sleepy*Eye 16,17 -1 X* Wisconsin*Dells 3,16 -1 X* Bugt 4,14 -1 X* Ngetera 18,14 -1 X@ Galaxidhion 20,14 -1 X* Herbertabad 23,14 -1 X* Pocklington 19,11 -1 X* Buzzards*Bay 23,11 -1 END_OF_lib/harder.map if test 2697 -ne `wc -c <lib/harder.map`; then echo shar: \"lib/harder.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/hill.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/hill.per\" else echo shar: Extracting \"lib/hill.per\" \(716 characters\) sed "s/^X//" >lib/hill.per <<'END_OF_lib/hill.per' XXconq 0 -+---- King of the Hill period XPeriod 0 X X"10 years old" period-name X X0 scale X X"k" "kid" "a participant" utype X X"+" "grass" "green" ttype X"^" "hill" "sienna" ttype X X"person" k icon-name X X100 grass k favored X10 k in-country X X1 k k repair X Xtrue all-seen Xtrue k already-seen ; hack X X99 k hp X X1 k speed X X0 t* k moves X Xfalse counterattack X Xfalse k can-counter X X90 k k hit X X-30 hill k defense X X1 k k damage X X80 k retreat X X1 k territory X Xbegin{notes} XThis period "implements" 10-year-old kids. They can hit each other, Xbut damage is very minor, and soon recovered from (in theory, kids could Xkill each other, but that would be very unusual). The most likely result is Xfor one or both to run away. Xend{notes} X Xend END_OF_lib/hill.per if test 716 -ne `wc -c <lib/hill.per`; then echo shar: \"lib/hill.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/hill.scn -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/hill.scn\" else echo shar: Extracting \"lib/hill.scn\" \(506 characters\) sed "s/^X//" >lib/hill.scn <<'END_OF_lib/hill.scn' XXconq 1 --++++ "King of the Hill", a children's game Xhill.per XMap 30 21 0 1 0 X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X15+^14+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ X30+ XGlobals 0 50 0 0 1 0 X1 3 30 40 -1 X15 10 -1 XSides 2 1 0 XGarbagePail XDeadend XUnits 16 1 0 Xk Tommy 7,10 0 Xk Jenny 7,9 0 Xk Stanley 7,11 0 Xk Barry 6,10 0 Xk Bruce 8,10 0 Xk Mikey 6,11 0 Xk Marty 8,9 0 Xk Cathy 9,10 0 Xk Joey 23,10 1 Xk Leslie 24,9 1 Xk Timmy 22,11 1 Xk Harry 24,10 1 Xk Bobby 22,10 1 Xk Julie 23,11 1 Xk Jimmy 23,9 1 Xk Patti 21,10 1 X X X X END_OF_lib/hill.scn if test 506 -ne `wc -c <lib/hill.scn`; then echo shar: \"lib/hill.scn\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/hovcraft.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/hovcraft.b\" else echo shar: Extracting \"lib/hovcraft.b\" \(233 characters\) sed "s/^X//" >lib/hovcraft.b <<'END_OF_lib/hovcraft.b' X#define hovercraft_width 16 X#define hovercraft_height 16 Xstatic short hovercraft_bits[] = { X 0x0000, 0x0000, 0x0000, 0x0000, X 0x0000, 0x0000, 0x0000, 0x0000, X 0x0000, 0x07e0, 0x18f8, 0x3ffc, X 0x0000, 0x0000, 0x0000, 0x0000}; END_OF_lib/hovcraft.b if test 233 -ne `wc -c <lib/hovcraft.b`; then echo shar: \"lib/hovcraft.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/icos.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/icos.map\" else echo shar: Extracting \"lib/icos.map\" \(360 characters\) sed "s/^X//" >lib/icos.map <<'END_OF_lib/icos.map' XXconq 0 --+--- Mapping of a sphere onto an icosahedron XMap 30 17 100 1 0 X6:6:6:6:6: X1+5:1+5:1+5:1+5:1+5: X2+4:2+4:2+4:2+4:2+4: X3+3:3+3:3+3:3+3:3+3: X4+2:4+2:4+2:4+2:4+2: X5+1:5+1:5+1:5+1:5+1: X6+6+6+6+6+ X6+6+6+6+6+ X6+6+6+6+6+ X6+6+6+6+6+ X6+6+6+6+6+ X1:5+1:5+1:5+1:5+1:5+ X2:4+2:4+2:4+2:4+2:4+ X3:3+3:3+3:3+3:3+3:3+ X4:2+4:2+4:2+4:2+4:2+ X5:1+5:1+5:1+5:1+5:1+ X6:6:6:6:6: END_OF_lib/icos.map if test 360 -ne `wc -c <lib/icos.map`; then echo shar: \"lib/icos.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/impcruisr.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/impcruisr.b\" else echo shar: Extracting \"lib/impcruisr.b\" \(227 characters\) sed "s/^X//" >lib/impcruisr.b <<'END_OF_lib/impcruisr.b' X#define icruiser_width 16 X#define icruiser_height 16 Xstatic short icruiser_bits[] = { X 0x0000, 0x0000, 0x0000, 0x0000, X 0x0000, 0x0006, 0x003e, 0x03fe, X 0x1ffe, 0x7ffe, 0x1ffe, 0x03fe, X 0x003e, 0x0006, 0x0000, 0x0000}; END_OF_lib/impcruisr.b if test 227 -ne `wc -c <lib/impcruisr.b`; then echo shar: \"lib/impcruisr.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/maze.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/maze.map\" else echo shar: Extracting \"lib/maze.map\" \(967 characters\) sed "s/^X//" >lib/maze.map <<'END_OF_lib/maze.map' XXconq 0 --+--- XMap 40 40 100 1 0 X40. X40. X15+21.4+ X15%+20.+3% X15+%+19.+%2+ X15%+%+18.+%+1% X15+%+%+17.+%+1% X+14%+%+%+16.+%+1% X+%13+%+%+%+15.+%+1% X+%+12%+%+%+%+14.+%+1% X+%+%11+%+%+%+%+13.+%+1% X+%+%+10%+%+%+%+%+12.+%+1% X+%+%+%9+%+%+%+%+%+11.+%+1% X+%+%+%+8%+%+%+%+%+%+10.+%+1% X+%+%+%+%7+%+%+%+%+%+%+9.+%+1% X+%+%+%+%+6%+%+%+%+%+%+%+8.+%+1% X+%+%+%+%+%5+%+%+%+%+%+%+%+7.+%+1% X+%+%+%+%+%+4%+%+%+%+%+%+%+%+6.+%+1% X+%+%+%+%+%+%3+%+%+%+%+%+%+%+%+5.+%+1% X+%+%+%+%+%+%+%%+%+%+%+%+%+%+%+%+4.+%+1% X+%+%+%+%+%+%3+%+%+%+%+%+%+%+%+%+3.+%+1% X%+%+%+%+%+%+%++%+%+%+%+%+%+%+%+%+4.+%1+ X+%+%+%+%+%+%+%3+%+%+%+%+%+%+%+%+5.+1% X%+%+%+%+%+%+%+4%+%+%+%+%+%+%+%+6.1+ X+%+%+%+%+%+%+%5+%+%+%+%+%+%+%+7. X.+%+%+%+%+%+%+6%+%+%+%+%+%+%+7. X..+%+%+%+%+%+%7+%+%+%+%+%+%+7. X3.+%+%+%+%+%+8%+%+%+%+%+%+7. X4.+%+%+%+%+%9+%+%+%+%+%+7. X5.+%+%+%+%+10%+%+%+%+%+7. X6.+%+%+%+%11+%+%+%+%+7. X7.+%+%+%+12%+%+%+%+7. X8.+%+%+%13+%+%+%+7. X9.+%+%+14%+%+%+7. X10.+%+%15+%+%+7. X11.+%+16%+%+7. X12.+%17+%+7. X13.+18%+7. X14.19+7. X40. END_OF_lib/maze.map if test 967 -ne `wc -c <lib/maze.map`; then echo shar: \"lib/maze.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/mormon.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/mormon.per\" else echo shar: Extracting \"lib/mormon.per\" \(1971 characters\) sed "s/^X//" >lib/mormon.per <<'END_OF_lib/mormon.per' XXconq 0 -+---- the heroic age of the mormon pioneers (needs work) XPeriod 0 X X"1847" period-name X X"m" "mormon" "" utype X"A" "avenging angel" "" utype X"P" "prophet" "" utype X"a" "army" "" utype X"u" "Ute" "" utype X"/" "fort" "where the army hangs out" utype X"*" "settlement" "" utype X"@" "temple" "" utype X X"w" "water" "very scarce in Utah" rtype X X"." "lake" "sky blue" ttype X"," "river" "cyan" ttype X"+" "valley" "green" ttype X"%" "forest" "forest green" ttype X"~" "desert" "yellow" ttype X"^" "mountains" "sienna" ttype X"_" "salt flat" "white" ttype X":" "not-Utah" "black" ttype X Xtrue [ not-Utah ] dark X X;[ 0 70 70 70 70 70 90 95 99 0 ] t* min-alt X;[ 70 70 72 95 95 95 95 99 100 0 ] t* max-alt X;[ 0 0 50 20 80 0 0 0 0 0 ] t* min-wet X;[ 100 100 100 80 100 20 20 100 100 0 ] t* max-wet X X; not-Utah edge-terrain X X"man" m icon-name X"trooper" A icon-name X"man" P icon-name X"cavalry" a icon-name X"archer" u icon-name X"walltown" / icon-name X"walltown" * icon-name X"city18" @ icon-name X X; no random init, since sides asymmetrical X X5000 a siege X X10 m m make X2 m P make X1 [ m P ] maker X; 20 * m make X20 / a make X X1 water [ m A a ] produce X10 water [ / * @ ] produce X100 valley u* productivity X100 mountains a productivity X10 water [ m A a ] storage X100 water [ / * @ ] storage X1 water [ m A a ] consume X X"dies of thirst" [ m A a ] starve-message X X;;; scale should be 15 km? X X[ 2 4 4 4 6 ] [ m A a u P ] speed X X0 t* u* moves X-1 [ lake not-Utah ] u* moves X X5 m [ m P ] capacity X6 a / capacity X10 [ m A P ] * capacity X10 [ A P ] @ capacity X X95 m [ a u ] hit ; the army misses sometimes X; 50 P [ a u ] hit ; prophet is wily X50 a A hit ; avenging angels are only way to hit back X30 A a hit ; retaliation is harder X X1 u* u* damage X X"kills" [ m A a ] destroy-message X X10 / territory X1 * territory X5 @ territory X Xbegin{notes} XCan the US army kill all the Mormons before they overpopulate Utah? X X(This is all a joke of course.) Xend{notes} X Xend X END_OF_lib/mormon.per if test 1971 -ne `wc -c <lib/mormon.per`; then echo shar: \"lib/mormon.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/relief.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/relief.per\" else echo shar: Extracting \"lib/relief.per\" \(841 characters\) sed "s/^X//" >lib/relief.per <<'END_OF_lib/relief.per' XXconq 0 -+---- A dummy period for displaying something resembling relief maps. XPeriod 0 X X"C" "caveman" "" utype X X"a" "a" "black" ttype X"b" "b" "midnight blue" ttype X"c" "c" "navy blue" ttype X"d" "d" "cadet blue" ttype X"e" "e" "blue" ttype X"f" "f" "medium blue" ttype X"g" "g" "sky blue" ttype X"h" "h" "light blue" ttype X"i" "i" "aquamarine" ttype X"j" "j" "cyan" ttype X"k" "k" "forest green" ttype X"l" "l" "medium forest green" ttype X"m" "m" "green" ttype X"n" "n" "green yellow" ttype X"o" "o" "yellow green" ttype X"p" "p" "yellow" ttype X"q" "q" "khaki" ttype X"r" "r" "sienna" ttype X"s" "s" "sienna" ttype X"t" "t" "white" ttype X X[ 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 ] t* min-alt X[ 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100 ] t* max-alt X X0 alt-roughness X X0 wet-roughness X X1 C speed X X0 t* C moves X Xend X END_OF_lib/relief.per if test 841 -ne `wc -c <lib/relief.per`; then echo shar: \"lib/relief.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/ringworld.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/ringworld.map\" else echo shar: Extracting \"lib/ringworld.map\" \(101 characters\) sed "s/^X//" >lib/ringworld.map <<'END_OF_lib/ringworld.map' XXconq 0 --+--- XMap 1000 11 100 1 0 X1000^ X1000+ X1000+ X1000+ X1000+ X1000+ X1000+ X1000+ X1000+ X1000+ X1000^ END_OF_lib/ringworld.map if test 101 -ne `wc -c <lib/ringworld.map`; then echo shar: \"lib/ringworld.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/simplest.per -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/simplest.per\" else echo shar: Extracting \"lib/simplest.per\" \(370 characters\) sed "s/^X//" >lib/simplest.per <<'END_OF_lib/simplest.per' XXconq 0 -+---- The simplest working period XPeriod 0 X X"c" "caveman" "wanders around" utype X X"+" "land" "green" ttype X X100 land c favored X X1 c in-country X10 known-radius X X1 c speed X X0 land c moves X X1 c territory X X; 0 c control X Xbegin{notes} XThis is the simplest period that can actually be played with. XStart new period development by modifying this one. Xend{notes} X Xend X END_OF_lib/simplest.per if test 370 -ne `wc -c <lib/simplest.per`; then echo shar: \"lib/simplest.per\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/t1.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/t1.map\" else echo shar: Extracting \"lib/t1.map\" \(1863 characters\) sed "s/^X//" >lib/t1.map <<'END_OF_lib/t1.map' XXconq 0 --+--+ XMap 50 35 100 1 0 X__________________________________________________ X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X+...............................................++ X+..........+....................................++ X+...............................................++ X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X__________________________________________________ XUnits 2 1 0 X@ Left 49,24 -1 X@ Right 11,24 -1 END_OF_lib/t1.map if test 1863 -ne `wc -c <lib/t1.map`; then echo shar: \"lib/t1.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/t2.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/t2.map\" else echo shar: Extracting \"lib/t2.map\" \(443 characters\) sed "s/^X//" >lib/t2.map <<'END_OF_lib/t2.map' XXconq 0 --+--+ XMap 40 9 100 1 0 X........................................ X........................................ X........................................ X....++................++................ X....+++...............+++............... X.....++................++............... X........................................ X........................................ X........................................ XUnits 2 1 0 X@ Left 5,4 -1 X@ Right 23,4 -1 END_OF_lib/t2.map if test 443 -ne `wc -c <lib/t2.map`; then echo shar: \"lib/t2.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/t3.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/t3.map\" else echo shar: Extracting \"lib/t3.map\" \(1179 characters\) sed "s/^X//" >lib/t3.map <<'END_OF_lib/t3.map' XXconq 0 --+--+ XMap 50 21 100 1 0 X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X..+++++++++++..................................... X..+++++++++++..................................... X...+++++++++++.................................... X...+++++++++++.................................... X....+++++++++++................................... X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. XUnits 4 1 0 X@ Top 7,15 -1 X@ Left 3,13 -1 X@ Right 13,13 -1 X@ Bottom 9,11 -1 END_OF_lib/t3.map if test 1179 -ne `wc -c <lib/t3.map`; then echo shar: \"lib/t3.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/t6.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/t6.map\" else echo shar: Extracting \"lib/t6.map\" \(2315 characters\) sed "s/^X//" >lib/t6.map <<'END_OF_lib/t6.map' XXconq 0 --+--+ XMap 50 41 100 1 0 X__________________________________________________ X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X++++++..................................++++++++++ X+++++++..................................+++++++++ X+++++++..................................+++++++++ X..++++++..................................++++++.. X++++++++..................................++++++++ X+++++++++..................................+++++++ X+++++++++..................................+++++++ X..........+....................................... X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X.................................................. X__________________________________________________ XUnits 12 1 0 X@ Top 47,34 -1 X* NW 43,33 -1 X* NE 4,33 -1 X@ Left 42,31 -1 X@ Foo 47,31 -1 X@ Bar 2,31 -1 X@ Right 7,31 -1 X* SW 46,29 -1 X* SE 5,29 -1 X@ Bottom 0,28 -1 X* Baz 3,28 -1 X@ Penin 10,27 -1 END_OF_lib/t6.map if test 2315 -ne `wc -c <lib/t6.map`; then echo shar: \"lib/t6.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/t8.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/t8.map\" else echo shar: Extracting \"lib/t8.map\" \(1295 characters\) sed "s/^X//" >lib/t8.map <<'END_OF_lib/t8.map' XXconq 0 --+--+ XMap 41 21 100 1 0 X......................................... X......................................... X......................................... X......................................... X......................................... X......................................... X......................................... X...+++++........+++++.................... X...+++++........+++++.................... X....+++++........+++++................... X....+++++........+++++................... X.....+++++........+++++.................. X.....+++++........+++++.................. X......+++++........+++++................. X......................................... X......................................... X......................................... X......................................... X......................................... X......................................... X......................................... XUnits 24 1 0 X* S-NW1 3,13 -1 X* S-N1 5,13 -1 X* S-NE1 7,13 -1 X* S-NW2 16,13 -1 X* S-N2 18,13 -1 X* S-NE2 20,13 -1 X* L-NW1 5,11 -1 X@ L-NE1 7,11 -1 X* L-NW2 18,11 -1 X@ L-NE2 20,11 -1 X/ * 4,10 -1 X/ * 8,10 -1 X/ * 17,10 -1 X/ * 21,10 -1 X* L-SW1 6,9 -1 X* L-SE1 8,9 -1 X* L-SW2 19,9 -1 X* L-SE2 21,9 -1 X* S-SW1 6,7 -1 X* S-S1 8,7 -1 X* S-SE1 10,7 -1 X* S-SW2 19,7 -1 X* S-S2 21,7 -1 X* S-SE2 23,7 -1 END_OF_lib/t8.map if test 1295 -ne `wc -c <lib/t8.map`; then echo shar: \"lib/t8.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/three.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/three.map\" else echo shar: Extracting \"lib/three.map\" \(1232 characters\) sed "s/^X//" >lib/three.map <<'END_OF_lib/three.map' XXconq 0 --+--+ saved game XMap 138 30 100 1 0 X138_ X138. X138. X138. X39.4,42.4,42.4,3. X39.4+,41.4+,41.4+,2. X,+,,+34.3,3+,,+,,+34.3,3+,,+,,+34.3,3+1, X+,.3,33.,7+,.3,33.,7+,.3,33.,6+ X+5.%,,32.,5+5.%,,32.,5+5.%,,32.,4+ X..,..5,30.,~~^++..,..5,30.,~~^++..,..5,30.,~~^2+ X++.,.,,3%31.,~~^^++.,.,,3%31.,~~^^++.,.,,3%31.,~~2^ X3+3.,%^+33.~^^3+3.,%^+33.~^^3+3.,%^+33.~2^ X++,4.,,+%,30.+~^3+,4.,,+%,30.+~^3+,4.,,+%,30.+~^1+ X^^3+4.,,%,28.4~3^3+4.,,%,28.4~3^3+4.,,%,28.4~1^ X^_^++8.,+,27.~~^^_^++8.,+,27.~~^^_^++8.,+,27.~~1^ X3^+,,39.+3^+,,39.+3^+,,39.1+ X+^++,,+39.+^++,,+39.+^++,,+39. X++43.,++43.,++43.1, X++42.+,++42.+,++42.+1, X138. X138. X138. X138. X138. X138. X138. X138. X138. X138. X138_ XUnits 24 1 0 X* Middle*North 43,23 -1 X* West*North 89,23 -1 X* East*North 135,23 -1 X* East*Harbor 0,21 -1 X* Middle*Plains 43,21 -1 X* Middle*Harbor 46,21 -1 X* West*Plains 89,21 -1 X* West*Harbor 92,21 -1 X* East*Plains 135,21 -1 X* East*Island 9,17 -1 X* Middle*Desert 42,17 -1 X* Middle*Valley 45,17 -1 X* Middle*Island 55,17 -1 X* West*Desert 88,17 -1 X* WestValley 91,17 -1 X* West*Island 101,17 -1 X* East*Desert 134,17 -1 X* East*Valley 137,17 -1 X@ Middle*Main 48,16 -1 X* East*South 2,13 -1 X* Middle*South 48,13 -1 X* West*South 94,13 -1 X@ East*Main 2,16 -1 X@ West*Main 94,16 -1 END_OF_lib/three.map if test 1232 -ne `wc -c <lib/three.map`; then echo shar: \"lib/three.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/torpbombr.b -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/torpbombr.b\" else echo shar: Extracting \"lib/torpbombr.b\" \(227 characters\) sed "s/^X//" >lib/torpbombr.b <<'END_OF_lib/torpbombr.b' X#define torpbomb_width 16 X#define torpbomb_height 16 Xstatic short torpbomb_bits[] = { X 0x0000, 0x0000, 0x0000, 0x0000, X 0x0000, 0x0000, 0x6000, 0x6000, X 0x70f2, 0x7ffe, 0x7ffe, 0x00a2, X 0x0ff8, 0x0000, 0x0000, 0x0000}; END_OF_lib/torpbombr.b if test 227 -ne `wc -c <lib/torpbombr.b`; then echo shar: \"lib/torpbombr.b\" unpacked with wrong size! fi # end of overwriting check fi if test -f lib/two.map -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"lib/two.map\" else echo shar: Extracting \"lib/two.map\" \(882 characters\) sed "s/^X//" >lib/two.map <<'END_OF_lib/two.map' XXconq 0 --+--+ saved game XMap 138 30 100 1 0 X138_ X138. X138. X138. X39.4,88.4,3. X39.4+,87.4+,2. X,+,,+34.3,3+,,+,,+80.3,3+1, X+,.3,33.,7+,.3,79.,6+ X+5.%,,32.,5+5.%,,78.,4+ X..,..5,30.,~~^++..,..5,76.,~~^2+ X++.,.,,3%31.,~~^^++.,.,,3%77.,~~2^ X3+3.,%^+33.~^^3+3.,%^+79.~2^ X++,4.,,+%,30.+~^3+,4.,,+%,76.+~^1+ X^^3+4.,,%,28.4~3^3+4.,,%,74.4~1^ X^_^++8.,+,27.~~^^_^++8.,+,73.~~1^ X3^+,,39.+3^+,,85.1+ X+^++,,+39.+^++,,+85. X++43.,++89.1, X++42.+,++88.+1, X138. X138. X138. X138. X138. X138. X138. X138. X138. X138. X138_ XUnits 16 1 0 X* Middle*North 43,23 -1 X* East*North 135,23 -1 X* East*Plains 0,21 -1 X* East*Harbor 43,21 -1 X* Middle*Plains 46,21 -1 X* West*North 135,21 -1 X* West*Harbor 9,17 -1 X* East*Desert 42,17 -1 X* East*Valley 45,17 -1 X* East*Island 55,17 -1 X* Middle*Harbor 134,17 -1 X* West*Plains 137,17 -1 X* Middle*Island 2,13 -1 X* West*Desert 48,13 -1 X@ Middle*Desert 2,16 -1 X@ Middle*Valley 48,16 -1 END_OF_lib/two.map if test 882 -ne `wc -c <lib/two.map`; then echo shar: \"lib/two.map\" unpacked with wrong size! fi # end of overwriting check fi if test -f misc.h -a "${1}" != "-c" ; then echo shar: Will not over-write existing file \"misc.h\" else echo shar: Extracting \"misc.h\" \(1110 characters\) sed "s/^X//" >misc.h <<'END_OF_misc.h' X/* Copyright (c) 1987, 1988 Stanley T. Shebs, University of Utah. */ X/* This program may be used, copied, modified, and redistributed freely */ X/* for noncommercial purposes, so long as this notice remains intact. */ X X/* RCS $Header: misc.h,v 1.1 88/06/21 12:29:43 shebs Exp $ */ X X/* Random definitions useful for nearly any C program. */ X Xtypedef unsigned char unchar; Xtypedef unsigned short unshort; X X#define bool int X#define TRUE (1) X#define FALSE (0) X X#define abs(x) (((x) < 0) ? (0 - (x)) : (x)) X X#define min(x,y) (((x) < (y)) ? (x) : (y)) X X#define max(x,y) (((x) > (y)) ? (x) : (y)) X X#define between(lo,n,hi) ((lo) <= (n) && (n) <= (hi)) X X#define flip_coin() (random(257) % 2) X X#define avg(a,b) (((a) + (b)) / 2) X X#define iswhite(c) ((c) == ' ' || (c) == '\n' || (c) == '\t') X X#define lowercase(c) (isupper(c) ? tolower(c) : (c)) X X#define uppercase(c) (islower(c) ? toupper(c) : (c)) X X/* Miscellaneous declarations. */ X Xextern bool Debug, Build, Freeze; X Xextern char spbuf[], tmpbuf[], version[]; Xextern char *plural_form(), *copy_string(), *read_line(); X#ifdef UNIX Xextern char *getenv(); X#endif UNIX X END_OF_misc.h if test 1110 -ne `wc -c <misc.h`; then echo shar: \"misc.h\" unpacked with wrong size! fi # end of overwriting check fi echo shar: End of archive 17 \(of 18\). cp /dev/null ark17isdone MISSING="" for I in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked all 18 archives. rm -f ark[1-9]isdone ark[1-9][0-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0