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.37 by root, Sun Jan 7 23:10:43 2007 UTC vs.
Revision 1.38 by root, Thu Jan 11 01:10:01 2007 UTC

581 object */ 581 object */
582#define FLAG_NEUTRAL 100 /* monster is from type neutral */ 582#define FLAG_NEUTRAL 100 /* monster is from type neutral */
583#define FLAG_NO_ATTACK 101 /* monster don't attack */ 583#define FLAG_NO_ATTACK 101 /* monster don't attack */
584#define FLAG_NO_DAMAGE 102 /* monster can't be damaged */ 584#define FLAG_NO_DAMAGE 102 /* monster can't be damaged */
585#define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by 585#define FLAG_OBJ_ORIGINAL 103 /* NEVER SET THIS. Item was loaded by
586 * load_original_map() */ 586 * load_original_map() */
587#define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on 587#define FLAG_OBJ_SAVE_ON_OVL 104 /* this object should be saved on
588 * the overlay, and is not subject to 588 * the overlay, and is not subject to
589 * decay. */ 589 * decay. */
590#define FLAG_ACTIVATE_ON_PUSH 105 /* connected object is activated when 'pushed' */ 590#define FLAG_ACTIVATE_ON_PUSH 105 /* connected object is activated when 'pushed' */
591#define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */ 591#define FLAG_ACTIVATE_ON_RELEASE 106 /* connected object is activated when 'released' */
592#define FLAG_IS_WATER 107 592#define FLAG_IS_WATER 107
593#define FLAG_CONTENT_ON_GEN 108 593#define FLAG_CONTENT_ON_GEN 108
594#define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */ 594#define FLAG_IS_A_TEMPLATE 109 /* Object has no ingame life until instanciated */
595#define FLAG_IS_BUILDABLE 110 /* Can build on item */ 595#define FLAG_IS_BUILDABLE 110 /* Can build on item */
596#define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */ 596#define FLAG_DESTROY_ON_DEATH 111 /* Object will be destroyed when env dies */
597#define FLAG_NO_SAVE 112 // item doesn't get saved with map
597 598
598#define NUM_FLAGS 112 /* Should always be equal to the last 599#define NUM_FLAGS 113 /* Should always be equal to the last
599 * defined flag + 1. If you change this, 600 * defined flag + 1. If you change this,
600 * make sure you update the flag_links 601 * make sure you update the flag_links
601 * in common/loader.l 602 * in common/loader.l
602 */ 603 */
603 604
604/* Values can go up to 127 before the size of the flags array in the 605/* Values can go up to 127 before the size of the flags array in the
605 * object structure needs to be enlarged. 606 * object structure needs to be enlarged.
606 * So there are 18 available flags slots 607 * So there are 18 available flags slots
607 */ 608 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines