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

More sysinfo stuff #12649

Merged
merged 4 commits into from Feb 12, 2017
Merged

More sysinfo stuff #12649

merged 4 commits into from Feb 12, 2017

Conversation

obrakmann
Copy link
Contributor

Closes #12630.

@obrakmann obrakmann added this to the Next Release milestone Jan 29, 2017
@@ -49,6 +49,7 @@ protected enum MenuType { Main, Singleplayer, Extras, MapEditor, SystemInfoPromp
{ "x64", Pair.New("64bit OS", Environment.Is64BitOperatingSystem.ToString()) },
{ "runtime", Pair.New(".NET Runtime", Platform.RuntimeVersion) },
{ "gl", Pair.New("OpenGL Version", Game.Renderer.GLVersion) },
{ "windowsize", Pair.New("Window Size", "{0}x{1}".F(Game.Renderer.Resolution.Width.ToString(), Game.Renderer.Resolution.Height.ToString())) },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .ToStrings() shouldn't be needed here?

Copy link
Contributor Author

@obrakmann obrakmann Jan 29, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My MD says Width and Height are ints.

Edit: Oh, you mean, it gets called automatically. Right. Will fix.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, but this is a format string so there shouldn't be a problem there.

Uri.EscapeUriString(Game.Mods["modchooser"].Metadata.Version),
Uri.EscapeUriString(Game.ModData.Manifest.Id),
Uri.EscapeUriString(Game.ModData.Manifest.Metadata.Version));
Uri.EscapeUriString(Game.ModData.Manifest.Metadata.Version),
Uri.EscapeUriString(SystemInformationVersion.ToString()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might be better in the if case below. Not much use knowing this if there isn't any data to go with it.

@pchote
Copy link
Member

pchote commented Jan 30, 2017

I feel bad for scope creeping this again, bug can you please include 029e0c3 here and add a column for it in OpenRA/OpenRAMasterServer#38? I should have thought about this when filing #12630.

@pchote
Copy link
Member

pchote commented Feb 11, 2017

I've rebased this and added two new commits for the window scale + tweaking 64 bit label. Hope you don't mind, but I wanted to unstick this.

@reaperrr
Copy link
Contributor

👍

@reaperrr reaperrr merged commit cdf2a1e into OpenRA:bleed Feb 12, 2017
@reaperrr
Copy link
Contributor

changelog

@obrakmann obrakmann deleted the more-sysinfo-stuff branch March 18, 2017 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants