Searched refs:OMAILCMD (Results 1 – 16 of 16) sorted by relevance
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/include/ |
H A D | obj.h | 135 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro 141 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/include/ |
H A D | obj.h | 135 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro 141 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
|
/dports/games/xnethack/xNetHack-xnh6.1/include/ |
H A D | obj.h | 156 #define OMAILCMD(o) ((o)->oextra->omailcmd) macro 161 #define has_omailcmd(o) ((o)->oextra && OMAILCMD(o))
|
/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | save.c | 716 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0; in saveobj() 721 bwrite(nhfp->fd, (genericptr_t) OMAILCMD(otmp), buflen); in saveobj()
|
H A D | mkobj.c | 149 if (OMAILCMD(otmp)) in new_omailcmd() 151 OMAILCMD(otmp) = dupstr(response_cmd); in new_omailcmd() 157 if (otmp->oextra && OMAILCMD(otmp)) { in free_omailcmd() 158 free((genericptr_t) OMAILCMD(otmp)); in free_omailcmd() 159 OMAILCMD(otmp) = (char *) 0; in free_omailcmd() 379 new_omailcmd(obj2, OMAILCMD(obj1)); in copy_oextra()
|
H A D | mail.c | 754 cmd = OMAILCMD(otmp); in readmail()
|
H A D | invent.c | 3735 : (!has_omailcmd(otmp) || strcmp(OMAILCMD(obj), OMAILCMD(otmp)) != 0)) in mergable()
|
H A D | cmd.c | 2571 if (OMAILCMD(otmp)) in size_obj() 2572 sz += (int) strlen(OMAILCMD(otmp)) + 1; in size_obj()
|
/dports/games/nethack36/NetHack-NetHack-3.6.6_Released/src/ |
H A D | mkobj.c | 189 if (OMAILCMD(otmp)) 191 OMAILCMD(otmp) = dupstr(response_cmd); 198 if (otmp->oextra && OMAILCMD(otmp)) { 199 free((genericptr_t) OMAILCMD(otmp)); 200 OMAILCMD(otmp) = (char *) 0; 417 new_omailcmd(obj2, OMAILCMD(obj1));
|
H A D | save.c | 1025 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0; 1028 bwrite(fd, (genericptr_t) OMAILCMD(otmp), buflen);
|
H A D | mail.c | 753 cmd = OMAILCMD(otmp);
|
H A D | cmd.c | 3877 if (OMAILCMD(otmp)) 3878 sz += (int) strlen(OMAILCMD(otmp)) + 1;
|
/dports/games/nethack36-nox11/NetHack-NetHack-3.6.6_Released/src/ |
H A D | mkobj.c | 189 if (OMAILCMD(otmp)) 191 OMAILCMD(otmp) = dupstr(response_cmd); 198 if (otmp->oextra && OMAILCMD(otmp)) { 199 free((genericptr_t) OMAILCMD(otmp)); 200 OMAILCMD(otmp) = (char *) 0; 417 new_omailcmd(obj2, OMAILCMD(obj1));
|
H A D | save.c | 1025 buflen = OMAILCMD(otmp) ? (int) strlen(OMAILCMD(otmp)) + 1 : 0; 1028 bwrite(fd, (genericptr_t) OMAILCMD(otmp), buflen);
|
H A D | mail.c | 753 cmd = OMAILCMD(otmp);
|
H A D | cmd.c | 3877 if (OMAILCMD(otmp)) 3878 sz += (int) strlen(OMAILCMD(otmp)) + 1;
|