diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 03:04:29 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-01-03 03:04:29 +0100 |
commit | de13e479d6788b2496ad447b446831f181afdeca (patch) | |
tree | 9b479e52c89d0f3a112eb43648201b9309cb799e /FICS/comproc.c | |
parent | dfb0a5f5bc1683ef382ce9720a799ef0b03f04dd (diff) |
Moved defines
Diffstat (limited to 'FICS/comproc.c')
-rw-r--r-- | FICS/comproc.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c index ecda9b3..3685f73 100644 --- a/FICS/comproc.c +++ b/FICS/comproc.c @@ -58,6 +58,18 @@ #include "utils.h" #include "variable.h" +#define WHO_OPEN 0x01 +#define WHO_CLOSED 0x02 +#define WHO_RATED 0x04 +#define WHO_UNRATED 0x08 +#define WHO_FREE 0x10 +#define WHO_PLAYING 0x20 +#define WHO_REGISTERED 0x40 +#define WHO_UNREGISTERED 0x80 +#define WHO_BUGTEAM 0x100 + +#define WHO_ALL 0xff + PUBLIC const int none = 0; PUBLIC const int blitz_rat = 1; PUBLIC const int std_rat = 2; @@ -690,18 +702,6 @@ PUBLIC int com_logons(int p, param_list param) return plogins(p, fname); } -#define WHO_OPEN 0x01 -#define WHO_CLOSED 0x02 -#define WHO_RATED 0x04 -#define WHO_UNRATED 0x08 -#define WHO_FREE 0x10 -#define WHO_PLAYING 0x20 -#define WHO_REGISTERED 0x40 -#define WHO_UNREGISTERED 0x80 -#define WHO_BUGTEAM 0x100 - -#define WHO_ALL 0xff - PRIVATE void AddPlayerLists(int p1, char *ptmp) { |