Replaced enum by a char and some #define's to save some memory

Yeah I'm this much of a memory saving whore sometimes...