Some Mac / __APPLE___ cleanups for someone to (hopefully) commit:
- remove the OSX_BUNDLE crap *I* introduced years ago - we're always a a bundle on Mac now.
- fix up the default fg-root on Mac to be FlightGear.app/Contents/ Resources/data - i.e the location used by the macflightgear.org distro, and indeed the obvious 'correct' location. Not sure why I didn't use that in the first place, back in the day.
- remove the CPSForegroundEnable hack. For one thing, we're a bundle and don't need it, and for another, osgViewer on Mac does the same logic using a newer, public API rather than a hack into the OS.
- remove the strange logic for doing fgOSInit 'early' (in bootstrap rather than main) when running from the command line on Mac; again this is obsolete, and no one seems to know why it was ever necessary. I guess it was an interaction with SDL when running without a bundle.
- (not Mac related) remove obsolete code bracketed by ENABLE_PLIB_JOYSTICK and USE_GLIDE (neither of which are ever set, even from config.h that I can see) in main.cxx
There's also a Simgear diff that removes the workaround for the C++ / stdlibary bug which existed aeons ago on Mac.
fg-no-old-apple.patch
Description: Binary data
sg-no-cxx-hack.patch
Description: Binary data
Regards, James
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel