• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

pixmaps/H03-May-2022-

CHANGESH A D16-May-202035.2 KiB955808

COPYINGH A D16-May-2020714 2414

COW.DOCH A D16-May-202068 KiB1,8301,370

ChangeLogH A D16-May-202022.8 KiB654429

INSTALLH A D16-May-20207.8 KiB187146

INSTALL.SGIH A D16-May-20204.9 KiB179136

MakefileH A D16-May-20202.7 KiB11377

NETREK.RCH A D16-May-202076 103

NEWMACRO.DOCH A D16-May-202011.6 KiB334261

READMEH A D16-May-2020495 1512

README.1.02H A D16-May-202012.7 KiB379297

README.1.03H A D16-May-20207.6 KiB224169

README.2.00H A D16-May-20202.9 KiB10668

README.2.02H A D16-May-20204.2 KiB146101

README.3.00H A D16-May-202022.9 KiB585438

README.3.01H A D16-May-20201.5 KiB6333

README.releasingH A D16-May-20201.1 KiB5340

REPOSITORIESH A D16-May-2020559 2112

SHORT_PACKETS.DOCH A D16-May-20206.7 KiB181149

TODOH A D16-May-20209.2 KiB306217

Wlib.hH A D16-May-20207 KiB198156

XTREKRC.exampleH A D16-May-202025.3 KiB848718

audio.cH A D16-May-20202.6 KiB13699

audio.hH A D16-May-20201.3 KiB6221

autogen.shH A D16-May-2020449 159

badversion.hH A D16-May-20201.2 KiB3934

beeplite.cH A D16-May-20205.7 KiB270208

beeplite.hH A D16-May-202079 42

bitmaps.hH A D16-May-2020255 KiB4,1094,069

camera.cH A D16-May-20201.6 KiB6654

camera.hH A D16-May-202087 53

censor.cH A D16-May-20202.7 KiB12093

censor.hH A D16-May-2020110 53

check.cH A D16-May-20203.4 KiB10367

check.hH A D16-May-202032 31

colors.cH A D16-May-2020747 4636

colors.hH A D16-May-202040 31

config.guessH A D16-May-202043.2 KiB1,4811,288

config.h.inH A D16-May-202012 KiB527437

config.subH A D16-May-202035.3 KiB1,8021,661

configureH A D16-May-2020193.2 KiB6,9885,825

configure.acH A D16-May-20206.5 KiB205167

copyright.hH A D16-May-20201 KiB300

copyright2.hH A D16-May-2020281 100

cow.cssH A D16-May-2020443 1711

cow.desktopH A D16-May-2020169 98

cow.optH A D16-May-2020467 2120

cow.specH A D16-May-20208 KiB208134

cowapi.hH A D16-May-20202 KiB9652

cowmain.cH A D16-May-202021.3 KiB1,062812

cowmain.hH A D16-May-202052 32

dashboard.cH A D16-May-202013.8 KiB532440

dashboard.hH A D16-May-202024 21

dashboard3.cH A D16-May-202011.7 KiB605492

data.cH A D16-May-202016.8 KiB713436

data.hH A D16-May-202012.1 KiB545419

death.cH A D16-May-20206.1 KiB245205

death.hH A D16-May-202042 32

defaults.cH A D16-May-202020.5 KiB900708

defaults.hH A D16-May-2020390 1210

defs.hH A D16-May-202014.8 KiB439305

defwin.cH A D16-May-202012.7 KiB972919

defwin.hH A D16-May-202035 31

distress.cH A D16-May-202019.8 KiB953746

distress.hH A D16-May-2020209 43

dmessage.cH A D16-May-20206.4 KiB286248

dmessage.hH A D16-May-2020130 42

docwin.cH A D16-May-20206.6 KiB353272

docwin.hH A D16-May-2020117 64

enter.cH A D16-May-20209.5 KiB303206

enter.hH A D16-May-202068 43

feature.cH A D16-May-20207.5 KiB311234

feature.hH A D16-May-2020228 64

findslot.cH A D16-May-20206.8 KiB248190

findslot.hH A D16-May-202037 31

getname.cH A D16-May-202012.5 KiB551473

getname.hH A D16-May-202062 31

getship.cH A D16-May-20205.7 KiB130112

getship.hH A D16-May-202090 42

helpwin.cH A D16-May-20206 KiB246164

helpwin.hH A D16-May-202037 31

hullbitmaps.hH A D16-May-20203.5 KiB6965

inform.cH A D16-May-20208.6 KiB261221

inform.hH A D16-May-202089 42

input.cH A D16-May-202048.6 KiB2,6102,179

input.hH A D16-May-2020382 1412

install.shH A D16-May-20200 10

interface.cH A D16-May-20203.1 KiB210173

interface.hH A D16-May-2020435 1917

lagmeter.cH A D16-May-20204 KiB145118

lagmeter.hH A D16-May-2020114 64

litebitmaps.hH A D16-May-20206.3 KiB108104

local.cH A D16-May-202035.5 KiB1,3731,076

local.hH A D16-May-2020587 318

localcursor.bitmapH A D16-May-2020798 2321

ltd_stats.hH A D16-May-202014.8 KiB469253

lurk.pyH A D16-May-202015.4 KiB581441

macrowin.cH A D16-May-20205.5 KiB267211

macrowin.hH A D16-May-202064 42

main.cH A D16-May-202010.9 KiB537437

manifestH A D16-May-20202.1 KiB206205

map.cH A D16-May-202017.2 KiB748506

map.hH A D16-May-2020733 448

mapcursor.bitmapH A D16-May-2020776 2321

mkcflags.cH A D16-May-20203 KiB11886

mkfilent.makH A D16-May-20205.6 KiB222173

mkkey.cH A D16-May-202029.7 KiB1,217953

mkportable.shH A D16-May-20201.4 KiB7141

moobitmaps.hH A D16-May-20208.5 KiB157154

myf.cH A D16-May-2020549 3525

myf.hH A D16-May-2020110 42

name.cH A D16-May-2020439 3227

netrek-client-cow.desktopH A D03-May-2022205 98

netrekrc.exampleH A D16-May-202024.4 KiB829683

netstat.cH A D16-May-20203.3 KiB218170

netstat.hH A D16-May-2020304 1210

netstatopt.cH A D16-May-20203 KiB167145

netstatopt.hH A D16-May-202061 43

newwin.cH A D16-May-202045.7 KiB1,5431,289

newwin.hH A D16-May-2020289 108

oldbitmaps.hH A D16-May-202044.2 KiB947890

option.cH A D16-May-202023.3 KiB971743

option.hH A D16-May-2020227 97

packets.hH A D16-May-202033.5 KiB1,2891,003

parsemeta.cH A D03-May-202234.2 KiB1,3271,038

parsemeta.hH A D16-May-2020641 338

patchlevel.hH A D16-May-202076 32

ping.cH A D16-May-20203.4 KiB166117

ping.hH A D16-May-2020102 53

pingstats.cH A D16-May-20205.6 KiB244191

pingstats.hH A D16-May-2020138 75

planetlist.cH A D16-May-20201.5 KiB6756

playback.cH A D16-May-202035 KiB1,4461,060

playback.hH A D16-May-2020135 65

playerlist.cH A D16-May-202021.3 KiB983650

playerlist.hH A D16-May-20203.6 KiB15533

rabbitbitmaps.hH A D16-May-20207.7 KiB153140

random.cH A D16-May-202013.4 KiB388180

randomize.cH A D16-May-2020339 2316

ranklist.cH A D16-May-20203.3 KiB11599

redraw.cH A D16-May-202010.1 KiB412352

redraw.hH A D16-May-202099 54

reserved.cH A D16-May-20202.9 KiB11590

reserved.hH A D16-May-2020194 42

rint.cH A D16-May-20202.5 KiB8343

rotate.cH A D16-May-20201.4 KiB8867

