Show peep.cpp syntax highlighted
/***************************************************************************
peep.cpp - description
-------------------
begin : Sat Nov 9 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 <entity.h>
#include <peep.h>
namespace Peep {
namespace Message {
const int DIRECTION = Entity::Message::getNext();
const int STATE = DIRECTION + 1;
const int STRENGTH = STATE + 1;
}
namespace State {
const int WALKING = 0;
const int BURNING = 1;
const int DROWNING = 2;
}
namespace Destroy {
const int EXHAUSTED = Entity::Destroy::getNext();
const int BARBECUED = EXHAUSTED + 1;
const int SWAMPED = BARBECUED + 1;
const int DROWNED = SWAMPED + 1;
const int SETTLED = DROWNED + 1;
}
}
See more files for this project here