Hello there.
It's not about I have error or bug and can't fix it. Just really need to know how the map of Open Tibia Server is stored in memory.
I have tried to look up in server's code by myself how it's loaded, but I can't go through all those classes & structures. I'm not very advanced in coding, but not completely "newbee".
My point is: what is the method of loading map from file to server's memory and how it's represented in that memory. Is it an object like 3-dimension table of pointers to Tile class?
And to have it clear: I'm not interested in code - implementation but rather an idea how to do that.
It'll be great if someone could spend few minutes to describe it clearly.
It's not about I have error or bug and can't fix it. Just really need to know how the map of Open Tibia Server is stored in memory.
I have tried to look up in server's code by myself how it's loaded, but I can't go through all those classes & structures. I'm not very advanced in coding, but not completely "newbee".
My point is: what is the method of loading map from file to server's memory and how it's represented in that memory. Is it an object like 3-dimension table of pointers to Tile class?
And to have it clear: I'm not interested in code - implementation but rather an idea how to do that.
It'll be great if someone could spend few minutes to describe it clearly.