Commit Graph

26488 Commits

Author SHA1 Message Date
Michael Bernardi
dc018c93d9 No longer invalidate widgets on every draw 2023-08-12 22:00:29 +02:00
Michael Bernardi
d850a535aa Invalidate previous selection when ctrl-clicking something new 2023-08-12 22:00:29 +02:00
Michael Bernardi
a26464b897 Selected TileElement now stored in paint session 2023-08-12 22:00:29 +02:00
Michael Bernardi
b496e001d1 Remove old calls to invalidate now handled by intent 2023-08-12 22:00:29 +02:00
Michael Bernardi
d2b6419055 Add intents to the TileManager UI 2023-08-12 22:00:29 +02:00
Michael Bernardi
774bfe8e62 Fix #20481: Properly deselect items on close 2023-08-12 22:00:29 +02:00
ζeh Matt
97c99df341 Limit text input by TEXT_INPUT_SIZE and not MAX_PATH 2023-08-10 14:45:27 +03:00
ζeh Matt
bdb3743897 Remove duplicate MAX_PATH, previously defined in Platform.h 2023-08-10 14:45:07 +03:00
ζeh Matt
3ff527fb78 Refactor uses of ShortenPath 2023-08-10 14:39:47 +03:00
ζeh Matt
39458a3df3 Refactor ShortenPath 2023-08-10 14:39:38 +03:00
ζeh Matt
67d51c3584 Use u8string for ScenarioIndexEntry Path 2023-08-10 14:39:08 +03:00
Matthias Moninger
ed32fd2567 Merge pull request #20694 from Broxzier/bugfix/17666-corrupted-map-edge
Fix #17666: Map edge glitches when using mountain near it
2023-08-08 21:14:44 +03:00
Hielke Morsink
4a3c2f4fb4 Fix #17666: Map edge glitches when using mountain near it 2023-08-08 18:59:32 +02:00
Hielke Morsink
22a1fe3909 Merge pull request #20692 from Broxzier/refactor/tooltip-tile-elements 2023-08-07 12:54:43 +02:00
Hielke Morsink
33fa50a330 Reduce duped code, fix #20693 wrong info for station shown 2023-08-07 03:16:14 +02:00
Hielke Morsink
77a263fa4e Add braces to one-liners that don't control flow 2023-08-07 00:57:43 +02:00
Hielke Morsink
a49b34a3af Pass tile elements by their type and as const ref 2023-08-07 00:30:48 +02:00
Hielke Morsink
2c8ba76b49 Reduce nesting 2023-08-07 00:14:14 +02:00
Hielke Morsink
9cf01a2aca Reduce repeated calls to tileElement.AsType 2023-08-07 00:11:23 +02:00
Matthias Moninger
2615fb7b88 Merge pull request #20689 from ZehMatt/pathelement-cleanup
Return PathElement instead of TileElement on MapGetFootpathElement
2023-08-06 15:47:19 +03:00
ζeh Matt
375ce5c123 Apply review suggestion 2023-08-06 13:33:31 +03:00
X123M3-256
6119b343e6 Fix missing track data (#20687)
* Fix missing track data

* Increase network version
2023-08-06 10:28:08 +01:00
ζeh Matt
5f515b6a73 Refactor the code that uses MapGetFootpathElement 2023-08-05 18:09:38 +03:00
ζeh Matt
ad2b1959c8 Return PathElement instead of TileElement on MapGetFootpathElement 2023-08-05 17:54:44 +03:00
Matthias Moninger
8f491eb0e4 Merge pull request #20688 from ZehMatt/fix-20684
Fix #20684: Footpath additions getting removed by Miniature railway ghost elements
2023-08-05 17:44:11 +03:00