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

Visible hordes overmap performance fix #7159

Merged
merged 1 commit into from Apr 10, 2014

Conversation

Projects
None yet
1 participant
@ghost
Copy link

commented Apr 10, 2014

Improved overmap scrolling speed by i) calling overmap_los() only for 'seen' overmap locations, and ii) exiting overmap_los() early if the location is not in the vicinity of the player.

In my testing with these changes, drawing visible hordes now has no perceptable impact to overmap scrolling speeds.

Relates to PR #7086

belenos-
Improved overmap scrolling speed by reducing number of calls to overm…
…ap_los() and by reducing the cost of each call to overmap_los().

Rivet-the-Zombie added a commit that referenced this pull request Apr 10, 2014

Merge pull request #7159 from belenos-/visible_hordes_fix
Visible hordes overmap performance fix

@Rivet-the-Zombie Rivet-the-Zombie merged commit 23ac643 into CleverRaven:master Apr 10, 2014

@ghost ghost deleted the visible_hordes_fix branch Apr 10, 2014

@ghost

This comment has been minimized.

Copy link
Author

commented Apr 10, 2014

Thanks, Rivet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.