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

29549 Commits

Author SHA1 Message Date
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
Michael Steenbeek
e4d122d7be Merge pull request #25776 from Gymnasiast/refactor/stuff
Name more Sub[0-9A-F]{6} functions
2026-01-09 22:34:04 +01:00
mrmbernardi
85117e9319 Fix PaletteIndex asserts (#25783) 2026-01-09 14:53:44 +00:00
matheusvb3
507f1dedce Convert ride measurement flags into a FlagHolder (#25782) 2026-01-09 14:20:53 +01:00
matheusvb3
e77f495c65 Remove redundant namespace qualifiers from /paint directory (#25780) 2026-01-09 11:58:41 +00:00
Aaron van Geffen
ed1e2a84b4 Remove Drawing.h include from a few more places (#25779) 2026-01-09 12:54:44 +01:00
matheusvb3
fa46857d47 Remove redundant namespace qualifiers from /actions folder (#25773) 2026-01-09 12:51:31 +01:00
73
5ed53d3610 Rename Vehicle.VirginaReel.cpp to Vehicle.VirginiaReel.cpp (#25781)
Co-authored-by: matheusvb3 <matheusvb3@users.noreply.github.com>
2026-01-09 09:42:56 +01:00
Michael Steenbeek
72c21efc69 Pass GameState ref down to subfunctions in game actions (#25777) 2026-01-08 22:04:07 +01:00
matheusvb3
45873f70e8 Create RideInvalidateFlag FlagHolder (#25722) 2026-01-08 21:21:41 +01:00
mix
429299f672 Include string_view in ObjectManager.h (#25774) 2026-01-08 16:54:58 +01:00
matheusvb3
9166f3e83d Remove redundant static_casts in miscellaneous files (#25772) 2026-01-08 13:34:44 +01:00
Michael Steenbeek
b8a5c97b81 Remove redundant namespace qualifiers from "tests" project (#25771)
* Remove redundant namespace qualifiers from tests project

* Make namespace qualifier explicit
2026-01-08 10:14:04 +01:00
matheusvb3
83d7a3ce9b Make namespace qualifier explicit 2026-01-07 21:04:16 -03:00
matheusvb3
6ce7379d9b Remove redundant namespace qualifiers from tests project 2026-01-07 21:04:15 -03:00
Michael Steenbeek
089566dd79 Merge pull request #25767 from Gymnasiast/refactor/map-shit
Refactor PaletteIndex
2026-01-08 00:23:30 +01:00