
|
84782 packages online
|
|
 |
|
gfx/fract/MountainView.lha |
|
No screenshot available
|
|
What it does:
- calculate a random elevation map on 64 x 64 squares
- all heights below zero are truncated (these squares become ocean)
- assign each surface of the map an illumination value:
the more it's tilted, the darker
- draw the surface: if it's ocean, paint it blue, if it's above a
75% "snow line", use shades of gray, otherwise shades of brown
MountainView runs on the Workbench, using OS3.x pen sharing, so make sure
you have a lot of colors available (at least 32). With OS2.x it open its own
5-plane LoRes screen instead, and can also be forced to do so by supplying a
random CLI parameter (no equivalent tooltype option, sorry).
Use cursor keys (or the obvious gadgets) to navigate around the landscape,
Enter to redraw, Esc to abort. Oh, and there's menus, too. ;-)
MountainView was written using CygnusEd 4.2 and the GNU C compiler.
Freeware, source included. The program icon is taken from Manfred Wiesert's
icon collection (check out pix/mwb/ATRcons3.lha on Aminet).
The complete history:
- Original BASIC implementation © 1987 Compute Publications, Inc.
- KickPascal conversion by W. Nöker, 1992
- C conversion and interactive GUI (i.e. this version) by W. Nöker, 1999
|
Contents of gfx/fract/MountainView.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 7158 25381 28.2% -lh5- e3f3 Apr 16 1999 MountainView/gui.c
[generic] 575 1442 39.9% -lh5- 1d93 Apr 15 1999 MountainView/gui.h
[generic] 11 11 100.0% -lh0- 4f46 Apr 16 1999 MountainView/LoRes
[generic] 954 1572 60.7% -lh5- e3cc Apr 16 1999 MountainView/LoRes.info
[generic] 144 235 61.3% -lh5- 7630 Feb 28 1999 MountainView/makefile
[generic] 19587 37640 52.0% -lh5- 15b8 Apr 16 1999 MountainView/Mountain
[generic] 7640 30930 24.7% -lh5- 156f Apr 16 1999 MountainView/Mountain.c
[generic] 934 1598 58.4% -lh5- 1e66 Apr 16 1999 MountainView/Mountain.info
[generic] 815 1363 59.8% -lh5- 304c Apr 16 1999 MountainView/MountainView.readme
[generic] 1296 1821 71.2% -lh5- d70d Apr 16 1999 MountainView/MountainView.readme.info
[generic] 544 1188 45.8% -lh5- 7cf1 Apr 16 1999 MountainView.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 11 files 39658 103181 38.4% Apr 18 1999
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |