View Single Post
  #18  
Old August 30th, 2004, 05:21 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: can you speak C? fractal terrain? vga? tga?

Im very happy with the change in this program. At the moment Im messing with the colors it uses but the effects are great. I had the "chaos" run use it...
http://www.dom2minions.com/~dominion...s/00_index.jpg
To see the jpg view or grab the tga/map for play go to
http://www.dom2minions.com/~dominion...s2/RandomMaps/
since I dont have it as nicely webbed as the other groupings.

I tried running it for the tiny/small/medium/large/huge/epic maps but I paintakingly came up with a level of pixellation that made those maps slightly less ugly. Now I have to rewrite the routines to drop that pixel efect way down to allow for this nice vga smoothing.

Interesting notes for anyone playing with the color codes....
Code:

static long color_map[] =
{
0xC58F54, /* WATER */
0x4E7283, /* WATER */
0x5B4524, /* MOUNTAIN */
0xC8BE51, /* FARMLAND */
0x708841, /* FOREST */
0x34969F, /* SWAMP */
0xC4B0A4, /* TUNDRA */
0xAD9374, /* WASTELAND */
0xC3572C, /* BORDER1 */
0x2C87C3, /* BORDER2 */
0xFFFFFF /* CAPITAL */
};


The first WATER is misnamed. Its actually PLAINS which is the default terrain.
The TUNDRA stumped me for abit since there isnt a tundra in the terrain settings. The .map file makes it a dual mountains/waste province. Thats kinda nice.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote