Random Terrain in C++ console with curses.

That's not really a question but I'm having a very wierd problem. A month ago I created a random terraing generator with the curses library.

http://www.youtube.com/watch?v=CnkUTMbli1g

You can find the program and the code in the video description.
Today I decided to create a "Map" class which holds a character and an ID for coloring purposes.

http://speedy.sh/DsztQ/Random-Generator.txt

That's the download link for the code.

Old output:

http://i44.tinypic.com/2zhmogg.png

New output:

http://i39.tinypic.com/ve7mrq.png

EDIT: I can't figure out why is everything grey...
Last edited on
What do you want us to do?
Topic archived. No new replies allowed.