Dem2terrain

Convert Digital Elevation Mesh to Falcon 4 terrain.

Takes into account spherical mapping of the world and allows certain resolutions and 
sizes to be tinkered with. Will generate
- L2/O2 files
- TDF files 
- .MAP file
- .MEA file
- Large/small terrain format

Thanks to:
Snakeman - for pushing me to write this.
Miran Klemenc - for dem2lf, which inspired this
Crossup & Widowmaker - for encouragement and bouncing ideas off

Usage:
Read in a .hdr file which should have an associated .bin file. 
Read the details at http://falcon4.nekromantix.com/docs/theater_tutorial.php
Optionally load E00 files and then generate a terrain.

Version 1.9
===========
Averaging routine for handling resolution smaller than DEM cell size.
Fix for height data dialog.

Version 1.8
===========
Try outputing CSV file too

Version 1.7
===========
Fixed up reading of some dnnet files, better e00 parser
Fixed up display in progress box.


Version 1.6
===========
Fixed up spurious file created.

Version 1.5
===========
MEA fixed up now
Redone progress dialogs for reading in (twice).
Split up TDF files into separate ones.
New Height Data/Tile editor


Version 1.4
===========
Multi select of data
Accelerator for data
Fixed bug.

Version 1.3
===========
Process E00 Data for airports and labels. Rather slow at the moment.
Fixed a couple of display bugs
Tweak to guess for airport and label data - speeds up common cases.
Progress dialogs.



Version 1:
=========

Basic stuff
tinkering around with the UI
Learning how to use combo boxes properly.
Subclassing stactic controls for map drawing.
Added cute About link.

E00 parser written
Overlay E00 data on the map.
Calculate MEA stuff
Write thr file based on palette
TDF writing 

