Or rather, entirely move the calling convention choice to the compiler
command line rather than inconsistently mixing conventions within the
C++ code.
Part of P0229, funded by Ember2528.
Might be a bit controversial, but *having* to specify a flag also makes
it clearer where the hardware palette is *not* mutated.
Part of P0229, funded by Ember2528.
Code that serves no purpose in the original game, but would cause quite
the annoyance to other port developers who might not immediately
realize that this code is unused. Keeping some of the functions that
come in handy during debugging, though.
Part of P0229, funded by Ember2528.
All the weird double returns in FUUIN.EXE just magically appear with
-O-! 😮
And yeah, it's a bowl of global state spaghetti once again. 🍝 Named
the functions in a way that would make sense to a user of the API, who
should be aware of typical side effects, like, y'know, a changed
hardware palette… That's how you end up with the supposed "main"
function getting a "_palette_show" suffix.
Completes P0082, funded by Ember2528.