Code: Select all
const s16 fx = x + 0x80;
const s16 fy = y + 0x80;
I'm using fix16 and fix32 types in my code to simulate floating point numbers. I'm trying to figure out what I can do to allow fix16 and fix32 to work with SPR_setPosition. Currently, I'm converting the fix16/fix32 numbers to integers, then passing them to the SPR_setPosition method. Can I adjust SPR_setPosition to accept fix16 or fix32, then remove these two lines of code from SPR_setPosition?