Commit Graph
30662 Commits
Author SHA1 Message Date
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
MarcelVos96 1cc42279dc Remove red for negative Gs (#27100) 2026-09-12 16:42:27 +00:00
RayKoopa 6ab43acb35 Add missing PermissionType "drag_path_area" (#27084)
- Also add note to NetworkAction's kActions array about syncing permission names with it.
2026-09-12 16:31:35 +00:00
Michael Steenbeek b5ad1e4110 Merge pull request #27061 from Gymnasiast/fix/1514
Fix #1514: Wrong capitalisation for descriptions in Guest List
2026-09-12 18:22:45 +02:00
Gymnasiast 6e0d62b403 Fix #1514: Wrong capitalisation for descriptions in Guest List 2026-09-12 18:05:51 +02:00
Gymnasiast fe4e93cf0e Split determining peep action and display 2026-09-12 18:03:28 +02:00
Harry Hopkinson fdd84f2612 Refactor ViewportInteractionItems into FlagHolder (#27111) 2026-09-12 18:00:52 +02:00
Harry Hopkinson b1175458bf Refactor CoordsRange.hpp/ScreenCoords.hpp members to camelCase (#27112) 2026-09-12 17:58:50 +02:00
Gymnasiast 242b916767 Fix typo in en-GB 2026-09-12 16:11:49 +02:00
Aaron van Geffen cd728ac481 Merge pull request #26947 from AaronVanGeffen/news-ticker
Move NewsTicker to its own window
2026-09-12 15:57:43 +02:00
Aaron van Geffen 3418b4f8bf Group themes window tab info into one struct (#27026) 2026-09-12 11:56:05 +00:00