Commit Graph
30672 Commits
Author SHA1 Message Date
Sjoerd de Bruin 66b81c502b Fix #18151: Recalculate park and company value when loading a save (#27065) 2026-09-22 21:29:38 +02:00
WisdomK-ROK 5858550eb1 Fix #26998: Crash when generating a Simplex Height Map with a higher width than height 2026-09-22 18:01:41 +00:00
Aaron van Geffen 614f444e28 Rework a few more tile element loops to use TileElementsView (#27160) 2026-09-22 18:55:34 +02:00
RayKoopa 8c46e8e602 Auto-close shops before construction (#27110)
Extends the "Automatically open shops and stalls" option to also automatically close them before beginning construction.
2026-09-22 15:25:07 +00:00
csunday95 18e59822d1 Task #27172: Update sprite exportobject manpage (#27173) 2026-09-22 17:04:26 +02:00
csunday95 eea008603f Refactor TrackDesign game state flags (#27178) 2026-09-22 17:04:06 +02:00
Ryan Brue e99d7d2b4e Add Flatpak Steam paths to RCT2/RCTC detection (#27097)
This will allow users of the Steam Flatpak
(https://flathub.org/en/apps/com.valvesoftware.Steam) to have their
installations auto-detected.
2026-09-21 23:08:21 +02:00
Michael Steenbeek 321a189269 Merge pull request #27175 from Harry-Hopkinson/ShopItems-FlagHolder
Create FlagHolder for ShopItems
2026-09-21 22:59:34 +02:00
Harry Hopkinson 5264d1011e Add FlagHolder intersect() function 2026-09-21 21:20:10 +01:00
Harry Hopkinson 9a0e16d824 Create FlagHolder for ShopItems 2026-09-21 11:11:24 +01:00
OpenRCT2 git bot 8be21d4683 Merge Localisation/master into OpenRCT2/develop 2026-09-21 04:05:48 +00:00
ZeeMaji 58396ac30d Add missing tygrysek90 station object to whitelist (#27171) 2026-09-20 22:24:23 +02:00
Aaron van Geffen bf7695b6e3 Adjust sponsor section (#27167) 2026-09-20 18:48:02 +02:00
Sjoerd de Bruin cc5531f7d8 Fix #12516: Software renderer misplaces sprites past 65,536 pixels (#27164) 2026-09-20 18:04:01 +02:00
Harry Hopkinson 806386cd20 Create FlagHolder for PaintSegments (#27131) 2026-09-20 15:31:50 +02:00
itu-itis24-iyigun24 c5550ef4ae Close #27129: Refactor WATER_FLAGS_* to enum class + FlagHolder (#27141)
Replace the unscoped WATER_FLAGS_ALLOW_DUCKS constant with the
WaterObjectFlag enum class and a WaterObjectFlags FlagHolder, as part
of the ongoing move away from unscoped flag enums. No functional
change is intended.
2026-09-20 15:29:16 +02:00
Sjoerd de Bruin 282218d306 Fix #22298: Crash when a plugin changes unloaded large scenery (#27159) 2026-09-20 13:02:25 +02:00
Richard Fine 31c4877135 Refactor VIEWPORT_FLAG_* into enum class + FlagHolder type (#27135)
Refactor the VIEWPORT_FLAG_* enum values into a proper `enum class ViewportFlag` and accompanying `ViewportFlags` FlagHolder type. Bitwise math has been replaced with `.has()`, `.set()`, `.unset()`, `.flip()`, etc as appropriate.

I also introduced another overload for `FlagHolder.unset()` which takes another `FlagHolder` instance. This was to support the situation in `Viewport.cpp` lines 1260-1267 where we want to pass a large group of flags to both `hasAny()` and `unset()`, ideally without repeating them.
2026-09-20 12:01:51 +02:00
OpenRCT2 git bot 252987e921 Merge Localisation/master into OpenRCT2/develop 2026-09-20 04:05:13 +00:00
Arjan van Dijk 5fe7c12c6f Add missing "guestsEntertained" to Entertainer interface in plugin API (#27153) 2026-09-19 23:55:43 +02:00
Harry Hopkinson cc89ca136a Refactor S6_SAVE_FLAG_* to enum class + FlagHolder (#27156) 2026-09-19 17:26:56 +02:00
Sjoerd de Bruin 9620d2edc4 Fix #15423: Crash when a peep uses an invalid bin (#27158) 2026-09-19 17:25:55 +02:00
Sjoerd de Bruin bb3ae63847 Fix #27136: Guests keep waiting at a level crossing (#27142) 2026-09-19 07:25:20 -03:00
Richard Fine 6fb525e906 Close #27126: Refactor PATH_ADDITION_FLAG_* to enum class + FlagHolder (#27149) 2026-09-18 21:10:26 +02:00
Harry Hopkinson f67271b57b Refactor RAILING_ENTRY_FLAG_* to enum class + FlagHolder (#27154) 2026-09-18 07:58:50 +02:00
OpenRCT2 git bot 5024df12f7 Merge Localisation/master into OpenRCT2/develop 2026-09-18 04:05:33 +00:00
OpenRCT2 git bot a8f6922e11 Merge Localisation/master into OpenRCT2/develop 2026-09-17 04:05:43 +00:00
Piotr Kubaj d1aa48a12f MapChangeSizeAction+EditorStepController: properly guard scripting (#27139)
/usr/bin/powerpc64le-unknown-linux-musl-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.5.5\" -DOPENGL_NO_LINK -DUSE_MMAP -D_FILE_OFFSET_BITS=64 -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -I/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/libopenrct2 -I/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/.. -isystem /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/../thirdparty -isystem /usr/include/SDL2 -isystem /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/../thirdparty -isystem /usr/include/libpng16 -isystem /usr/include/freetype2  -O2 -pipe -mcpu=power9 -fgraphite-identity -floop-nest-optimize -ftrivial-auto-var-init=zero -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-semantic-interposition -fstrict-overflow -fstrict-aliasing  -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -Wno-attributes -DDEBUG=0 -fno-char8_t -Wno-deprecated-declarations -std=gnu++20 -fPIE -Wsuggest-override -Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict -Wmissing-field-initializers -Wlogical-op -Wold-style-cast -Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference -Wsuggest-final-types -Wsuggest-final-methods -Wignored-qualifiers -Wstrict-overflow=1 -D_REENTRANT -MD -MT CMakeFiles/openrct2.dir/src/openrct2-ui/windows/EditorStepController.cpp.o -MF CMakeFiles/openrct2.dir/src/openrct2-ui/windows/EditorStepController.cpp.o.d -o CMakeFiles/openrct2.dir/src/openrct2-ui/windows/EditorStepController.cpp.o -c /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/EditorStepController.cpp
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/EditorStepController.cpp: In member function 'void OpenRCT2::Ui::Windows::EditorStepController::drawButtonCaption(OpenRCT2::Drawing::RenderTarget&)':
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/EditorStepController.cpp:339:28: error: 'STR_EDITOR_STEP_OBJECT_SELECTION' was not declared in this scope
  339 |                 stringId = STR_EDITOR_STEP_OBJECT_SELECTION;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/EditorStepController.cpp:341:28: error: 'STR_EDITOR_STEP_ROLLERCOASTER_DESIGNER' was not declared in this scope; did you mean 'STR_QUIT_ROLLERCOASTER_DESIGNER'?
  341 |                 stringId = STR_EDITOR_STEP_ROLLERCOASTER_DESIGNER;
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            STR_QUIT_ROLLERCOASTER_DESIGNER
ninja: build stopped: subcommand failed.
2026-09-16 19:26:22 +02:00
QwertyChouskie d9b55076f4 [debian/rules] Disable error on another faulty warning (#27150)
Should fix https://github.com/OpenRCT2/OpenRCT2/issues/24509
2026-09-16 17:33:14 +02:00
OpenRCT2 git bot d4c2c10f07 Merge Localisation/master into OpenRCT2/develop 2026-09-16 04:06:00 +00:00
Harry Hopkinson cb105f66dd Refactor BANNER_ENTRY_FLAG_* to enum class + FlagHolder (#27146) 2026-09-15 19:52:38 +02:00
Harry Hopkinson 20b2aad29a Fix #27133: Dropdown and spinner not hidden on creation (#27137) 2026-09-15 17:05:40 +02:00
Harry Hopkinson 955fe5b92a Refactor activeAwardTypes to FlagHolder (#27145) 2026-09-15 17:02:47 +02:00
OpenRCT2 git bot 3097225a71 Merge Localisation/master into OpenRCT2/develop 2026-09-15 04:05:49 +00:00
Michael Steenbeek d4a22a1cbc Fix #20882: ‘Rides with preservation status’ tab does not show all rides (#27123) 2026-09-14 17:08:13 +02:00
Michael Steenbeek 09da785daf Merge pull request #27138 from pkubaj/patch-4
IniReader.hpp: include cstdint
2026-09-14 17:07:49 +02:00
Piotr Kubaj 763603ee68 UiContext.h: add missing cstdint
/usr/bin/powerpc64le-unknown-linux-musl-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.5.5\" -DOPENGL_NO_LINK -DUSE_MMAP -D_FILE_OFFSET_BITS=64 -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -I/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/libopenrct2 -I/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/.. -isystem /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/../thirdparty -isystem /usr/include/SDL2 -isystem /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/../thirdparty -isystem /usr/include/libpng16 -isystem /usr/include/freetype2  -O2 -pipe -mcpu=power9 -fgraphite-identity -floop-nest-optimize -ftrivial-auto-var-init=zero -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-semantic-interposition -fstrict-overflow -fstrict-aliasing  -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -Wno-attributes -DDEBUG=0 -fno-char8_t -Wno-deprecated-declarations -std=gnu++20 -fPIE -Wsuggest-override -Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict -Wmissing-field-initializers -Wlogical-op -Wold-style-cast -Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference -Wsuggest-final-types -Wsuggest-final-methods -Wignored-qualifiers -Wstrict-overflow=1 -D_REENTRANT -MD -MT CMakeFiles/openrct2.dir/src/openrct2-ui/windows/Scenery.cpp.o -MF CMakeFiles/openrct2.dir/src/openrct2-ui/windows/Scenery.cpp.o.d -o CMakeFiles/openrct2.dir/src/openrct2-ui/windows/Scenery.cpp.o -c /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/Scenery.cpp
In file included from /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/windows/Scenery.cpp:11:
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/../openrct2-ui/UiContext.h:41:17: error: 'int32_t' does not name a type
   41 |         virtual int32_t ShowMenuDialog(
      |                 ^~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2-ui/../openrct2-ui/UiContext.h:16:1: note: 'int32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   15 | #include <vector>
  +++ |+#include <cstdint>
   16 |
2026-09-14 14:55:28 +02:00
Piotr Kubaj 6e73162371 IniReader.hpp: include cstdint
/usr/bin/powerpc64le-unknown-linux-musl-g++ -DDOCDIR=\"/usr//usr/share/doc/openrct2-0.5.5\" -DUSE_MMAP -D_FILE_OFFSET_BITS=64 -D__WARN_SUGGEST_FINAL_METHODS__ -D__WARN_SUGGEST_FINAL_TYPES__ -Dlibopenrct2_EXPORTS -I/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/libopenrct2 -isystem /usr/include/freetype2 -isystem /usr/include/libpng16 -isystem /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/../thirdparty  -O2 -pipe -mcpu=power9 -fgraphite-identity -floop-nest-optimize -ftrivial-auto-var-init=zero -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-semantic-interposition -fstrict-overflow -fstrict-aliasing  -Wundef -Wmissing-declarations -Winit-self -Wall -Wextra -Wshadow -Wno-unknown-pragmas -Wno-missing-braces -Wno-comment -Wnonnull -Wno-unused-parameter -Wno-attributes -DDEBUG=0 -fno-char8_t -Wno-deprecated-declarations -std=gnu++20 -fPIC -Wsuggest-override -Wduplicated-cond -Wnon-virtual-dtor -Wduplicated-branches -Wrestrict -Wmissing-field-initializers -Wlogical-op -Wold-style-cast -Wunused-const-variable=1 -Wno-clobbered -Wredundant-decls -Wnull-dereference -Wsuggest-final-types -Wsuggest-final-methods -Wignored-qualifiers -Wstrict-overflow=1 -MD -MT CMakeFiles/libopenrct2.dir/src/openrct2/config/IniReader.cpp.o -MF CMakeFiles/libopenrct2.dir/src/openrct2/config/IniReader.cpp.o.d -o CMakeFiles/libopenrct2.dir/src/openrct2/config/IniReader.cpp.o -c /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp
In file included from /var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp:10:
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.hpp:31:13: error: 'int32_t' does not name a type
   31 |     virtual int32_t GetInt32(const std::string& name, int32_t defaultValue) const = 0;
      |             ^~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.hpp:14:1: note: 'int32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
   13 | #include <memory>
  +++ |+#include <cstdint>
   14 | #include <string>
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.hpp:32:13: error: 'int64_t' does not name a type
   32 |     virtual int64_t GetInt64(const std::string& name, int64_t defaultValue) const = 0;
      |             ^~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.hpp:32:13: note: 'int64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp:141:13: error: 'int32_t IniReader::GetInt32(const std::string&, int32_t) const' marked 'override', but does not override
  141 |     int32_t GetInt32(const std::string& name, int32_t defaultValue) const override
      |             ^~~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp:158:13: error: 'int64_t IniReader::GetInt64(const std::string&, int64_t) const' marked 'override', but does not override
  158 |     int64_t GetInt64(const std::string& name, int64_t defaultValue) const override
      |             ^~~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp:404:13: error: 'int32_t DefaultIniReader::GetInt32(const std::string&, int32_t) const' marked 'override', but does not override
  404 |     int32_t GetInt32([[maybe_unused]] const std::string& name, int32_t defaultValue) const override
      |             ^~~~~~~~
/var/tmp/portage/games-simulation/openrct2-0.5.5/work/OpenRCT2-0.5.5/src/openrct2/config/IniReader.cpp:409:13: error: 'int64_t DefaultIniReader::GetInt64(const std::string&, int64_t) const' marked 'override', but does not override
  409 |     int64_t GetInt64([[maybe_unused]] const std::string& name, int64_t defaultValue) const override
      |             ^~~~~~~~
2026-09-14 14:47:07 +02:00
Harry Hopkinson 15d4b5e933 Remove AddFuncs calls in ScWidget.hpp (#27044)
* Remove AddFuncs calls in ScWidget.hpp

* Reorder Unregister()
2026-09-13 23:34:55 +10:00
Sjoerd de Bruin 75c12dbe7d Fix #27070: Gate polled input on window focus (#27078) 2026-09-13 13:21:11 +00:00
Michael Steenbeek eb7b5feab9 Fix #17409: Game defaults to pounds in Canada (#27120) 2026-09-13 14:23:30 +02:00
Michael Steenbeek a535c9f810 Merge pull request #27119 from Gymnasiast/fix/27113
Fix #27113: Chat button is shown in editor mode
2026-09-13 11:35:15 +02:00
Gymnasiast d8345a4d53 Add #19754 to changelog 2026-09-13 11:24:59 +02:00
Gymnasiast 612b3cb2aa Fix #27113: Chat button is shown in editor mode 2026-09-13 11:24:27 +02:00
OpenRCT2 git bot b6235baa9a Merge Localisation/master into OpenRCT2/develop 2026-09-13 04:06:08 +00:00
Michael Steenbeek 831ea32857 Merge pull request #27109 from Gymnasiast/fix/wrong-number-of-cars-per-train-rct1
Fix: Some rides in RCT1 saves have a wrong number of cars per train
2026-09-13 01:32:20 +02:00
Gymnasiast 0dfc546c8b Fix #21576: RCT1 Wooden wild mouse track designs with 2-car trains are not imported correctly 2026-09-13 01:14:12 +02:00
Gymnasiast 8eb25bb02f Fix: Some rides in RCT1 saves have a wrong number of cars per train 2026-09-13 01:14:12 +02:00
Gymnasiast fdcda7be5d RCT1: create function to get number of additional zero cars 2026-09-13 01:14:12 +02:00
Harry Hopkinson 1e7fdd7ba6 Refactor RideModes into FlagHolder (#27115) 2026-09-13 00:22:11 +02:00