rotate.hH A D16-May-2020115 42

sample_key.defH A D16-May-20201.9 KiB6247

senddist.cH A D16-May-20204.4 KiB196133

senddist.hH A D16-May-2020113 42

setstate.cH A D16-May-202013.3 KiB376166

short.cH A D16-May-202056.7 KiB2,1581,745

short.hH A D16-May-2020764 1917

sintab.cH A D16-May-20205.3 KiB522520

smessage.cH A D16-May-202012 KiB652581

smessage.hH A D16-May-2020247 98

socket.cH A D16-May-2020149.7 KiB5,0324,288

socket.hH A D16-May-20202.9 KiB6825

sound.cH A D03-May-202233.5 KiB1,4441,093

sound.hH A D16-May-20201.6 KiB7558

spopt.cH A D16-May-20203.2 KiB194144

spopt.hH A D16-May-2020569 404

stats.cH A D16-May-20205.1 KiB223183

stats.hH A D16-May-2020112 64

strdup.cH A D16-May-2020245 1612

string_util.cH A D16-May-20202 KiB11477

string_util.hH A D16-May-20201.4 KiB526

struct.hH A D16-May-202019 KiB655447

system.mk.inH A D03-May-20226.8 KiB206163

teams.bitmapH A D16-May-20202.6 KiB6054

tngbitmaps.hH A D16-May-202030 KiB421418

tools.cH A D16-May-20201.6 KiB7857

tools.hH A D16-May-202066 42

udpopt.cH A D16-May-20204.6 KiB234205

udpopt.hH A D16-May-2020112 64

usleep.cH A D16-May-20201.1 KiB4736

util.cH A D16-May-20203.4 KiB158119

util.hH A D16-May-2020208 64

version.hH A D16-May-2020140 95

war.cH A D16-May-20204.9 KiB155106

war.hH A D16-May-202065 42

warning.cH A D16-May-20202.4 KiB10583

warning.hH A D16-May-202042 31

wsl.cH A D16-May-20208.6 KiB340256

wtext.hH A D16-May-20201.2 KiB4737

x11sprite.cH A D03-May-202219.6 KiB856696

x11sprite.hH A D16-May-202077 21

x11window.cH A D16-May-202093 KiB3,8843,182

x11window.hH A D16-May-20205.1 KiB122117

xclrs.hH A D16-May-202022 KiB663659

README

1Client Of Win
2Source Package
3
4	INSTALL		Installation guide, standard GNU project
5			(See also section 8.0 of COW.DOC)
6	COW.DOC		Documentation, text format
7	CHANGES		Change log, latest first, abbreviated format
8	ChangeLog	Change log, latest first, detailed format
9	README.*	Version specific changes and discussion
10	README.CVS	Source repository access information
11	README.html	Latest version specific detailed change log
12	TODO		List of things to be done by developers
13
14Feedback to cow@netrek.org
15

README.1.02

1This file contains the most recent changes to the COW client, with example
2.xtrkrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
91.02 pl2 Feb. 20, 1995
10- One year expire time [siegl]
11- put back sortPlayers option for unsorted playerlist [Soutter]
12- send full update request when joining [siegl]
13- Fixed some bugs with galactic map updates [Soutter]
14- Fixed some bugs with color map allocations [siegl]
15- Added sample xtrekrc file to the docs [siegl]
16- audio.c: replaced SIGCLD with SIGCHLD [ahabig]
17- config.h.in: include stdio.h for suns [gosselin]
18
191.02 pl1 Feb. 9, 1995
20- phaserShrink option to remove  the bottom of your phaser [Soutter]
21- change TTS Y-location [Joseph]
22- Ignore Caps_Lock on key events [sheldon (taken from SWINE)]
23- Race Colors [Kellen]
24- removed message handler for Dashboard [Siegl]
25- fixed multi-line macro bug [Soutter]
26- metserver window rewritten [Soutter,Kellen]
27- playerlist window rewritten [Soutter]
28- The player list is now always sorted and so the "sortPlist"
29    option has been removed [Soutter]
30- The key "/" now changes the playerlist style rather than selecting
31    between sorted and unsorted player lists [Soutter]
32- Reimplemented the option "showPlanetOwner". [Soutter]
33- New layout for the option menus [Soutter].
34- Removed the options "mapmode" and "showShields".  Effectively,
35    these options are now treated as always being true [Soutter]
36- Added range checking on the options "showlocal", "showgalactic", and
37    "showLock" [Soutter]
38- Redraw the galactic map when you change teams [Soutter].
39- All handlers (both for X events and for packets) now return a void
40    rather than an integers.  This fixes some compiler errors [Soutter].
41
42*****************************************************************
432)  Cut and past changes to make COW work like it used to.
44*****************************************************************
45
46sortPlayers: on
47#
48#  The default for "sortPlayers" is a bit strange and so we recommend
49#  that you set the "sortPlayers" option in your .xtrekrc.  The following
50#  will impose the old default.
51#
52
53
54ignoreCaps: off
55#
56#  By default, the caps lock key is now ignored.  If you would like
57#  the old behaviour then set "ignoreCaps" to "off".
58#
59
60*****************************************************************
613)  Cut and past changes to turn on *all* new features.
62*****************************************************************
63
64phaserShrink: 10
65#
66#  possible values: 0-16
67#
68#  Don't draw the first <phaserShrink>/16 th of your phaser.  This makes
69#  it easier to see incoming torps.
70#
71#  Most people who tested this feature really like it (even thought it
72#  sounds weird).
73#
74
75
76playerListStyle: 3
77#
78#  possible values: 0-4
79#
80#  This is a new way of choosing which playerlist you want, although
81#  newPlist still works.  Options are:
82#
83#       (0) Custom player list as defined by the
84#               playerlist variable above,
85#       (1) Old player list,
86#       (2) Traditional COW player list,
87#       (3) Kill watch player list,
88#       (4) BRMH Player list.
89#
90#       If "playerListStyle" is set, newPlist is ignored.
91#       Use the options menu (shift-O) to try the different styles.
92#
93#  The "Kill watch player list" is a new built in style.  It makes scanning
94#  kills easier and it shows the kind of thing klew players were already
95#  doing with the "playerlist" option.
96#
97
98
99partitionPlist: on
100#
101#  Add blank lines to a sorted player list to separate the
102#  different teams.
103#
104
105
106metaCache: .metaCache
107#
108#  Enable caching of meta-server information into the file
109#  "$HOME/.metaCache".
110#
111#  Use "cow -k" to use the cached information rather than waiting
112#  to contact the metaServer.
113#
114#  For more details, see the "MetaServer Options" manual in
115#  section (4).
116#
117
118
119metaStatusLevel: 4
120#
121#  Select the level of detail to be displayed on the meta-server window.
122#
123#  The status levels are coded as follows.
124#
125#  0   Servers which have players but not a wait queue.
126#  1   + Servers with a wait queue.
127#  2   + Servers with nobody playing. (see NOTE1).
128#  3   + Servers which have Timed Out for the MetaServer (see NOTE2).
129#  4   + Servers which the MetaServer has not been able to connect to.
130#
131
132
133ignoreCaps: on
134#
135#  By default, the caps lock key is now ignored and so this is not
136#  strictly necessary.
137#
138
139
140showPlanetOwner: on
141#
142#  showPlanetOwner is an old feature that has been reimplemented.
143#  When on, the appropriate race letter is drawn next to each
144#  planet on the  galactic.
145#
146
147tts_time:       25
148#tts_max_len:
149#tts_font:
150#tts_color:      ivory
151tts_pos:        20
152#
153# Some of these are new TTS options.  This set of parameters moves any TTS
154# messages to near the top of the screen.  tts_pos is # of pixels down from the
155# top to print the message, the other parameters allow control of how the text
156# looks.
157
158color.Rom:              tomato
159color.Kli:              green2
160color.Ori:              light steel blue
161color.Fed:		goldenrod
162color.Ind:		aliceblue
163#
164# You can use these resources to change the colors of the race's bitmaps,
165# without messing up the border colors and things from the old style
166# "color.red" resources.
167
168****************************************************************
1694) New manual sections
170****************************************************************
171
172
173MetaServer Options
174==================
175
176The MetaServer and the MetaServerCache are provided to help you find a
177netrek game to join.  Both services provide a list of the popular
178netrek servers.  The MetaServer is neat because provides information
179on the number of players at each site.  The MetaServerCache is neat
180because it is much faster if you can guess where a game will be.
181
182To access the MetaServer, use the command line switch "-m".  For
183example "cow -m".  To access the MetaServerCache, use the "-k" switch
184instead.
185
186
187
1881) Where to find the MetaServer:
189
190You can use the options "metaport" and "metaserver" to point COW
191to a new MetaServer.  The defaults for these options are:
192
193         metaport: 3521
194         metaserver: metaserver.ecst.csuchico.edu
195
196
1972) How to create a list of known servers for the MetaServerCache:
198
199Before you can use the MetaServerCache, you must give COW a file in
200which to cache the information from the MetaServer.  Use the .xtrekrc
201option "metaCache" to specify this file.  The files path will be
202relative to your home directory unless you start the file name with a
203slash (/).
204
205For example, to set the cache file to "~/.metaCache" use:
206
207        metaCache: .metaCache
208
209Unlike the MetaServer, the MetaServerCache will not show the number of
210people playing at a server.  If a server is contactable, it will be
211shown as "Active".
212
213
2143) How much information will be shown:
215
216You can now control the amount of information that the MetaServer
217displays for you by setting the "metaStatusLevel" flag.  The default
218is:
219
220        metaStatusLevel: 3
221
222
223The status levels are coded as follows.
224
2250       Servers which have players but not a wait queue.
2261       + Servers with a wait queue.
2272       + Servers with nobody playing. (see NOTE1).
2283       + Servers which have Timed Out for the MetaServer (see NOTE2).
2294       + Servers which the MetaServer has not been able to connect to.
230
231NOTE1: When using the MetaServerCache, "metaStatusLevel" values of
232less than 3 are treated as the value 3.  This minimum is enforced
233because the cache does not attempt to show the number of people
234playing at a site.
235
236NOTE2: If you are a long way from the MetaServer, you are advised to
237ignore TimeOut errors.  For example, the MetaServer in America may
238have difficulty contacting to a server in Holland while the link from
239England to Holland is very good.
240
241
2424) The Fallback
243
244If you attempt to contact the MetaServer, and the connection times
245out, COW will try to show the MetaServerCache instead.
246
247Similarly, if you attempt to use the MetaServerCache, and your
248"metaCache" file does not exist, COW will attempt to call
249theMetaServer.
250
251
252
253Player List Options
254===================
255
2561) Configurable Player List:
257
258    I've added a new .xtrekrc option called "playerlist" what it allows
259you to do is specify which columns of the player list you want to show
260and in what order.  The following is a table of the available columns.
261
262Spc  Let   Name                 Header
263---  ---   -------------------- -------------------
264  3  'n'   Ship Number          " No"
265  3  'T'   Ship Type            " Ty"
266 11  'R'   Rank                 " Rank      "
267 17  'N'   Name                 " Name            "
268  6  'K'   Kills                " Kills"
269 17  'l'   Login Name           " Login           "
270  6  'O'   Offense              " Offse"
271  6  'W'   Wins                 "  Wins"
272  6  'D'   Defense              " Defse"
273  6  'L'   Losses               "  Loss"
274  6  'S'   Total Rating (stats) " Stats"
275  6  'r'   Ratio                " Ratio"
276  8  'd'   Damage Inflicted(DI) "      DI"
277  1  ' '   White Space          " "
278PLIST1
279  6  'B'   Bombing              " Bmbng"
280  6  'b'   Armies Bombed        " Bmbed"
281  6  'P'   Planets              " Plnts"
282  6  'p'   Planets Taken        " Plnts"
283 17  'M'   Display/Host Machine " Host Machine    "
284  7  'H'   Hours Played         " Hours "
285  6  'k'   Max Kills            " Max K"
286  6  'V'   Kills per Hour       "   KPH"
287  6  'v'   Deaths per Hour      "   DPH"
288PLIST2
289  9  'w'   War staus            " War Stat"
290  3  's'   Speed                " Sp"
291
292So for example if you just wanted to see names and rank you'd add this
293line to your .xtrekrc:
294
295playerlist: NR
296
297     In order for this mod to be in effect you must compile with PLIST
298defined, otherwise you will get either of the two currently available
299defaults.  The things shown after PLIST1 are only available if you
300have PLIST1 defined, the same goes for the things after PLIST2, but
301you must have PLIST defined or neither of these will do anything.
302
303dave
304gosselin@ll.mit.edu
305
306
307NOTE FROM SOURCE KEEPER:
308PLIST2 is not active in BRM currently.  Some players feel that placing
309speed on the playerlist gives a strategic advantage.
310
311NOTE ON SB STATS :
312On servers which support the SBHOURS .feature, you will see slightly
313different things when you info a SB, or show the SB player on the
314playerlist.  The usual offense and defense lines are replaced with SB
315kills/hour and deaths/hour.  The kills, deaths, hours and ratio entries
316are all the player's SB stats as long as he is in the SB, and his normal
317stats otherwise.
318
319
3202) Predefined "playerlist" styles:
321
322For your viewing pleasure we have predefined some playerlist layouts
323that you might like to try.  These predefined styles can be selected
324using the "playerListStyle" option in your .xtrekrc or by using the
325options menu (shift-O).
326
327The "playerListStyle" options are:
328
329        0: Custom style         = playerlist
330        1: Old style            = "nTRNKWLr O D d "
331        2: COW style            = "nTR N  K lrSd"
332        3: Kill watch style     = "nTK  RNlr Sd"
333        4):BRMH style           = "nTR N  K l M"
334
335
336For backward compatability, the option "newPlist" will still select
337between the old style playerlist (off) and the COW style playerlist
338(on) if the "playerListStyle" option does not appear in your .xtrekrc.
339
340
3413) The "partitionPlist" option:
342
343Lets face it, the main role of the player list is so that you can keep
344track of who has kills.
345
346To make life easier, the player list is sorted so that enemy and
347friendly teams are always in the same place in the list.  However, in
348mono it is not immediatly obvious where one team starts and another
349team ends.  If the "partitionPlist" option is "on", white space will
350be added to the player list to separate your teams from the other
351teams and the players entering the game.  In color, this option is not
352usually required because the teams are distinct anyway.
353
354Race Colors README
355------------------
356You can now change the color in which a given race is drawn *without*
357having to also change other objects currently drawn in the same color.
358
359The race color defaults to the color in which the race is normally drawn
360(ie, Roms are drawn in color.red, which itself defaults to red).
361
362This option defaults transparently to off and uses up NO CPU time in
363normal play.  (so there :-b)
364
365resource       default resource       default color
366----------    ------------------      -------------
367color.Ind:      color.light grey        light grey
368color.Fed:      color.yellow            yellow
369color.Rom:      color.red               red
370color.Kli:      color.green             green
371color.Ori:      color.cyan              cyan
372
373###############################################################
374#  Example .xtrekrc lines
375color.Rom:              tomato
376color.Kli:              green2
377color.Ori:              light steel blue
378
379

README.1.03

