- map width and height
- start positions
I have code that reads positions and dimensions from 0.51 map files (in Delphi), but since new map files are compressed my code is useless. Besides, I'd like to use UnitSync.dll's functions. I propose new MapInfo struct:
Code: Select all
struct MapInfo
{
char* description;
int mapWidth; // new
int mapHeight; // new
int tidalStrength;
int gravity;
float maxMetal;
int extractorRadius;
int minWind;
int maxWind;
int posCount; // new
StartPos* posList; // new
};
struct StartPos
{
int x;
int y;
}