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

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

1/* 1/*
2 * static char *rcsid_define_h = 2 * static char *rcsid_define_h =
3 * "$Id: define.h,v 1.1.1.1 2006/02/03 07:12:48 root Exp $"; 3 * "$Id: define.h,v 1.1.1.2 2006/02/22 18:01:57 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
118 */ 118 */
119 119
120/* type 0 will be undefined and shows a non valid type information */ 120/* type 0 will be undefined and shows a non valid type information */
121 121
122#define PLAYER 1 122#define PLAYER 1
123/*#define BULLET 2 */ 123#define TRANSPORT 2 /* see doc/Developers/objects */
124#define ROD 3 124#define ROD 3
125#define TREASURE 4 125#define TREASURE 4
126#define POTION 5 126#define POTION 5
127#define FOOD 6 127#define FOOD 6
128#define POISON 7 128#define POISON 7
627#define MOVE_WALK 0x1 /* Object walks */ 627#define MOVE_WALK 0x1 /* Object walks */
628#define MOVE_FLY_LOW 0x2 /* Low flying object */ 628#define MOVE_FLY_LOW 0x2 /* Low flying object */
629#define MOVE_FLY_HIGH 0x4 /* High flying object */ 629#define MOVE_FLY_HIGH 0x4 /* High flying object */
630#define MOVE_FLYING 0x6 /* Combo of fly_low and fly_high */ 630#define MOVE_FLYING 0x6 /* Combo of fly_low and fly_high */
631#define MOVE_SWIM 0x8 /* Swimming object */ 631#define MOVE_SWIM 0x8 /* Swimming object */
632#define MOVE_BOAT 0x10 /* Boats/sailing */
632#define MOVE_ALL 0xf /* Mask of all movement types */ 633#define MOVE_ALL 0x1f /* Mask of all movement types */
633 634
634/* the normal assumption is that objects are walking/flying. 635/* the normal assumption is that objects are walking/flying.
635 * So often we don't want to block movement, but still don't want 636 * So often we don't want to block movement, but still don't want
636 * to allow all types (swimming is rather specialized) - I also 637 * to allow all types (swimming is rather specialized) - I also
637 * expect as more movement types show up, this is likely to get 638 * expect as more movement types show up, this is likely to get

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines