Land generator for my game - please criticize

Miscellaneous Forums/General Discussion/Land generator for my game - please criticize

@AngelDaniel:
I was also concerned at first at the ton of drawovals I was doing too, but it only takes 0.3 seconds and it's only done
once (That's why the very first terrain takes a little longer to make). So I'll probably leave that alone. I might
just try that pixmap/pointer combo if it ends up being faster than Flameducks method though.

@Jim:
Thanks for that link, I can't believe I forgot about that. So, I was in the middle of shoehorning that fastpixel function
into my program when I suddenly realized that switching to OGL had made my program run 2.5x faster! (0.5 to 0.7 seconds
now) And it made my built exe 43kb smaller!?

And then OGL proceeded to do my taxes, mow my lawn and save me hundreds of dollars on my car insurance. Wow!

The only catch is that if I try to run in full screen, blitz tells me "Attempt to access field or method of null object"
on the very first graphics-related command. In this case it's SetBlend(AlphaBlend). What's up with that?

Admittedly, this particular question might be more suiting to the BMax forums.