Skip to content

AcresMapData.h#

Acres/Source/Acres/AcresMapData.h Generated

DefaultDir#

The data folder of the default map, <project>/Content/Simulation.

FString DefaultDir();

Dir#

The data folder of this process: the folder of -MapData= (a relative folder is from the launch folder), else DefaultDir(). A folder with no ACRE/site.json stops the game with a fatal error.

const FString& Dir();

IsVariant#

True when -MapData= selects a folder that is not the default one.

bool IsVariant();

ChangedFields#

The fields (1 to 59) whose outline in ACRE/fields.json of the data folder is not that of the default map, and the fields that only one of the two maps has. Empty for the default map. The level has the crop patches of the default map as actors: the farm hides them for these fields and lays the patches from the outline.

const TSet<int>& ChangedFields();