01-30-2019, 08:03 AM
Sorry about that! I've just realized that I was wrong, or at least it's a bit more complex than the quick response I gave yesterday.
You're right about your proposed changes on #define MAX_INPUTS being 32 and the input mask going from 0xf to 0x1f. What's missing here is that the TLN_GetInput() function expects a bitmask of the input identifier encoded in the lower 4 bits, and the player identifier encoded in the next two bits. This function isn't aware of the change to the number of bits used for input has increased, displacing the position used by the player identifier.
I'll revise this one and push an update, stay tuned.
You're right about your proposed changes on #define MAX_INPUTS being 32 and the input mask going from 0xf to 0x1f. What's missing here is that the TLN_GetInput() function expects a bitmask of the input identifier encoded in the lower 4 bits, and the player identifier encoded in the next two bits. This function isn't aware of the change to the number of bits used for input has increased, displacing the position used by the player identifier.
I'll revise this one and push an update, stay tuned.