1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-02 11:45:13 +01:00
Commit Graph

29564 Commits

Author SHA1 Message Date
Michael Steenbeek
795cdaa53e Fix #23636: Mismatched entity count in save file (#25731)
This is based on #24552, with two changes:
1. The entity list is copied and used for both the count and the actual writes
2. It no longer asserts if the count mismatches (which is why #24552 was not merged).

Co-authored-by: ZehMatt <ZehMatt@users.noreply.github.com>
2026-01-18 14:18:44 +01:00
Michael Steenbeek
e9bde4dae9 Merge pull request #25844 from Gymnasiast/refactor/json-in-sprite
Allow importing palettes in `sprite build`
2026-01-18 00:13:20 +01:00
Gymnasiast
c254c2e9f8 Improve error messages, add changelog entry 2026-01-17 23:44:37 +01:00
Gymnasiast
e527ef8e26 Allow importing palettes in sprite build 2026-01-17 20:30:36 +01:00
Gymnasiast
9d7a0a167d Move importing JSON palettes to ImageImporter 2026-01-17 20:24:47 +01:00
Michael Steenbeek
e22d3f4605 Merge pull request #25815 from Gymnasiast/refactor/palette-renames
Move ColourMap to its own file
2026-01-17 19:17:15 +01:00
Gymnasiast
6ec4c80e59 Remove commented-out code from Themes.cpp 2026-01-17 18:46:54 +01:00
Gymnasiast
e46d2eba9e Move colour map to its own file 2026-01-17 18:46:54 +01:00
Michael Steenbeek
1ddb38dd07 Merge pull request #25830 from Gymnasiast/refactor/palette-renames-b
Refactor palette member names
2026-01-17 17:46:21 +01:00
Michael Steenbeek
d2969183c5 Merge pull request #25832 from matheusvb3/final-solution
Remove last redundant const qualifiers and integers being used as booleans
2026-01-17 17:05:26 +01:00
matheusvb3
06d7ed1d4e Remove redundant const qualifiers 2026-01-16 19:35:29 -03:00
matheusvb3
f75c5035d5 Refactor maze import 2026-01-16 19:35:28 -03:00
Gymnasiast
bd75214491 Add missing copyright header to ColourPalette.h 2026-01-16 19:30:12 +01:00
Gymnasiast
04a3d02023 Rename members of ColourShadeMap 2026-01-16 19:25:58 +01:00
Gymnasiast
7de4dcd675 Rename PaletteBGRA and its members 2026-01-16 19:25:24 +01:00
Michael Steenbeek
7aa5e8d8c5 Merge pull request #25825 from matheusvb3/code-health
General code health changes
2026-01-16 16:59:18 +01:00
matheusvb3
fbbf142449 Merge iterator variable assignment and definition into one line 2026-01-16 12:46:27 -03:00
matheusvb3
08c59fb094 Simplify vertical tracked ride falling logic 2026-01-16 12:46:27 -03:00
matheusvb3
b53cf66ea2 Bring some variables to inner scope 2026-01-16 12:45:15 -03:00
matheusvb3
71d636e6b1 Merge variable declarations and assignment into one line 2026-01-16 12:43:59 -03:00
matheusvb3
42d69af5b5 Add missing include guards
These were being used in multiple files all throughout the codebase!
2026-01-16 12:43:59 -03:00
matheusvb3
f6cbfb91f8 Remove stray semicolons after declarations 2026-01-16 12:43:59 -03:00
matheusvb3
292bf40b23 Replace for-loops with while-loops 2026-01-16 12:43:58 -03:00
matheusvb3
898f92cfc5 Fix block comment mistake 2026-01-16 12:43:58 -03:00
matheusvb3
3c93314666 Remove redundant control flow statements 2026-01-16 12:43:58 -03:00
matheusvb3
9506ca5f82 Remove stray semicolon 2026-01-16 12:43:57 -03:00
matheusvb3
ae81bf31aa Use nested namespace syntax 2026-01-16 12:43:56 -03:00
matheusvb3
ec46b5f530 Remove redundant void parameter list
This works in C but is redundant in C++
2026-01-16 12:43:55 -03:00
matheusvb3
a08ebdb18e Rename variables in ScObject.hpp (#25827) 2026-01-16 13:27:00 +01:00
matheusvb3
bba937a03d Remove more redundant namespace qualifiers (#25828) 2026-01-16 08:38:20 +01:00
Basssiiie
f5b0ac40ca Add label configuration for plug-ins (#25824) 2026-01-15 19:57:41 +01:00
matheusvb3
2f9f5bc7a1 Remove top-level const qualifiers from function declarations (#25813) 2026-01-15 13:14:28 +01:00
matheusvb3
e039662267 Remove redundant namespace qualifiers (#25821) 2026-01-15 13:10:42 +01:00
matheusvb3
b943cd6a84 Remove redundant const qualifier in constexpr assignments (#25822) 2026-01-15 13:09:35 +01:00
mix
909f04db4e Fix #25167: Type A metal supports draw with cap if heightExtra is positive (#25823) 2026-01-15 13:08:55 +01:00
Michael Steenbeek
839b5ee434 Fix #25745: Crash when a player connection is aborted early (#25811) 2026-01-15 11:37:37 +01:00
matheusvb3
162977a84b Remove redundant namespace qualifiers from miscellaneous files (#25816) 2026-01-14 23:15:07 +01:00
matheusvb3
88e33e7afb Use bool literals instead of constants (#25817) 2026-01-14 23:10:13 +01:00
Aaron van Geffen
db94c4fcd6 Automatically apply basic pull request labels (#25770) 2026-01-13 09:52:34 +01:00
Michael Steenbeek
f1cce66fd6 Untangle metal support repositioning (#25794) 2026-01-13 08:39:02 +01:00
matheusvb3
6c28f56285 Remove redundant namespace qualifiers from Vehicle.cpp (#25801) 2026-01-12 09:37:40 +01:00
mix
3dd71e2040 Fix news window option tab not invalidating (#25799) 2026-01-12 08:17:26 +01:00
Michael Steenbeek
4e502fde42 Refactor FootpathPaintInfo, create Paint.Path.h (#25796) 2026-01-11 20:15:27 +00:00
Michael Steenbeek
50c77a074c Refactor reading BGR values from g1 palette entries (#25778) 2026-01-11 20:01:05 +01:00
Michael Steenbeek
ba3fc759fb Merge pull request #25798 from Gymnasiast/refactor/footpath-related-names-b
Rename footpath related struct members
2026-01-11 19:51:43 +01:00
Gymnasiast
63354de46b Rename members of FootpathSelection 2026-01-11 19:25:52 +01:00
Gymnasiast
09999837d1 Rename members of PathRailingsDescriptor 2026-01-11 19:25:52 +01:00
Gymnasiast
fdab1ceacd Rename members of PathSurfaceDescriptor 2026-01-11 19:25:52 +01:00
Gymnasiast
41eb24dbd7 Rename members of RailingEntrySupportType 2026-01-11 19:25:52 +01:00
Michael Steenbeek
85cc79b31a Move kScrollingModeNone to ScrollingText.h (#25797) 2026-01-11 18:18:53 +00:00