|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| images/ | H | 03-May-2022 | - | 27 | 18 |
| levels/ | H | 05-Mar-2008 | - | 630 | 613 |
| libsprite/ | H | 05-Mar-2008 | - | 4,499 | 3,632 |
| sounds/ | H | 07-May-2022 | - | | |
| CHANGES | H A D | 05-Mar-2008 | 9.3 KiB | 191 | 168 |
| CREDITS | H A D | 05-Mar-2008 | 1.2 KiB | 53 | 36 |
| INSTALL | H A D | 05-Mar-2008 | 1.7 KiB | 50 | 39 |
| Makefile.in | H A D | 03-May-2022 | 3.3 KiB | 115 | 79 |
| README | H A D | 05-Mar-2008 | 4.1 KiB | 101 | 83 |
| README.SOUND | H A D | 05-Mar-2008 | 1,008 | 21 | 16 |
| Wlib.h | H A D | 05-Mar-2008 | 6.8 KiB | 208 | 148 |
| Wproto.h | H A D | 05-Mar-2008 | 5.8 KiB | 119 | 94 |
| acconfig.h | H A D | 05-Mar-2008 | 699 | 28 | 9 |
| config.guess | H A D | 05-Mar-2008 | 19.9 KiB | 694 | 598 |
| config.h.in | H A D | 05-Mar-2008 | 2.1 KiB | 82 | 56 |
| config.sub | H A D | 03-May-2022 | 18.8 KiB | 930 | 819 |
| configure | H A D | 03-May-2022 | 193 KiB | 7,099 | 5,933 |
| configure.in | H A D | 05-Mar-2008 | 3.6 KiB | 147 | 130 |
| copyright.h | H A D | 05-Mar-2008 | 17.6 KiB | 346 | 0 |
| copyright2.h | H A D | 05-Mar-2008 | 254 | 10 | 0 |
| data.c | H A D | 05-Mar-2008 | 1.3 KiB | 84 | 60 |
| data.h | H A D | 05-Mar-2008 | 1.1 KiB | 69 | 45 |
| defs.h | H A D | 05-Mar-2008 | 1.4 KiB | 86 | 59 |
| explosions.c | H A D | 05-Mar-2008 | 3.1 KiB | 167 | 142 |
| frate.c | H A D | 05-Mar-2008 | 5.5 KiB | 206 | 110 |
| highscore.c | H A D | 05-Mar-2008 | 13 KiB | 526 | 453 |
| images.c | H A D | 05-Mar-2008 | 188.6 KiB | 6,932 | 6,781 |
| images.h | H A D | 05-Mar-2008 | 2.2 KiB | 73 | 64 |
| install-sh | H A D | 05-Mar-2008 | 5.5 KiB | 251 | 152 |
| linux-joystick.c | H A D | 05-Mar-2008 | 1.7 KiB | 86 | 67 |
| linux_pcsp.h | H A D | 05-Mar-2008 | 8.1 KiB | 219 | 146 |
| main.c | H A D | 03-May-2022 | 42.1 KiB | 1,436 | 1,292 |
| mkimgsrc | H A D | 05-Mar-2008 | 26 KiB | 640 | 580 |
| mkimgsrc.out | H A D | 05-Mar-2008 | 8.5 KiB | 316 | 256 |
| mkinstalldirs | H A D | 05-Mar-2008 | 729 | 41 | 23 |
| nas_sound.c | H A D | 05-Mar-2008 | 4.4 KiB | 233 | 171 |
| pathfile.c | H A D | 05-Mar-2008 | 7.8 KiB | 414 | 338 |
| pathfile.h | H A D | 05-Mar-2008 | 0 | 1 | 0 |
| paths.c | H A D | 05-Mar-2008 | 45.2 KiB | 1,241 | 1,125 |
| paths.h | H A D | 05-Mar-2008 | 1 KiB | 50 | 38 |
| prize.c | H A D | 05-Mar-2008 | 5.5 KiB | 268 | 247 |
| proto.h | H A D | 05-Mar-2008 | 1.8 KiB | 69 | 54 |
| score.c | H A D | 05-Mar-2008 | 2.5 KiB | 105 | 89 |
| sound.c | H A D | 05-Mar-2008 | 2.3 KiB | 136 | 96 |
| sound.h | H A D | 05-Mar-2008 | 821 | 27 | 17 |
| struct.h | H A D | 03-May-2022 | 774 | 56 | 45 |
| title.c | H A D | 03-May-2022 | 8 KiB | 305 | 260 |
| xgal.sndsrv.freebsd.c | H A D | 03-May-2022 | 7.3 KiB | 277 | 196 |
| xgal.sndsrv.linux.c | H A D | 05-Mar-2008 | 7.3 KiB | 277 | 195 |
| xgal.sndsrv.sun.c | H A D | 05-Mar-2008 | 5.9 KiB | 241 | 162 |
| xgalaga.6x | H A D | 05-Mar-2008 | 1.5 KiB | 72 | 70 |
| xpm.h | H A D | 05-Mar-2008 | 14.9 KiB | 458 | 301 |
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