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
Gymnasiast
be90806c80
Convert settings for the bottom toolbar to the new window types
2026-09-12 13:21:11 +02:00
Gymnasiast
345f61452e
Move JSON colour conversion to its own function
2026-09-12 13:20:13 +02:00
Sjoerd de Bruin
e93fa5342a
Close #21400 : draw staff patrol area selector on the water ( #27067 )
2026-09-12 08:40:52 +00:00
Michael Steenbeek
829dd93bd0
Fix #21320 : RCT1 allows more cars per train on some rides than OpenRCT2 ( #27106 )
2026-09-12 10:24:24 +02:00
Hielke Morsink
255928221c
Merge pull request #27104 from Gymnasiast/fix/27093
...
Fix #27093 : Pause and fast forward buttons are shown in multiplayer
2026-09-12 01:14:47 +02:00
Michael Steenbeek
3fb24b8963
Fix references to LoadPalette in ScObjectManager.cpp ( #27105 )
...
A refactor and #27056 crossed each other, leading to a situation where the PR passes CIs only to cause problems upon merge.
2026-09-11 23:21:58 +02:00
Gymnasiast
ced6f35f9f
Move changelog entry for #27056 to correct place
...
[ci skip]
2026-09-11 22:11:26 +02:00
Max
7164b12fd6
Fix #27056 : Loading water palettes from plugin would not update the palette correctly ( #27057 )
2026-09-11 20:57:02 +02:00
Gymnasiast
c25762467a
Fix #27093 : Pause and fast forward buttons are shown in multiplayer
2026-09-11 20:05:27 +02:00
OpenRCT2 git bot
bb11851664
Merge Localisation/master into OpenRCT2/develop
2026-09-10 04:05:28 +00:00
Aaron van Geffen
bcf80e292e
Fix 'update available' widget position ( #27091 )
2026-09-08 07:22:05 +00:00
Harry Hopkinson
092783cc11
Rename Location.hpp members to camelCase ( #27085 )
2026-09-07 22:58:24 +02:00
Sjoerd de Bruin
b8a5e2431c
Fix #26754 : Guard stale hover widget index when switching window pages ( #27086 )
2026-09-07 17:51:20 -03:00
Michael Steenbeek
c3a2fe508f
Move screen and line functions out of Drawing.{cpp,h} ( #27079 )
...
* Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h}
* Move line drawing stuff into Line.{cpp.h}
* Move ImageId::GetCatalogue() out of Drawing.cpp
* Move GfxFilterPixel to Rectangle.cpp
2026-09-07 21:41:30 +02:00
Gymnasiast
fcdf61e009
Move GfxFilterPixel to Rectangle.cpp
2026-09-06 20:03:24 +02:00
Gymnasiast
96ba41b5e6
Move ImageId::GetCatalogue() out of Drawing.cpp
2026-09-06 19:58:11 +02:00
Gymnasiast
c90ca119eb
Move line drawing stuff into Line.{cpp.h}
2026-09-06 19:50:48 +02:00
Gymnasiast
83cbac90ec
Move stuff that affects the whole screen/viewport out of Drawing.{cpp,h}
2026-09-06 19:40:56 +02:00
Michael Steenbeek
ef7707a9df
Merge pull request #27073 from Gymnasiast/refactor/palette-stuff-2
...
Move game palette-related stuff into Palette.{cpp.h}
2026-09-06 18:55:55 +02:00
Gymnasiast
5491820d02
Move game palette-related stuff into Palette.{cpp.h}
2026-09-06 18:46:07 +02:00
Gymnasiast
49eeb35261
Rename ColourPalette.h to PaletteType.h
2026-09-06 18:45:51 +02:00
Gymnasiast
b0b81afcfa
Create function to get active water type
2026-09-06 18:44:21 +02:00
Harry Hopkinson
97b91941eb
Rename RideStation struct members in Ride.h ( #27072 )
2026-09-06 17:43:24 +02:00
Michael Steenbeek
1cee317188
Fix #24457 : Yellow is always rendered as third remap in Ride window ( #27063 )
2026-09-06 15:13:08 +00:00
Gymnasiast
e70f51a68e
Add changelog entry for #27052
...
[ci skip]
2026-09-06 14:03:24 +02:00