Install instructions, so you can stress test my SW++ ideas.
To build this release, you will need the following:
+ CodeWarrior Pro 6.0 (if you're using 5.3 or earlier, you're on your own)
+ Universal Headers 3.3.2 (if you're using 3.3.1 or early, you're on your own)
+ MacOS 9.0.4 (if you're using earlier than 9.0.4, or 9.1, you're on your own)
+ Classic compilation, not Carbon.
Step-by-step
Download the StuffIt (SIT) file, which as been BinHex'ed (HQX). (Did I need to BinHex it? I dunno.)
UnStuff (Expand) the StuffIt file.
Drag the SWpp folder to your Metrowerks CodeWarrior folder (the one with CodeWarrior IDE 4.1).
Drag the SpriteWorld Files folder out of the SWpp folder, into the Metrowerks CodeWarrior folder. (Make sure you save SpriteWorld Files folder, if you currently have one.)
Open the Simple++ folder, located in the SWpp folder.
Open the Simple++.mcp project.
Select either the Simple PPC Final or Simple PPC Debug project. I haven't checked to see if Simple 68k Debug/Final will work. I have a Mac LC III (MacOS 7.0) and an AMAX IV+ (Mac-on-a-Card for the Amiga, running MacOS 7.1), but now-a-days they both just collect dust.
Make the app (Cmd-M).
Let me know if it barfs. *smile*
Take a gander at the SimpleApp: Simple.cpp/h. Notice the difference between C and C++ usage.
TO DO: Write up a "White Paper" to discuss SW++ paradigm.
Note that I've ripped out extern "C" wrappers, so the functions have C++ linkage, not C linkage. Some still have Pascal linkage, those marked with SW_FUNC. I've put all the SW functions in the namespace SW. Well, not all, just those that were used by SimpleApp.
This is intended as a proof-of-concept project. I haven't redacted all of SW into SW++, yet. (NOTE: the intention is to retain C compilability, by liberal uses of #ifdef __cpluplus preprocessor hacks throughout the code.)
When C++ is your hammer, all problems look like thumbs.