File failed to load: https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/extensions/ams.js
ALMaSS  1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DK_OSpringBarley_CC Class Reference

#include <DK_OSpringBarley_CC.h>

Inheritance diagram for DK_OSpringBarley_CC:
Crop

Public Member Functions

bool Do (Farm *a_farm, LE *a_field, FarmEvent *a_ev)
 
 DK_OSpringBarley_CC (TTypesOfVegetation a_tov, TTypesOfCrops a_toc, Landscape *a_L)
 
void SetUpFarmCategoryInformation ()
 
- Public Member Functions inherited from Crop
virtual ~Crop ()
 
 Crop (TTypesOfVegetation a_tov, TTypesOfCrops a_toc, Landscape *a_L)
 
int GetFirstDate (void)
 
void ChooseNextCrop (int a_no_dates)
 Chooses the next crop to grow in a field. More...
 
int GetCropClassification ()
 
void SetCropClassification (int a_classification)
 
void GetCropType (TTypesOfCrops a_toc)
 
TTypesOfCrops GetCropType ()
 
FarmManagementCategory LookUpManagementCategory (int a_todo)
 
bool GetForceSpringOK ()
 

Additional Inherited Members

- Public Attributes inherited from Crop
TTypesOfVegetation m_tov
 
- Protected Member Functions inherited from Crop
void SimpleEvent (long a_date, int a_todo, bool a_lock)
 Adds an event to this crop management. More...
 
void SimpleEvent_ (long a_date, int a_todo, bool a_lock, Farm *a_farm, LE *a_field)
 Adds an event to this crop management without relying on member variables. More...
 
bool StartUpCrop (int a_spring, std::vector< std::vector< int >> a_flexdates, int a_todo)
 
Holds the translation between the farm operation enum for each cropand the farm management category associated with it More...
 
bool AphidDamage (LE *a_field)
 Compares aphid numbers per m2 with a threshold to return true if threshold is exceeded. More...
 
- Protected Attributes inherited from Crop
Farmm_farm
 
LEm_field
 
FarmEventm_ev
 
int m_first_date
 
int m_count
 
int m_last_date
 
int m_ddegstoharvest
 
int m_base_elements_no
 
Landscapem_OurLandscape
 
bool m_forcespringpossible = false
 Used to signal that the crop can be forced to start in spring. More...
 
TTypesOfCrops m_toc
 The Crop type in terms of the TTypesOfCrops list (smaller list than tov, no country designation) More...
 
int m_CropClassification
 Contains information on whether this is a winter crop, spring crop, or catch crop that straddles the year boundary (0,1,2) More...
 
vector< FarmManagementCategorym_ManagementCategories
 Holds the translation between the farm operation enum for each crop and the farm management category associated with it. More...
 
- Static Protected Attributes inherited from Crop
static int m_date_modifier = 0
 Holds a value that shifts test pesticide use by this many days in crops modified to use it. More...
 

Constructor & Destructor Documentation

◆ DK_OSpringBarley_CC()

DK_OSpringBarley_CC::DK_OSpringBarley_CC ( TTypesOfVegetation  a_tov,
TTypesOfCrops  a_toc,
Landscape a_L 
)
inline
63  : Crop(a_tov, a_toc, a_L)
64  {
67  }

References Calendar::DayInYear(), g_date, Crop::m_first_date, and SetUpFarmCategoryInformation().

Member Function Documentation

◆ Do()

bool DK_OSpringBarley_CC::Do ( Farm a_farm,
LE a_field,
FarmEvent a_ev 
)
virtual

Reimplemented from Crop.

36 {
37 
38  m_farm = a_farm;
39  m_field = a_field;
40  m_ev = a_ev;
41  int d1 = 0;
42 
43  bool done = false;
44  int l_nextcropstartdate;
46  switch ( m_ev->m_todo )
47  {
48  case dk_osbmcc_start:
49  {
50 
51  a_field->ClearManagementActionSum();
52  m_last_date = g_date->DayInYear(21, 8); // Should match the last flexdate below
53  //Create a 2d array of 1 plus the number of operations you use. Change only 4+1 to what you need in the line below
54  std::vector<std::vector<int>> flexdates(3 + 1, std::vector<int>(2, 0));
55  // Set up the date management stuff
56  // Start and stop dates for all events after harvest
57  flexdates[0][1] = g_date->DayInYear(17, 8); // last possible day of in this case swathing - this is in effect day before the earliest date that a following crop can use
58  // Now these are done in pairs, start & end for each operation. If its not used then -1
59  flexdates[1][0] = -1; // This date will be moved back as far as necessary and potentially to flexdates 1 (start op 1)
60  flexdates[1][1] = g_date->DayInYear(20, 8); // This date will be moved back as far as necessary and potentially to flexdates 1 (end op 1) // harvest
61  flexdates[2][0] = -1; // This date will be moved back as far as necessary and potentially to flexdates 2 (start op 2)
62  flexdates[2][1] = g_date->DayInYear(21, 8); // This date will be moved back as far as necessary and potentially to flexdates 2 (end op 2) // straw chopping
63  flexdates[3][0] = -1; // This date will be moved back as far as necessary and potentially to flexdates 3 (start op 3)
64  flexdates[3][1] = g_date->DayInYear(21, 8); // This date will be moved back as far as necessary and potentially to flexdates 3 (end op 3) // hay baling
65 
66  // Below if this is a spring crop use 365, otherwise first parameter is always 0, second parameter is fixed, and the third is the start up operation in the first year
67  int isSpring = 365;
68  if (StartUpCrop(isSpring, flexdates, int(dk_osbmcc_spring_harrow1))) break;
69 
70  // End single block date checking code. Please see next line comment as well.
71  // Reinit d1 to first possible starting date.
72  d1 = g_date->OldDays() + g_date->DayInYear(1, 3) + isSpring;
73  if (m_ev->m_forcespring) {
74  int day_num_shift = 365;
75  if (g_date->DayInYear() < 70) day_num_shift = 0;
76  SimpleEvent(g_date->OldDays() + g_date->DayInYear(1, 3) + day_num_shift, dk_osbmcc_spring_harrow1, false);
77  break;
78  }
79  else
80  // OK, let's go.
82  break;
83  }
84  break;
85 
87  if (m_ev->m_lock || m_farm->DoIt(100)) {
88  if (!m_farm->SpringHarrow(m_field, 0.0,
89  g_date->DayInYear(29, 3) - g_date->DayInYear())) {
91  break;
92  }
93  }
95  break;
96 
98  if (m_ev->m_lock || m_farm->DoIt(50)) { //suggestion as done 1-2 times
99  if (!m_farm->SpringHarrow(m_field, 0.0,
100  g_date->DayInYear(30, 3) - g_date->DayInYear())) {
102  break;
103  }
104  }
106  break;
107  case dk_osbmcc_slurry_s:
108  if (a_farm->IsStockFarmer()) {
109  if (!m_farm->FA_Slurry(m_field, 0.0,
110  g_date->DayInYear(30, 3) - g_date->DayInYear())) {
111  SimpleEvent(g_date->Date() + 1, dk_osbmcc_slurry_s, true);
112  break;
113  }
115  break;
116  }
117  else SimpleEvent(g_date->Date(), dk_osbmcc_slurry_p, false);
118  break;
119 
120  case dk_osbmcc_slurry_p:
121  if (!m_farm->FP_Slurry(m_field, 0.0,
122  g_date->DayInYear(30, 3) - g_date->DayInYear())) {
123  SimpleEvent(g_date->Date() + 1, dk_osbmcc_slurry_p, true);
124  break;
125  }
127  break;
128 
130  if (!m_farm->SpringPlough(m_field, 0.0,
131  g_date->DayInYear(29, 4) - g_date->DayInYear())) {
133  break;
134  }
136  break;
138  if (!m_farm->SpringSow( m_field, 0.0,
139  g_date->DayInYear( 30,4 ) - g_date->DayInYear())) {
140  SimpleEvent( g_date->Date() + 1, dk_osbmcc_spring_sow, true );
141  break;
142  }
144  break;
146  if (m_ev->m_lock || m_farm->DoIt(80)) {
147  if (!m_farm->ShallowHarrow(m_field, 0.0,
148  g_date->DayInYear(10, 5) - g_date->DayInYear())) {
150  break;
151  }
153  break;
154  }
156  break;
158  if (!m_farm->ShallowHarrow(m_field, 0.0,
159  g_date->DayInYear(20, 5) - g_date->DayInYear())) {
161  break;
162  }
164  break;
166  if (!m_farm->RowCultivation(m_field, 0.0,
167  g_date->DayInYear(10, 5) - g_date->DayInYear())) {
169  break;
170  }
172  break;
174  if (!m_farm->RowCultivation(m_field, 0.0,
175  g_date->DayInYear(20, 5) - g_date->DayInYear())) {
177  break;
178  }
180  break;
181  case dk_osbmcc_water:
182  if (m_ev->m_lock || m_farm->DoIt_prob(0.50)) {
183  if (!m_farm->Water(m_field, 0.0,
184  g_date->DayInYear(30, 7) - g_date->DayInYear())) {
185  SimpleEvent(g_date->Date() + 1, dk_osbmcc_water, true);
186  break;
187  }
188  }
190  break;
191  case dk_osbmcc_swathing:
192  if (m_ev->m_lock || m_farm->DoIt_prob(0.10)) {
193  if (!m_farm->Swathing(m_field, 0.0, m_field->GetMDates(1, 0) - g_date->DayInYear())) {
194  SimpleEvent(g_date->Date() + 1, dk_osbmcc_swathing, true);
195  break;
196  }
197  }
199  break;
200  case dk_osbmcc_harvest:
201  // We don't move harvest days
202  if (!a_farm->Harvest(a_field, 0.0, m_field->GetMDates(1, 1) - g_date->DayInYear())) {
203  SimpleEvent(g_date->Date() + 1, dk_osbmcc_harvest, true);
204  break;
205  }
207  break;
209  if (m_ev->m_lock || m_farm->DoIt(10)) //10% (suggestion) do straw chopping and leave on field
210  {
211  // Force straw chopping to happen on the same day as harvest.
212  if (!m_farm->StrawChopping(m_field, 0.0, m_field->GetMDates(1, 2) - g_date->DayInYear())) {
214  break;
215  }
218  break;
219  }
220  else
221  done = true;
222  break;
223  }
224  // Do hay baling first.
226  break;
227 
229  if (!m_farm->HayBailing(m_field, 0.0, m_field->GetMDates(1, 3) - g_date->DayInYear())) {
231  break;
232  }
235  break;
236  }
237  else
238  done = true;
239  break;
240 
241  case dk_osbmcc_wait:
242  //set to 100% from this code - in reality ~ 42% of all spring barley
243  // So we are done,but this crop uses a catch crop
244  l_nextcropstartdate = m_farm->GetNextCropStartDate(m_ev->m_field, l_tov);
245  m_field->BumpRunNum();
246  m_field->SetVegPatchy(false); // reverse the patchy before the next crop
247  m_farm->AddNewEvent(tov_DKOCatchCrop, g_date->Date(), m_ev->m_field, PROG_START, m_ev->m_field->GetRunNum(), false, l_nextcropstartdate, false, l_tov, fmc_Others, false, false);
248  m_field->SetVegType(tov_DKOCatchCrop, tov_Undefined); // Two vegetation curves are specified
249  // NB no "done = true" because this crop effectively continues into the catch crop.
250  if (m_field->GetUnsprayedMarginPolyRef() != -1)
251  {
254  }
255  break;
256  // END OF MAIN THREAD
257 
258  default:
259  g_msg->Warn( WARN_BUG, "DK_OSpringBarley_CC::Do(): "
260  "Unknown event type! ", "" );
261  exit( 1 );
262  }
263  return done;
264 }

