1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00
Commit Graph

46 Commits

Author SHA1 Message Date
mix
2abc01cc44 Remove default value for IParkImporter Load func param skipObjectCheck 2025-04-01 23:31:30 +01:00
Gymnasiast
74758c77b6 Rename PATHID and its members 2025-03-25 23:57:36 +01:00
Gymnasiast
c5fff2bb77 Create enum class for FileMode 2025-03-25 22:47:08 +01:00
Gymnasiast
0dfc94799a Rename FILE_TYPE and its members 2025-03-25 22:47:08 +01:00
Gymnasiast
4badffcdb6 Change GameState_t members to lowerCamelCase 2025-03-20 23:05:57 +01:00
Aaron van Geffen
a380413c56 Remove Scenario.h include from many units (#23901)
* Reduce includes/dependencies for Scenario.h

* Remove Scenario.h include from many units
2025-03-01 17:32:32 +01:00
73
a976a43708 Rename network.h to Network.h (#23882) 2025-02-24 10:43:06 +01:00
Aaron van Geffen
bb94ee8bc0 Rename ObjectType enum to follow recent code style (#23810) 2025-02-13 23:07:55 +01:00
Aaron van Geffen
cf448753c1 Move WindowInvalidate and WidgetInvalidate families into WindowManager (#23692)
* Move WindowInvalidate and WidgetInvalidate families into WindowManager

* Use InvalidateWidget shorthand in more places

* Cut back on UiContext includes

* Cut back on Window.h includes

* Remove outdated parameter comments
2025-01-25 13:46:08 +01:00
Michael Steenbeek
b0c99fcb6c Refactor more constants to kConstant notation 2025-01-22 16:16:55 +00:00
Aaron van Geffen
a8773dd805 Move WindowClose family into WindowManager (#23646)
* Replace WindowClose() calls with Close method calls where possible

* Move WindowClose family into WindowManager

* Remove UpdateSceneryGroupIndexes hack
2025-01-19 18:49:18 +01:00
Michael Steenbeek
be9f27e4f9 Mass rename constants (#23656) 2025-01-19 15:59:45 +00:00
Aaron van Geffen
fa06a49302 Update copyright year to 2025 (#23514) 2024-12-31 20:30:04 +01:00
Aaron van Geffen
35e117aca2 Rename String methods to use lowerCamelCase 2024-12-11 22:49:37 +01:00
Aaron van Geffen
3685d1a24b clang-format: change IndentPPDirectives to BeforeHash (#23287) 2024-11-29 12:04:56 +09:00
Michał Janiszewski
41b13197d1 Distribute Privacy policy in all the artifacts 2024-11-23 00:29:45 +01:00
Aaron van Geffen
7b614f2287 ParkInfoCommands: mark typeToName, sourceGameToName constexpr 2024-10-27 12:50:17 +01:00
Gymnasiast
e46f23702d Remove OpenRCT2WriteFullVersionInfo() 2024-10-30 12:17:27 +01:00
Michael Bernardi
01c1b1f06c Replace CommandLine.hpp macros with constant functions and variables. 2024-10-03 11:23:31 +10:00
Michael Bernardi
f110ea14f5 Apply check-code-formatting changes 2024-10-03 10:49:25 +10:00
Aaron van Geffen
05e56517ab Adopt existing namespaces into OpenRCT2 namespace (#22368)
* Put all of TitleSequenceManager into the same namespace

* Move RideConstructionState into the OpenRCT2 namespace

* Adopt existing namespaces into OpenRCT2 namespace

This adds `using namespace OpenRCT2` to compilation units where appropriate,
as a means to get the codebase to compile until these units have been placed
in a namespace of their own.
2024-07-26 09:59:58 +02:00
Andrew
df07d9cb2b Close #19596: Disable replay effects with a startup flag (#22303) 2024-07-25 17:29:01 -03:00
Aaron van Geffen
3b42bbb2f3 Include cstdint and cstddef as needed at unit level 2024-07-09 16:49:47 +02:00
Aaron van Geffen
b5ef2693b0 Remove common.h include from all units 2024-07-09 16:45:19 +02:00
Aaron van Geffen
8cef18cd2f Include cassert as needed at unit level 2024-07-09 16:43:03 +02:00
Aaron van Geffen
a63d86c488 Introduce Config namespace and struct 2024-05-10 12:10:21 +02:00
Aaron van Geffen
ca6f142a97 Remove Config.h include from many places 2024-05-08 22:29:32 +02:00
Michał Janiszewski
7b12667ddb Reduce <algorithm> include (#21947) 2024-05-01 13:47:27 +02:00
Harry-Hopkinson
5ef115941d Rename NETWORK_DEFAULT_PORT to kNetworkDefaultPort 2024-04-26 17:55:23 +01:00
Gymnasiast
fef1a27342 Remove GameState class 2024-04-04 18:12:35 +02:00
Gymnasiast
c232aa9b0c Create import meta object, use single method for JSON parsing 2024-03-30 18:13:03 +01:00
Harry-Hopkinson
56df39dcb4 Replace uint8's with EnumValue
Replace uint8's with EnumValue

Replace uint8's with EnumValue

Revertl arge change

Revert large change

Format
2024-03-04 19:04:18 +00:00
Gymnasiast
8d478e78a5 Refactor FILE_TYPE_S4_CUTOFF to kFileTypeS4Cutoff 2024-02-25 17:06:48 +01:00
Michael Steenbeek
115e7389a9 Move most gScenario* globals to GameState_t 2024-01-24 22:17:32 +01:00
ζeh Matt
9b2a79faf1 Adjust the import/export code to have the game state passed 2024-01-19 16:32:19 +02:00
James103
1d8dc111f1 Replace 2023 with 2024 in copyright headers (#21139)
Replace all instances of the year 2023 with 2024 in all copyright headers
2024-01-01 12:52:28 +01:00
ζeh Matt
3d5e6ea932 Replace Equals with IEquals where appropriate 2023-07-05 23:14:05 +03:00
ζeh Matt
d61ce4e38c Remove BenchGfx 2023-06-30 16:37:11 +03:00
ζeh Matt
edabd97c8a Remove benchmark code from game logic 2023-06-30 16:35:05 +03:00
ζeh Matt
bcb0c069c3 Remove dead code of TestPaint and remove BenchSpriteSort 2023-06-30 16:34:55 +03:00
ζeh Matt
ac583569da Remove Platform::CoreInit 2023-06-27 23:35:11 +03:00
Aaron van Geffen
d425e0a8bb Remove const qualifier from constexpr statements 2023-06-24 11:45:26 +02:00
Michael Steenbeek
58baa85a27 Small path additions cleanup (#20076)
* Split off path addition paint calls

* Replace occurences of “path bit” with “path addition”

* Replace occurences of “footpath item“ with “path addition”
2023-05-09 20:08:25 +01:00
ζeh Matt
5ea09be0f8 Rename some fields in PaintStruct 2023-04-14 03:06:53 +03:00
Gymnasiast
c3e5c83c92 Fix missed occurrence in BenchSpriteSort.cpp 2023-04-11 22:59:03 +01:00
Gymnasiast
fd4c9a7b9d Close #19176, close #19273: Consistent “CmdLine” naming 2023-02-23 00:03:30 +01:00