aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.c
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-07-17 17:05:44 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-07-17 17:05:44 +0200
commite52262223b4d044c9de5ee6e69808c9f9ac9a28e (patch)
tree51b1d82711d87ad5a910375e4bfc13c2fbc078fd /FICS/gamedb.c
parent85292f459b724de0c0e82b10987d4e5bef6dd095 (diff)
bstr: use designators
Diffstat (limited to 'FICS/gamedb.c')
-rw-r--r--FICS/gamedb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/FICS/gamedb.c b/FICS/gamedb.c
index 99f7a85..a766ba8 100644
--- a/FICS/gamedb.c
+++ b/FICS/gamedb.c
@@ -58,13 +58,13 @@ PUBLIC game *garray = NULL;
PUBLIC int g_num = 0;
PUBLIC char *bstr[] = {
- "untimed",
- "blitz",
- "standard",
- "non-standard",
- "wild",
- "lightning",
- "bughouse"
+ [TYPE_UNTIMED] = "untimed",
+ [TYPE_BLITZ] = "blitz",
+ [TYPE_STAND] = "standard",
+ [TYPE_NONSTANDARD] = "non-standard",
+ [TYPE_WILD] = "wild",
+ [TYPE_LIGHT] = "lightning",
+ [TYPE_BUGHOUSE] = "bughouse"
};
PUBLIC char *rstr[] = {
"unrated",