http://roguebasin.roguelikedevelopment.org/index.php/Grid_Based_Dungeon_GeneratorSpecifically, when it comes time to draw the rooms inside the cells, how is it determined where inside the cell to draw the room to make sure that the room edges do not extend beyond the bounds of the cell?
For example, if you are drawing the room left to right and top to bottom, the only thing I can think of is that the room starts drawing in the upper left corner. However, the examples in the article do not always show that.
Can anyone please clarify? I need to get a really clear picture of how dungeon generation works, as I am going to attempt to script on into 001 engine.