Possibly what you are looking for?
Upon reading this post, I realized that I might have something related to what you want. I have an old "300 games" demo CD that I god about 3 or 4 years ago, and one of the games is an old 2D tank game. In the folder on the CD I found multiple .DLL files. I looked through them, and I honestly don't know if it is what you are looking for.
If you are interested in getting these just to check it out, please contact me with
I can't include them with this message because you can only include 100KB, and the total of the .DLL files is about 300KB, but I could quickly send them over AIM or ICQ
Ok, well I really hope this helps you out
Look at Sorched Earth (sp?)
Look for a game called "Sorched Earth", i think my spelling mght be wrong. Its was called "the mother of all games"
Just play it a bunch, and think of how they did stuff as your playing.
I have a few ideas for when i started to make a game like this, i never finished due to lazyness and not knowing windows graphics programming. I might try and make a tank wars clone now with direct x, we will see.
As for making the land, here are a few ideas.
Have an array int Ground[width of screen];
Start with a random hight
Loop throuh this array and for each pixel add or subtract 0,1 or 2 from the previous pixel.
If you want to throw in cliffs have a small chance of a bigger increase of 20 to 50. Its really up to you decide.
Then to figure out where the gound is at a given x coordnate, just use this array as a look up table
heighofground = Ground[Xcoord];