1This file contains the most recent changes to the COW client, with example
2.xtrekrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
9
101.03 pl1
11- map/unmap the motd window button [dearing]
12- RCD docs update [ahabig]
13- FTP server switched from infant2 to bigbang [ahabig]
14- SGI X crash bug fixed [siegl]
15- security enhancements [siegl]
16
171.03 pl0
18- configurable destination macro keys [siegl]
19- added lots of tricks to XTREKRC.example [siegl]
20- invalid robots race char fix [siegl]
21- upgraded to autoconfig 2 [siegl]
22- add external rint() replacement function [siegl]
23 Fixes by  [Soutter]
24*  Added a playerlist option "sortMyTeamFirst".
25*  Added phaser shrink options "shrinkPhaserOnMiss" and "theirPhaserShrink".
26*  map() now has its own module and is a little faster I think.
27*  local() now has its own module and is a little faster I think.
28*  Bug fixed: Lock symbol sometimes blurs on the galactic.
29*  Bug fixed: Macros of the form "mac.<key>: <defn>" don't work.
30*  Bug fixed: Tractors sometimes drawn out of place if shrinkPhasers used.
31*  Bug fixed: Local map not updated until you first move.
32*  Bug fixed: Playerlist kills not updated when you first enter the game.
33*  Bug fixed: Some buttons in the Short Packet window are not always drawn.
34*  Bug fixed: When two ships overlap, the resulting color is sometimes black.
35*  Bug fixed: Planets on the galactic are sometimes partially erased.
36*  Bug fixed: You can write slightly longer messages than can be sent.
37*  Bug improved: Stationary players can be hidden by planets on the galactic.
38*  Bug fixed: When observing a player, the dashboard does not show
39        torps, kills or max armies as it would in normal mode.
40*  Bug Fixed: Holding down the `n' key for a few seconds will crash the client.
41*  Bug fixed: Obviously dead torps/phasers/plasmas are sometimes drawn.
42*  Bug fixed: The why-dead message is slightly different after window refresh.
43*  Bug Fixed: Failed meta-server reads effect the metaCache file.
44*  Bug Fixed: No positive feedback of selection from the meta-server window.
45
46
47*****************************************************************
482)  Cut and past changes to make COW work like it used to.
49*****************************************************************
50
511.03 pl1
52
53The WQ window looks different now and there's no way to get back
54the old one ;)
55
561.03 pl0
57
58No changes visible exept all the bug fixes :)
59
60*****************************************************************
613)  Cut and past changes to turn on *all* new features.
62*****************************************************************
63
641.03 pl1
65
66No new features
67
681.03 pl0
69
70#
71# Set symbolic names for macro
72# key.[key].[dest]:	[name of key]
73# If the destination isn't specified the key default to team.
74# Set the actual destination by sending a message:
75#	set [name of key] [destination id]
76# to the shell ("!")
77#
78key.C:		captain
79# Set Captian  to target player
80mac.^C.!:	set captain %g
81# Macros to the captain.
82mac.o.C:        Hi Captain let me suggest a base ogg?
83#
84key.B:		base
85# Set Base to target player
86mac.^B.!:       set base %g
87# Macros to the Base
88mac.a.B: 	BASE: Free armies for me?
89#
90key.m.A:        me
91# set the me (m) key to myself
92mac.^m.!:	set me %c
93# some Macro sent to myself
94mac.t.m:        TIME
95
96
97
98theirPhaserShrink: 6
99#
100#  Range: 0-16
101#
102#  How much to shrink everybody else's phasers by.  "phaserShrink"
103#  still effects your own phasers.
104#
105
106
107shrinkPhaserOnMiss: on
108#
109#  If on, a phaser is shrunk even if the phaser does not hit.
110#
111
112
113sortMyTeamFirst: on
114#
115#  This option only applies if "sortPlayers" is on.
116#
117#  With this option, the playerlist is order with your team at the top.
118#  Otherwise, the playerlist has the enemy team(s) first.
119#
120
121
122****************************************************************
1234) New manual sections
124****************************************************************
125
126***************************************************************
127* Symbolic names for macro destinations - Kurt Siegl 27/4/95
128***************************************************************
129
130You always wanted to send a macro directly to the captain, base,
131or the second SC bomber?
132
133Symbolic macro keys will solve your problems. Here how it goes:
134
135In the .xtrekrc file you assign a key to a symbolic name:
136
137	 key.[key].[dest]:	[name of key]
138
139If the destination isn't specified the key defaults to team.
140
141Examples:
142key.C:		captain
143key.B.t:	base
144key.m.A:        me
145
146Then you can use that new key in your macros.
147
148Examples:
149mac.o.C:        Hi Captain let me suggest a base ogg?
150mac.a.B: 	BASE: Free armies for me?
151mac.t.m:        TIME
152
153Finally during runtime you may change the actual destination
154by sending a message:
155
156	set [name of key] [destination id]
157
158to the shell ("!") tools. Of corse this may be done with macros as well.
159
160Examples:
161mac.^C.!:	set captain %g
162mac.^m.!:	set me %c
163
164You can check the settings on the shell tools window "M".
165
166
167***************************************************************
168Connection Types: UDP and TCP explained
169***************************************************************
170
171UDP provides an unreliable, packet-based protocol for sending data
172across an IP network.  There are a variety of ways that a UDP packet
173can be lost or discarded, including a failure of the underlying
174communication mechanism.  UDP implements a checksum over the data
175portion of the packet.  If the checksum of a received packet is in
176error, the packet will be dropped with no indication given to the
177user.  A queue of received packets is provided for each UDP socket.
178This queue has a limited capacity.  Arriving datagrams which will not
179fit within its high-water capacity are silently discarded.
180
181Guest              Rd     71       27            2% /  13%
182
183The stats above show a typically UDP connection.  It has loss of
184packets but its round-trip times are fairly low.
185
186
187TCP provides a reliable, flow-controlled, in order transfer of data
188across an IP network.  There is nothing fundamentally different about
189the way UDP and TCP packets travel over the wire.  The only real
190difference is that TCP will keep sending the same packet over and over
191again until it gets an acknowledgement back.  As a result, TCP
192connects are typically slower than UDP connections and usually require
193more bandwidth.  TCP is slower because it guarantees that packets will
194arrive in order and so a lost packet can hold up later packets.
195
196Example:
197
198Guest          Ff    405      669            0% /   0%
199                     ^^^      ^^^            ^^^^^^^^^
200
201The above shows possibly the same connection with UDP turned off.
202There is no loss but the round trip times are much higher.
203
204
205NOTES:
206
207*  COW always uses TCP for some things.  For example, the text messages
208   that you can send to other players are implement in TCP to guarentee
209   that they always arrive.  However, if a UDP connection is also
210   available, it is used for the vast majority of communication.
211
212*  COW will fall back to using a TCP only if it fails to open
213   a UDP link.  If you find that you have high lag and no loss, you
214   probably should display the UDP control window (the default key is
215   `+') and turn UDP back on by pressing the top button.
216
217*  You are recommended to use a TCP connection if you are at the same
218   site (within a few milliseconds lag) of the server you are playing on.
219   The main reason for using UDP is to reduce your round trip times.
220
221*  The option "tryUdp" can be used to set a preference for using
222   UDP (tryUdp: on) or TCP only (tryUdp: off).
223
224

README.2.00

