Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding INPUT_BUTTONS
#6
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.
Reply


Messages In This Thread
Adding INPUT_BUTTONS - by JaumeAlcazo - 01-14-2019, 01:24 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-22-2019, 02:44 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-25-2019, 07:05 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-25-2019, 09:13 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-27-2019, 04:16 AM
RE: Adding INPUT_BUTTONS - by megamarc - 01-30-2019, 08:03 AM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 01-31-2019, 04:02 AM
RE: Adding INPUT_BUTTONS - by megamarc - 02-02-2019, 09:28 PM
RE: Adding INPUT_BUTTONS - by JaumeAlcazo - 02-06-2019, 08:01 AM
RE: Adding INPUT_BUTTONS - by Richard Kain - 02-07-2019, 05:47 AM
RE: Adding INPUT_BUTTONS - by megamarc - 02-08-2019, 05:03 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)