/*  Bataafje -- A small game written for the Allegro SpeedHack 2003
 *  Copyright (C) 2003  Tobi Vollebregt
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 *  See `License.txt', which contains a verbatim copy of the
 *  GNU General Public License, for details.
 *
 *  Please send your reaction to: tobivollebregt@hotmail.com
 */


  __   _  _ __       _   _       _   _   _   _
/ | \ /  /  | \ |_| /_\ /  |/   /_> / \ / \ /_>
\ |_/ >- >- | | | | | | |  |\   /   | | | |   \
/ |   \_ \_ |_/ | | | | \_ | \  \__ \_/ \_/ \_/



BATAAFJE
--------

The game is extremely simple: you start with 15 cheese and 15 apple. You 
throw these onto the enemies. Each hit you'll gain some points and you'll 
gain an extra ammo. When you've spent all your ammo, you'd better stop the 
game by pressing ESC.

Checkout the nibbles-clone by pressing the letters SNAKE in the game.



FILES
-----

Path + filename:    Content type:   Description:

anim.cpp            Sourcecode      Impl of CAnimation
anim.h              Headerfile      Decl of CAnimation
bataafje.cfg        Configfile      Main configuration file
bataafje.dat        Alleg datafile  Animations, Copyright (C) 2003 Duco Vollebregt
bataafje.exe        Executable      Win32 executable (needs alleg40.dll)
cloud.cpp           Sourcecode      Impl&Decl of CCloud
debug.h             Headerfile      Global header file (globals)
enemy.cpp           Sourcecode      Impl&Decl of CEnemy
fade16.c            Sourcecode      fast 15/16 bit faders *
fade16.h            Headerfile      headers for fade16.c *
intro.c             Sourcecode      intro code *
License.txt         Plain text      GNU General Public License
main.cpp            Sourcecode      main()
Makefile            Makefile        GNU Makefile
nibbles.c           Sourcecode      A complete nibbles game (easter egg)
object.cpp          Sourcecode      Impl of CObject&CClass *
object.h            Headerfile      Decl of CObject&CClass *
player.cpp          Sourcecode      Impl&Decl of CPlayer
readme.txt          Plain text      This file

The files marked with an asterisk (*) were not written (entirely) in the 
Allegro SpeedHack weekend.



INSTALLING
----------

1)  Read this file and the file `License.txt'.

Windows users:
2)  Doubleclick on `bataafje.exe' to run.

DJGPP, Linux and Unix users:
2)  cd to the directory of Bataafje.
3)  Type `make' to compile. (`Makefile' contains information about 
    possible targets.)
4)  Type `bataafje' to run.

Other platforms:
2)  Compile all .c and .cpp files and link them with Allegro.
3)  Run the executable you created in step 2.

Bataafje has been developped with DJGPP (GCC 3.1) (DOS box) and has been 
tested using MSVC 6.0, Windows 98, both using Allegro 4.0.3.

You can configure some aspects of the game in bataafje.cfg:

The variables `intro' and `fractal' control if the intro texts or the 
fractal are displayed. You may change all variables of the [screen] section 
to your own needs (resolution, color depth, fullscreen/windowed), and you 
may customize the GUI by editing the sections `[gui_fg_color]' and 
`[gui_bg_color]'.



CONTROLS
--------

The game keys can be selected in the dialog displayed just after the intro.

Other keys, which can't be changed, are:

ESC     Close the (sub)program
F12     Write screenshot to shot.bmp

In the intro and the fractal subprograms:

F1      Display some technical info (fps/polycount/vertexcount etc.)
F2      Toggle wireframe mode
F3      Toggle backface culling
F4      Toggle lighting

In the easter egg (a nibbles game accessable by pressing s,n,a,k and e at 
the same time in the game):

arrow keys to move player one around
a,s,d,w to move player two around
F5      Restart game
F6      Toggle wrapping mode
F7      Number of players (one or two)
F8      Select game speed
F9      Player one CPU or human
F10     Player two CPU or human
F11     Third CPU player?
+(pad)  Increase gamespeed
-(pad)  Decrease gamespeed



NOTES
-----

Thanks to Duco Vollebregt, who made the sprites.
