1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00
Commit Graph

18244 Commits

Author SHA1 Message Date
Hielke Morsink
813618d30b Print message when attempting to set invalid property
Added for the previously track setters, and all surface element properties.
2022-05-08 15:35:34 +02:00
Michał Janiszewski
4084db6ffc Merge pull request #16887 from janisozaur/msvc-arm
MSVC ARM64
2022-05-08 00:33:41 +02:00
Michael Steenbeek
493c97246c Merge pull request #16952 from karst/reorg-objsel
Make "Object Selection" order more coherent
2022-05-08 00:02:12 +02:00
Michał Janiszewski
3bc5c6c563 Introduce MSVC ARM64 platform 2022-05-07 23:48:27 +02:00
Michał Janiszewski
f3a24dbfef Only allow breakpad to be used on x86-like targets 2022-05-07 23:48:26 +02:00
Gymnasiast
0708b82430 Remove unnecessary code, check bounds and restore newline 2022-05-07 23:39:59 +02:00
Sebastian Flinck Lindström
8fe124b1dd Close #13966: Sort Music Style dropdown by name 2022-05-07 20:51:51 +00:00
Hielke Morsink
4b081a8937 Fix: Crash when plug-in attempt to set invalid property 2022-05-07 20:33:52 +02:00
Michael Steenbeek
29d123b79d Minor code refactor aimed at optimization code (#17055)
* Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors

* Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen

* Fix: Main thread can reallocate data of worker threads

Co-authored-by: Hielke Morsink <hielke.morsink@gmail.com>
2022-05-07 20:18:09 +02:00
Karst
cfa18bd113 Change Object Selection order
Might take a little bit for people to get used to. But it's a lot more coherent and makes more sense.
2022-05-07 19:55:58 +02:00
Hielke Morsink
75330bb057 Fix: Main thread can reallocate data of worker threads 2022-05-07 19:44:20 +02:00
germanaizek
958bfbc08a Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen 2022-05-07 16:05:39 +02:00
germanaizek
0045aed7f9 Add const ref, remove excess .c_str(), push_* -> emplace_* and rewrite constructors 2022-05-07 16:05:38 +02:00
Hielke Morsink
5f2bde9375 Show Tile Inspector hint when nothing is selected 2022-05-07 13:42:24 +00:00
hobyr
4035139f31 Fix #17104: Changing map size does not invalidate park size 2022-05-07 13:41:15 +00:00
Duncan
2b19b14d34 Revert "Fix #17068: Compiling on armel or mipsel requires -latomic flag (#17146)" (#17168)
This reverts commit 1699409392.
2022-05-07 09:14:43 +02:00
Duncan
d09140aaed Minor Paint refactor (#17144)
* Tidy up masked paint code

Its only used by surface elements and only then by attached ps's so no need to support it in the normal ps.

* Remove unneeded function
2022-05-06 06:46:50 +01:00
Íkorni
cdc1a912d3 Refactor window to class: Finances (#16149)
* Convert Finances window to new window system

* Fix shadowed variable names

* Fix issues with code, rebase merge
2022-05-05 07:31:26 +01:00
Mathias Gibbens
1699409392 Fix #17068: Compiling on armel or mipsel requires -latomic flag (#17146)
Co-authored-by: Mathias Gibbens <mathias@calenhad.com>
2022-05-05 00:21:36 +02:00
Michał Janiszewski
33d1dad80a Fix tracking of palette intialisation status (#17147) 2022-05-05 00:13:41 +02:00
frutiemax
275e970d69 Add RIDE_TYPE_FLAG_IS_CASH_MACHINE flag to RTD (#17130)
* Add RIDE_TYPE_FLAG_HAS_CASH flag to RTD

* Rename to RIDE_TYPE_FLAG_IS_CASH_MACHINE
2022-05-04 19:37:11 +01:00
frutiemax
c1065db88f Add Classification field to RTD (#17131) 2022-05-03 23:32:00 -03:00
frutiemax
8ab1258af7 Close #15353: Add VerticalFactor and LateralFactor fields to TrackElementDescriptor (#15401)
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
2022-05-03 23:27:16 -03:00
Olivier Wervers
593be7ef28 Add option to show ride vehicles separately 2022-05-03 22:49:47 +02:00
Michael Steenbeek
396f2d0b10 Merge pull request #17122 from Gymnasiast/refactor/cleanup-utf8
Clean up text conversion functions
2022-05-03 18:06:35 +02:00
Hielke Morsink
218030dcd9 Add missing emojis that have inline sprites 2022-05-02 22:07:10 +02:00
Hielke Morsink
9da63961de Use eye glyph instead of checkbox for visibility 2022-05-02 22:07:06 +02:00
Hielke Morsink
162ef18a26 Add eye glyph (👁) 2022-05-02 22:06:11 +02:00
Hielke Morsink
717eae76cc Make vector for title sequence commands flexible 2022-05-02 21:52:25 +02:00
Gymnasiast
b46496308a Remove unnecessary occurrence of clang-format off and reformat 2022-05-01 18:23:17 +02:00
Gymnasiast
aaf83b48c4 Limit scope of encoding_convert_entry to ConversionTables.cpp 2022-05-01 18:23:16 +02:00
Gymnasiast
598675ca8f Merge encoding_convert_rct2_to_unicode() with generic counterpart 2022-05-01 18:22:58 +02:00
Michael Steenbeek
29517adc1c Add missing include to Footpath.cpp 2022-05-01 18:21:53 +02:00
Gymnasiast
62d5a69051 Remove unused encoding_convert_unicode_to_rct2() 2022-05-01 18:09:45 +02:00
Gymnasiast
6fcfd481ab Rename String::Convert() to String::ConvertToUtf8() 2022-05-01 18:09:44 +02:00
spacek531
22c44fac71 Cleanup vehicle drawing code part 4 (#17105)
* Refactor VehiclePaint to take into account NumRotationFrames

* Reduce copied code
2022-04-30 11:26:55 +01:00
MaxMallon
cc519c2520 Fix park size (#16934)
* Fix park size overflow with big parks

* Add a changelog

* Increase the version number
2022-04-30 08:11:10 +01:00
spacek531
5659d43f46 Cleanup vehicle drawing code part 3 (#16968)
* Cleanup vehicle drawing code part 3

* Create functions to convert between rotation amounts

* Add regions to ease code navigation
2022-04-30 07:56:23 +01:00
Olivier Wervers
ef1eabd04e Fix thumbnail box size in object selection window 2022-04-30 01:43:50 +02:00
Hielke Morsink
ad61343a83 Fix implicit floating point cast imprecision error 2022-04-30 00:51:52 +02:00
Hielke Morsink
b1247614b1 Make trees more likely to spawn on sand tiles near water 2022-04-28 21:18:30 +02:00
Hielke Morsink
45ac86062a Reduce octaves and add noise for 'jagged' edges 2022-04-28 20:54:57 +02:00
Hielke Morsink
1b79f505b6 Use fractal noise for more natural tree placement 2022-04-28 20:54:54 +02:00
MaxMallon
e2af1588ff Increase limit of park entry price 2022-04-28 18:57:30 +02:00
Michael Steenbeek
f127a2c8bc Fix: “Remove litter” cheat does not empty litter bins 2022-04-27 23:17:23 +02:00
Hielke Morsink
2954b0a30d Fix #17005: Unable to set patrol area for first staff member in park 2022-04-27 21:11:45 +00:00
Hielke Morsink
35915b0a5d Fix: Writing out of bounds when trains have over 144 cars 2022-04-27 22:02:39 +02:00
Hielke Morsink
1c55e6ee7a Close #17050: Transparency can be toggled directly (#17075) 2022-04-27 13:30:58 +02:00
Ted John
e3ee511a0c Update options UI 2022-04-26 22:18:19 +02:00
Ted John
9f28b66eec Remove title editor 2022-04-26 22:17:38 +02:00