Repository navigation
s25edit backports from s25client - #37
morganchristiansson wants to merge 7 commits into
Conversation
Flamefire
left a comment
There was a problem hiding this comment.
Thanks for the PR, that definitely improves it!
Some notes inline, a common theme is that any pair of x/y or width/height values should use either Point/PointF or Extent which avoids C&P errors and makes processing easier (single assignment instead of 2, operator support for combining with other Points)
Note: In some places fixed-size variants are used. That is historical and not necessary in almost all cases, so no need to introduce new uses of them unless there is a specific reason for the size requirement.
Thanks again!
67f2175 to
604b117
Compare
|
Maybe I should split this into smaller PRs. I was working on import heightmap as I posted about on Discord, not sure I will submit as PR. And these were some quality of life improvements that felt important. |
|
What's the holdup here? All review comments are resolved. |
life ;-) oh and there is a conflict |
|
Ah ok no worries then. I'm just impatient lol. |
|
In every branch I work on I'm frustrated by the lack of the Fix mouse panning commit that's in this PR. |
|
fc01c45 to
74d768d
Compare
|
I went all in on rebase. Squashed some commits with feedback into original commit, removed the commit that was reverted and extracted. |
|
Also renamed commit "Wrap mouse for large screens" ->"Wrap brush for large screens", as it refers to the icons drawn on vertices not the cursor itself. |
420fbe3 to
9694bea
Compare
|
I rebased this onto current master to resolve the conflicts. The result is here: https://github.com/littleant/s25edit/tree/pr37-rebased Changes compared to your branch:
Everything else is unchanged, and the commits still have morganchristiansson as the author. It builds on Linux and Windows without warnings, and clang-format is clean. To update this PR: @morganchristiansson please update this PR so Flamefire can merge it. I cannot do this myself. I'm already working on improvements and prefer to build on your work to add the zoom-feature for high-dpi displays. Thanks and sorry for being so pushy. |
Allow window resizingsplit to Allow window resizing #46