1This file contains the most recent changes to the COW client, with example
2.xtrekrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
9
102.00 pl0
11- LABs newest dashboard [lab]
12- cleanup dashboard .xtrekrc defaults -> newDashboard is int [siegl]
13- COW api - shared libs, java and Netscape plugin support [siegl]
14- support for WIN95 and NT [jshekter,greynite]
15- improved sound system [jshekter,siegl]
16- split up cowmain.c from main.c [siegl]
17- highlight friendly phasers [ellisj]
18- censor (obscenities filter) [ellisj]
19- Wide enemy phaser fix [koconnor]
20- Kathy replaced by stars [Kellen, majority vote]
21- Colormap Option [Kellen]
22- fix array overflow in metaserver Win [siegl]
23
24*****************************************************************
252)  Cut and past changes to make COW work like it used to.
26*****************************************************************
27
282.00 pl0
29
30The dashboard .xtrekrc defaults handling changed.
31
32The boolean
33
34	newDashboard
35
36option is now and int default and
37
38	newdashboard2
39
40default is obsolete now. So you should use now on of:
41
42# Text dashboard
43newDashboard: 0
44
45# COW style dashboard
46newDashboard: 1
47
48# KRP style dashboard
49newDashboard: 2
50
51# LABs new dashboard
52newDashboard: 3
53
54
55*****************************************************************
563)  Cut and past changes to turn on *all* new features.
57*****************************************************************
58
592.00 pl0
60
61	# LABs new kewl dashboard
62	newDashboard: 3
63
64The .xtrekrc entry for the highlightFriendlyPhasers option is:
65
66	highlightFriendlyPhasers: on
67
68What does it do?  If on, friendly phasers that hit turn white, just like your
69own phaser did before.
70
71Jon Ellis has made some patches which he describes as "what if you
72wanted your little sister to play some netrek?".  In short, if you turn on this
73option with the .xtrekrc option :
74
75	censorMessages: on
76
77then a list of obscenities in messages are filtered out.  No change unless you
78specifically turn it on.
79
80
81Color map option:
82
83 [-n]   use nearest colors in shared colormap
84
85I really hate the flicker caused by changing colormaps.  Especially when
86the colors cow wants are already allocated (ie, Waitqueue 5 at bigbang,
87time to kill time elsewhere).
88
89This patch adds the '-n' option, to accept the nearest match color rather
90than allocate a whole new colormap.
91
92Michael
93
94
95****************************************************************
964) New manual sections
97****************************************************************
98
99
100newDashboard:	(integer 0-3) new dashboard 1 and 2, has sliding bars instead of
101		numbers at the bottom of the screen, 3 uses triangle sliders,
102		definately worth a look.
103
104
105
106

README.2.02

1This file contains the most recent changes to the COW client, with example
2.xtrekrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
9
102.02 pl2 May 31, 1997 - final stable NO pixmap release
11- NO expiry date
12- NO background images, kathy, stars, ...
13- NO colored planets
14- BEEPLITE is off (exept TTS and sound) unless explicitly turned on by server
15
162.02 pl1 Feb. 28, 1997
17- GMP and XPM autoconfig fixes [siegl]
18
192.02 pl0 Feb. 15, 1997
20- scrolling message windows stolen from BRMH [siegl]
21- colored planets on galactic map [kellen]
22- high color fixes [kellen]
23- phaser stats and fixed PhaserMsg [greynite]
24- replace all exits with clean returns [siegl]
25- netscape plugin version included [siegl]
26- GMP 2.0 support [siegl]
27
28
29*****************************************************************
302)  Cut and past changes to make COW work like it used to.
31*****************************************************************
32
332.02 pl2
34
35Borgish features have been completley removed and are not able
36to turn on.
37
382.00 pl0
39
40The showPhaser default has been replaced by PhaserMsg which translates
41in the following way:
42
43Old showPhaser:
44  0 = don't show
45  1 = show on kill window
46  2 = show on phaser window
47  3 = show on total review window only
48
49New PhaserMsg:
50  0 = Don't log phaser hits
51  1 = Log phasers on all window
52  2 = Log phasers on team window
53  3 = Log phasers on indiv window
54  4 = Log phasers on kill window
55  5 = Log phasers on review window
56
57If the phaser window is mapped it is logged there aditionally.
58
59Message windows have now Scrollbars which are on per default.
60You get the the old behaviour by turning it off:
61
62	ScrollBar: off
63
64*****************************************************************
653)  Cut and past changes to turn on *all* new features.
66*****************************************************************
67
682.00 pl0
69
70All new .xtrekrc entrys with defaults are:
71
72 #     PhaserMsg: 2
73 #     PhaserStats: off
74
75 #     colorgalactic: off
76 #     ownerhalo: off
77 #     showstars: off
78
79 #     macroKey: X
80
81 #     ScrollBar: on
82 #     ScrollBarWidth: 5
83 #     ScrollSaveLines: 100
84
85 #     message.mapped: 1
86 #     messageHUD: 0
87 #     messageHoldThresh: 0
88
89Just turn them all on to get the new features
90
91****************************************************************
924) New manual sections
93****************************************************************
94
95Can use color pixmaps instead of bitmaps on galactic.
96resource-- colorgalactic:    off
97
98Use starry background on galactic map.
99resource-- showstars:    off
100
101Draw a circle in the owning team's color around planets (pixmaps only)
102resource-- ownerhalo:    off
103
104o Phaser hits can now be logged in different places.
105  resource--  PhaserMsg:   2
106
107  0 = Don't log phaser hits
108  1 = Log phasers on all window
109  2 = Log phasers on team window
110  3 = Log phasers on indiv window
111  4 = Log phasers on kill window
112  5 = Log phasers on review window
113
114****************************************************************
1155) Changes details
116****************************************************************
117
118Detailed changes by Michael Kellen:
119
120  + Pitiful but legible greyscale pixmaps.  The greyscale maps should
121    be used automatically on a Greyscale visual.  I have not checked
122    to see if this actually works automagically.  It depends upon the
123    value of W_Visual->class.   [nod to James Soutter for the idea]
124
125  + FEATURE PACKET support for the agri-specific bitmaps.  If the server
126    does not understand feature packets or sets AGRI_PIXMAP to false,
127    the regular planet pixmap is used. [nod to rgn comments]
128
129  + A colored circle can be drawn around the pixmap to indicate the
130    team which owns the planet.  [nod to someone ... I lost the letter]
131
132  + On/Off controls for all pixmap stuff in both rcfile & options menu
133
134  + Compatible with -n startup option
135
136  + Compatible with private colormap
137
138  + Turns off pixmaps and remembers to keep them off if they cannot be
139    created for some reason  [nod to PictureMeNaked on the crappy Xterm]
140
141  - Artwork still sucks. [raspberry to me]
142
143
144
145
146

README.3.00

1This file contains the most recent changes to the COW client, with example
2.xtrekrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
9
103.00 pl3 Jan. 2, 2000
11- Expiry date removed [siegl]
12- minor bugfixes [various authors]
13
143.00 pl2 Jan. 7, 2000
15- New default portSwap for UDP_PORTSWAP feature [siegl]
16- System wide .xtrekrc file set to "/etc/netrekrc" [siegl]
17- Cambot recording replay [koconnor]
18- various Win32 fixes [siegl]
19- V,B core dump with rabit ears fix [siegl]
20- remove DEFINES (BRMH NEW_DASHBOARD_2 RABBIT_EARS) [siegl]
21- MAX_MACRO increased to 255 [siegl]
22- -B options for automatic bug sumition [siegl]
23- new sample netrekrc file [siegl]
24- WindowMaker docking support [siegl]
25- Win32 Sound support [siegl]
26
273.00 pl1 Mar. 27, 1999
28- Added UDP queries to the metaserver. [cameron, villalpando]
29- Added Multiple metaserver support. [cameron, villalpando]
30- Metaserver KEYGOD alias: clientkeys@clientkeys.netrek.org [villalpando]
31- New xtrekrc variables: metaverbose, metaUDPcache, metaType [cameron,
32                                                             villalpando]
33- modified behavior of metaserver to do multiple metaservers [cameron]
34- changed metaserver menu. Added age of data and refresh button [cameron]
35- new option, -M for TCP metaserver [cameron]
36- changed option -m for UDP metaserver [cameron]
37- Port to Cygnus Win32 [siegl]
38- Autoconfig detects Cygnus Win32 [siegl]
39- Win32 fixes [Gosselin]
40- Fix Pixmap transparancy [siegl]
41- Added hockey rink background XPM on galactic [siegl]
42
433.00 pl0 Feb. 28, 1998
44- full color client [kellen]
45- metaserver defaults to: metaserver.netrek.org [sven]
46- new cow mailing list alias: cow@netrek.org [sven]
47- 32 views color pixmaps [Shawn]
48-- recording feature [koconnor]
49- KDE sound support (.wav files) [siegl]
50- Tab key fixes  [koconnor]
51- OpenVMS fixes [cameron]
52- Auto upgrade via netscape [siegl]
53- whydead message fixes [siegl]
54- GMP 2 key generator fix [siegl]
55
56
57
58*****************************************************************
592)  Cut and past changes to make COW work like it used to.
60*****************************************************************
61
623.00 pl0
63
64     The "-b" option disables the use of color pixmaps by the client.
65
66
67*****************************************************************
683)  Cut and past changes to turn on *all* new features.
69*****************************************************************
70
713.00 pl1
72
73WARNING: Sometimes the colored ships have color disturbences
74         when having the shields up. In this case start COW
75         with the option:
76
77             [-n]   use nearest colors in shared colormap
78
793.00 pl0
80
81All new .xtrekrc entrys with defaults are:
82
83#       backgroundPix: 1
84#       cloakPix: 1
85#       explosionPix: 1
86#       fedPix: 1
87#       indPix: 1
88#       kliPix: 1
89#       mapPix: 1
90#       oriPix: 1
91#       romPix: 1
92#       shipPix: 1
93#       weaponPix: 1
94
95
96****************************************************************
974) New manual sections
98****************************************************************
99
1003.00 pl0
101
102   3.1.8  NO PIXMAPS OPTION
103
104     The "-b" option disables the use of color pixmaps by the client.
105
106
107   3.2  Pixmaps  (Full Color COW)
108
109     With the release of COW 3.00, dynamic color images are available.  No
110color images have been compiled into the client, so without the additional
111files (described below) the client will behave as before.
112
113   3.2.1  Setup
114
115     The xpm files should be available at the same site from which you got
116the client, in a file named pixmaps.tgz (PIXMAPS.ZIP for windows users).
117
118>>>   YOU MUST DOWNLOAD AND UNPACK THIS FILE TO USE THE COLOR FEATURES.    <<<
119
120     It should create a subdirectory named "pixmaps" which should have several
121(obviously named) subdirectories.  There should be several XPM files in each
122(except for Planets, which has a further subdirectory).  UNIX users will see
123that they are gzipped to save space.  You do NOT need to ungzip them unless
124you do not have gzip on your machine.
125
126>>>   DO NOT REARRANGE OR RENAME THESE FILES IF YOU WANT TO USE THEM.      <<<
127
128     You need to add a line to your .xtrekrc telling the client where to look
129for the pixmaps.  If you do not, it will assume that they are in a subdirectory
130of the directory you are in when you start the client.  The option is called
131"pixmapDir".  Tilde and environment variables WILL NOT WORK.  Relative paths
132will only work if you always start netrek from the same directory.
133
134     You should be ready to rock and roll.  Fire it up.  You may see some
135warnings about not being able to read some pixmaps.  Some of the pixmaps
136that the client looks for haven't been drawn yet.  Feel free to make your
137own set.  OTOH, if you see any lines which read
138
139 "TYPE <type> PIXMAPS NOT AVAILABLE"
140
141it means that none of a certain type of pixmap were found.  Check to make sure
142that the pixmaps are where you told it to look.  If they are, and you are on
143a UNIX system, you may not have gzip installed.  Go get it from any GNU mirror
144and either install it or use it to ungzip the XPM files.
145
146   3.2.2  Configuration
147
148     In addition to simply creating your own XPMs with a paint program, you
149may want greater control over the pictures used.  For example, you may find
150the explosions are too pretty, and you are dying because you forgot to dodge.
151The crude approach is to just remove that pixmap.  The client will default back
152to the standard bitmaps in this case.
153
154     The more elegant approach is to turn off just those pixmaps you don't
155like and keep the rest.  This also allows you to switch back and forth WITHOUT
156having to exit and restart.  So if the machine you are playing on is busy
157today, you can turn off the pixmaps until things improve, then switch back to
158full color without losing your 5 kills.
159
160     Pixmaps can be turned on or off in groups on the new "Pixmap Menu" in the
161options window (shift-O).  Each line in the window also corresponds to an
162.xtrekrc resource which you can use to set the initial values.  If one type
163of pixmaps is not available, you will be unable to turn on that option.
164
165     resource name          default      description
166
167       indPix                on      \
168       fedPix                on       |  Control whether or not the XPMs
169       romPix                on       |  for the ships of a given team
170       kliPix                on       |  should be used
171       oriPix                on      /
172
173       weaponPix             on          Torps and plasmatorps & their clouds
174       explosionPix          on          ship and starbase explosions
175       cloakPix              on          fade-in/-out and cloak icon
176       mapPix                on          Color Planet icons on galactic
177                                         (replaces the "colorgalactic" option)
178
179       backgroundPix         on          Background stars & genocide/gb images
180                                         (replaces the "babes" option)
181
182       ownerhalo             off         Draws a colored ring around each
183                                         planet on the galactic
184
185as a convenience, the option "shipPix" may be used to control all of the
186ship XPMs in one line.
187
188         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
189         +         POWER USERS                                        +
190         +                                                            +
191         +  The MegaResource "pixFlags" can be used in your .xtrekrc  +
192         +  to save a bit of typing.  Simply bitwise OR together the  +
193         +  things you want turned off:                               +
194         +                                                            +
195         +       0x0001    IND pixmaps                                +
196         +       0x0002    FED pixmaps                                +
197         +       0x0004    ROM pixmaps                                +
198         +       0x0008    KLI pixmaps                                +
199         +       0x0010    ORI pixmaps                                +
200         +                                                            +
201         +       0x0020    Weapons                                    +
202         +       0x0040    Explosions                                 +
203         +       0x0080    Cloaking                                   +
204         +       0x0100    Galactic Map Planet Icons                  +
205         +                                                            +
206         +       0x0400    Backgrounds                                +
207         +                                                            +
208         +       0x1000    Halos                                      +
209         +                                                            +
210         +  so, for exaple, no halos and no explosions would be       +
211         +  specified as:  (0x1040=4160)                              +
212         +                                                            +
213         +    pixFlags:  4160                                         +
214         +                                                            +
215         +                                                            +
216         +  (Note that this OVERRIDES all the other resources)        +
217         ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
218
219
220     If you hate them all, you can either set the "pixmapDir" to "None" or
221start the client with the -b (bitmap only) command line option.  Then go ahead
222and delete all of the XPMS.  Go ahead.  We don't mind at all.  It's not like
223we put any WORK into this ...  :,-(
224
225   3.2.3  Babes/M31 and Generalized Backgrounds
226
227     Gone.  You can put up any picture you like when you GENO, GB, or just
228enter or hit shift-K.  Just specify the genocide.xpm, ghostbust.xpm and/or
229hello.xpm.  It's really none of my business what you look at in your off time.
230
231     Absolutely no picture will be shown if you do not have an XPM in the
232specified place.  It didn't belong in the client in the first place.
233
234     DEAL WITH IT.
235
236     And BTW, the ' key (quote) has the default action of retiling your local
237and galactic windows with the normal background (either black or your specified
238pixmap) to repair the damage done by the other possible pix.
239
240   3.2.4  AGRI pixmaps and FEATURE_PACKETS
241
242     The client shows a different pixmap for AGRI planets than all others.
243This was announced, voted on and overwhelmingly adopted (80%+ in favor). But
244JUST IN CASE, this option can be disabled at the server by use of the
245feature packet "AGRI_PIXMAP".
246
247     Users can choose to remove the AGRI.xpm file.  The client will default
248to using the regular planet pixmap if it is missing.
249
250
251****************************************************************
2525) Changes details
253****************************************************************
254
2553.00 pl0
256
257From: James Cameron <cameron@stl.dec.com>
258Subject: COW 2.02pl2 OpenVMS Patch [Resend]
259
260The last time I built COW for OpenVMS was back in 1994, when it was
2611.01pl0.  Since my department is releasing a CD-ROM to it's private
262customers I was asked to provide a variety of Netrek software, as
263pre-built binaries for OpenVMS, Digital UNIX, and others.
264
265So I took 2.02pl2 and got it working again on OpenVMS.  The new DEC C
266compiler on OpenVMS was quite reasonable about the code and had no
267significant trouble.  I submit the patch to you for consideration.
268
269The changes were
270
271    -   removal of fopen declarations from functions, as it conflicted
272        with the OpenVMS variant of (const char *, const char *, ... )
273
274    -   a macro replacement of the select() call so that OpenVMS
275        specific code could be called; the X-Windows implementation on
276        OpenVMS does not support the use of ConnectionNumber() and
277        select() to wait on X events.  Code to support this was split
278        out into a new file, vmsio.c.
279
280    -   suppression of the tools window behaviour, in the same manner as
281        on WIN32, since SIGCHLD and popen() are only available in recent
282        OpenVMS versions.
283
284    -   minor changes to vmsutils.c to comply with ANSI standard on
285        initialisation of structures, (before I found the qualifier to
286        turn off strict ANSI checking).
287
288    -   a new file config.h.vms, with OpenVMS version checking to work
289        around old versions of OpenVMS.
290
291I've attached the patch to this message in MIME format.
292
293Strangely, the patch included cflags.c changes.  I'm not sure why
294cflags.c should be in the manifest ... it created a needless diff output
295for it.
296
297Would you have preferred me moving the OpenVMS specific files into a
298subdirectory?
299
300For your interest, the 1.01pl0 port I did evolved into a bridged client,
301using serial I/O that was OpenVMS specific.  This allowed me to run the
302Netrek protocol over a 14k4 modem without any SLIP or PPP overhead.
303Now, of course, OpenVMS has joined the ranks of operating systems
304providing serial internet protocol layers, and so my work is no longer
305required.  Moving to 33k6 also helped.  ;-)
306
307--
308James Cameron                                    (cameron@stl.dec.com)
309Digital Equipment Corporation (Australia) Pty. Ltd. A.C.N. 000 446 800
310
3113.00 pl1
312
313From: Jonathan Ellis <ellisj@cs.byu.edu>
314
315(1)
316Replaced WINSIDE #define for SMALL_SCREEN with TWINSIDE and GWINSIDE for
317independent specification of tactical and galactic sizes on machines with
318painfully small displays.  (I prefer to use a smaller galactic with a
319full-size tactical.)  A lot of other functions used WINSIDE besides the
320actual drawing routines--mostly computing default window geometries.  I
321tried to keep it consistent with the original look, but I might have goofed
322in a couple places.
323
324(2)
325cowmain changed so that if no server is specified, it tries to connect
326to the metaserver.  This is much better behavior IMHO.
327
328Note: COW.DOC states, "The compiled in default server is bronco.ece.cmu.edu"
329This seems to be outdated:
330
331grep bronco *.c *.h
332defs.h:#define DEFAULT_SERVER   "bronco.ece.cmu.edu"
333
334grep DEFAULT_SERVER *.c *.h
335defaults.c: * Otherwise we try DEFAULT_SERVER. */
336defs.h:#define DEFAULT_SERVER   "bronco.ece.cmu.edu"
337
338Note that the only time DEFAULT_SERVER was used is inside a comment (that,
339apparently, doesn't reflect the actual code.
340
341(3) added description of highlightFriendlyPhasers, censorMessages, and
342    the new default server behavior to COW.DOC.
343
344(4) removed from COW.DOC:
345	"Multiline macros are no-longer allowed at all.
346         Primarily this is based on network traffic arguments."
347    I suppose it's historical, but outdated documentation isn't cool.
348
349(5) Added note to COW.DOC that not specifying any plist options will
350    default to old plist.  (This wasn't obvious to me because 2 is called
351    the "traditional" plist... perhaps an unintended connotation.)
352
353(6) removed from socket.c
354#ifdef FOR_MORONS
355  {                                              /* it _is_ an 'info' borg,
356                                                  * after all.  ;-) */
357    extern int For_Morons;
358
359    if (For_Morons)
360      return;
361  }
362#endif
363
364FOR_MORONS and For_Morons appeared nowhere else.
365I assume this is obsolete code.
366
367(7) removed from data.h
368extern int babes;
369    after all, they're gone. ;)
370
371(8) merged the "Moo" docs (section 8 of COW-DOC) with the rest of it.
372    It had to happen sometime.  Cope.  (This includes a bunch of minor changes
373    that I won't ennumerate.)
374
375a. replaced an inaccurate line of defwin.c with
376    "warnShields", BOOL_DEF, "Shield color based on alert status",
377
378b. someone who understands the server's ntserv/socket.c needs to explain
379   what udpClientRecv really does.  "simple" and "fat" don't say a whole
380   lot.  I don't have time to try to learn the server-side code right now.
381
382(9) the option menu as well as the example .xtrekrc claimed that the udpDebug
383    resource took different options:
384    0 = OFF   1 = ON (conect msgs only)  2 = ON (verbose output)
385
386    but in the code, udpDebug == 1 behaved exactly the same as udpDebug == 2
387    I tried to changed this to reflect the documentation by taking out
388    all the UDPDIAG but printUdpInfo from udpDebug == 1.
389
390(10) <superceded by 11>
391
392(11) defaults.c: deleted legacy code from findDefaults dealing with server-
393     specific .xtrekrc files.  The code was broken (try it: move .xtrekrc
394     to .xtrekrc-continuum, or whatever--it won't work).  I don't know how
395     long it's been broken, but
396
397  if (serverName)
398    {
399    sprintf(serverfile, NETREKRCSERVER, serverName);
400    if (findfile(serverfile, file))
401      return 1;
402    sprintf(serverfile, XTREKRCSERVER, serverName);
403    if (findfile(serverfile, file))
404      return 1;
405    }
406
407     never gets executed because serverName hasn't been initialized by the
408     (first) call to findDefaults.  If anybody actually used this feature
409     there would have been complaints that it was broken... since, apparently,
410     nobody really cared, I just got rid of it.  Simplify, simplify. ;)
411
412Also: reread_defaults in input.c and newinput.c didn't work the way it was
413      apparently intended to if no rc file was present.  In order to get it
414      to issue the warning that none was found, some things had to be
415      changed, including initializing defaultsFile in data.c to "" instead
416      of ".xtrekrc"
417
418(12) removed unused variables from dmessage.c
419  char    cmupigcall[80];
420  char    pigcall[160];
421
422(13) The ghost start option is still present in the code, but it doesn't
423     seem to work.  I have no clue what's wrong (possibly a server problem?)
424     or if the idea is just inherently problematic.  I left the documentation
425     in, though, and even added it to what -u prints out.
426
427(14) Added -i to printUsage
428
429(15) Removed from options.c
430char   *mapupdates[] =
431{"Don't update galactic map",
432 "Update galactic map rarely",
433 "Update galactic map frequently",
434 ""};
435     apparently this isn't used anymore.
436
437(16) changed hard-coded geometries to be more sane, with focus on creating
438     #ifdef-d alternates for SMALL_SCREEN.  Parents of some windows were
439     changed, so it should look pretty much like you'd expect without any
440     foo.geometry: in your .xtrekrc.
441
442(17) Combined newPlanetBitmaps and whichNewPlanetBitmaps resources with
443     showLocal/showGalactic.  Cleaned up code in local.c.  map.c doesn't
444     perform the same things local.c does with equivalent options, but
445     this is the bitmaps' fault.  moobitmaps.h and rabbitbitmaps.h would
446     need to be modified extensively.  That's not my department. ;)
447
448ObBugReport: cloaking doesn't display correctly on my linux machine with
449pixmaps on; there's no state in between fully cloaked and fully uncloaked.
450One update you're visible, the next you're not.  Very disconcerting.
451
452Other ideas: (sort of an addenum to the TODO ;)
453
454html-ize the new COW.DOC.  cow.html was more than two years out of date
455even before my changes. ;)  If COW.DOC were consistant in its use of section
456and subsection numbering this could be automated.
457	a. "highlight" default value for xtrekrc options
458
459Make the xtrekrc sections of COW.DOC consistant with the shift-O menus and
460defwin.c (i.e. use the same categories for all three)
461
462********************************************************************
463March 1999
464********************************************************************
465
466(1) ------
467   Added UDP metaserver, and multiple metaserver queries to client.
468
469   Multiple metaservers is available only in UDP mode.  Multiple
470   metaservers may be listed in the metaservers variable, or a host name
471   may have multiple IPs.
472
473   Client essentially sends a '?' using UDP to the metaserver(s) and
474   waits for a response.  Client should expect anywhere from 0 to
475   infinite responses. Response comes back in the form:
476
477      r,NN\n
478
479   Where r is the literal 'r', and NN is the nuber of servers
480   returned. Server format is 1 per line in the following format, comma
481   separated: (from the metaserver code snippet from disp_udp.c)
482
483        sprintf(bp,"%s,%d,%d,%d,%d,%d,%c\n",
484            sp->hostname,               /* host name of server          */
485            sp->port,                   /* port number of server        */
486            extendedstatus,             /* metaserver status code       */
487            now - sp->last_update,      /* age of data in seconds       */
488            sp->player_count,           /* count of players on server   */
489            sp->queue_size,             /* length of wait queue         */
490            sp->type[0] );              /* type code, B, P, etc         */
491
492   Two notes are required:
493
494      1) Line length is defind in the metaserver as:
495         MAX_HOSTNAME+1 +6+1 +3+1 +6+1 +3+1 +3+1 +1+1 +1
496            host        port stat age  play que  type \n
497
498   where MAX_HOSTNAME is
499        #define MAX_HOSTNAME     64
500
501   An example output is:
502
503     r,19
504     hp06.ee.ualberta.ca,2592,6,244,0,0,P
505     megalag.netrek.org,2592,4,1780,0,0,F
506     moore.machine2.dsl.psn.net,2592,6,1804,0,0,B
507     netrek.unh.edu,2592,6,524,0,0,B
508     paradise.games.uk.demon.net,2592,6,1604,0,0,P
509     tanya.ucsd.edu,2592,4,1781,0,0,P
510     defiant.theo-physik.uni-kiel.de,2592,3,630,0,0,P
511     europa.informatik.uni-frankfurt.de,2592,3,676,0,0,P
512     mit.netrek.org,2592,3,676,0,0,B
513     netrek.cs.mcgill.ca,2592,3,796,0,0,B
514     netrek.syd.att.net.au,2592,3,800,0,0,B
515     se.netrek.org,2592,3,864,0,0,B
516     soda.csua.berkeley.edu,2592,3,878,0,0,B
517     spamburger.openface.ca,2592,3,871,0,0,B
518     kirk.hal-pc.org,2592,2,121,1,0,B
519     continuum.us.netrek.org,2592,2,123,6,0,B
520     hockey.netrek.org,2592,2,123,6,0,H
521     monster.wormwood.org,2592,2,203,7,0,C
522     guinness.crhc.uiuc.edu,2592,1,323,0,4,B
523
524
525 2) In TCP mode, if a game server is dead, the metaserver will print
526    out sp->why_dead instead of sp->status.  Since metastatuslevel
527    filters out the metaserver output based on the game server status,
528    sp->status had to be expanded in the metaserver to extended status
529    when reporting back to the client.  From disp_udp.c in the
530    metaserver:
531
532        /* this if structure is to satisfy COW's server filtering based on */
533        /* the TCP ouput of the metaserver. TCP was text, this is only #s */
534        if (sp->status == SS_NOCONN )
535          extendedstatus = (sp->why_dead == WD_TIMEOUT) ? 6 : 4;
536        else
537          extendedstatus = sp->status;
538
539   And in the client, parsemeta.c:
540
541     #define SS_WORKING 0
542     #define SS_QUEUE 1
543     #define SS_OPEN 2
544     #define SS_EMPTY 3
545     #define SS_NOCONN 4
546     #define SS_INIT 5
547     /* not a real metaserver number, but overcomes a limitation of dropping */
548     /* text description of sp->why_dead */
549     #define SS_TOUT 6
550
551
552   This note is here mainly for people looking at metaserver and
553   client code at the same time.
554
555(2) ---
556    A refresh button was added to the client selection window to re-query
557    the metaservers.
558
559(3) ---
560    KEYGOD changed to clientkeys@clientkeys.netrek.org
561
562(4) ---
563    New command line option behavior was added. -m and -M set the default
564    connection type to the metaserver UNLESS metaType is defined in the
565    .xtrekrc.
566
567       -m Default to UDP
568       -M Default to TCP
569
570    Out of bounds values for metaType default to TCP.
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585

