… | |
… | |
706 | // return current time as timestamp |
706 | // return current time as timestamp |
707 | tstamp now (); |
707 | tstamp now (); |
708 | |
708 | |
709 | int similar_direction (int a, int b); |
709 | int similar_direction (int a, int b); |
710 | |
710 | |
711 | // like sprintf, but returns a "static" buffer |
711 | // like v?sprintf, but returns a "static" buffer |
|
|
712 | char *vformat (const char *format, va_list ap); |
712 | const char *format (const char *format, ...); |
713 | char *format (const char *format, ...); |
713 | |
714 | |
714 | // safety-check player input which will become object->msg |
715 | // safety-check player input which will become object->msg |
715 | bool msg_is_safe (const char *msg); |
716 | bool msg_is_safe (const char *msg); |
716 | |
717 | |
717 | ///////////////////////////////////////////////////////////////////////////// |
718 | ///////////////////////////////////////////////////////////////////////////// |