References Farm::AddNewEvent(), cfg_DKCatchCropPct, LE::ClearManagementActionSum(), Calendar::Date(), Calendar::DayInYear(), dk_osbmcc_harvest, dk_osbmcc_hay_baling, dk_osbmcc_row_cultivation1, dk_osbmcc_row_cultivation2, dk_osbmcc_shallow_harrow1, dk_osbmcc_shallow_harrow2, dk_osbmcc_slurry_p, dk_osbmcc_slurry_s, dk_osbmcc_spring_harrow1, dk_osbmcc_spring_harrow2, dk_osbmcc_spring_plough, dk_osbmcc_spring_sow, dk_osbmcc_start, dk_osbmcc_straw_chopping, dk_osbmcc_swathing, dk_osbmcc_wait, dk_osbmcc_water, Farm::DoIt(), Farm::DoIt_prob(), Farm::FA_Slurry(), fmc_Others, Farm::FP_Slurry(), g_date, g_msg, LE::GetMDates(), Farm::GetNextCropStartDate(), LE::GetUnsprayedMarginPolyRef(), Farm::Harvest(), Farm::HayBailing(), Farm::IsStockFarmer(), Crop::m_ev, Crop::m_farm, FarmEvent::m_field, Crop::m_field, FarmEvent::m_forcespring, Crop::m_last_date, FarmEvent::m_lock, Crop::m_OurLandscape, FarmEvent::m_todo, Calendar::OldDays(), PROG_START, Farm::RowCultivation(), LE::SetVegPatchy(), LE::SetVegType(), Farm::ShallowHarrow(), Crop::SimpleEvent(), Farm::SpringHarrow(), Farm::SpringPlough(), Farm::SpringSow(), Crop::StartUpCrop(), Farm::StrawChopping(), Landscape::SupplyLEPointer(), Farm::Swathing(), tov_DKOCatchCrop, tov_DKOSpringBarley_CC, tov_Undefined, CfgFloat::value(), MapErrorMsg::Warn(), WARN_BUG, and Farm::Water().

