// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <config.h>
+#include <algorithm>
#include "ghosttree.hpp"
#include "treewillowisp.hpp"
treecolor(0), suck_lantern(0)
{
glow_sprite.reset(sprite_manager->create("images/creatures/ghosttree/ghosttree-glow.sprite"));
+ set_colgroup_active(COLGROUP_TOUCHABLE);
+ sound_manager->preload("sounds/tree_howling.ogg");
+ sound_manager->preload("sounds/tree_suck.ogg");
}
GhostTree::~GhostTree()
willowisp_timer.start(1.0f, true);
colorchange_timer.start(13, true);
root_timer.start(5, true);
- set_group(COLGROUP_TOUCHABLE);
}
void