i dont want to sound like a complete noob but. im writing a map editor to see my limitations and i've seen my limitations. how do i display my map format on the screen. i use this to load the map:
{
ifstream infile;
infile.open(filename.c_str());
for (int k=0; k<LAYER_AMT; k++)
{
for (int j=0; j<MAP_H; j++)
{
for (int i=0; i<MAP_W; i++)
{
int temp;
infile>>temp;
grid[k][i][j].fx = temp*32;
}
}
}
infile.close();
cout<<"Map loaded successfully";
}
displaying it becomes dificult for me and editing in the program.
im going by the format on
http://www.moosader.com/tutfiles/Writing_2D_MapEditor.pdf[/url]