Repository navigation
City screen: the camera holds (no drag, wheel, arrows or edge), as the original's - #155
Open
MortenLyhr wants to merge 2 commits into
Open
MortenLyhr wants to merge 2 commits into
MortenLyhr wants to merge 2 commits into
Conversation
…e original's In the original's city screen the camera stays on the city: a left or right drag, the wheel, the arrow keys and the mouse at the window's edge do not move it (measured in Wine). A left drag there is a click where it was pressed (its plot is worked or let go); Left and Right are the game's keys (previous and next city). OpenCiv4 panned with a left drag, zoomed with the wheel, turned with Ctrl and the right button, and scrolled with the arrows, the edge and a gamepad, so the city slid off centre under the panels. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
On the city screen the camera still moves: the gamepad stick's plot-step path sets |
…mera too The left stick's plot steps set camera.target themselves, outside the pan that the city screen already holds, and the middle button started a turn without looking at the city screen. Both now leave the camera alone there, as the arrows, the wheel and the left and right drags do (review on bssth#155). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Thanks, both fixed in 1d5d102:
The branch still merges into master without a conflict, so I didn't rebase. ctest passes and the 100-turn checksum is unchanged ( 🤖 Generated with Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In the original's city screen the camera stays on the city (checked in Wine, BtS 3.19):
Now, while the city screen is up, OpenCiv4 does not pan on a left drag, turn the view on a right drag, zoom with the wheel (or a gamepad's triggers), or scroll with the arrows, W A S D, the window's edge or a gamepad's stick. A left drag is taken as a click where the button went down, as the original's. The keys still reach the game, so Left and Right still change city.
Checks
--turns 100 --map Fractal --size STANDARD --seed 7) equal master's on all 100 turns (D7D43800): input only.🤖 Generated with Claude Code