		F1GP Driver Selection Screen Helmet Editor v0.2
		 by Craig Heath, 1995.  Internet:craig@sco.com

WARNING!  This program is provided in the hope that it may be of interest;
it is not a finished product, and therefore its ease of use and stability
both may leave something to be desired.

PURPOSE:  Allows editing of the HELMETS.DAT file used by Microprose Formula 
One Grand Prix (aka World Circuit).  The HELMETS.DAT file holds the images 
of driver helmets that are displayed on the driver selection screen.

HARDWARE REQUIREMENTS:  A 486 with a 3-button mouse is recommended,
otherwise it should run on anything that will run F1GP.

INVOCATION:  It is best to run the program on a _copy_ of the HELMETS.DAT
file, as there is no undo facility, nor is the original file backed up.
Example:
		copy helmets.dat helmets.tmp
		helmedit helmets.tmp

It is possible to run the program with two file arguments; this is useful
for copying helmets from one file and pasting them into another.
Example:
		helmedit helmets.old helmets.new

If the editor is run from the game directory, it will load and display
driver names from the game names file, if one has been configured to be
loaded at startup in the game options.

DISPLAY:  At the top left of the screen, the driver number (and name, if
available) for the current helmet is shown.  Below this is the palette, from
which colours for painting can be selected.  Below that is the display of
the paste buffer, and a command menu.  At the top right is the name of the
file currently being edited.  Below this is the edit window for the current
helmet.

KEYBOARD CONTROLS:
C: Copies the current helmet bitmap to the paste buffer.
P: Pastes the contents of the paste buffer over the current helmet.
S: Saves all helmets back to the original file.
Q (or ESCAPE): Quits _without saving_.
- (or LEFT ARROW): Selects the previous helmet.
+ (or RIGHT ARROW): Selects the next helmet.
A: Switches between two data files (if specified on the command line).
UP ARROW/DOWN ARROW: Shifts the contents of the edit window up or down.

MOUSE CONTROLS:
Click on command menu: equivalent to a keyboard command.
Click on palette: selects that colour for painting.
Left click or drag on edit window: sets pixels to the selected colour.
Right click or drag on edit window: selects the colour of the current pixel.
Middle click or drag on edit window: copies the corresponding pixel from
	the paste buffer to the edit window.
SHIFT-right click can be used as an equivalent to middle click.

HINTS AND TIPS:  To create a new helmet, find a similar one and paste it
into the required position.  To change areas of the helmet to a new colour,
copy a helmet of the required colour to the paste buffer and use the
middle button (or SHIFT and right button) to copy the colours to only the 
desired area.  To help with this, several plain coloured helmets are included 
in the example file in positions which are not used by the 1995 teams.  Save 
often!  There is no undo, so if you make a mistake you will want to go back 
to the previously saved version.  When fine tuning a design, keep copying it 
to the paste buffer, so it can be pasted back to the edit window if you make 
a change you don't like.

EXAMPLE FILE:  HELMET95.DAT contains all the helmets for the 1995 drivers
as of Silverstone, plus those for other drivers who have appeared this season
in unused positions.  Those can be put in the correct places using Copy and
Paste, if and when the drivers change.  To use it with the game, REName your
existing HELMETS.DAT to HELMET91.DAT, and then REName HELMET95.DAT to
HELMETS.DAT.  Make sure you are using the correct driver numbers - the example
names file HELMET95.NAM can be loaded into the game to check this.

KNOWN PROBLEMS:
- The program sits in a spin loop waiting for a key press or mouse activity,
  and therefore will not work well in a multitasking environment.

FUTURE ENHANCEMENTS:  (possibly...)
- Allow import and export to, e.g. .PCX files.
- Add a colour fill command.
- Add an undo mechanism.
- Make it interrupt driven.

CHANGES SINCE VERSION 0.1:
- Made shift-click equivalent to middle button.
- Disabled ESCAPE for quit.
- Reordered palette display to make colour selection easier.
- Added alternate file handling.
- Added automatic loading of startup names file.
- Added quit confirmation on unsaved changes.
- Added left-click mouse selection from command menu.
- New helmet data file based on ray-tracing output.
- Added national flags to helmet data file.
- Added shift up/down commands.
- Various structural improvements.

RIGHTS:  This program is released to the public domain.  If you use it,
please let me know via email (craig@sco.com) - the more interest there is, 
the more likely I am to improve it!

Craig Heath, 25 Jul 95.
