Show tree.cpp syntax highlighted
/***************************************************************************
tree.cpp - description
-------------------
begin : Fri Nov 15 2002
copyright : (C) 2002 by Brendon Higgins
email : freepop-devel@lists.sourceforge.net
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include <tree.h>
#include <entity.h>
namespace Tree {
namespace Message {
const int STRENGTH = Entity::Message::getNext();
const int STATE = STRENGTH + 1;
}
namespace State {
const int NORMAL = 0;
const int BURNING = 1;
const int DEAD = 2;
}
namespace Destroy {
const int DISPLACED = Entity::Destroy::getNext();
const int DECAYED = DISPLACED + 1;
}
}
See more files for this project here