Re: [DM-dev] Make it more modular
Brought to you by:
acdalton,
henningsen
From: Henningsen <pe...@al...> - 2001-04-02 14:10:25
|
>For that purpose they have introduced exceptions to C++. You can throw an >exception from your constructor, and the user of your code can catch it. Oh - hmm - I *knew* that. I just have the sense that game programmers avoid exceptions, and will probably not catch them. I may be wrong though. >... I think the dungeons really shine on very large maps. You >should consider writing a demo aplication that can sensibly be played on >450x450 maps or so. What do you think about a game where all you do is run through the maze, trying to score a record time? >One other thing, your main() function is quite large, what with handling the >input and all that. How about writing a drastically simplified main function >that shows just the essentials of how to use the DungeonMaker class? Once again, you score big. What an excellent idea... why the hell didn't I think of this myself? Guess I was just trying to make cool dungeons... >The void liberates you from all conceptual views > ...but if you conceptualize the void... Yeah, what then? Peter |