(copy_ascii_no_funny, copy_utf8_no_funny)
(copy_utf8_to_ascii_no_funny): New. (flash, wall, prmptrd, uprmptrd, getcommand): Use them to filter input. (uprnf, pr_flash): Use them to filter output. (prtoascii): No longer used, remove. (player_commands, player_commands_index): Internal linkage.
This commit is contained in:
parent
7e186ed7a8
commit
b5ff7e3beb
5 changed files with 128 additions and 65 deletions
|
@ -418,7 +418,7 @@ extern void player_accept(void *);
|
|||
/* dispatch.c */
|
||||
extern int dispatch(char *, char *);
|
||||
/* empdis.c */
|
||||
extern int getcommand(s_char *);
|
||||
extern int getcommand(char *);
|
||||
extern void init_player_commands(void);
|
||||
extern void log_last_commands(void);
|
||||
extern int gamedown(void);
|
||||
|
@ -618,7 +618,9 @@ extern void PR(int, s_char *, ...) ATTRIBUTE((format (printf, 2, 3)));
|
|||
extern void PRdate(natid cn);
|
||||
extern void pr_beep(void);
|
||||
extern void mpr(int, s_char *, ...) ATTRIBUTE((format (printf, 2, 3)));
|
||||
extern void prtoascii(char *buf /* buf is message text */);
|
||||
extern size_t copy_ascii_no_funny(char *, char *);
|
||||
extern size_t copy_utf8_no_funny(char *, char *);
|
||||
extern size_t copy_utf8_to_ascii_no_funny(char *, char *);
|
||||
extern int ufindpfx(char *, int);
|
||||
|
||||
/* radmap.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue