diff -r 47e686c96d8f -r 5cd91fd1526c common.h --- a/common.h Sat Aug 11 19:35:47 2012 +0300 +++ b/common.h Sun Aug 12 01:52:42 2012 +0300 @@ -43,7 +43,8 @@ #include #include -#include +#include +#include #include "bots.h" #include "str.h" @@ -117,15 +118,17 @@ } // Byte datatype -typedef unsigned long int word; -typedef unsigned char byte; +// typedef unsigned long int word; +typedef int32_t word; +typedef uint8_t byte; // Keywords -#define NUM_KEYWORDS 20 #ifndef __MAIN_CXX__ extern const char** g_Keywords; #endif + bool IsKeyword (str s); +unsigned int NumKeywords (); // Script mark and reference struct ScriptMark {