ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
map_cfg.cpp File Reference
#include "configurator.h"
#include "tov_declaration.h"

Go to the source code of this file.

Variables

CfgInt g_farm_test_crop_type ("FARM_TEST_CROP_TYPE", CFG_CUSTOM, 22)
 
CfgStr g_farm_test_crop_filename ("FARM_TEST_CROP_FILENAME", CFG_CUSTOM, "OWinterRape_plant_1.txt")
 
CfgInt g_farm_test_crop_daystorun ("FARM_TEST_CROP_DAYSTORUN", CFG_CUSTOM, 36500)
 
CfgBool g_farm_test_crop_reportdaily ("FARM_TEST_CROP_REPORTDAILY", CFG_CUSTOM, false)
 
CfgInt g_farm_test_crop_farmtype ("FARM_TEST_CROP_FARMTYPE", CFG_CUSTOM, 5)
 
CfgInt g_farm_test_crop_sample_x ("FARM_TEST_CROP_SAMPLE_X", CFG_CUSTOM, 1328)
 
CfgInt g_farm_test_crop_sample_y ("FARM_TEST_CROP_SAMPLE_Y", CFG_CUSTOM, 1328)
 
CfgBool g_farm_fixed_crop_enable ("FARM_FIXED_CROP_ENABLE", CFG_CUSTOM, false)
 
CfgInt g_farm_fixed_crop_type ("FARM_FIXED_CROP_TYPE", CFG_CUSTOM, 22)
 
CfgBool g_farm_enable_crop_rotation ("FARM_ENABLE_CROP_ROTATION", CFG_CUSTOM, true)
 
CfgBool g_farm_fixed_rotation_enable ("FARM_FIXED_ROTATION_ENABLE", CFG_CUSTOM, false)
 
CfgBool g_farm_fixed_rotation_farms_async ("FARM_FIXED_ROTATION_FARMS_ASYNC", CFG_CUSTOM, false)
 
CfgInt g_farm_fixed_rotation_farmtype ("FARM_FIXED_ROTATION_FARMTYPE", CFG_CUSTOM, 0)
 
CfgBool g_map_le_borders ("MAP_LE_BORDERS", CFG_CUSTOM, false)
 
CfgInt g_map_le_borders_min_field_size ("MAP_LE_BORDERS_MIN_FIELD_SIZE", CFG_CUSTOM, 10000)
 
CfgInt g_map_le_borderstype ("MAP_LE_BORDERSTYPE", CFG_CUSTOM, 160)
 
CfgBool g_map_le_borderremoval ("MAP_LE_BORDERREMOVAL", CFG_CUSTOM, false)
 
CfgBool g_map_orchards_borders ("MAP_ORCHARDS_BORDERS", CFG_CUSTOM, false)
 
CfgInt g_map_le_borderwidth ("MAP_LE_BORDER_WIDTH", CFG_CUSTOM, 1)
 
CfgInt g_map_orchardsborderwidth ("MAP_ORCHARDS_BORDER_WIDTH", CFG_CUSTOM, 5)
 
CfgInt g_map_le_border_chance ("MAP_LE_BORDER_CHANCE", CFG_CUSTOM, 25)
 
CfgInt g_map_le_unsprayedmargins_chance ("MAP_LE_UMARGIN_CHANCE", CFG_CUSTOM, 25)
 
CfgBool g_map_le_unsprayedmargins ("MAP_LE_UNSPRAYEDMARGINS", CFG_CUSTOM, false)
 
CfgInt g_map_maxpolyref ("MAP_MAX_POLYREF", CFG_PUBLIC, 200000)
 

Variable Documentation

◆ g_farm_enable_crop_rotation

CfgBool g_farm_enable_crop_rotation("FARM_ENABLE_CROP_ROTATION", CFG_CUSTOM, true)

Referenced by Farm::GetNextCropIndex().

◆ g_farm_fixed_crop_enable

CfgBool g_farm_fixed_crop_enable("FARM_FIXED_CROP_ENABLE", CFG_CUSTOM, false)

◆ g_farm_fixed_crop_type

CfgInt g_farm_fixed_crop_type("FARM_FIXED_CROP_TYPE", CFG_CUSTOM, 22)

◆ g_farm_fixed_rotation_enable

CfgBool g_farm_fixed_rotation_enable("FARM_FIXED_ROTATION_ENABLE", CFG_CUSTOM, false)

◆ g_farm_fixed_rotation_farms_async

CfgBool g_farm_fixed_rotation_farms_async("FARM_FIXED_ROTATION_FARMS_ASYNC", CFG_CUSTOM, false)

Referenced by Farm::GetFirstCropIndex().

◆ g_farm_fixed_rotation_farmtype

CfgInt g_farm_fixed_rotation_farmtype("FARM_FIXED_ROTATION_FARMTYPE", CFG_CUSTOM, 0)

Fixes the farm type to this type regardless of what is in the farmrefs.txt input file. Only works when running in fixed, sync'ed rotation mode

Referenced by FarmManager::CreateFarms().

◆ g_farm_test_crop_daystorun

CfgInt g_farm_test_crop_daystorun("FARM_TEST_CROP_DAYSTORUN", CFG_CUSTOM, 36500)

◆ g_farm_test_crop_farmtype

CfgInt g_farm_test_crop_farmtype("FARM_TEST_CROP_FARMTYPE", CFG_CUSTOM, 5)

◆ g_farm_test_crop_filename

CfgStr g_farm_test_crop_filename("FARM_TEST_CROP_FILENAME", CFG_CUSTOM, "OWinterRape_plant_1.txt")

◆ g_farm_test_crop_reportdaily

CfgBool g_farm_test_crop_reportdaily("FARM_TEST_CROP_REPORTDAILY", CFG_CUSTOM, false)

◆ g_farm_test_crop_sample_x

CfgInt g_farm_test_crop_sample_x("FARM_TEST_CROP_SAMPLE_X", CFG_CUSTOM, 1328)

◆ g_farm_test_crop_sample_y

CfgInt g_farm_test_crop_sample_y("FARM_TEST_CROP_SAMPLE_Y", CFG_CUSTOM, 1328)

◆ g_farm_test_crop_type

CfgInt g_farm_test_crop_type("FARM_TEST_CROP_TYPE", CFG_CUSTOM, 22)

◆ g_map_le_border_chance

CfgInt g_map_le_border_chance("MAP_LE_BORDER_CHANCE", CFG_CUSTOM, 25)

Percentile chance of a field getting a border, if MAP_LE_BORDERS is enabled above.

Referenced by Landscape::Landscape(), and Landscape::ReadPolys2().

◆ g_map_le_borderremoval

CfgBool g_map_le_borderremoval("MAP_LE_BORDERREMOVAL", CFG_CUSTOM, false)

If true will remove field boundaries and hedges, assigning them to a nearby field.

Referenced by Landscape::Landscape().

◆ g_map_le_borders

CfgBool g_map_le_borders("MAP_LE_BORDERS", CFG_CUSTOM, false)

If true will make and use new borders around certain types of farmed areas. The area used is 'stolen' from a parent landscape element.

Referenced by Landscape::Landscape(), and Landscape::ReadPolys2().

◆ g_map_le_borders_min_field_size

CfgInt g_map_le_borders_min_field_size("MAP_LE_BORDERS_MIN_FIELD_SIZE", CFG_CUSTOM, 10000)

If MAP_LE_BORDERS is true then set the minium field size in m2 that can have a border added.

Referenced by Landscape::Landscape().

◆ g_map_le_borderstype

CfgInt g_map_le_borderstype("MAP_LE_BORDERSTYPE", CFG_CUSTOM, 160)

If MAP_LE_BORDERS is true then set the type of polygon created to be this ALMaSS number type. To look up ALMaSS polygon type references see LE_TypeClass::BackTranslateEleTypes Default value is FieldBoundary (160)

Referenced by Landscape::Landscape().

◆ g_map_le_borderwidth

CfgInt g_map_le_borderwidth("MAP_LE_BORDER_WIDTH", CFG_CUSTOM, 1)

The width of the field border if any.

Referenced by Landscape::BorderAdd(), and Landscape::Landscape().

◆ g_map_le_unsprayedmargins

CfgBool g_map_le_unsprayedmargins("MAP_LE_UNSPRAYEDMARGINS", CFG_CUSTOM, false)

◆ g_map_le_unsprayedmargins_chance

CfgInt g_map_le_unsprayedmargins_chance("MAP_LE_UMARGIN_CHANCE", CFG_CUSTOM, 25)

Referenced by Landscape::ReadPolys2().

◆ g_map_maxpolyref

CfgInt g_map_maxpolyref("MAP_MAX_POLYREF", CFG_PUBLIC, 200000)

This is the maximum polygon reference number allowed in the 'a_polyfile' and 'a_mapfile' supplied to the Landscape object constructor.

◆ g_map_orchards_borders

CfgBool g_map_orchards_borders("MAP_ORCHARDS_BORDERS", CFG_CUSTOM, false)

If true will make and use new borders around tole_orchard areas. The area used is 'stolen' from a parent landscape element.

Referenced by Landscape::Landscape().

◆ g_map_orchardsborderwidth

CfgInt g_map_orchardsborderwidth("MAP_ORCHARDS_BORDER_WIDTH", CFG_CUSTOM, 5)

The width of the orchard borders if any.