◆ SetUpFarmCategoryInformation()

void DK_OSpringBarley_CC::SetUpFarmCategoryInformation ( )
inline
68  {
69  const int elements = 2 + (dk_osbmcc_foobar - DK_OSBMCC_BASE);
71 
72  FarmManagementCategory catlist[elements] =
73  {
74  fmc_Others, // zero element unused but must be here
75  fmc_Others, // dk_osbmcc_start = 1, // Compulsory, start event must always be 1 (one).
76  fmc_Cultivation, // dk_osbmcc_spring_harrow = DK_OSBMCC_BASE,
77  fmc_Cultivation, // dk_osbmcc_spring_harrow2,
78  fmc_Fertilizer, // dk_osbmcc_slurry,
79  fmc_Fertilizer, // dk_osbmcc_slurry,
80  fmc_Cultivation, // dk_osbmcc_spring_plough,
81  fmc_Others, // dk_osbmcc_spring_sow,
82  fmc_Cultivation, // dk_osbmcc_shallow_harrow1,
83  fmc_Cultivation, // dk_osbmcc_shallow_harrow2,
84  fmc_Cultivation, // dk_osbmcc_row_cultivation1,
85  fmc_Cultivation, // dk_osbmcc_row_cultivation2,
86  fmc_Watering, // dk_osbmcc_water,
87  fmc_Cutting, // dk_osbmcc_swathing,
88  fmc_Harvest, // dk_osbmcc_harvest,
89  fmc_Others, // dk_osbmcc_straw_chopping,
90  fmc_Others, // dk_osbmcc_hay_baling,
91  fmc_Cutting, // dk_osbmcc_cut_to_hay,
92  fmc_Cultivation, // dk_osbmcc_stubble_harrow,
93  fmc_Cultivation, // dk_osbmcc_plough,
94  fmc_Others, // dk_osbmcc_wait,
95 
96 
97  // no foobar entry
98 
99  };
100  // Iterate over the catlist elements and copy them to vector
101  copy(begin(catlist), end(catlist), back_inserter(m_ManagementCategories));
102 
103  }

References DK_OSBMCC_BASE, dk_osbmcc_foobar, fmc_Cultivation, fmc_Cutting, fmc_Fertilizer, fmc_Harvest, fmc_Others, fmc_Watering, Crop::m_base_elements_no, and Crop::m_ManagementCategories.

Referenced by DK_OSpringBarley_CC().


