Show town.h syntax highlighted
/***************************************************************************
town.h
-------------------
begin : Sat Nov 16 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. *
* *
***************************************************************************/
#ifndef TOWN_H_INCLUDED
#define TOWN_H_INCLUDED
/**
* Represents a peep town.
*/
namespace Town {
/**
* Net messages.
*/
namespace Message {
/**
* Message type for strength of the town.
*/
extern const int STRENGTH;
/**
* The town's state.
*/
extern const int STATE;
}
/**
* The state of a town.
*/
namespace State {
/**
* The state of crops growing normally.
*/
extern const int NORMAL;
/**
* The crops are burning.
*/
extern const int BURNING;
/**
* The state of a burnt shell.
*/
extern const int DEAD;
}
/**
* Destruction reasons.
*/
namespace Destroy {
/**
* The land underneath moved!
*/
extern const int DISPLACED;
/**
* The town burned into oblivion.
*/
extern const int BARBECUED;
}
}
#endif /* ndef TOWN_H_INCLUDED */
See more files for this project here