Krupski:
Another crazy way to write that would be:leap = (yOff % 4) ? 0 : 1;
The ? and : operators are very handy. They simply work like this:
"IF X is TRUE then ? (THIS HAPPENS) otherwise : (THIS HAPPENS)"
I'm very glad you told me that! The code actually uses this sytax later on and I was wondering what it did. Do the question mark and colon operators have any special names so i can look them up?