… | |
… | |
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 | */ |
… | |
… | |
902 | |
900 | |
903 | #define LOG_CHANNEL "log" // the plain and ugly standard server log |
901 | #define LOG_CHANNEL "log" // the plain and ugly standard server log |
904 | #define INFO_CHANNEL "info" // lower_left box |
902 | #define INFO_CHANNEL "info" // lower_left box |
905 | #define SAY_CHANNEL "channel-say" |
903 | #define SAY_CHANNEL "channel-say" |
906 | #define CHAT_CHANNEL "channel-chat" |
904 | #define CHAT_CHANNEL "channel-chat" |
|
|
905 | #define MSG_CHANNEL(name) ("c/" name) // predefined channel defined in lib/cf.pm %CHANNEL |
907 | |
906 | |
908 | /* The following are the color flags passed to new_draw_info. |
907 | /* The following are the color flags passed to new_draw_info. |
909 | * |
908 | * |
910 | * We also set up some control flags |
909 | * We also set up some control flags |
911 | * |
910 | * |