Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • openmw openmw
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 845
    • Issues 845
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 40
    • Merge requests 40
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenMWOpenMW
  • openmwopenmw
  • Merge requests
  • !275

Allow Zoom levels on the World Map

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Cédric Mocquillon requested to merge CedricMocquillon/openmw:Allow-Zoom-levels-on-the-World-Map into master Jul 29, 2020
  • Overview 110
  • Commits 9
  • Pipelines 27
  • Changes 11

It's related to the feature request #3616 (closed)

This is a new version with less lines of code, parameters, and files changed. I made small commits tagged [Refactoring] to help the review but I will squash them at the end. These commits are not stricly related to this MR but they help by introducing small reusable methods.

  • center the zoom on the current cursor position
  • the points of interest are in the center of the cell
  • the size of the local map is based on the distance view
  • center the view (on local or global map) when the player is moving
  • auto transition from local to global map when the zoom is too small
  • add a setting for the local map viewing distance
  • add a checkbox in the launcher to active the zoom on maps
  • add grouping markers on global map when dezooming

https://streamable.com/xi66jn

OpenMW-2020-10-19-21-31-25.mp4

Edited Dec 01, 2020 by Cédric Mocquillon
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: Allow-Zoom-levels-on-the-World-Map