aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/formula.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2023-12-26 17:53:26 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2023-12-26 17:53:26 +0100
commit8e40222d637d0ab67d030225b1d1b7f19da9d856 (patch)
treede74286f398a1295a71028eae094648fee13a434 /FICS/formula.h
parent82b23c27fe74fcc4072a58a6928d75897a7b1518 (diff)
Reformatted defines
Diffstat (limited to 'FICS/formula.h')
-rw-r--r--FICS/formula.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/FICS/formula.h b/FICS/formula.h
index 517e988..a54e74b 100644
--- a/FICS/formula.h
+++ b/FICS/formula.h
@@ -1,7 +1,8 @@
#ifndef FORMULA_H
#define FORMULA_H
-#define OP_BAD -1
+#define OP_BAD -1
+
#include "playerdb.h"
#include "gamedb.h"
@@ -34,15 +35,15 @@
#define OPTYPE_MULT 9
#define OPTYPE_UNARY 10
-#define ERR_NONE 0
-#define ERR_EOF 1
-#define ERR_UNARY 2
-#define ERR_BADCHAR 3
-#define ERR_BADVAR 4
-#define ERR_BADOP 5
-#define ERR_NONESENSE 6
-#define ERR_DIVBYZERO 7
-#define ERR_PAREN 8
+#define ERR_NONE 0
+#define ERR_EOF 1
+#define ERR_UNARY 2
+#define ERR_BADCHAR 3
+#define ERR_BADVAR 4
+#define ERR_BADOP 5
+#define ERR_NONESENSE 6
+#define ERR_DIVBYZERO 7
+#define ERR_PAREN 8
#define FUDGE_FACTOR 1e-3