Yea... And that's only a small portion of the code lol, dunno how i did it. Looking at the forest of "ifs" now is funny tough.
At least i commented the code to keep my sanity . What's even more incredible is that the game was working pretty much
flawlessly, with nice graphics for a one-man project. To answer your question, I think i was programming in 800x600 at that time.