Changed all const int definitions to use #define syntax.