Original Post
I am trying to determan the best way to handle my map data. i am in the stages of building an editor for my game and i was hoping to get some feed back on my implementation. I have build a few perfab 3d models (boxes, crates, a small warhouse). my plan is to have a "footprint" that when placed on to the game board would transfer the prefab info to the map class. i am also trying do decide on how to handle enities. there are not too many types; i have one for doors, windows, ladders, exploding things, and a few others. currently the tiles that have entities in them will have a pointer to it. any thoughts are greatly welcome, thanks.
//simplified view of my map classes
//
class map
{
grid *tile[width][depth][height]
}
class grid
{
int height;
int moveCost;//-1 no movement, 0 open, >0 some movement penalty
int visionCost;// -1 blocking vision, 0 no blocking, >0 some vision degradation
entity *prop
}