ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/living.h
(Generate patch)

Comparing deliantra/server/include/living.h (file contents):
Revision 1.8 by root, Fri Dec 22 16:34:00 2006 UTC vs.
Revision 1.9 by root, Sat Dec 23 00:14:29 2006 UTC

62 62
63/* Mostly used by "alive" objects */ 63/* Mostly used by "alive" objects */
64ACC_CLASS (living) 64ACC_CLASS (living)
65struct living 65struct living
66{ 66{
67 sint64 ACC (RW, exp); /* Experience. */ 67 sint64 ACC (RW, exp); /* Experience. */
68 sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */ 68 sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */
69 69
70 sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Int), ACC (RW, Wis), ACC (RW, Pow), ACC (RW, Cha); 70 sint8 ACC (RW, Str), ACC (RW, Dex), ACC (RW, Con), ACC (RW, Int), ACC (RW, Wis), ACC (RW, Pow), ACC (RW, Cha);
71 sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */ 71 sint8 ACC (RW, wc), ACC (RW, ac); /* Weapon Class and Armour Class */
72 sint8 ACC (RW, luck); /* Affects thaco and ac from time to time */ 72 sint8 ACC (RW, luck); /* Affects thaco and ac from time to time */
73 sint16 ACC (RW, dam); /* How much damage this object does when hitting */ 73 sint16 ACC (RW, dam); /* How much damage this object does when hitting */
74 74
75 sint16 ACC (RW, hp); /* Hit Points. */ 75 sint16 ACC (RW, hp); /* Hit Points. */
76 sint16 ACC (RW, maxhp); 76 sint16 ACC (RW, maxhp);
77 77
78 sint16 ACC (RW, sp); /* Spell points. Used to cast mage spells. */ 78 sint16 ACC (RW, sp); /* Spell points. Used to cast mage spells. */
79 sint16 ACC (RW, maxsp); /* Max spell points. */ 79 sint16 ACC (RW, maxsp); /* Max spell points. */
80 80
81 sint16 ACC (RW, grace); /* Grace. Used to invoke clerical prayers. */ 81 sint16 ACC (RW, grace); /* Grace. Used to invoke clerical prayers. */
82 sint16 ACC (RW, maxgrace); /* Grace. Used to invoke clerical prayers. */ 82 sint16 ACC (RW, maxgrace); /* Grace. Used to invoke clerical prayers. */
83}; 83};
84 84
85#endif 85#endif
86 86

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines