diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-22 12:42:35 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-06-22 12:42:35 +0000 |
commit | 1d64b7a037435aee796f068770a0c2ca2b19a93a (patch) | |
tree | e211c9da2b6a4303df5717a3ddf2ed16736f3a76 /src/being.h | |
parent | c3628bdf27c92cd7b339393e7472f9528c8a1c5c (diff) | |
download | mana-1d64b7a037435aee796f068770a0c2ca2b19a93a.tar.gz mana-1d64b7a037435aee796f068770a0c2ca2b19a93a.tar.bz2 mana-1d64b7a037435aee796f068770a0c2ca2b19a93a.tar.xz mana-1d64b7a037435aee796f068770a0c2ca2b19a93a.zip |
Detect ghosts at creation time.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 17 |
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 */ /** |