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

marvin 'toggle desktop' #471

Merged
merged 1 commit into from
Jun 25, 2023
Merged

marvin 'toggle desktop' #471

merged 1 commit into from
Jun 25, 2023

Conversation

Nindaleth
Copy link
Contributor

  • hides the framerate, clock, HP bar, mana bar, oxygen bar from UI

This is something I've noticed in the screenshots - AFAIK all of them contain the HP bar and mana bar and it turns out the code is nicely prepared to hide them when needed. I'm not sure if it's something that should be available through a shortcut, so I've added a new marvin command instead.

@Try
Copy link
Owner

Try commented Jun 23, 2023

Hi, @Nindaleth , and thanks for PR!

There is same command in vanilla: TOGGLE DESKTOP, no need for new name.
And there are also config options in SystemPack.ini:

[INTERFACE]

ShowManaBar=1
; ... mana bar settings: is always invisible (0), is only visible when the hero is holding a spell in his hand (1), is always visible (2), default in the game 1.

ShowSwimBar=1
; ... remaining air bar (for swimming underwater) settings: is always invisible (0), is only visible when underwater (1), is always visible (2), default in the game 1.

HideHealthBar=0
; ... life bar settings: is always visible (0), is always invisible (1), default is 0.

@Nindaleth Nindaleth force-pushed the feature/photomode branch from 8fbc5a3 to 13250e6 Compare June 25, 2023 08:57
@Nindaleth
Copy link
Contributor Author

Nindaleth commented Jun 25, 2023

I've done the easy thing and renamed photo mode to desktop, keeping it part of the Camera class. But I think it would fit more into the Gothic class, is that correct?
I also intend to do the ini option handling in this PR, with precedence default < INI set differently < Marvin toggled to hide.

@Nindaleth Nindaleth changed the title marvin 'toggle photomode' marvin 'toggle desktop' Jun 25, 2023
@Try
Copy link
Owner

Try commented Jun 25, 2023

But I think it would fit more into the Gothic class, is that correct?

Yes

@Try
Copy link
Owner

Try commented Jun 25, 2023

@Nindaleth
Have already drafted release 1.0.2182, to be released early next week. Do you want to to hold it, so we can finish this PR, or merge it later, after release, is fine?

@Nindaleth
Copy link
Contributor Author

Oh a new release, that's great news! I wouldn't want to block release for people who can't compile themselves.

How about I finish the toggle desktop part as soon as I can so that it's in this release? And the INI part can be done in a next PR.

@Nindaleth Nindaleth force-pushed the feature/photomode branch from 13250e6 to 7820bdd Compare June 25, 2023 17:16
@Try
Copy link
Owner

Try commented Jun 25, 2023

How about I finish the toggle desktop part as soon as I can so that it's in this release?

Yep, sounds good. toggle desktop looks finished - should we proceed with merge?

@Nindaleth
Copy link
Contributor Author

Yes please, let's merge 👍

@Try Try merged commit 90c5408 into Try:master Jun 25, 2023
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.

2 participants