Rik Smeets
d92f8c125d
Fix #15909 : Prevent text overflow in 'Select ride design' windows
...
For designs with a long description, a line of text in the 'Select ride design' window could overflow onto the next window element. The window height was just one newline too small. Therefore, increased the window size with a single line.
2022-03-02 20:08:00 +01:00
Rik Smeets
2a7209bee5
Fix #16140 : Disable 'follow this' in 'overall' and 'station' view
2022-03-02 20:05:53 +01:00
Duncan
66b8f283eb
Rename flag and reorg ghost remove flags ( #16734 )
2022-02-27 22:39:55 +00:00
Rik Smeets
1f83fa417c
Update guest list defaults
2022-02-27 18:46:08 +01:00
Duncan
d606c9730a
Cleanup Scenery Window for second scroll area ( #16557 )
...
* Refactor scenery window to check scroll index
* Move into seperate function calls
* Pass offset to tab draw (so it can be used by scrolls)
2022-02-27 12:26:26 -03:00
Hielke Morsink
ba85cf4873
Close #15896 : Refactor out the ZoomLevel operators
2022-02-26 23:14:59 +01:00
ζeh Matt
f27d0ff3b0
Merge pull request #16359 from ZehMatt/refactor/didpasssurface
...
Refactor out DidPassSurface
2022-02-26 12:43:40 -08:00
Sam Atkins
fb4c9359d8
Close #13779 : Refactor Map window into a class ( #16559 )
...
* Close #13779 : Refactor Map window into a class
* Fix invalid memory read from temporary strings
2022-02-26 20:23:27 +00:00
Hielke Morsink
fea9254368
Remove unused GetEngine functions ( #16722 )
2022-02-26 07:27:48 -03:00
frutiemax
cb16511d48
Use smart pointers in OpenGLDrawingEngine.cpp
...
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com >
2022-02-26 09:49:41 +01:00
Charles Machalow
59c4beb3dd
Fix bug where file extension can get added twice ( #16720 )
2022-02-26 06:25:06 +00:00
Charles Machalow
6406b18c98
Fix #16715 . The first time we save a park, default to the park's name… ( #16719 )
...
* Fix #16715 . Default to the park's name as the file name
* Mark Combine as nodiscard
The return value must be used for the function to do something
2022-02-26 06:23:30 +00:00
Ted John
18c4a4ea04
Merge pull request #16685 from IntelOrca/plugin/park-storage
...
Add Plugin API for storing data in .park files
2022-02-25 14:23:10 +00:00
spacek531
466c8b4b89
rename vehicle position variables ( #15370 )
2022-02-25 07:21:45 +00:00
Ted John
ed8b7cb6ee
Change API for interacting with park storage
2022-02-24 23:55:23 +00:00
Ted John
1182ff5f19
Add Plugin API for storing data in .park files
2022-02-24 23:55:23 +00:00
ζeh Matt
d9bdc1441f
Rename IsPassedSurface to PassedSurface and cleanup values
2022-02-25 01:21:36 +02:00
ζeh Matt
9b6b5220bf
Re-order struct members of PaintSessionCore
2022-02-25 00:34:28 +02:00
ζeh Matt
b5d6abdd22
Refactor out DidPassSurface and rename Unk141E9DB to Flags
2022-02-25 00:34:24 +02:00
Ted John
2ef5265ead
Fix CI for VS 2022 CI images ( #16717 )
2022-02-24 22:32:19 +00:00
GalBr
f44d944b26
Refactor DodgemsCarWouldCollideAt to return optional ( #16695 )
2022-02-24 21:29:11 +00:00
Ted John
501328bc9a
Fix #16712 : [Plugin] Crash when clicking on a list view item
2022-02-24 21:39:11 +01:00
Hielke Morsink
88f4148d01
Merge pull request #16711
2022-02-24 10:24:12 +01:00
Bas
b14c469232
Fix Car.rideObject from overflowing with more than 256 ride types
2022-02-23 21:33:40 +01:00
Ted John
f2117508c4
Fix #15413 : Modifying park rating with plugins desyncs history ( #16672 )
...
Update park rating history before park rating.
2022-02-23 13:07:04 +00:00
Michael Steenbeek
70121eae38
Close #14484 : Make the Heartline Twister ratings less hateful ( #16680 )
...
This raises two parameters: the base excitement value (which is very low, especially since the air-time bonus is limited too) and the bonus value (the novelty of this ride type warrants a bigger value).
It leaves the rest of the poor bonuses as-is, as some of them (like scenery and synchronisation bonuses) might just be there because the track obscures the view.
2022-02-23 11:24:02 +01:00
spacek531
05b80acfa1
Rename VAR_C4 ( #16217 )
2022-02-22 20:14:42 -03:00
ζeh Matt
66b402ccf6
Fix accidentally inverted condition ( #16704 )
2022-02-22 22:08:25 +01:00
OpenRCT2 git bot
d87089259e
Merge Localisation/master into OpenRCT2/develop
2022-02-22 04:09:36 +00:00
spacek531
82378c09c3
Rename VAR_CE and its unions ( #16215 )
2022-02-20 23:20:06 -03:00
Ted John
d93f4bdc1d
Fix #12774 : Plugin: Scripts are not reloaded after new scenario ( #16686 )
2022-02-20 23:14:51 -03:00
OpenRCT2 git bot
88528c76c6
Merge Localisation/master into OpenRCT2/develop
2022-02-20 04:09:25 +00:00
ζeh Matt
045a78930e
Merge pull request #16687 from ZehMatt/fix-16617
...
Fix #16617 : Park format storing/loading temporary paused state
2022-02-19 19:26:30 -08:00
ζeh Matt
f6c466d598
Fix #16617 : Park format storing/loading temporary paused state
2022-02-20 01:22:50 +02:00
Silent
795144662a
Fix #11752 : Track pieces with fractional cost are too cheap to build ( #16477 )
...
Fixes an inconsistency wuth RCT2 where track prices with a fractional part
did not have their price rounded up when building, but did when refunding.
This created an exploit where refunding such a track piece granted the player
0.50€ more than they spent on the piece.
2022-02-19 17:47:13 +00:00
Hielke Morsink
8dce36b974
Merge pull request #16515
2022-02-19 16:17:26 +01:00
OpenRCT2 git bot
7ead70968b
Merge Localisation/master into OpenRCT2/develop
2022-02-19 04:09:15 +00:00
Hielke Morsink
5c5f86ac42
Correct some mistakes
2022-02-18 23:28:21 +02:00
Hielke Morsink
ad0a2a8f96
Remove entrance/exit location functions
2022-02-18 23:28:17 +02:00
Hielke Morsink
2137cea3bb
Reduce use of UnderlyingType
2022-02-18 23:21:38 +02:00
Hielke Morsink
f06645d2f7
Make stations a private std::array and use getters for access
2022-02-18 23:21:35 +02:00
Hielke Morsink
4b73923425
Access properties with full name
2022-02-18 23:11:11 +02:00
Hielke Morsink
01a997cd11
Unname the structs themselves
2022-02-18 23:11:11 +02:00
Hielke Morsink
054f7392a1
Let index underflow for reverse loops
2022-02-18 23:11:11 +02:00
Hielke Morsink
e756c46b44
Name structs in union to fix error
...
Nameless structs inside unions cannot have non-standard types, even if they are trivially constructable and standard aligned. In C++, structs need to be named.
2022-02-18 23:11:10 +02:00
Hielke Morsink
f47c1b9f96
Close #16468 : Use TIdentifier for StationIndex
2022-02-18 23:11:07 +02:00
Sadret
8898d0af56
Close #16251 : Adjust openrct2.d.ts to actual API implementation
2022-02-18 21:59:44 +01:00
Michael Steenbeek
5edc561715
Close #11437 : Migrate old platform methods
2022-02-18 21:57:00 +01:00
Gymnasiast
b424682934
Refine STR_6371
...
[ci skip]
2022-02-18 21:56:00 +01:00
Michael Steenbeek
4c046024a3
Merge pull request #16640 from ZehMatt/refactor/entityid-16469
...
#16469 : Introduce EntityId and refactor everything
2022-02-18 21:29:23 +01:00