This repository has been archived by the owner on Apr 13, 2023. It is now read-only.
Update to build 64-bit only on Xcode (macOS) with XPLM v3.1 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note: I only build and tested these changes on Xcode (for macOS target). However, there are two types of changes:
(1) Mac-specific: Xcode project changes to build correctly for 64-bit with XPLM 3.1 based on previous updates; and
(2) All platforms: Usability improvements to add settings restore and explicit load/save buttons.
Therefore, these changes are tested and work great on macOS 10.14.6 (Mojave) with X-Plane 11.35r1 (August 1, 2019). However, as I could not build (yet) for Windows, I have not yet tested anything there (nor Linux). So, there may be build issues, but I think it should be straightforward if not already working there. (So, I recommend testing it on those first of course).
Oh, and I also didn't test on a pre-XPLM3.1 system. I believe my changes correctly switch from XPLMRegisterMenuItemIWthCommand() to XPLMRegisterMenuItem() -- but I'm not 100% sure.
-- Detailed changes in this pull request:
Add new restore with explicit load/save buttons:
Add commandref to open settings window, and show key binding (if any) in menu.
Update Xcode project to correctly target XPLM 3.1 and 64-bit architecture.
Fix up Xcode "schemes" so there is now a one-click way to switch btw Debug and Release builds, checked into repo in a common way (not user-specific).
Notes:
--
I hope this is useful! I know it helps me a lot to have these features. (And since macOS will block 32-bit libraries soon, having it updated to be 64-bit gives BLU-fx the new lease on life it deserves!
Thank you for making this open-source.
Steve