1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00
Commit Graph

22080 Commits

Author SHA1 Message Date
Hielke Morsink
0bff09ad4b Update wall page to use new widget system
Also fixes setting of groupbox title properly and make the list static
2021-11-01 20:30:56 +01:00
Hielke Morsink
5bcbfaed0d Fix incorrect WIDX ID comments 2021-11-01 19:45:43 +01:00
Hielke Morsink
325fb128d7 Update large scenery page to use new widget system 2021-10-31 22:59:26 +01:00
Hielke Morsink
c53532e0b9 Update banner page to use new widget system 2021-10-31 22:57:01 +01:00
Hielke Morsink
a3b76747a8 Start use of constexpr functions for widget placement 2021-10-31 22:44:42 +01:00
Hielke Morsink
0e8c4ec642 Use ScreenCoordsXY/ScreenSize for columns 2021-10-23 11:22:48 +02:00
Hielke Morsink
30506c7a35 Use ScreenCoordsXY and ScreenSize structs for main toolbar 2021-10-23 11:22:43 +02:00
Hielke Morsink
1a947c55d0 Update scroll and spinners 2021-10-22 19:52:17 +02:00
Hielke Morsink
0d6a503e22 Move table header text to widget definitions 2021-10-21 23:41:50 +02:00
Hielke Morsink
41c1f447e5 Refactor define for shared widgets to use MakeWidget
This commis also fixes a few pixel-perfect alignment issues.
2021-10-21 23:34:27 +02:00
Michael Steenbeek
4205b3569b Merge pull request #15619 from ZehMatt/refactor/construction-clearnace
Refactor out construction clearance into a new compilation unit
2021-10-21 16:55:21 +02:00
ζeh Matt
dd2a140d1f Apply review suggestions 2021-10-21 16:44:56 +03:00
OpenRCT2 git bot
14c5f13b18 Merge Localisation/master into OpenRCT2/develop 2021-10-21 04:08:57 +00:00
Duncan
e13307a28d Small cleanup of variables (#13655)
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2021-10-20 23:51:06 -03:00
Sijmen
ebedf83176 Format ServerList.cpp (#15625) 2021-10-20 21:26:01 -03:00
Steve Blythe
b15dc66acb Part of #12098: Use ScreenRect in gfx_filter_rect() (#15603) 2021-10-20 19:43:32 -03:00
ζeh Matt
a40f6a8444 Include required headers 2021-10-20 22:21:54 +03:00
ζeh Matt
7a30169c28 Refactor out construction clearance into a new compilation unit 2021-10-20 22:21:54 +03:00
ζeh Matt
60422960a3 Merge pull request #15616 from ZehMatt/fix-15006
Fix #15006: Prevent allocating empty texture atlases
2021-10-20 10:46:57 -07:00
ζeh Matt
ea0b8840ac Merge pull request #15610 from ZehMatt/refactor/stringvariant
Replace StringVariant with std::variant
2021-10-20 10:46:42 -07:00
Michael Steenbeek
62a9096079 Fix #15466: Crash when opening dropdown with 0 rows 2021-10-20 18:50:21 +02:00
Michael Steenbeek
b762cb26ed Turn some guest functions into methods 2021-10-20 18:33:14 +02:00
ζeh Matt
428eed469a Merge pull request #15611 from ZehMatt/backport/imagetable
NSF Backport ImageTable changes
2021-10-20 09:19:32 -07:00
ζeh Matt
6a219b2481 Fix #15006: Prevent allocating empty texture atlases 2021-10-20 19:02:15 +03:00
Michael Steenbeek
578d8ce247 Fix #15612: Crash in WallCheckObstruction() 2021-10-20 14:15:35 +00:00
ζeh Matt
6f28f3e516 Backport ImageTable changes
Co-authored-by: Ted John <ted@brambles.org>
2021-10-20 16:50:38 +03:00
ζeh Matt
3325898e25 Apply review suggestions 2021-10-20 16:37:32 +03:00
ζeh Matt
4d72c29ca3 Specify underlying type for rct_string_id 2021-10-20 16:35:58 +03:00
ζeh Matt
5bf3513156 Default initialize ErrorTitle and ErrorMessage with STR_NONE 2021-10-20 16:35:58 +03:00
ζeh Matt
7fc49fca39 Replace StringVariant with std::variant 2021-10-20 16:35:58 +03:00
ζeh Matt
27939c2417 Merge pull request #15587 from ZehMatt/refactor/trackdesignaction-result
Refactor result passing of TrackDesignAction
2021-10-20 06:34:23 -07:00
seanmajorpayne
f6cb144f8c Fix #15322: Circus Music is Not Playing (Full Fix) 2021-10-20 13:11:06 +00:00
ζeh Matt
8e06d84a09 Refactor result passing of TrackDesignAction 2021-10-20 16:08:21 +03:00
ζeh Matt
e06f9c3ee7 Refactor result passing of TrackPlaceAction 2021-10-20 14:15:24 +02:00
ζeh Matt
2d78a5efc3 Move GameActionResult into its own unit (#15588) 2021-10-19 17:50:24 -03:00
Hielke Morsink
557d4119df Merge pull request #15599 2021-10-19 22:13:23 +02:00
Hielke Morsink
edde5096db Use correct size for monorail_cycles_track_pieces_flat 2021-10-19 21:54:02 +02:00
Hielke Morsink
9dd20ec619 Improve array formatting
For most of these cases, adding a trailing comma to the array block makes clang-format put each item on a new line, and clang-format exception blocks could be reduced where clang-format does not handle them properly.
2021-10-17 18:21:45 +02:00
Duncan
fe46a2cf09 Fix Custom Currency window (#15596)
* Fix custom currency window exchange rate

This was using the wrong size type for the money

* Change name of string id

This was being used by two windows and should be made generic
2021-10-17 14:56:11 +01:00
Michael Steenbeek
5cb1cee0d8 Fix #15584: Ride income underflows when on-ride photos are making losses 2021-10-17 09:15:13 +02:00
Hielke Morsink
c01aedf32e Merge pull request #15578 2021-10-16 23:28:02 +02:00
Hielke Morsink
aff3b41feb Refactor research status drawing code 2021-10-16 19:32:54 +02:00
ζeh Matt
50cd5dbb75 Merge pull request #15582 from Basssiiie/plugin-fix-litter
Plugin API: Fix being unable to read litter information
2021-10-16 08:10:28 -07:00
Bas
8682a8677e Fix unable to read litter information in plugin api 2021-10-16 15:38:52 +02:00
Michael Steenbeek
c04249f208 Merge pull request #15563 from ZehMatt/backport/trackdesign
Backport TrackDesign changes
2021-10-15 21:31:19 +02:00
Michael Steenbeek
0b6c6bb22a Merge pull request #15490 from Broxzier/bugfix/invalid-clearance-surfaces
Fix: Surface slopes edited by TI have invalid clearance
2021-10-15 19:55:50 +02:00
Michael Steenbeek
7da85c9925 Merge pull request #15581 from Gymnasiast/refactor/research_remove
Make research_remove take const ref
2021-10-15 17:18:25 +02:00
Gymnasiast
eb14c426fd Rename research_remove() to ResearchRemove() 2021-10-15 17:01:04 +02:00
Gymnasiast
5cf4a53b66 Make research_remove take const ref 2021-10-15 16:21:14 +02:00
hjort96
eba2041aaa Close #13791: Refactor window to class Options (#15558)
* Create class OptionsWindow. Moving functions to class.

* Move functions to class OptionsWindow

* Fix coding style

Co-authored-by: hjort96 <jonathan.hjorth96@hotmail.com>
2021-10-15 10:41:30 +01:00