aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/general.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/general.h')
-rw-r--r--engines/cge/general.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/cge/general.h b/engines/cge/general.h
index fbb5fc4c45..6a0bc13675 100644
--- a/engines/cge/general.h
+++ b/engines/cge/general.h
@@ -33,11 +33,14 @@
#include "common/random.h"
#include "common/textconsole.h"
#include "common/str.h"
-#include "cge/jbw.h"
namespace CGE {
#define kCryptSeed 0xA5
+#define kMaxFile 128
+#define IsDigit(c) ((c) >= '0' && (c) <= '9')
+#define IsHxDig(c) (IsDigit(c) || ((c) >= 'A' && (c) <= 'F') || ((c) >= 'a' && (c) <= 'f'))
+#define ArrayCount(a) (sizeof(a) / sizeof((a)[0]))
struct Dac {
uint8 _r;