Subversion Repositories public iLand

Rev

Rev 1104 | Rev 1118 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1104 Rev 1114
Line 30... Line 30...
30
30
31
#include "forestmanagementengine.h"
31
#include "forestmanagementengine.h"
32
#include "modules.h"
32
#include "modules.h"
33
33
34
#include "treeout.h"
34
#include "treeout.h"
-
 
35
#include "landscapeout.h"
35
36
36
// static varaibles
37
// static varaibles
37
FloatGrid *Tree::mGrid = 0;
38
FloatGrid *Tree::mGrid = 0;
38
HeightGrid *Tree::mHeightGrid = 0;
39
HeightGrid *Tree::mHeightGrid = 0;
39
TreeRemovedOut *Tree::mRemovalOutput = 0;
40
TreeRemovedOut *Tree::mRemovalOutput = 0;
-
 
41
LandscapeRemovedOut *Tree::mLSRemovalOutput = 0;
40
int Tree::m_statPrint=0;
42
int Tree::m_statPrint=0;
41
int Tree::m_statAboveZ=0;
43
int Tree::m_statAboveZ=0;
42
int Tree::m_statCreated=0;
44
int Tree::m_statCreated=0;
43
int Tree::m_nextId=0;
45
int Tree::m_nextId=0;
44
46
Line 1035... Line 1037...
1035
    GlobalSettings::instance()->model()->modules()->treeDeath(this, static_cast<int>(reason) );
1037
    GlobalSettings::instance()->model()->modules()->treeDeath(this, static_cast<int>(reason) );
1036
1038
1037
    // create output for tree removals
1039
    // create output for tree removals
1038
    if (mRemovalOutput && mRemovalOutput->isEnabled())
1040
    if (mRemovalOutput && mRemovalOutput->isEnabled())
1039
        mRemovalOutput->execRemovedTree(this, static_cast<int>(reason));
1041
        mRemovalOutput->execRemovedTree(this, static_cast<int>(reason));
-
 
1042
    if (mLSRemovalOutput && mLSRemovalOutput->isEnabled())
-
 
1043
        mLSRemovalOutput->execRemovedTree(this, static_cast<int>(reason));
1040
}
1044
}
1041
1045
1042
//////////////////////////////////////////////////
1046
//////////////////////////////////////////////////
1043
////  value functions
1047
////  value functions
1044
//////////////////////////////////////////////////
1048
//////////////////////////////////////////////////