Woopsi, running natively on the Mac, using SDL for IO:
Yeah, OK - it’s green. SDL uses 32-bit colour, and Woopsi uses 16-bit. I just need to sort the bitmasking/bitshifting out and it’ll all be fine. The mouse is already set up as a stylus substitute. VBLs seem to be working (although I haven’t coded in any wait code - I’m not sure how that’s working). Keyboard events need wiring up.
All of this required:
- A new “nds.h” file that substitutes for libnds;
- Another set of functions in “woopsifuncs.h” and “woopsifuncs.cpp” within an “#ifdef USING_SDL” block;
- A complete reinstall of OSX Leopard.
I can’t change a compile flag and build for SDL, because I’m targeting a completely different platform with this version. However, I can just copy the source out of the standard Woopsi DS project into an OSX SDL project and recompile it, and have a native, debug-able version running with no effort at all.