aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/gamedb.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-20 01:24:26 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-20 01:24:26 +0100
commitcac532bd93359d383270b82c1139ff2cbed2b213 (patch)
tree20ad7b916db3aad305a197c94378f8ee4c829f3f /FICS/gamedb.h
parentf42d4b00abf88b1864cd4e9364ed258ff8f1d34a (diff)
Added alignment
Diffstat (limited to 'FICS/gamedb.h')
-rw-r--r--FICS/gamedb.h83
1 files changed, 42 insertions, 41 deletions
diff --git a/FICS/gamedb.h b/FICS/gamedb.h
index 3ae4a9f..098f843 100644
--- a/FICS/gamedb.h
+++ b/FICS/gamedb.h
@@ -26,58 +26,59 @@
#define _GAMEDB_H
#include <time.h>
+
#include "board.h"
-extern char *bstr[];
-extern char *rstr[];
+extern char *bstr[];
+extern char *rstr[];
-#define GAMEFILE_VERSION 3
-#define MAX_GLINE_SIZE 1024
+#define GAMEFILE_VERSION 3
+#define MAX_GLINE_SIZE 1024
-#define REL_GAME 0
-#define REL_SPOS 1
-#define REL_REFRESH 2
-#define REL_EXAMINE 3
+#define REL_GAME 0
+#define REL_SPOS 1
+#define REL_REFRESH 2
+#define REL_EXAMINE 3
-#define GAME_EMPTY 0
-#define GAME_NEW 1
-#define GAME_ACTIVE 2
-#define GAME_EXAMINE 3 /* examine is now 3 */
+#define GAME_EMPTY 0
+#define GAME_NEW 1
+#define GAME_ACTIVE 2
+#define GAME_EXAMINE 3
-#define TYPE_UNTIMED 0
-#define TYPE_BLITZ 1
-#define TYPE_STAND 2
+#define TYPE_UNTIMED 0
+#define TYPE_BLITZ 1
+#define TYPE_STAND 2
#define TYPE_NONSTANDARD 3
-#define TYPE_WILD 4
-#define TYPE_LIGHT 5
-#define TYPE_BUGHOUSE 6
+#define TYPE_WILD 4
+#define TYPE_LIGHT 5
+#define TYPE_BUGHOUSE 6
#ifdef TIMESEAL
-#define FLAG_CHECKING -1
-#define FLAG_NONE 0
-#define FLAG_CALLED 1
-#define FLAG_ABORT 2
+#define FLAG_CHECKING -1
+#define FLAG_NONE 0
+#define FLAG_CALLED 1
+#define FLAG_ABORT 2
#endif
-#define END_CHECKMATE 0
-#define END_RESIGN 1
-#define END_FLAG 2
-#define END_AGREEDDRAW 3
-#define END_REPETITION 4
-#define END_50MOVERULE 5
-#define END_ADJOURN 6
-#define END_LOSTCONNECTION 7
-#define END_ABORT 8
-#define END_STALEMATE 9
-#define END_NOTENDED 10
-#define END_COURTESY 11
-#define END_BOTHFLAG 12
-#define END_NOMATERIAL 13
-#define END_FLAGNOMATERIAL 14
-#define END_ADJDRAW 15
-#define END_ADJWIN 16
-#define END_ADJABORT 17
-#define END_COURTESYADJOURN 18
+#define END_CHECKMATE 0
+#define END_RESIGN 1
+#define END_FLAG 2
+#define END_AGREEDDRAW 3
+#define END_REPETITION 4
+#define END_50MOVERULE 5
+#define END_ADJOURN 6
+#define END_LOSTCONNECTION 7
+#define END_ABORT 8
+#define END_STALEMATE 9
+#define END_NOTENDED 10
+#define END_COURTESY 11
+#define END_BOTHFLAG 12
+#define END_NOMATERIAL 13
+#define END_FLAGNOMATERIAL 14
+#define END_ADJDRAW 15
+#define END_ADJWIN 16
+#define END_ADJABORT 17
+#define END_COURTESYADJOURN 18
typedef struct _game {
/* Saved in the game file */