README.3.01

1This file contains the most recent changes to the COW client, with example
2.xtrekrc options to deal with them, and the clips from the documentation that
3explain them.  If you're upgrading from an old version of COW, this file should
4make it a painless experience.
5
6*****************************************************************
71)  Change Log
8*****************************************************************
9
103.01 pl0 Jun. 22, 2002
11- COW_SDL_MIXER_BRANCH Jun. 11, 2002
12  + add spike solution [tanner]
13  + converted local.c to SDL_mixer
14  + added cvs commit to mailing list
15- minor source packaging changes [cameron]
16- mouse wheel support [siegl]
17
18*****************************************************************
192)  Cut and past changes to make COW work like it used to.
20*****************************************************************
21
22	none
23
24
25*****************************************************************
263)  Cut and past changes to turn on *all* new features.
27*****************************************************************
28
293.01 pl0
30
31COW suports now up to 7 Mouse Buttons depending on the OS where the
32
33	mouse wheel up is button 4
34	mouse wheel down is button 5
35
36The extra buttons can be configured in the buttonmap with digits
37
38	d e f g   for normal operations
39and
40	h-s	for shift/control combinations.
41
42
43****************************************************************
444) New manual sections
45****************************************************************
46
47	none
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63

README.releasing

1# release process for cow
2# emacs: sh-mode
3
4# resolve any differences between working directory and repository
5
6# decide on version number
7export VERSION=3.3.1
8
9# update version.h patchlevel.h cow.spec
10
11# update ChangeLog with a release date
12
13# commit
14darcs record
15
16# tag release
17darcs tag ${VERSION}
18
19# make dist
20cd /tmp && \
21darcs get ~/src/netrek-client-cow && \
22cd netrek-client-cow && \
23sh autogen.sh && \
24./configure && \
25make dist && \
26mv netrek-client-cow-${VERSION}.tar.gz ..
27
28cd /tmp
29md5sum netrek-client-cow-${VERSION}.tar.gz
30b4f686e37b694050e701e4b36f605008  netrek-client-cow-3.3.1.tar.gz
31
32# test build the .tar.gz
33cd /tmp
34tar xfv netrek-client-cow-${VERSION}.tar.gz
35cd netrek-client-cow-${VERSION}
36./configure
37make
38./netrek-client-cow
39
40# release
41cd /tmp
42cp netrek-client-cow-${VERSION}.tar.gz ~/public_html/external/mine/netrek/
43upw
44http://quozl.linux.org.au/netrek/
45
46# orion upload
47rsync -avP netrek-client-cow-${VERSION}.tar.gz \
48    quozl@orion.netrek.org:/var/www/files.netrek.org/COW/
49
50# sf.net upload
51rsync -avP netrek-client-cow-${VERSION}.tar.gz quozl@frs.sf.net:uploads/
52http://sourceforge.net/projects/netrek
53