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

Increased default overmap search radius #36816

Merged
merged 4 commits into from
Apr 7, 2020

Conversation

Ker-Nes
Copy link
Contributor

@Ker-Nes Ker-Nes commented Jan 8, 2020

Summary

SUMMARY: Interface "Increased overmap search radius"

Purpose of change

As mentioned in #36789 ,an outright map search radius increase to temporarily fit the gap until a better search algorithm is created that can handle the entire map without causing trouble.

Describe the solution

Duplicating the map radius from OMAPX / 2 to OMAPX, for a 4 times larger area. Most computers at the current time should be able to handle this much without too much trouble, although depending on the end results, this might need to get reverted.

Describe alternatives you've considered

Just using a number for the arbitrary default instead of something derived from OMAPX. As an arbitrary radius anyway, there's little reason why OMAPX needs to be the number used, and a number does allow for greater granularity without looking clunky.

Testing

None, but unless I deleted more than I should or if the code decides that OMAPX isn't a number anymore now that it isn't being divided it shouldn't be necessary.

Additional context

None.

To keep the format exactly as it was before, if that was the source of the error.
@Ker-Nes
Copy link
Contributor Author

Ker-Nes commented Jan 9, 2020

Those with weaker computers: What do you think? Do the overmap search currently already takes too long for you?

@ifreund ifreund added [C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc. labels Jan 11, 2020
@Ker-Nes Ker-Nes changed the title Increased default search radius Increased default overmap search radius Jan 12, 2020
@l29ah
Copy link
Contributor

l29ah commented Mar 1, 2020

I'm at i7-8550U laptop and searching the overmap doesn't take an appreciable amount of time (~200ms? probably urxvt's redraw itself is slower).

src/overmap_ui.cpp Outdated Show resolved Hide resolved
@ZhilkinSerg ZhilkinSerg merged commit ced7be1 into CleverRaven:master Apr 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Info / User Interface Game - player communication, menus, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants