… | |
… | |
708 | int similar_direction (int a, int b); |
708 | int similar_direction (int a, int b); |
709 | |
709 | |
710 | // like sprintf, but returns a "static" buffer |
710 | // like sprintf, but returns a "static" buffer |
711 | const char *format (const char *format, ...); |
711 | const char *format (const char *format, ...); |
712 | |
712 | |
|
|
713 | // safety-check player input which will become object->msg |
|
|
714 | bool msg_is_safe (const char *msg); |
|
|
715 | |
713 | ///////////////////////////////////////////////////////////////////////////// |
716 | ///////////////////////////////////////////////////////////////////////////// |
714 | // threads, very very thin wrappers around pthreads |
717 | // threads, very very thin wrappers around pthreads |
715 | |
718 | |
716 | struct thread |
719 | struct thread |
717 | { |
720 | { |