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.9 by root, Sat Dec 23 00:14:29 2006 UTC vs.
Revision 1.10 by root, Mon Dec 25 11:25:49 2006 UTC

22*/ 22*/
23 23
24#ifndef LIVING_H 24#ifndef LIVING_H
25#define LIVING_H 25#define LIVING_H
26 26
27// corresponds to some arrays in common/living.C
27enum { 28enum {
28 STR, 29 STR,
29 DEX, 30 DEX,
30 CON, 31 CON,
31 INT, 32 INT,
59extern const uint32 weight_limit[MAX_STAT + 1]; 60extern const uint32 weight_limit[MAX_STAT + 1];
60extern const int cleric_chance[MAX_STAT + 1]; 61extern const int cleric_chance[MAX_STAT + 1];
61extern const int fear_bonus[MAX_STAT + 1]; 62extern const int fear_bonus[MAX_STAT + 1];
62 63
63/* Mostly used by "alive" objects */ 64/* Mostly used by "alive" objects */
64ACC_CLASS (living) 65INTERFACE_CLASS (living)
65struct living 66struct living
66{ 67{
67 sint64 ACC (RW, exp); /* Experience. */ 68 sint64 ACC (RW, exp); /* Experience. */
68 sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */ 69 sint32 ACC (RW, food); /* How much food in stomach. 0 = starved. */
69 70

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines