Updated CodeWarrior Projects & compile fix

What’s new?

  • Projects are for the 1.1.7 tree (with video/audio driver selection

  • Projects work with CW 6 (just let it convert the file)

  • It is now possible to build Carbon/CFM apps with SDL and CodeWarrior 6.0.
    Some additional tweaking is required, see the Readme for more info.

  • With this addition, you can build Carbon/CFM SDL apps that work in both
    MacOS 8.6 with CarbonLib v1.0.4 and MacOS X Public Beta!

  • Added a STUB library target (don’t know how I forgot that before)

  • Fixed various bugs. Everything is working at my end (on both 5.3 & 6.0),
    so if something still doesn’t work, tell me!

  • Win32 is still defunct. Does anyone use CodeWarrior to target Win32?


Here is a change for building with Carbon, since the cstr2pstr method is no
longer available.


void Mac_SetCaption(_THIS, const char *title, const char icon)
Don’t convert C to P string in place, because it may be read-only /
Str255 ptitle; /
ptitle[0] = strlen (title);
memcpy(ptitle+1, title, ptitle[0]); /
if (SDL_Window)
SetWTitle(SDL_Window, ptitle); /
MJS */


What’s new?

Thanks Darrell, your changes are now in CVS. :slight_smile:

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software