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.73 by root, Sat Sep 1 08:03:44 2007 UTC vs.
Revision 1.74 by root, Tue Sep 4 08:42:57 2007 UTC

468/*#define FLAG_FLY_OFF 27*//* As WALK_OFF, but only with FLAG_FLYING */ 468/*#define FLAG_FLY_OFF 27*//* As WALK_OFF, but only with FLAG_FLYING */
469 469
470#define FLAG_IS_USED_UP 28 /* When (--food<0) the object will get destroyed */ 470#define FLAG_IS_USED_UP 28 /* When (--food<0) the object will get destroyed */
471#define FLAG_IDENTIFIED 29 /* Player knows full info about item */ 471#define FLAG_IDENTIFIED 29 /* Player knows full info about item */
472#define FLAG_REFLECTING 30 /* Object reflects from walls (lightning) */ 472#define FLAG_REFLECTING 30 /* Object reflects from walls (lightning) */
473#define FLAG_CHANGING 31 /* Changes to other_arch when anim is done */ 473#define FLAG_CHANGING 31 /* Changes to other_arch when anim is done, creates <food> new <other_archs> when !alive */
474#define FLAG_SPLITTING 32 /* Object splits into stats.food other objs */ 474#define FLAG_SPLITTING 32 /* Object splits into stats.food other objs */
475#define FLAG_HITBACK 33 /* Object will hit back when hit */ 475#define FLAG_HITBACK 33 /* Object will hit back when hit */
476#define FLAG_STARTEQUIP 34 /* Object was given to player at start */ 476#define FLAG_STARTEQUIP 34 /* Object was given to player at start */
477#define FLAG_BLOCKSVIEW 35 /* Object blocks view */ 477#define FLAG_BLOCKSVIEW 35 /* Object blocks view */
478#define FLAG_UNDEAD 36 /* Monster is undead */ 478#define FLAG_UNDEAD 36 /* Monster is undead */
581#define NUM_FLAGS 113 /* Should always be equal to the last 581#define NUM_FLAGS 113 /* Should always be equal to the last
582 * defined flag + 1. If you change this, 582 * defined flag + 1. If you change this,
583 * make sure you update the flag_links 583 * make sure you update the flag_links
584 * in common/loader.l 584 * in common/loader.l
585 */ 585 */
586
587#define NROFNEWOBJS(xyz) ((xyz)->stats.food)
588 586
589/* If you add new movement types, you may need to update 587/* If you add new movement types, you may need to update
590 * describe_item() so properly describe those types. 588 * describe_item() so properly describe those types.
591 * change_abil() probably should be updated also. 589 * change_abil() probably should be updated also.
592 */ 590 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines