Didn’t do much today. I only programmed for about an hour. I did go through most of the code and found some useless bits I don’t know why I put there in the first place, like:
direction.m_x = direction.m_x;
direction.m_y = direction.m_y;
For those of you that know nothing of programming, this doesn’t do anything useful. It sets directions m_x and m_y variables to the same as it was before, which is pretty useless and redundant 😉
I also commented some of the code. Hopefully people will be able to understand some of it now 🙂