Go to file
onpon4 4be080225b Fixed more magic numbers.
God, this one was definitely the biggest headache of all of the
magic number erasing. Never did I expect such cryptic problems.

The first problem was that the entirety of the player's weapon
struct was a part of the save file, *including the weapon's "image
indexes"*. Since the indexes have been changed, and the originally
used one is now unavailable when it's requested, this was causing
a segfault later on. Had to fix this by setting the image index
when the game is loaded.

The second problem was related to another bug I've been confused
about for years: the one that causes mobile rays to fire 5 green
shots. The entire reason those shots were green was because
the weapon's image indexes were undefined, and *that was causing
them to default to 0*. 0 was simply the index of green plasma.
Of course, though, now attempting to use that image causes a
segfault, so for now, I've fixed this by changing the image index
of the mobile rays to the red plasma bolts.

There are still some magic numbers left, related to the intermission
screen. But the hardest part is now done, thank God.
2016-01-05 22:12:29 -05:00
data Moved cutscenes to C. 2016-01-04 20:17:06 -05:00
docs Updated copyright notices, marked starfighter.desktop as trusted. 2016-01-03 17:49:32 -05:00
gfx Improvements to text display. 2015-06-15 23:56:20 -04:00
misc Updated copyright notices, marked starfighter.desktop as trusted. 2016-01-03 17:49:32 -05:00
music Fixed a mistake in editing through_space.ogg. 2015-06-11 22:55:04 -04:00
sound Replaced all sound effects with the plain Ogg sound effects from 1.2. 2015-02-26 09:06:50 -05:00
src Fixed more magic numbers. 2016-01-05 22:12:29 -05:00
.gitignore Proper fix. 2015-04-05 17:26:37 -04:00
COPYING Added a copy of the GNU GPL. 2015-02-26 11:11:10 -05:00
LICENSES Fixed a mistake in editing through_space.ogg. 2015-06-11 22:55:04 -04:00
Makefile Moved cutscenes to C. 2016-01-04 20:17:06 -05:00
README.txt Updated copyright notices, marked starfighter.desktop as trusted. 2016-01-03 17:49:32 -05:00

README.txt

Copyright (C) 2015 onpon4 <onpon4@riseup.net>

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.  This file is offered as-is,
without any warranty.

========================================================================


Thank you for downloading Project: Starfighter! This readme is just a
basic overview of the game and instructions for building; for
instructions on how to play the game, see docs/index.html.

Project: Starfighter is a space shoot 'em up game originally developed
by Parallel Realities in 2002, and released in 2003. You assume the role
of Chris Bainfield in his quest to put an end to WEAPCO, the weapons
corporation which has enslaved the galaxy.

If you played one of the versions of Project: Starfighter distributed by
Parallel Realities, you might notice some differences in this version
compared to the original:

* The graphics, sounds, and music are all completely different. This is
  because most of the original media was not properly licensed, and
  therefore needed to be replaced to make the game 100% libre and legal.
  Most of this work was done by the previous project at SourceForge;
  this project completed that work by adding music and replacing one
  non-libre graphic that got into version 1.2 by mistake.

* There are several gameplay changes. These changes were mostly done to
  balance the game better. However, if you want the original experience,
  "original" difficulty approximates it as closely as possible (short of
  implementing bugs on purpose).

* Typing "humansdoitbetter" in the title screen no longer enables
  cheats. This is actually because the switch to SDL2 broke the original
  feature, and rather than fixing it, I just replaced it with something
  else. I'll let you figure out what the new method to access the cheat
  menu is. :)


COMPILING FROM SOURCE

Project: Starfighter depends on the following libraries to build:

* SDL2 <http://libsdl.org>
* SDL2_image <http://www.libsdl.org/projects/SDL_image/>
* SDL2_mixer <http://www.libsdl.org/projects/SDL_mixer/>

Once you have all dependencies installed, simply run:

    make

And optionally (as root):

    make install

If this doesn't work, you may need to tweak the makefile.

To play, simply run the starfighter binary.