View Single Post
  #3  
Old August 30th, 2004, 05:09 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?

Quote:
PhilD said:
Quote:
Gandalf Parker said:

WHile you were in there did you happen to notice anything that would make it run alittle "nicer"? The automatic generation scripts have to be carefully scheduled on my system to avoid trying to run when other cpu/memory hogs are running.
Neither the original author nor I tried to limit memory or CPU usage, so the map generation uses big nested loops and huge arrays to do the trick. Not exactly what you're looking for
Yeah Im not really doing my part to help it any. When I generate 30 maps of a type I have a CRON job running a script, which chains to the various system scripts (tiny, small, medium, large, huge, epic, and chaos), each of those scripts call a basic program 30 times, the basic program randomizes the variables for dommap and shells to call dommap.
I really should try to clean that up.
__________________
-- 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