TerrainView

View the falcon 4 terrain (and edit it)

Julian Onions <j.onions@nexor.co.uk>

See help file for more details


Changes
V1.55
=====
Bug in import/export

V1.54
=====
Not sure whats changed!

V1.53
=====
Handle bigger PCX bitmaps

V1.52
=====
Large/regular variants

V1.51
=====
Global replace changed to be two lists now.
Changes any in first list to random one from 2nd list.

V1.50 
=====
Bug fix for the height tiles on edge,
Try and get auto stuff to work on bigger maps.

V1.49
=====
Fixes for height display in segment

V1.48
=====
New export/import format.

V1.47
=====
Changes for auto tiling config.

V1.46
=====
Fixed compute tile features bug.

V1.45
=====
Fixes for bigger terrains.


V1.44
=====
nothing

V1.43
=====
Zoomlevel can now go smaller than 1:1...
Some clever stuff on l2c import/export (after a few false starts)
Multi-select of tdf files (shift click).

V1.42
=====
Bug fix for auto tiling on the edge!
Manfreds clever smoothing stuff
Drag and drop stuff fixup.
Height map button.

V1.41
=====
Added the X/Y position in the single tile view.
Added find tile option.
Move find/replace tile to Edit menu.
Added Cancel to segment menu - this discards all changes.

V1.40
=====
Revert button - to revert to previous version of segment
Global tile replace button.

V1.39
=====
Bufg fix for configurable tile palette changes
Changed replace - to replace with random tiles if more
than one specified.

V1.38
=====
Configurable tile palette changes

V1.37
=====
Better auto stuff - much better than before. 
bridge.tdf included - just to show how bad it is.

V1.36
=====
Bridge guessing stuff - not very successful - finds far too many!
Needs a higher resolution mechanism to work that out.
Auto terrain stuff - per segment.

V1.35
=====
Bugs bug bugs (to the tune of guns guns guns)
Fixed -resize palette minimum size bug
 - l1, l0, l3-5 views.
 - replace random segment, replace segment.
New config option - border on/off
various tweaking.

V1.34
=====
Minor bug fix and some size tweaking.

V1.33
=====
3d selections now supported - to change POV.
Changed segment view to show border squares.
Palette now handled by my own resizeable thingy.

V1.32
=====
Attempt to speed up bitmap redrawing.
Split segmnet option added to the menu.
Fix up the palette of textures when using internal model.
Some more 3-d tweaks.
Few typos corrected.

V1.31
=====
Got the drag stuff to be right - straight after I release a version - C'est la vie.
Drag and drop within the segment too now.
Some mucking about with the 3-D view - still missing something here.

V1.30
=====
Now fails over to reading from the ZIP file if the directory
is unset, or if the directory doesn't contain the required file.
Drag and drop from palette now implemented...

V1.29
=====
Random tile selection - hold down control while selecting with right button.

V1.28
=====
More messing around with 3d.
Saving configuration details and using them.
Fixed the 3-d display bug.
Refixed routines to really use the texture.bin file...
Added double click to text palette to show details

V1.27
=====
Fixed the replace segment not updating list bug.
Lots of 3d tweaks - but nothing significant. Still can't get normals
to be normal.
Added FOV setting
Added texture.bin parsing and updated the relvant routines to
use that it supplied.

V1.26
=====
More experimental 3d - all levels can now be displayed.
Some of the file prompts now don't change the directory.
New smoothing algorithm L2->L1/L0 direction.
Pop-up scenenery is now severly diminished!
You need to run the smoothing algorithm on L1 and L0
and also retile L1 and L0 with this version to get the full effect.


V1.25
=====
Experimental 3d support.

V1.24
=====
Read support for zip files now supported.
Can choose either - but will prefer the directory approach as its faster if
you have both. It won't look in both places.
Added the replace dialog for replacing tiles.
Added the text palette thingy.

V1.23
=====
Added the elevation smoothing stuff - experimental
Better error messages for system failures.
Fixed up some of the context help...

V1.22
=====
Minor bug fix for producing l3-5.
Error message for file open errors.

V1.21
=====
Rationalised the feature precomputation stuff into one routine.
Redone the feature tile stuff to report what its up to.
used the terrain data to make better .tm files.
Started on a help file.
Reorganised the palettes using Scotts input.

V1.20
=====
Fixed export!

V1.19
=====
Some GDI fixes
Fixed the auto-tile bug
Added save bitmap option.

V1.18
=====
Added LABEL type - and font/colour chooser
Added RAIL type - just in case.

V1.17
=====
Added the scan for bad tiles option.
Added AIRPORT and COAST options.
Also switch to turn on/off features and labels.
Added save function to force a flush to disk
Moved the more dangerous stuff off to another menu.
More view options added now we're getting loads of features.

V1.16
=====
Some bug fixes and such for missing tiles. They show up as bright red squares now.


V1.15
=====
Added the terrain based on feature stuff
Added LAKE, CITY and RIVER.


V1.14
=====
Fixed bug in tile palette display - was only showing every other tile
Added new terrain feature stuff
Started on terrain feature apply... 


V1.13
=====
Fixed the display on l1/l0 views of the segment
Added MEA production
Speed up for bitmap production.

V1.12
=====
Added the warning if the segment is actually a shared one.
Fixed the upside bitmap - duh.
Added .thr file creation - depends on the tiles mostly
Grid will now display grid coords too.

V1.11
=====
Normal computation, colour guessing, palette support a few bugs fixed, who
knows how many introduced!

V1.10
=====
Import/Export of map regions. Yes!

V1.9
====
Some minor fixes.

V1.8
====
Flipped the map the right way (I think I've got all cases...)
Added right drag button on bitmap.

V1.7
====
Added the tmerge functions into here. They are enabled when editing an L2 map.
Added the .l3-l5 generation routines.


V1.6
====
Some minor tweaks
Fixed up the l1 and l0 display bug
Also fixed a (possibly nt only) progress dialog bug.

V 1.5
=====
More experiments with auto-analyze (failed)
Double click to bring up segment dialog
select tile on the edit dialog.

V 1.4
=====
Some experimental junk
Clickable bitmap now.

V 1.3
=====
Allows multiple edits at the same time.
Auto tile stuff coming along slowly. Still not working correctly by a long way
will really screw up your exisitng maps...
Oh - and loads of progress bars now... (new toy syndrome)


V 1.2
=====

Think I've figure out PCX formatting - looks a little like it
does in real life now.

Added multiple bitmaps - hope this allows L0/L1 - to be viewed on  Win98

----------------------------------------------------------------------------

Example PCX map fragment

# here is an example - that doesn't work very well.
#
# sea
HCOST00F.pcx 0 0 0 0 0 0 0 0 0 0 0
#
# north facing coast
HCOST00C.pcx 0 0 0 0 0 0 1 1 1 -1 0
# north east coast
HCOST00E.pcx 0 0 0 0 0 0 1 0 0 -1 0
# north west coast
HCOST00D.pcx 0 0 0 0 0 0 0 0 1 0 0
# south coast
HCOST003.pcx 1 1 1 0 0 0 0 0 0 -1 -1
# south west coast
HCOST007.pcx 0 0 1 0 0 0 0 0 0 -1 -1
# south east coast
HCOST00B.pcx 1 0 0 0 0 0 0 0 0 -1 -1
# east coast
HCOST005.pcx 0 0 1 0 0 1 0 0 1 0 -1
# 
HCOST00a.pcx 1 0 0 1 0 0 1 0 0 -1 -1
# 
hcost008.pcx 1 1 0 1 1 1 1 1 1 -1 -1
hcost004.pcx 0 1 1 1 1 1 1 1 1 -1 -1
hcost002.pcx 1 1 1 1 1 1 1 1 0 -1 -1
hcost001.pcx 1 1 1 1 1 1 0 1 1 -1 -1
# diagonal
hcost606.pcx 0 1 1 1 0 1 1 1 0 -1 -1
hcost609.pcx 1 1 0 1 0 1 0 1 1 -1 -1
