Rail Blaster
============

Welcome to Rail Blaster!

The point of this game is to kill red squirrels by throwing
acorns at them from a train. What could be more fun?

The train mostly moves on its own, but sometimes it comes to
a junction or can't go straight, and it has to decide left
or right. You control whether the train prefers to turn left
or right, by pressing the Left or Right arrow keys.

You must kill all the squirrels in the alloted time. You get
a little time bonus each time you kill a squirrel. Use the
WASD keys to shoot in the given direction. Or, if you
prefer, you can use the 8, 4, 6, and 2 (or 5) keys on the
number pad instead.

Press Alt+Enter to toggle fullscreen, Esc to quit.

Note
====

If you get an ultra-hard level, try a new game. The levels
are assembled randomly.

Authors
=======

Graue <graue@oceanbase.org>:
	Code / art / level data

Ashrilyn <mtails@zianet.com>:
	Music / sound effects / art / level data

If you like this game, you might like the stuff on our
websites:

http://oceanbase.org/graue/
http://oceanbase.org/mtails/music.html

Thanks to:
 * All the Allegro people.
 * Olivier Lapicque, Markus Fick, Kenton Varda and others for
   libmodplug, which plays the music.
 * Duerig for the Rail programming language
   (http://esoteric.voxelperfect.net/wiki/Rail), which
   inspired the idea.
 * Jamie Zawinski for the random number generation in
   XScreenSaver.

This game was made entirely made within 72 hours for TINS
2006. For more information, see the TINS 2006 website:
http://amarillion.bafsoft.net/tins06/

The game has since been improved quite a bit. See the next
section.

Changes
=======

1.1, released 2006-12-02
	* Play a tick sound when time is about to run out
	* Squirrels prefer wider open areas
	* Compilation fix on Linux

1.0, released 2006-06-05
	* Lots of new level segments
	* Various bug fixes and small improvements
	* Linked the Windows version statically

0.9, released 2006-04-08
	* Higher quality music playing
	* Minimap showing the relative locations of
	  squirrels
	* Many level segments redesigned and improved
	* Train movement bugs fixed
	* Source code cleanup
	* 80% more awesomeness

2006-03-06
	* Original release for TINS

Requirements
============

Allegro: http://alleg.sourceforge.net/
libmodplug: http://modplug-xmms.sourceforge.net/

For compiling on Windows, you should use MinGW, from
http://www.mingw.org/. Other Windows compilers may not work.

Compiling
=========

To compile on Windows, try this, using MinGW:
  gcc *.c -o railblaster.exe -O2 -lalleg -lmodplug -lstdc++ -mwindows

Or if you have a statically-linked version of Allegro built
(see the Allegro documentation), you can build a statically
linked version with this long line:
  gcc *.c -o railblaster.exe -O2 -lalleg_s -lmodplug -lstdc++ -mwindows -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lole32 -ldinput -lddraw -ldxguid -lwinmm -ldsound -DALLEGRO_STATICLINK

On Unix, just type "make", then, as root, "make install".
By default, stuff will be installed under /usr/local. If you
want it elsewhere, modify the Makefile to your liking.

Legal
=====

This software is in the public domain. You may do whatever
you like with it, with no legal obligation to give the
authors anything in return.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
