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

..03-May-2022-

images/H03-May-2022-2718

levels/H05-Mar-2008-630613

libsprite/H05-Mar-2008-4,4993,632

sounds/H07-May-2022-

CHANGESH A D05-Mar-20089.3 KiB191168

CREDITSH A D05-Mar-20081.2 KiB5336

INSTALLH A D05-Mar-20081.7 KiB5039

Makefile.inH A D03-May-20223.3 KiB11579

READMEH A D05-Mar-20084.1 KiB10183

README.SOUNDH A D05-Mar-20081,008 2116

Wlib.hH A D05-Mar-20086.8 KiB208148

Wproto.hH A D05-Mar-20085.8 KiB11994

acconfig.hH A D05-Mar-2008699 289

config.guessH A D05-Mar-200819.9 KiB694598

config.h.inH A D05-Mar-20082.1 KiB8256

config.subH A D03-May-202218.8 KiB930819

configureH A D03-May-2022193 KiB7,0995,933

configure.inH A D05-Mar-20083.6 KiB147130

copyright.hH A D05-Mar-200817.6 KiB3460

copyright2.hH A D05-Mar-2008254 100

data.cH A D05-Mar-20081.3 KiB8460

data.hH A D05-Mar-20081.1 KiB6945

defs.hH A D05-Mar-20081.4 KiB8659

explosions.cH A D05-Mar-20083.1 KiB167142

frate.cH A D05-Mar-20085.5 KiB206110

highscore.cH A D05-Mar-200813 KiB526453

images.cH A D05-Mar-2008188.6 KiB6,9326,781

images.hH A D05-Mar-20082.2 KiB7364

install-shH A D05-Mar-20085.5 KiB251152

linux-joystick.cH A D05-Mar-20081.7 KiB8667

linux_pcsp.hH A D05-Mar-20088.1 KiB219146

main.cH A D03-May-202242.1 KiB1,4361,292

mkimgsrcH A D05-Mar-200826 KiB640580

mkimgsrc.outH A D05-Mar-20088.5 KiB316256

mkinstalldirsH A D05-Mar-2008729 4123

nas_sound.cH A D05-Mar-20084.4 KiB233171

pathfile.cH A D05-Mar-20087.8 KiB414338

pathfile.hH A D05-Mar-20080 10

paths.cH A D05-Mar-200845.2 KiB1,2411,125

paths.hH A D05-Mar-20081 KiB5038

prize.cH A D05-Mar-20085.5 KiB268247

proto.hH A D05-Mar-20081.8 KiB6954

score.cH A D05-Mar-20082.5 KiB10589

sound.cH A D05-Mar-20082.3 KiB13696

sound.hH A D05-Mar-2008821 2717

struct.hH A D03-May-2022774 5645

title.cH A D03-May-20228 KiB305260

xgal.sndsrv.freebsd.cH A D03-May-20227.3 KiB277196

xgal.sndsrv.linux.cH A D05-Mar-20087.3 KiB277195

xgal.sndsrv.sun.cH A D05-Mar-20085.9 KiB241162

xgalaga.6xH A D05-Mar-20081.5 KiB7270

xpm.hH A D05-Mar-200814.9 KiB458301

README

