summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/being.h b/src/being.h
index a2390f89..990a1e4a 100644
--- a/src/being.h
+++ b/src/being.h
@@ -43,23 +43,22 @@ struct PATH_NODE {
class Being
{
public:
- unsigned int id;
- unsigned short job;
- unsigned short x, y;
- unsigned short destX, destY;
- unsigned char direction;
- unsigned char type;
+ unsigned int id; /**< Unique id */
+ unsigned short job; /**< Job (player job, npc, monster, ) */
+ unsigned short x, y; /**< Tile coordinates */
+ unsigned short destX, destY; /**< Destination tile coordinates */
+ unsigned char direction; /**< Facing direction */
unsigned char action;
unsigned char frame;
int speech_color;
unsigned short walk_time;
unsigned short speed;
- unsigned char emotion;
- unsigned char emotion_time;
+ unsigned char emotion; /**< Currently showing emotion */
+ unsigned char emotion_time; /**< Time until emotion disappears */
unsigned int text_x, text_y; // temp solution to fix speech position
unsigned short weapon;
- char name[24];
+ char name[24]; /**< Name of character */
unsigned short aspd; /**< Attack speed */
/**