Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-changes for API changes with regards latest SilverLining #1224

Closed
wants to merge 1 commit into from

Conversation

pprabhu78
Copy link
Contributor

Hi Glenn,

Here's a patch against the latest SilverLining that take into account the API changes mentioned here:

https://sundog-soft.com/2018/10/important-api-updates-in-silverlining-5-30/

Its minor, but important

@gwaldron
Copy link
Owner

Thx - do you happen to know if these changes backwards compatible?

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 14, 2018 via email

@emminizer
Copy link
Contributor

At least in SilverLining 5.009 I agree that it's not compatible; and unfortunately there doesn't seem to be an easy way to do a version check with an ifdef, that I can see. That's unfortunate.

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 15, 2018 via email

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 15, 2018 via email

@emminizer
Copy link
Contributor

Thanks. It looks like that header was added after 5.009. We're due for an update on the SilverLining version we use, this will just accelerate that.

@gwaldron
Copy link
Owner

Dan, can you double check that? I seem to have version 5.005 (or 006), and I do have a Version.h file.

@emminizer
Copy link
Contributor

emminizer commented Oct 16, 2018

Double checked. It's not in my Program Files's SilverLining SDK (Full source) directory. I checked Public Headers there and it's not there. I do see a Version.h in my Linux build. I did an uninstall and a reinstall. I confirmed I'm on 5.009. The Full source install does not include a Version.h. I checked Public Headers directory, which has 25 headers, none including Version.h. A full grep -r through the extracted exe in Program Files does not include the text SILVERLINING_MAJOR_VERSION anywhere.

I'll pass along a note to their team to indicate the problem. From my side I'm fine with this change here, if you don't mind trying to conditionally compile the calls to DrawObjects() and GetEnvironmentMap() with preprocessor conditionals? We're happy to update our SilverLining version, it's just a matter of getting the time to do so since we have to rebuild without DX support.

I'm guessing this is a bug with the Windows installer. I can limp along by copying the one from Linux over since they're the same version.

Edit: The file is there in the 5.31 installer. Must have just been a bug for 5.009. As I indicated I'm happy to just copy over the Linux one, no blockers here on Version.h. Because the file's there in the latest download I did not bother their team with the (fixed) issue.

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 16, 2018 via email

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 16, 2018 via email

@gwaldron
Copy link
Owner

Implemented with version checking in 6a647ee

@gwaldron gwaldron closed this Oct 16, 2018
@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 16, 2018 via email

@pprabhu78
Copy link
Contributor Author

pprabhu78 commented Oct 16, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants