kainjow said:I thought the difference between little/big endian was that the byte order was flipped, not the bit order. So 01 in BE/LE would always be 1, 10 - 2, etc. Or am I wrong?
You are correct!!! 10 will always be 2. 01 will always be 1. Endianness swaps the bytes, not the bits. Binary addition would be hell if the bits were swapped... Plus then writing bit-operators and using bit-masks in C would just be a pain in the arse when it came time to compile that game for 5 different platforms.