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

Separate zoom level for overmap #49776

Merged
merged 1 commit into from Jul 9, 2021
Merged

Separate zoom level for overmap #49776

merged 1 commit into from Jul 9, 2021

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented Jul 9, 2021

Summary

Interface "Separate zoom level for overmap"

Purpose of change

I feel that the overmap looks nicer when zoomed out a bit. This separates the zoom level of the main UI and overmap UI so you can have different zoom levels in the two UIs.

Describe the solution

Store the zoom level of overmap in a separate variable and apply it when opening the overmap.

Testing

Zoom level correctly switched between map and overmap. Tested in non-tiles mode and everything worked fine.

src/game.cpp Show resolved Hide resolved
@KorGgenT KorGgenT added Info / User Interface Game - player communication, menus, etc. SDL: Tiles / Sound Tiles visual interface and sounds. labels Jul 9, 2021
@Night-Pryanik
Copy link
Contributor

Maybe some screenshots or animation of the process?

@Qrox
Copy link
Contributor Author

Qrox commented Jul 9, 2021

zoom

Maybe some screenshots or animation of the process?

Here you are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Info / User Interface Game - player communication, menus, etc. SDL: Tiles / Sound Tiles visual interface and sounds.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants