Got the windows working
@ Larry
I have done it an other way:
I have three layers:
Groundlayer
Middlelayer
Highlayer
each one has a size of 400*400 (map size)
the A* just looks in the middlelayer array and checks
if(Middlelayer[posx+posy*world_size_x]==0)
if this condition is true the bot can walk to this position
With this three arrays i can create different objects on different grounds.
I create the maps via functions and don't have an editor i just use a function like
create_house(pox,posy)
For rendering i have an array with the size view_tiles_row*view_rows
and copy every frame the right values in it.