Replace const int with enum

It's the little shit like this that pisses me off, so I fixed it. A const int cannot be evaluated at compile time. An enum can. It's just an ISO thing, and JDI plays ball with it. I can't do jack shit optimization side if those aren't enum'd.