Welcome to the fourth installment of my roguelike development journal. You can read the previous parts below:
This week, I was able to add very basic, buggy FoV and map drawing. I still have to clean the code up a lot, but it works... slowly. The problem with it is that it draws the entire map, every frame. This shouldn't be too much of an issue to work around, but it's annoying right now. But, it works.
When the player is in a room or a corridor, the entire room/corridor lights up (simplified Rogue style). As the player explores the map, it gets saved and when out of range, displayed in a darker grey. This allows for automated map making, while at the same time preventing everything from showing up.
Code: snapshot 20110612
Thanks for reading, and