OpenRCT2 git bot
e43859636a
Merge Localisation/master into OpenRCT2/develop
2024-08-03 04:02:00 +00:00
tmatale
45d3105508
Fix #22292 : Progress bars displayed incorrectly if multiple windows are open
2024-08-02 22:41:40 +02:00
Michael Steenbeek
84d5e80634
Update objects to v1.4.7
2024-08-02 22:25:45 +02:00
Basssiiie
e2641668a4
Fix off-by-one pixel issue in active widget width and height setters
2024-08-02 19:16:22 +00:00
Aaron van Geffen
b1e2ca94c7
Fix clear scenery window closing (again) ( #22456 )
...
* Move ClearSceneryToolIsActive into ClearScenery window
* Actually apply/paint map selection in clear scenery tool
* LandRightsWindow: fix invalidation
2024-08-03 02:17:21 +10:00
Duncan
a07b56a655
Move Viewport functions into Ui ( #22454 )
...
* Move viewport functions into ui
* Move footpath function to ui
* Don't include viewport in footpath.h
* Include missing includes
2024-08-02 06:01:31 +01:00
OpenRCT2 git bot
f109ed2bc0
Merge Localisation/master into OpenRCT2/develop
2024-08-02 04:02:11 +00:00
Matt
29006b35e9
Update changelog for #22449 ( #22452 )
2024-08-01 23:41:33 +02:00
Matt
5b73d2ea04
Merge pull request #22437 from ZehMatt/file-index-perf
...
Improve performance on file indexing, fix progress bar flickering bug, refactors
2024-08-02 00:07:03 +03:00
ζeh Matt
9ddd47598d
Update changelog.txt
2024-08-01 23:48:54 +03:00
ζeh Matt
fed107b008
Make forceRedraw implicit when we are on the main thread
2024-08-01 23:48:54 +03:00
ζeh Matt
348df5a986
Clear the screen with color in the drawing engine and not each tick
2024-08-01 23:48:54 +03:00
ζeh Matt
3e9a7bda83
Refactor file indexing, this now properly uses all CPU power
2024-08-01 23:48:54 +03:00
Matt
da6fb7872a
Improve the performance of sawyer chunk decoding ( #22449 )
2024-08-01 22:39:17 +02:00
Aaron van Geffen
65bf7753a1
Revert "Fix renderer creation for HW display engine ( #22445 )"
...
This reverts commit b1e14c676d .
2024-08-01 22:37:03 +02:00
Duncan
144fa13a84
Move more Ui functions to Ui library ( #22444 )
...
* Move various methods into the ui library
* Move various zoom functions to ui
2024-08-01 19:09:06 +00:00
Michał Janiszewski
b1e14c676d
Fix renderer creation for HW display engine ( #22445 )
...
SDL requires a renderer to be created in an empty window, i.e. one
without any other renderer nor surface. Leaving the window with earlier
surface from another engine (e.g. when switching from SW to SW+HWD)
caused no renderer to be created (_sdlRenderer set to nullptr) and
setting up a bomb to explode next time we try to render a frame.
I think this can also get triggered when resizing/switching the focus of
a window.
While SDL already has internal checks for window surface presence in
`SDL_DestroyWindowSurface` _in the SDL version I checked_, I have no
certainty if this is correct for all of them. I added check for window
surface presence to better express the code intent as well.
`SDL_DestroyWindowSurface` was introduced in SDL 2.28
This should take care of most of the `BlitPixel`, `DrawRLESpriteMinify`
issues reported by backtrace.
2024-08-01 19:31:34 +02:00
Aaron van Geffen
b0fbd5e1e5
Clarify Windows toolchain prerequisites ( #22410 )
2024-08-01 17:27:46 +02:00
Matt
27febaacce
Increase network timeout, small refactors ( #22433 )
...
* Refactor consts with kNotion, make static
* Increase the no data timeout to 20 seconds, add constant
* Fix debug builds
* Update changelog.txt
2024-08-01 10:50:50 +02:00
Duncan
73d51431fd
Fix vcxproj file compiling headers ( #22443 )
2024-08-01 09:52:21 +02:00
Aaron van Geffen
dcea499327
Fix clear scenery window closing immediately ( #22442 )
2024-08-01 07:48:16 +00:00
Aaron van Geffen
30e890c256
Merge pull request #22411 from AaronVanGeffen/cleanup-top-toolbar
...
Move tool event functions out of top toolbar
2024-07-31 22:13:53 +02:00
Michael Steenbeek
e5a6cccd5c
Split RTD, track and vehicle drawing
2024-07-31 20:10:55 +00:00
Aaron van Geffen
e782635498
RideConstruction: move virtual floor to UI counterpart ( #22428 )
2024-07-31 22:01:34 +02:00
Aaron van Geffen
706fd8f3f0
Fix #21175 : Some hotkeys don't work when toolbars are hidden
2024-07-31 21:54:10 +02:00
Aaron van Geffen
b09e9fdf56
Move ToggleFootpathWindow into Footpath.cpp
2024-07-31 21:54:10 +02:00
Aaron van Geffen
2508a6020c
Clean up tool events for custom scripts in TopToolbar.cpp
2024-07-31 21:54:10 +02:00
Aaron van Geffen
15d87a6aae
Move many terraform related globals into their window classes
2024-07-31 21:54:09 +02:00
Aaron van Geffen
3a54d1b720
Move clear scenery tool functions from TopToolbar.cpp into ClearScenery
2024-07-31 21:53:35 +02:00
Aaron van Geffen
c9915efc11
Move scenery tool functions from TopToolbar.cpp into Scenery.cpp
2024-07-31 21:53:35 +02:00
Aaron van Geffen
bb4a357214
Move water tool functions from TopToolbar.cpp into Water.cpp
2024-07-31 21:53:35 +02:00
Aaron van Geffen
bae80ecfad
Move land tool functions from TopToolBar.cpp into Land.cpp
2024-07-31 21:53:34 +02:00
Aaron van Geffen
8a8057196d
Merge pull request #22429 from AaronVanGeffen/cleanup-legacy
...
Replace some functions from _legacy.cpp with their intents
2024-07-31 20:22:45 +02:00
Aaron van Geffen
d1ca17adef
Remove ScenerySetDefaultPlacementConfiguration from _legacy.cpp
2024-07-31 20:12:23 +02:00
Aaron van Geffen
b0b048f3d5
Remove SceneryInit by using Intent directly instead
2024-07-31 20:12:23 +02:00
Aaron van Geffen
89ccda19ce
Move WindowRideConstructionUpdateActiveElements out of _legacy.cpp
2024-07-31 20:12:23 +02:00
Tomáš Chvojka
5dc782c0ee
Let heavy snow and blizzard increase chance of brakes failure ( #22283 )
2024-07-31 14:13:27 +00:00
Duncan
3393fa36d3
Move Ui window functions into Ui library ( #22426 )
...
* Move scroll widget functions
* Move window move functions
* De-snake
* Move further functions to ui
* Move widget function to widget file
* Move window create to ui
2024-07-31 15:06:19 +01:00
Duncan
681b54dc87
Add Some Items to the OpenRCT2::Ui namespace ( #22423 )
...
* Put widget in the Ui namespace
* Put theme in the Ui namespace
* Put objective in Ui namespace
2024-07-31 05:26:53 +01:00
Aaron van Geffen
bd0dd44c10
Don't assign Toggle Toolbars keyboard shortcut by default ( #22424 )
2024-07-30 21:41:27 +00:00
Michael Steenbeek
42afe22ea8
Merge pull request #22422 from Gymnasiast/refactor/name-more-tunnel-types
...
Name tunnel types 12 to 15
2024-07-30 23:32:45 +02:00
Gymnasiast
141ad4c810
Fix #22101 : Wrong tunnel type on newly added elements
2024-07-30 23:20:24 +02:00
Gymnasiast
b20a2ccfee
Name tunnel types 12 to 15
2024-07-30 22:46:54 +02:00
lewyche
79ceb2d5cb
Fix #22389 : Alpine coaster has wrong tunnel entrance type
2024-07-30 22:33:13 +02:00
OpenRCT2 git bot
f6aa08c315
Merge Localisation/master into OpenRCT2/develop
2024-07-30 04:01:54 +00:00
Aaron van Geffen
67fa13f4ac
Move window shim definitions into Widget.h ( #22412 )
...
* Move window shim definitions into Widget.h
* Remove unnecessary TileInspectorGlobals.h include from Window.h
* Remove Ride.h include from Window.h
2024-07-29 22:31:57 +02:00
OpenRCT2 git bot
e5f897e7c2
Merge Localisation/master into OpenRCT2/develop
2024-07-29 04:01:56 +00:00
Aaron van Geffen
e24a77c920
Merge pull request #22352 from AaronVanGeffen/editor-tabs
...
Group related object types in the object selection window
2024-07-28 22:41:31 +02:00
Aaron van Geffen
021a49fd19
Amend changelog
2024-07-28 22:24:08 +02:00
Aaron van Geffen
6b72aaed0c
Make UtilBitScanForward a header implementation ( #22406 )
2024-07-28 19:43:07 +00:00