Login options.
(player): New member flags. (PF_UTF8, NF_UTF8): New PF_UTF8 replaces NF_UTF8. Users changed. (options_cmd): New. (login_coms): New command `options'. (toggle): Revert to the previous rev.
This commit is contained in:
parent
976cdfbf9e
commit
baf416652a
7 changed files with 68 additions and 43 deletions
|
@ -54,6 +54,7 @@ struct player {
|
|||
int validated;
|
||||
natid cnum;
|
||||
int state;
|
||||
int flags;
|
||||
struct cmndstr *command;
|
||||
struct iop *iop;
|
||||
s_char combuf[1024];
|
||||
|
@ -85,6 +86,11 @@ struct player {
|
|||
#define PS_SHUTDOWN 3
|
||||
#define PS_KILL 4
|
||||
|
||||
/* player flags */
|
||||
enum {
|
||||
PF_UTF8 = bit(0) /* client wants UTF-8 */
|
||||
};
|
||||
|
||||
/* thread priorities */
|
||||
#define PP_UPDATE 6
|
||||
#define PP_SHUTDOWN 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue