jnethack (3.6.7-0.1) | 2023-02-23 16:22 |
nethack (3.6.6) | 2020-06-07 04:50 |
cmd.cにある。
#if 0 /*JP*/ #define enl_msg(prefix, present, past, suffix, ps) \ enlght_line(prefix, final ? past : present, suffix, ps) #else #define enl_msg(prefix, present, past, suffix, ps) \ enlght_line(prefix, ps, suffix, final ? past : present) #endif #define you_are(attr, ps) enl_msg(You_, are, were, attr, ps) #define you_have(attr, ps) enl_msg(You_, have, had, attr, ps) #define you_can(attr, ps) enl_msg(You_, can, could, attr, ps) /*JP #define you_have_been(goodthing) enl_msg(You_, have_been, were, goodthing, "") */ #define you_have_been(goodthing) enl_msg(You_, are, were, goodthing, "") #if 0 /*JP*/ #define you_have_never(badthing) \ enl_msg(You_, have_never, never, badthing, "") #else #define you_have_never(badthing) \ enl_msg(badthing, "ていない", "なかった", "", "") #endif #if 0 /*JP*/ #define you_have_X(something) \ enl_msg(You_, have, (const char *) "", something, "") #else #define you_have_X(something) \ enl_msg(something, "ている", "た", "", "") #endif #if 1 /*JP*/ #define you_are_ing(goodthing, ps) enl_msg(You_, iru, ita, goodthing, ps) #endif
enlght_line(start, middle, end, ps)
enl_msg(p1, p2, p3, p4, p5)
you_are(attr, ps)
you_have(attr, ps)
you_can(attr, ps)
you_have_been(p1)
you_have_never(p1)
you_have_X(p1)
you_are_ing(p1, p2)