The documentation for this class was generated from the following files:
LE::GetMDates
int GetMDates(int a, int b)
Definition: Elements.h:405
FarmEvent::m_forcespring
bool m_forcespring
Definition: Farm.h:392
Landscape::SupplyLEPointer
LE * SupplyLEPointer(int a_polyref)
Returns a pointer to the object referred to by the polygon number.
Definition: Landscape.h:1722
Farm::FA_Slurry
virtual bool FA_Slurry(LE *a_field, double a_user, int a_days)
Spready slurry on a_field owned by an stock farmer.
Definition: FarmFuncs.cpp:1067
Farm::SpringPlough
virtual bool SpringPlough(LE *a_field, double a_user, int a_days)
Carry out a ploughing event in the spring on a_field.
Definition: FarmFuncs.cpp:421
Farm::IsStockFarmer
bool IsStockFarmer(void)
Definition: Farm.h:961
Farm::Harvest
virtual bool Harvest(LE *a_field, double a_user, int a_days)
Carry out a harvest on a_field.
Definition: FarmFuncs.cpp:1364
FarmEvent::m_lock
bool m_lock
Definition: Farm.h:384
LE::ClearManagementActionSum
void ClearManagementActionSum()
clears the management action counters
Definition: Elements.h:247
Farm::DoIt
bool DoIt(double a_probability)
Return chance out of 0 to 100.
Definition: Farm.cpp:856
dk_osbmcc_straw_chopping
Definition: DK_OSpringBarley_CC.h:48
Farm::DoIt_prob
bool DoIt_prob(double a_probability)
Return chance out of 0 to 1.
Definition: Farm.cpp:864
g_date
class Calendar * g_date
Definition: Calendar.cpp:37
DK_OSpringBarley_CC::SetUpFarmCategoryInformation
void SetUpFarmCategoryInformation()
Definition: DK_OSpringBarley_CC.h:68
Farm::GetNextCropStartDate
int GetNextCropStartDate(LE *a_field, TTypesOfVegetation &a_curr_veg)
Returns the start date of the next crop in the rotation.
Definition: Farm.cpp:920
Farm::AddNewEvent
void AddNewEvent(TTypesOfVegetation a_event, long a_date, LE *a_field, int a_todo, long a_num, bool a_lock, int a_start, bool a_first_year, TTypesOfVegetation a_crop, FarmManagementCategory a_fmc, bool a_forcespring, bool a_forcespringOK)
Adds an event to the event queue for a farm.
Definition: Farm.cpp:845
Farm::SpringSow
virtual bool SpringSow(LE *a_field, double a_user, int a_days, double a_seed_coating_amount=-1, PlantProtectionProducts a_ppp=ppp_foobar)
Carry out a sowing event in the spring on a_field.
Definition: FarmFuncs.cpp:501
CfgFloat::value
double value() const
Definition: Configurator.h:142
Crop::m_base_elements_no
int m_base_elements_no
Definition: Farm.h:505
dk_osbmcc_slurry_p
Definition: DK_OSpringBarley_CC.h:38
Crop::m_first_date
int m_first_date
Definition: Farm.h:501
cfg_DKCatchCropPct
CfgFloat cfg_DKCatchCropPct
Crop::SimpleEvent
void SimpleEvent(long a_date, int a_todo, bool a_lock)
Adds an event to this crop management.
Definition: Farm.cpp:747
dk_osbmcc_start
Definition: DK_OSpringBarley_CC.h:34
dk_osbmcc_shallow_harrow2
Definition: DK_OSpringBarley_CC.h:42
tov_DKOSpringBarley_CC
Definition: LandscapeFarmingEnums.h:432
fmc_Cutting
Definition: LandscapeFarmingEnums.h:1009
tov_DKOCatchCrop
Definition: LandscapeFarmingEnums.h:421
fmc_Fertilizer
Definition: LandscapeFarmingEnums.h:1004
dk_osbmcc_harvest
Definition: DK_OSpringBarley_CC.h:47
Calendar::Date
long Date(void)
Definition: Calendar.h:57
fmc_Cultivation
Definition: LandscapeFarmingEnums.h:1008
Farm::HayBailing
virtual bool HayBailing(LE *a_field, double a_user, int a_days)
Carry out hay bailing on a_field.
Definition: FarmFuncs.cpp:1507
fmc_Others
Definition: LandscapeFarmingEnums.h:1003
LE::SetVegPatchy
void SetVegPatchy(bool p)
Definition: Elements.h:229
Farm::StrawChopping
virtual bool StrawChopping(LE *a_field, double a_user, int a_days)
Carry out straw chopping on a_field.
Definition: FarmFuncs.cpp:1475
fmc_Watering
Definition: LandscapeFarmingEnums.h:1011
dk_osbmcc_row_cultivation2
Definition: DK_OSpringBarley_CC.h:44
dk_osbmcc_spring_plough
Definition: DK_OSpringBarley_CC.h:39
dk_osbmcc_spring_harrow1
Definition: DK_OSpringBarley_CC.h:35
Calendar::OldDays
long OldDays(void)
Definition: Calendar.h:60
dk_osbmcc_foobar
Definition: DK_OSpringBarley_CC.h:54
MapErrorMsg::Warn
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
Definition: MapErrorMsg.cpp:69
DK_OSBMCC_BASE
#define DK_OSBMCC_BASE
Definition: DK_OSpringBarley_CC.h:31
dk_osbmcc_wait
Definition: DK_OSpringBarley_CC.h:53
Crop::StartUpCrop
bool StartUpCrop(int a_spring, std::vector< std::vector< int >> a_flexdates, int a_todo)
Holds the translation between the farm operation enum for each cropand the farm management category a...
Definition: Farm.cpp:652
FarmEvent::m_field
LE * m_field
Definition: Farm.h:391
Crop::m_farm
Farm * m_farm
Definition: Farm.h:498
Crop::m_field
LE * m_field
Definition: Farm.h:499
dk_osbmcc_hay_baling
Definition: DK_OSpringBarley_CC.h:49
Crop::m_ManagementCategories
vector< FarmManagementCategory > m_ManagementCategories
Holds the translation between the farm operation enum for each crop and the farm management category ...
Definition: Farm.h:530
dk_osbmcc_shallow_harrow1
Definition: DK_OSpringBarley_CC.h:41
FarmEvent::m_todo
int m_todo
Definition: Farm.h:388
tov_Undefined
Definition: LandscapeFarmingEnums.h:610
LE::SetVegType
virtual void SetVegType(TTypesOfVegetation)
Definition: Elements.h:175
Farm::ShallowHarrow
virtual bool ShallowHarrow(LE *a_field, double a_user, int a_days)
Carry out a shallow harrow event on a_field, e.g., after grass cutting event.
Definition: FarmFuncs.cpp:473
Farm::FP_Slurry
virtual bool FP_Slurry(LE *a_field, double a_user, int a_days)
Apply slurry to a_field owned by an arable farmer.
Definition: FarmFuncs.cpp:823
Farm::RowCultivation
virtual bool RowCultivation(LE *a_field, double a_user, int a_days)
Carry out a harrowing between crop rows on a_field.
Definition: FarmFuncs.cpp:1183
LE
Definition: Elements.h:86
Farm::Water
virtual bool Water(LE *a_field, double a_user, int a_days)
Carry out a watering on a_field.
Definition: FarmFuncs.cpp:1330
Crop::m_last_date
int m_last_date
Definition: Farm.h:503
g_msg
MapErrorMsg * g_msg
Definition: MapErrorMsg.cpp:41
dk_osbmcc_water
Definition: DK_OSpringBarley_CC.h:45
TTypesOfVegetation
TTypesOfVegetation
Values that represent the types of vegetation that are represented in ALMaSS.
Definition: LandscapeFarmingEnums.h:192
dk_osbmcc_swathing
Definition: DK_OSpringBarley_CC.h:46
fmc_Harvest
Definition: LandscapeFarmingEnums.h:1012
dk_osbmcc_spring_sow
Definition: DK_OSpringBarley_CC.h:40
LE::GetUnsprayedMarginPolyRef
int GetUnsprayedMarginPolyRef(void)
Definition: Elements.h:383
dk_osbmcc_spring_harrow2
Definition: DK_OSpringBarley_CC.h:36
Calendar::DayInYear
int DayInYear(void)
Definition: Calendar.h:58
Crop::Crop
Crop(TTypesOfVegetation a_tov, TTypesOfCrops a_toc, Landscape *a_L)
Definition: Farm.cpp:733
dk_osbmcc_slurry_s
Definition: DK_OSpringBarley_CC.h:37
Farm::Swathing
virtual bool Swathing(LE *a_field, double a_user, int a_days)
Cut the crop on a_field and leave it lying (probably rape)
Definition: FarmFuncs.cpp:1350
PROG_START
#define PROG_START
Definition: Farm.h:69
Crop::m_ev
FarmEvent * m_ev
Definition: Farm.h:500
Crop::m_OurLandscape
Landscape * m_OurLandscape
Definition: Farm.h:506
WARN_BUG
Definition: MapErrorMsg.h:34
dk_osbmcc_row_cultivation1
Definition: DK_OSpringBarley_CC.h:43
FarmManagementCategory
FarmManagementCategory
Definition: LandscapeFarmingEnums.h:1001
Farm::SpringHarrow
virtual bool SpringHarrow(LE *a_field, double a_user, int a_days)
Carry out a harrow event in the spring on a_field.
Definition: FarmFuncs.cpp:459