CAD VERSION 1.0
---------------

That's right! Cad, the spectacular game of not being the Cad at
the end of the game, is back! In C++ form!

Installation
------------

DOS BINARY:

	Unpack the zip file (it should be called CAD1_0.ZIP) into some
directory. At minimum, you need the three .EXE files (only CAD.EXE if
your system is set up right) and CAD.DAT. Run CAD.EXE to start the game.

SOURCE CODE:

	You must have the Allegro library set up and configured on your
system to make Cad yourself. A makefile (made for GNU make but simple
enough that it should run on any make) is included, but will only work
unmodified if you have GPP (part of the GCC) installed. Assuming you have
Allegro, GPP and a make program, just run make with no arguments after
unpacking the zip file (CAD1_0SRC.ZIP) and it should build by itself.

	If you are using a different compiler than GPP, you can either
modify the makefile (recommended if you know what you're doing) or just
compile everything by hand. All that needs to be done is for every .cc
file to be compiled into a .o file and the whole thing linked together
with '-lalleg' (to link Allegro with it).

	Note that if you compile the source, you will still need CAD.DAT
from the DOS binary zip (and if you want to use arenas you will need the
bitmaps and/or CAD.PAL). I have no idea if Cad compiles or runs on anything
but Windows 95, but it's very unlikely to break anything if you try.

System Requirements
-------------------

	As far as speed goes, a P133 is probably the lower limit for
non-jerky gameplay. As above, Cad might not run if you don't have Windows
95 or appropriate graphics/sound/midi drivers, so don't blame me if it
crashes. It would probably be fairly easy to remove requirements for sound
and music, so if anyone has any problems with this, send me an email and
I'll 'have a go.' If you can compile Cad yourself and have sound/midi
drivers, it should work regardless of what operating system you're using.

How to play Cad
---------------

	After you run the executable, you will see the title/options
screen. Change the values by using the left and right arrow keys. To
start the game, go to 'Start' using the up/down arrow keys and press
ENTER. A lower 'Speed' value makes the game go faster, and a lower
'Powerup frequency' value makes more powerups appear.

	The object of the game is to not be the Cad at the end of the
game. If you are the Cad, you lose. There is no way to win Cad. You may
only lose. At the beginning of the game, one knave will be randomly 
selected to be the Cad, and from then on any knave touched by the Cad 
will become the new Cad.

To control your knave, use the following keys:

ZOMBIE DAVE    (PLAYER 1): Up, Down, Left, Right
INSINCERE DAVE (PLAYER 2): W, S, A, D
SKELETOR       (PLAYER 3): 8, 5, 4, 6 (on the number pad)
BURGERS        (PLAYER 4): I, J, K, L

	Only tap a key once to move. You will continue to move until
something makes you stop. Don't hold the key down, or other keys on 
the keyboard might stop responding. This is a fault of the PC keyboard, 
not Cad. Cad is infallible. Disparaging Cad is a Caddable offence.
The layout of the controls (and the fact that they aren't currently
configurable) will cause problems for a non-QWERTY keyboard. If you have
a non-QWERTY keyboard, you are probably French, and may not play Cad.

Arenas
------

	If you select an arena in the options screen, it will be loaded
and displayed as drawn in-game. Every non-black pixel acts as an impassable
barrier for knaves (unless they collect the passwall powerup). The binary
zip comes with a few arenas for your excitement.

	To make your own arenas, you will need a paint program capable of
loading .PAL palette files. Create a bitmap sized 320x200 pixels, load
CAD.PAL for the current image, and draw. The game checks whether a pixel is
palette entry 0 (black in CAD.PAL), so you don't actually need to load the
palette file as long as you use palette entry 0 for the background colour.
Colours will look different in-game if you don't use the palette,though.
When you're done, save the image as a bitmap in the Cad directory and you
should be able to select it from the options screen.

	Note: the bottom 20 lines will be ignored (since the time bar
replaces them). However, bitmaps must still be 320x200 (if they are not
and you choose one as an arena, the game will probably crash). I may change
this at some point, but it doesn't make much of a difference.

Powerups
--------

	Powerups appear randomly on the screen. To collect one just move
over it. Each powerup surprisingly has a different effect, listed below.
Powerups with an asterix before their name cannot be active simultaneously
on the same knave; if a knave is affected by one when already affected by 
another, the newer one will override the old one (if they are the same 
effect, the effect time will reset).

Teleport (green and white diagonal thing): Randomly teleports the knave
who collected it.

Teleport All (purple and white diagonal thing): Randomly teleports all
players.

Cad Wheel (flashing swastika): A random player becomes the Cad.
Note that the current Cad is not necessarily exempt from being chosen.
Anyone who is invincible is.

*Invincibility (white circle with gold dots): For a few seconds, the knave
who collects this is immune to being caught by the Cad and cannot be chosen
by the Cad Wheel. This does not remove Cadhood if the Cad collects it.
Invincible knaves are white with gold eyes.

*Passwall (hollow white circle): For a few seconds, the knave who collects
this powerup will be able to pass through walls. If the effect ends while 
the knave is in a wall, the knave will be randomly teleported and frozen 
(as the effect). Knaves with this are a hollow white outline.

*Invisibility (eye with a red cross): The knave who collects this will
disappear for a short time, even if he is the Cad.

Generator (multi-coloured dots): Three more powerups are created.

*Speed (lightning bolt): Doubles the speed of the collector for a short time.
Speedy knaves are all yellow.

*Reverse Controls (red down arrow): Reverses everyone's controls for a short 
time except the knave who collected it. Reversed knaves are blue with a
red question mark on their faces.

*Freeze (blue circle with light blue centre): Freezes everyone for a short
time except the knave who collected it. Frozen knaves are blue.

Bugs
----

There are only two known bugs in Cad: One, when you are fast, you may leave a
one-pixel buffer between walls when you hit them. This is not noticeable and
has no real effect. Two, the game will lock up after playing four MIDI files.
This can be avoided by not playing games longer than about 400 seconds. This
shouldn't be too hard, since playing a game longer than 100 seconds is usually
totally pointless. I'll probably fix the second one at some point.

If you have problems hearing the sound or music in Windows, it's probably
because you've been fucking with the Windows volume controller. Move the
volume controls around until something good happens.

Copying Cad
-----------

You are free to copy Cad anywhere, as long as it is distributed in its original
form (with this file). You can also use whatever you want from the datafile.
The same goes for the source code (not that it's a work of art or anything).
If you upload Cad anywhere or put a link to it on your site, email me or something.

CREDITS
-------

Nearly everything: Matthew Bennett
Prequel to Cad: KNAVE, by Martyn Townsend
Testers: Martyn Townsend, James Wright, Michael Bennett,
         Neil Morrison, Tomos Bell, Alex Turner, Craig
         Eskdale and Carl Franks.
Burgers's balaclava size: XXXXL
Burgers's father's age: 71
Special thanks to Bruce Campbell, Leslie Neilsen and Reggie Bannister.

Cad was written using the Allegro library (http://www.talula.demon.co.uk/allegro)
and compiled with DJGPP (http://www.delorie.com), which are both both free and
good. They are not daily, however.
Cad is a Deflated Cheeks Entertainment production, Space Year 2001.
Zombie Dave and Insincere Dave are probably the copyright of Paul Rose, and
are used with only imaginary permission.
Skeletor is copyright of whoever owns He-Man (probably Mattel).
Burgers's cheeks appear courtesy of Burgers.
The music is mostly taken from various games. If you care enough to ask about
any particular file, send an email.

Cad is Shitware. If you have enjoyed Cad, email me at any or all of the
following addresses (since most of the time at least one of them is buggered):

shoehorn@mailcity.com, mccb3@cam.ac.uk, shoehorn@another.com.

That is all.