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

..03-May-2022-

HPUX-InstallH A D22-Jan-19981 KiB4526

ImakefileH A D03-May-2022726 2821

Makefile.traH A D17-Nov-19891.2 KiB5828

READMEH A D17-Nov-19891.8 KiB4432

README.HPPDH A D22-Jan-1998594 1514

actions.cH A D03-May-20227.9 KiB319209

bitmaps.hH A D17-Nov-19897.3 KiB182115

game.cH A D03-May-20228.2 KiB352241

graphics.cH A D03-May-202213.7 KiB473323

icon.hH A D17-Nov-1989994 2314

main.cH A D03-May-202210.8 KiB335229

score.cH A D03-May-20227.3 KiB288186

xrobots.hH A D03-May-20223.8 KiB16986

xrobots.manH A D03-May-20226.3 KiB225222

xrobotscoresH A D22-Jan-1998620 212

README

1
2README -- xrobots
3
4  xrobots is a game that runs on X Windows.  It is based on the robots
5game found on unix.  See the man page for a description of the options
6and game play.
7
8  Both an Imakefile and a traditional makefile (Makefile.tra) included.
9If you use the traditional makefile, you'll have to edit two lines as a
10minimum.  (The lines which define "INCDIR" and "LIBDIR")  If you don't
11want to go through that hassle, you can always use imake.
12
13Compile time parameters:
14 	  MAXX, MAXY -- these control the number of 'cells' in the playfield.
15 	the default is 35x20.  The realistic maximum these can be on a
16 	1152x900 screen (ie most sun 3/50's) is about 50x40.  With a larger
17 	playfield, the scores will be higher and the game length longer, but
18 	some graphics may appear slower.  With the default playfield, scores
19	in the 6000 range can be achieved.
20
21 	  MAXSCORES -- the number of high scores that you want to keep.
22 	The default is 20.
23
24 	  The default directory for the binary and score file is the current
25	directory.  You'll have to modify the makefile or copy the binary
26	if you want it to install elsewhere.  xrobots will attempt to
27	create the scorefile (SCOREFILE) at runtime.
28
29  There is a little bsd-ish stuff in score.c.  flock is used to stop a race
30condition.  If you don't have a bsd-like flock, you could probably
31comment it out.  The race condition (multiple users writing to the
32score file) is probably rare.  If SYSV is defined, this will be ifndef'd
33out.
34
35  If your compiling this under X11R3, define the term R3 in the makefile or
36imakefile.  This will make the include references look like those expected
37by X11R3 instead of X11R4.
38
39-----
40
41This insomnia killer was written by Brian Warkentine.  Send comments,
42bug reports, etc. to brianw@Sun.COM.
43
44

README.HPPD

1Package name:     xrobots
2Version number:   1.0
3Original author:  Brian Warkentine <brianw@Sun.COM>
4Original URL:     ftp://ftp.univie.ac.at/systems/hpux/hpux/Games/Arcade
5Install tree:     /opt/xrobots
6Report bugs to:   workexp@csc.liv.ac.uk
7Tested on:        HP 9000/777/C110 running HP-UX 10.20
8C compiler used:  Version A.10.32.16
9Purpose:
10Fight off villainous robots. As in robots 6, xrobots puts you into a world of
11evil robots but in an X window, of course. It's your intellect against the
12robots, who have numbers on their side.
13Date archived:    Thu 22 Jan 1998
14Special notes:    None
15