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

Comparing deliantra/server/include/object.h (file contents):
Revision 1.1.1.1 by root, Fri Feb 3 07:12:50 2006 UTC vs.
Revision 1.1.1.2 by elmex, Wed Feb 22 18:01:58 2006 UTC

1/* 1/*
2 * static char *rcsid_object_h = 2 * static char *rcsid_object_h =
3 * "$Id: object.h,v 1.1.1.1 2006/02/03 07:12:50 root Exp $"; 3 * "$Id: object.h,v 1.1.1.2 2006/02/22 18:01:58 elmex Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
34#define BODY_ARMS 1 34#define BODY_ARMS 1
35 35
36/* See common/item.c */ 36/* See common/item.c */
37 37
38typedef struct Body_Locations { 38typedef struct Body_Locations {
39 char *save_name; /* Name used to load/save it to disk */ 39 const char *save_name; /* Name used to load/save it to disk */
40 char *use_name; /* Name used when describing an item we can use */ 40 const char *use_name; /* Name used when describing an item we can use */
41 char *nonuse_name; /* Name to describe objects we can't use */ 41 const char *nonuse_name; /* Name to describe objects we can't use */
42} Body_Locations; 42} Body_Locations;
43 43
44extern Body_Locations body_locations[NUM_BODY_LOCATIONS]; 44extern Body_Locations body_locations[NUM_BODY_LOCATIONS];
45 45
46typedef struct _event 46typedef struct _event
237 sint32 elevation; /* elevation of this terrain - not currently used */ 237 sint32 elevation; /* elevation of this terrain - not currently used */
238 uint8 smoothlevel; /* how to smooth this square around*/ 238 uint8 smoothlevel; /* how to smooth this square around*/
239 239
240 MoveType move_type; /* Type of movement this object uses */ 240 MoveType move_type; /* Type of movement this object uses */
241 MoveType move_block; /* What movement types this blocks */ 241 MoveType move_block; /* What movement types this blocks */
242 MoveType move_allow; /* What movement types explicitly allowd */
242 MoveType move_on; /* Move types affected moving on to this space */ 243 MoveType move_on; /* Move types affected moving on to this space */
243 MoveType move_off; /* Move types affected moving off this space */ 244 MoveType move_off; /* Move types affected moving off this space */
244 MoveType move_slow; /* Movement types this slows down */ 245 MoveType move_slow; /* Movement types this slows down */
245 float move_slow_penalty; /* How much this slows down the object */ 246 float move_slow_penalty; /* How much this slows down the object */
246 247

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines