Almost all of those could be replaced with defines, I'm not sure which option is better.