Commit graph

23137 commits

Author SHA1 Message Date
Duncan
b6175bb556
Apply regex for PaintAddIMageAsParentRotated (#16775)
* Apply regex for PaintAddIMageAsParentRotated

* Remove unused function
2022-03-11 13:36:55 +00:00
Ivan Krushkov
eb423a73b7
Close #12793: Excitement/Intensity/Nausea ratings to Ride List view with sorting (#16655) 2022-03-11 11:17:14 +00:00
Silent
5e725913f8
Close #16566: Favour WinNT preprocessor version checks over MinGW (#16677) 2022-03-11 07:59:09 -03:00
Hielke Morsink
49fbc30a97
Merge pull request #16771 2022-03-11 08:55:47 +01:00
Silent
159a76d7ec
Refactor uses of safe_strcat_path 2022-03-10 20:18:17 +01:00
Silent
3773fa4cb0
Refactor uses of path_append_extension 2022-03-10 20:18:17 +01:00
Michael Steenbeek
0f2cf23318
Safely look up widget for drawing 2022-03-10 01:01:59 +01:00
Michael Steenbeek
9b1c915f4d
Merge pull request #16744 from Basssiiie/fix-unlimited-vehicles-defaults
Fix “Disable vehicle limits” cheat giving all new rides 32 trains with 12 cars
2022-03-09 13:03:14 +01:00
Michael Steenbeek
c69ead4ba2
Merge pull request #16763 from Gymnasiast/android-backport
Backport some parts of #16107
2022-03-08 08:54:33 +01:00
OpenRCT2 git bot
1838eaef30 Merge Localisation/master into OpenRCT2/develop 2022-03-08 04:10:51 +00:00
Ted John
b7b8816db7
Add plugin hook for map save 2022-03-07 21:40:48 +01:00
Michał Janiszewski
395e769e26
Add project info to Android CMakeLists.txt 2022-03-07 18:55:16 +01:00
Michał Janiszewski
3d0db60ad9
Remove Google Analytics from Android package 2022-03-07 18:55:16 +01:00
Michael Steenbeek
11ce0e8f8a
Merge pull request #16489 from Gymnasiast/fix/16426
Fix #16426: Empty changelog when installed to non-standard prefix
2022-03-07 18:20:20 +01:00
Teodor Sorescu
354f8bf506
Refactor window to class: TrackDesignPlace (#16669)
* Refactor window to class: TrackDesignPlace (#13811)

* Standardise names

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2022-03-05 15:26:25 +00:00
Bas
078078416b Replace all 'cars_per_flat_ride' 0xFF with 'NoFlatRideCars' 2022-03-04 20:21:15 +01:00
Duncan
d219a99b56
Convert scenery window to class (#16729)
* Convert scenery window to class

Close #13799

* Move static's into class

* Simplify eyedropper setting code
2022-03-04 07:17:20 +00:00
Bas
d239529a73 Fix “Disable vehicle limits” cheat giving all new rides 32 trains 2022-03-03 22:26:33 +01:00
Michael Steenbeek
323138ebd6
Use C++ strings in WindowNewRideListVehiclesFor() 2022-03-03 19:32:34 +00:00
Michael Steenbeek
c334c7a176
Merge pull request #16724 from Gymnasiast/refactor/remove-path_get_filename
Remove four old path functions
2022-03-02 22:25:08 +01:00
Michael Steenbeek
61a18e7d90
Merge pull request #16733 from Broxzier/refactor/use-u8-strings
Use utf8 strings where expected
2022-03-02 22:13:13 +01:00
Michael Steenbeek
5d030da5ae
Fix missed occurrence 2022-03-02 21:48:39 +01:00
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
Gymnasiast
f52c83962e
Use Path::Combine() instead of hardcoded slash 2022-03-02 20:01:04 +01:00
Hielke Morsink
6ba0a3bd49
Use u8 strings when dealing with file paths 2022-03-01 22:12:39 +01:00
Hielke Morsink
55c71b0c74
Properly use utf8 strings where expected 2022-03-01 22:12:39 +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
Gymnasiast
060c430c64
Replace path_get_directory() 2022-02-26 18:26:24 +01:00
Gymnasiast
33edc59883
Replace path_remove_extension() 2022-02-26 18:26:24 +01:00
Gymnasiast
376c79408a
Replace path_set_extension with Path::WithExtension() 2022-02-26 18:26:24 +01:00
Gymnasiast
49b414a40e
Replace calls to path_get_filename() 2022-02-26 17:20:07 +01: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