SORTIE Core C++ Documentation
Enumerations
whyDead Namespace Reference

Reason codes for why a tree died. More...

Enumerations

enum  deadCode {
  notdead = 0, harvest, natural, disease,
  fire, insects, storm, remove_tree
}
 

Detailed Description

Reason codes for why a tree died.

This controls the life history stage they pass to as dead trees.

Enumeration Type Documentation

◆ deadCode

Enumerator
notdead 

Tree is not dead.

harvest 

Harvested.

natural 

Natural causes - regular mortality functions.

disease 

Killed by disease.

fire 

Killed by fire.

insects 

Killed by insects.

storm 

Killed by a storm (windthrow)

remove_tree 

Request an immediate removal of this tree from memory.