If you guys want to clean trailing whitespaces, we'd better to do it coordinated and in one commit. That way we'll have the minimum amount of "conflicts" due to whitespace. Maybe it's time for picking a specific formatting style when we're at it?
I had some stylistic doubts. I've taken the liberty of using (array + x + y * z) instead of &array[x+y*z], because I thought it was weird to have so much arithmetic AND take the resulting address. Slightly more disputable, I indented something like this:
Code: Select all
Are we sticking with the shifts for power of two multiplications? I think GCC with -O3 turns those multiplications into shifts anyhow. xysiz = ((
((xs*ys)<<1) + 3
)&~3);
BTW I'm getting undefined memcasecmp in game.cpp. :(









