|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| AUTHORS | H A D | 05-Apr-2013 | 719 | 17 | 12 |
| COPYING | H A D | 05-Apr-2013 | 17.7 KiB | 340 | 281 |
| ChangeLog | H A D | 05-Apr-2013 | 738 | 35 | 27 |
| INSTALL | H A D | 31-May-2011 | 7.6 KiB | 183 | 143 |
| Makefile.am | H A D | 05-Apr-2013 | 1.5 KiB | 81 | 55 |
| Makefile.in | H A D | 05-Apr-2013 | 25.2 KiB | 810 | 697 |
| NEWS | H A D | 05-Apr-2013 | 698 | 17 | 12 |
| README | H A D | 05-Apr-2013 | 2.7 KiB | 69 | 50 |
| aclocal.m4 | H A D | 05-Apr-2013 | 35.7 KiB | 1,002 | 917 |
| args.C | H A D | 05-Apr-2013 | 5.2 KiB | 196 | 170 |
| args.h | H A D | 05-Apr-2013 | 1.8 KiB | 51 | 26 |
| buzzer.C | H A D | 05-Apr-2013 | 6 KiB | 255 | 186 |
| buzzer.h | H A D | 05-Apr-2013 | 1.7 KiB | 84 | 48 |
| castle.C | H A D | 05-Apr-2013 | 6.2 KiB | 283 | 207 |
| castle.h | H A D | 05-Apr-2013 | 2.5 KiB | 120 | 79 |
| config.h | H A D | 05-Apr-2013 | 2.5 KiB | 90 | 28 |
| config.h.in | H A D | 05-Apr-2013 | 2.3 KiB | 89 | 59 |
| configure | H A D | 05-Apr-2013 | 177.7 KiB | 6,207 | 5,124 |
| configure.ac | H A D | 05-Apr-2013 | 2.3 KiB | 76 | 56 |
| cyrilc.C | H A D | 05-Apr-2013 | 54.9 KiB | 1,574 | 1,481 |
| depcomp | H A D | 05-Apr-2013 | 22.9 KiB | 791 | 501 |
| ething.C | H A D | 05-Apr-2013 | 1,014 | 36 | 10 |
| ething.h | H A D | 05-Apr-2013 | 995 | 37 | 12 |
| fireball.C | H A D | 05-Apr-2013 | 3.4 KiB | 147 | 98 |
| fireball.h | H A D | 05-Apr-2013 | 1.6 KiB | 77 | 41 |
| font.h | H A D | 05-Apr-2013 | 1.3 KiB | 43 | 16 |
| global.h | H A D | 05-Apr-2013 | 1.8 KiB | 104 | 60 |
| gothgbt.C | H A D | 05-Apr-2013 | 104.3 KiB | 2,839 | 2,746 |
| icon.xbm | H A D | 31-May-2011 | 1.3 KiB | 21 | 20 |
| install-sh | H A D | 31-May-2011 | 5.5 KiB | 252 | 153 |
| king.C | H A D | 05-Apr-2013 | 2.9 KiB | 134 | 90 |
| king.h | H A D | 05-Apr-2013 | 1.5 KiB | 70 | 37 |
| laser.C | H A D | 05-Apr-2013 | 2.4 KiB | 116 | 73 |
| laser.h | H A D | 05-Apr-2013 | 1.6 KiB | 81 | 43 |
| minefield.C | H A D | 05-Apr-2013 | 2.5 KiB | 126 | 82 |
| minefield.h | H A D | 05-Apr-2013 | 1.6 KiB | 71 | 39 |
| missing | H A D | 05-Apr-2013 | 6.7 KiB | 216 | 143 |
| mkinstalldirs | H A D | 05-Apr-2013 | 718 | 41 | 23 |
| random.h | H A D | 05-Apr-2013 | 1.4 KiB | 66 | 33 |
| ring.C | H A D | 05-Apr-2013 | 4.1 KiB | 179 | 121 |
| ring.h | H A D | 05-Apr-2013 | 1.8 KiB | 87 | 49 |
| romans.C | H A D | 05-Apr-2013 | 28.1 KiB | 892 | 800 |
| romant.C | H A D | 05-Apr-2013 | 77.1 KiB | 2,143 | 2,050 |
| ship.C | H A D | 05-Apr-2013 | 9.5 KiB | 455 | 338 |
| ship.h | H A D | 05-Apr-2013 | 2.9 KiB | 150 | 99 |
| stamp.C | H A D | 05-Apr-2013 | 2.3 KiB | 141 | 80 |
| stamp.h | H A D | 05-Apr-2013 | 1.8 KiB | 86 | 49 |
| starfield.C | H A D | 05-Apr-2013 | 3.1 KiB | 124 | 80 |
| starfield.h | H A D | 05-Apr-2013 | 1.5 KiB | 62 | 31 |
| stats.C | H A D | 05-Apr-2013 | 3.4 KiB | 156 | 97 |
| stats.h | H A D | 05-Apr-2013 | 1.5 KiB | 70 | 35 |
| text.C | H A D | 03-May-2022 | 2.5 KiB | 108 | 70 |
| text.h | H A D | 05-Apr-2013 | 1.2 KiB | 54 | 23 |
| thing.C | H A D | 05-Apr-2013 | 2.6 KiB | 128 | 82 |
| thing.h | H A D | 05-Apr-2013 | 2.8 KiB | 172 | 107 |
| timing.h | H A D | 05-Apr-2013 | 1.4 KiB | 63 | 33 |
| trig.C | H A D | 05-Apr-2013 | 2.1 KiB | 105 | 65 |
| trig.h | H A D | 05-Apr-2013 | 2.1 KiB | 88 | 52 |
| tthing.C | H A D | 05-Apr-2013 | 1.5 KiB | 65 | 31 |
| tthing.h | H A D | 05-Apr-2013 | 1.6 KiB | 77 | 40 |
| util.C | H A D | 05-Apr-2013 | 3.1 KiB | 119 | 71 |
| util.h | H A D | 05-Apr-2013 | 1.1 KiB | 50 | 20 |
| xsc.C | H A D | 05-Apr-2013 | 12.7 KiB | 554 | 436 |
| xsc.h | H A D | 05-Apr-2013 | 1.1 KiB | 42 | 17 |
| xything.C | H A D | 05-Apr-2013 | 2.2 KiB | 91 | 47 |
| xything.h | H A D | 05-Apr-2013 | 1.9 KiB | 100 | 56 |
README
1# Copyright (C) 1993-2013 Mark B. Hanson (mbh@panix.com)
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 2, or (at your option)
6# any later version.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12
13# You should have received a copy of the GNU General Public License
14# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
16XSC is a clone of the old Star Castle video game by Cinematronics.
17Most of the details are from memory and a few old video game books I have
18kicking around from the golden days. This is just a fun hack that I've
19been working on off and on for quite a long time. I don't have any grand
20plans for it, except to hack on it when I feel like it. It's always
21good to have something like this available when you feel like flying
22around and blasting the crap out of some alien bad guy for a few minutes.
23
24The program should build on any reasonable UNIX box with a decent C++
25compiler and X libraries installed. Some portability adjustments may
26be necessary depending on what variety of bogosities exist in your C++
27development environment. As of version 1.3, the code is known to compile
28with recent versions of g++ and Sun's WorkShop C++ 5.0. If you need
29to modify it to build on another platform, send me the changes and I'll
30try to work them into my repository.
31
32To specify optimization flags when building, I suggest:
33
34CXXFLAGS="-O2 -fomit-frame-pointer" ./configure
35
36or something similar for GCC, and:
37
38CXXFLAGS="-xO3" ./configure
39
40for Sun's WorkShop C++ compiler.
41
42Installation is trivial, as there is currently only an executable and
43no supporting files. Just put the xsc binary somewhere in your PATH
44and blast away.
45
46Instructions:
47=============
48
49- D turns the ship counter-clockwise
50- F turns the ship clockwise
51
52- J runs the thruster
53- K fires the laser
54
55- P toggles the pause (moving the cursor out of the window pauses the game)
56- Q quits the game
57- space starts a new game
58
59The object is to blast a hole in the rings and destroy the enemy ship.
60The only problem is that it tracks your every move and as soon as you
61knock a hole in all three rings, and they all line up, it lets loose
62with the big nasty green fireballs. Avoid them. Avoid the little green
63buzzers, too. Shoot 'em if you want.
64
65Destroying all the segments of the outer ring causes a new solid ring
66to be generated. You must hit each ring segment twice to destroy it.
67
68If you kill off the enemy ship, you are given another life.
69