#pragma once

#include "dfhack/depends/tinyxml/tinyxml.h"
#include "BlockTree.h"
class VegetationConfiguration
{
public:
  int gameID;
  bool live;
  bool grown;
  c_block_tree tree;

  VegetationConfiguration(){}
  VegetationConfiguration(int gameID, c_block_tree &tree, bool live, bool grown);
  ~VegetationConfiguration(void);
};


bool addSingleVegetationConfig( TiXmlElement* elemRoot,  vector<VegetationConfiguration>* vegetationConfigs, vector<t_matgloss>& plantNames );
c_block_tree * getVegetationTree(vector<VegetationConfiguration>& vegetationConfigs,int index,bool live,bool grown);
