28 #include "../../Landscape/ls.h"
29 #include "../../Landscape/cropprogs/YoungForest.h"
47 m_field->SetMDates(0,0,g_date->DayInYear(1,9));
49 m_field->SetMDates(1,0,g_date->DayInYear(1,9));
61 g_msg->Warn( WARN_BUG,
"YoungForestCrop::Do(): "
62 "Harvest too late for the next crop to start!!!",
"" );
66 for (
int i=0; i<noDates; i++) {
78 int today=g_date->Date();
83 g_msg->Warn( WARN_BUG,
" YoungForestCrop::Do(): "
84 "Crop start attempt after last possible start date",
"" );
92 if ( g_date->Date() > d1 )
102 SimpleEvent( g_date->OldDays() + g_date->DayInYear( 1, 9 ),
114 g_msg->Warn( WARN_BUG,
"YoungForestCrop::Do(): "
115 "Unknown event type! ",
"" );