ζeh Matt
f708e911e4
Make clang-format happy
2024-01-19 16:32:19 +02:00
ζeh Matt
9b2a79faf1
Adjust the import/export code to have the game state passed
2024-01-19 16:32:19 +02:00
ζeh Matt
a5dde0f8dc
Replace gCurrentTicks with the one in GameState_t
2024-01-19 16:32:19 +02:00
ζeh Matt
4c919f74aa
Start of the new GameState structure
2024-01-19 16:32:15 +02:00
Ota
33523c98c2
Fix #20628 : Stop caret left moving off the input string
2024-01-19 13:48:51 +01:00
Michael Steenbeek
00b5932557
Merge pull request #21202 from Gymnasiast/refactor/track-data
...
Refactor static TrackData and naming
2024-01-19 13:43:39 +01:00
OpenRCT2 git bot
b50f1c91d9
Merge Localisation/master into OpenRCT2/develop
2024-01-19 04:01:49 +00:00
Gymnasiast
9d03fad8b8
Rename TrackSlope to TrackPitch
2024-01-17 23:34:37 +01:00
Gymnasiast
95c1adc813
Rename TrackBank to TrackRoll
2024-01-17 23:34:36 +01:00
Gymnasiast
cffc55e165
Rename fields of TrackDefinition
2024-01-17 23:33:19 +01:00
Gymnasiast
44d547a4bc
Make TrackPitch into an enum class
2024-01-17 23:33:19 +01:00
Gymnasiast
b832eb5f72
Make TrackBank into an enum class
2024-01-17 23:33:19 +01:00
Gymnasiast
d2f5e739aa
Make TrackCurve into an enum class
2024-01-17 23:33:19 +01:00
OpenRCT2 git bot
ece7601532
Merge Localisation/master into OpenRCT2/develop
2024-01-17 04:01:39 +00:00
Matt
4c84215196
Merge pull request #21157 from Basssiiie/fix-plugin-widget-invalidation
...
[Plugin] Fix widgets not redrawing correctly when updating disabled or visibility state.
2024-01-16 21:05:36 +02:00
Matt
9527e9658b
Merge pull request #21204 from Sadret/patch-1
...
Plugin documentation: Added missing field to SmallSceneryElement
2024-01-16 20:59:47 +02:00
Basssiiie
cc7c528885
Fix widgets not redrawing correctly when updating disabled/visible state
2024-01-16 14:05:21 +00:00
Basssiiie
5221e8ee9f
Extract plugin widget validation logic to separate function
2024-01-16 14:04:14 +00:00
OpenRCT2 git bot
717682a21f
Merge Localisation/master into OpenRCT2/develop
2024-01-16 04:01:40 +00:00
Severin Paul Höfer
15e0402c63
Fix #20255 : Images not freed in Track Designs Manager ( #21205 )
...
* Add missing deallocation in track manager
* Update changelog.txt
2024-01-15 21:38:46 -03:00
Matt
04e8a25c44
Merge pull request #21165 from bencsikandrei/refactor/simplify-linux-get-install-path
...
Refactor GetInstallPath for linux
2024-01-15 22:51:20 +02:00
Stephan Spengler
e8a7bc43b3
Plugin documentation: Added missing field to SmallSceneryElement
2024-01-15 12:42:40 +01:00
Max
7a9e8a5e44
Fix: setting brake/booster speeds via plug-in does not work
2024-01-15 08:28:21 +01:00
Severin Paul Höfer
62d0fd76e0
Fix #20616 : Confirmation button in track designer's quit prompt has the wrong text
...
Wrapped the logic for determining the text to be displayed on title
and buttons of the save prompt in an if condition, so it's not run for
the pure quit prompt.
2024-01-15 08:26:58 +01:00
OpenRCT2 git bot
739dd712d5
Merge Localisation/master into OpenRCT2/develop
2024-01-13 04:01:44 +00:00
Matt
35b19cade1
Merge pull request #21188 from ZehMatt/fix-21171
...
Fix #21171 : Crash creating entities with no slots available
2024-01-13 01:17:50 +02:00
ζeh Matt
d202f0044d
Update changelog.txt
2024-01-12 17:56:27 +02:00
ζeh Matt
7d3c273594
Fix #21171 : Crash creating entities with no slots available
2024-01-12 17:56:23 +02:00
ζeh Matt
3dc2a25121
Fix overflow calculating maximum free slots for misc entities
2024-01-12 17:48:39 +02:00
Michał Janiszewski
7d8f13a97f
Add changelog entry for 20951 ( #21186 )
2024-01-12 08:48:35 -03:00
MichaelJBerk
15fcaffc91
Activate OpenRCT2 window after using native file dialog on macOS ( #20951 )
2024-01-12 12:01:57 +01:00
Michael Steenbeek
0e5c82e2d4
Close #18632 : Display land ownership on the water ( #21150 )
...
Co-authored-by: pfroud <pfroud@users.noreply.github.com>
2024-01-12 07:14:11 +00:00
Michael Steenbeek
3023784bbf
Merge pull request #21164 from Gymnasiast/refactor/td-entrance-elements
...
Import maze entrances in the same way as regular ones
2024-01-12 08:10:00 +01:00
Matt
cde2a43d32
Merge pull request #21181 from ZehMatt/paint-surface-copy
...
Remove obsolete copy of TileDescriptor, refactor code slightly
2024-01-12 02:52:57 +02:00
Gymnasiast
5593eca03d
Import maze entrances in the same way as regular ones
2024-01-11 22:49:40 +01:00
Gymnasiast
a6c0c7dd79
Move TD6 track flags to RCT12.h
2024-01-11 22:26:06 +01:00
HtotheTML
50cf1aed67
Fix Inca Lost City’s scenario description
...
The scenario Inca Lost City from the Wacky Worlds expansion states that there are height restrictions. Since there aren't, I've removed the corresponding text.
2024-01-11 21:17:58 +00:00
ζeh Matt
e12eaa48d4
Remove obsolete copy of TileDescriptor, refactor code slightly
2024-01-11 20:51:58 +02:00
Matt
ce0cc9fc84
Merge pull request #21162 from ZehMatt/fix-intervals
...
Fix #21145 , #21158 : Keep handles for intervals stable and resolve crash
2024-01-11 20:30:30 +02:00
ζeh Matt
6eea65fac7
Make the compiler happy
2024-01-11 19:45:07 +02:00
ζeh Matt
88a0e4b8d4
Apply review suggestions, remove redundant comment
2024-01-11 17:34:32 +02:00
Michael Steenbeek
f4956f5cdb
Merge pull request #21109 from Gymnasiast/feature/wider-construction-window
...
Allow for building roller coasters with all 4 curve types
2024-01-11 11:14:46 +01:00
OpenRCT2 git bot
872b28c8d8
Merge Localisation/master into OpenRCT2/develop
2024-01-07 04:01:46 +00:00
Andrei BENCSIK
03ddac9c7f
Refactor GetInstallPath for linux
...
simplify the Platform::GetInstallPath (linux) by removing unnecessary
vector, removing unused #ifdef path and using string_views where
appropriate. no vector was actually needed as the prefixes are fixed
(same as the SearchLocations) - using a plain array avoids an
unnecessary allocation (actually a couple as the old code was using
push_back without reserve).
how it was tested?
run the game, check it finds path OK - PASS
run in the debugger, actually loop through OK - PASS
2024-01-07 00:20:05 +02:00
Matt
c137d20a0b
Merge pull request #21163 from fidwell/plugin-api-SmallSceneryPlaceArgs
...
Plugin documentation: Added missing required field to SmallSceneryPlaceArgs
2024-01-06 20:02:45 +02:00
Andrew
2768716238
Added missing required field to SmallSceneryPlaceArgs
2024-01-06 11:28:00 -05:00
Michael Steenbeek
adadaafdb0
Check station flags instead of hardcoded legacy IDs
...
PR #20483 introduced a check for covered stations, but incorrectly checked the RCT2 IDs.
This commit replaces this check with a proper flag check, which will work for any station style, including custom ones.
2024-01-06 14:46:17 +01:00
Michael Steenbeek
ba585f4474
Merge pull request #21085 from Gymnasiast/refactor/td-entrance-elements-2
...
TrackDesign: Refactor entrances and constants
2024-01-06 11:43:26 +01:00
ζeh Matt
c7a716e050
Update changelog.txt
2024-01-06 10:42:17 +02:00
ζeh Matt
8bcd409fb0
Fix #21145 , #21158 : Keep handles for intervals stable and resolve crash
2024-01-06 10:42:17 +02:00