1
2                            XGalaga v2.0
3
4		  Copyright (c) 1995-1998 Joe Rumsey
5			<mrogre@mediaone.net>
6      XGalaga Home Page: http://rumsey.org/xgal.html
7
8  Please see the file INSTALL for installation instructions.
9
10  This is the first game I've written for X from "scratch" (the
11graphics interface is borrowed, I wrote everything else), but is by no
12means my first game.  I have written several popular shareware games
13for the Amiga, and plan to start porting them to X.  This project is
14to help me get used to X and to fine tune the graphics routines to
15make the next project easier.
16
17  Previous versions of this game were released as shareware.  However,
18it was never really worth my while.  Therefore, with apologies to the
19good souls that sent their payments in, I have placed it under the GNU
20GPL.  See COPYING for details
21
22See the file INSTALL for installation instructions.
23
24  Note that XGalaga is a major X server hog.  I doubt it will run
25well over a network.  Run it on the same machine as your display if at
26all possible.  On my 486DX/66 w/ accelerated graphics, the X server
27uses every available cycle to keep up, but the game still runs at
28nearly 30 frames/sec in buffered mode (and in non-buffered mode would
29run much faster than that if it weren't being purposely held to 30 fps)
30
31  You may find this amusing when you realize the original Galaga was
32probably a 6502 or Z-80 with 16k RAM.
33
34Command line options:
35  -scores              Print out the high score tables and exit
36  -display <display>   Set your display
37  -mouse               Use mouse control (same as 'm' at the title screen)
38  -keyboard        Use keyboard control (same as 'k')
39  -nosound             Turn sound off on platforms with sound support
40  -b                   turn buffered mode off, use this if it runs
41                       too slowly.  Will cause flicker, maybe lots,
42                       maybe only a little.
43  -level <level>       Set the starting level to <level>
44  <anything else>      print usage and version.
45
46Basic instructions:
47  It's Galaga, you know how to play Galaga, stop bothering me.
48  (Ship follows the mouse, button fires.  Auto-fire by holding it
49   down, so no-one accuses me of breaking their mouse!)
50
51Keyboard commands:
52
53  p - pauses
54  q - end this game
55  b - Toggle buffering (flicker vs. speed.)
56  o - Toggle OR mode.  Don't use this, it sucks.
57  s - toggle sound if your system supports it
58  m - Turn mouse control on     (also works to start the game)
59  k - Turn keyboard controls on (also works to start the game)
60      Controls: left_arrow  - move left
61        right_arrow - move right
62        space_bar   - fire
63
64Tech stuff about the graphics:
65    Why are the graphics so much snazzier than anything this side of
66XDoom? (which I now hear may only really work well on Linux, and which
67certainly doesn't come with source code) libXsprite, that's why!
68Originally the netrek graphics routines, then souped up for xpm
69support by Bill Dyess and others, I have turned it into a library for
70general use.  Want to use it yourself?  Go ahead!  It is free and
71quite powerful, as you can see.  Much more than just sprite handling,
72it takes care of every aspect of the X interface.  Perfect for getting
73games written quickly and painlessly.
74
75Credits:
76   Galaga code:
77            Joe Rumsey (mrogre@mediaone.net)
78   X interface:
79            Bill Dyess(dyessww@eng.auburn.edu),
80            Rob Forsman(thoth@cis.ufl.edu),
81            and about a million others.
82
83   Sound server/interface:
84        Sujal Patel (smpatel@wam.umd.edu)
85        Paul Kendall (paul@kcbbs.gen.nz) (Sun and NAS support)
86
87   Pixmaps:
88            Joe Rumsey (ogre@atomic.com)
89            Mike McGrath (mcgrath@epx.cis.umn.edu)
90
91   Thanks: Alec Habig for mirroring it at indiana
92       Johnathan Hardwick for testing on many
93             different platforms and sending bug fixes
94       Koala team in France for bug fixes and for writing the XPM
95         lib.
96       All the dupes^H^H^H^H^Hnetrekers who helped
97         test it at the earliest stages.
98       Bill Clarke (bill@discworld.anu.edu.au) for high score hacks
99       Everyone that's written me thanking me, and especially
100         the few who sent the five bucks in.
101

README.SOUND

1
2  Sound support is currently supported for Linux, FreeBSD, and Suns
3automatically.  In addition, Paul Kendall (paul@kcbbs.gen.nz) has
4provided an NAS interface, which hopefully will work on any system
5with NAS installed.  In my case (on a Linux machine) the sound with
6NAS is not as smooth as the native sound server, but it does work.
7Paul says on his Sun the NAS method is superior.
8
9  In any case, if you are not using Linux, FreeBSD, or a Sun, and you
10want sound, make sure you have NAS installed, then add "#define
11NAS_SOUND" to the top of the Imakefile.  For most systems, that should
12be all you have to do.  If your libaudio is in a non-standard
13location, you will also have to change the Imakefile that says "NASLIB
14= -laudio" to "NASLIB = -L/path/to/libaudio -laudio"
15
16  Note that for Linux, FreeBSD and Sun, if you do not specify NAS
17sound, native sound will automatically be compiled in.  This shouldn't
18hurt anything even if you don't actually have a sound card - you just
19won't hear anything.
20
21