Commit Graph

26362 Commits

Author SHA1 Message Date
Harry-Hopkinson d6efe4cd53 Rename edges_4x4 to kEdges4x4 2024-04-28 14:31:29 +00:00
Harry-Hopkinson b9003d6e60 Rename track_map_4x4 to kTrackMap4x4 2024-04-28 14:26:12 +00:00
Harry-Hopkinson 8eebcc5486 Rename edges_3x3 to kEdges3x3 2024-04-28 14:19:19 +00:00
Harry-Hopkinson a3e685bf1f Rename track_map_3x3 to kTrackMap3x3 2024-04-28 14:14:58 +00:00
Harry-Hopkinson 97e9634a61 Rename edges_2x2 to kEdges2x2 2024-04-28 14:08:02 +00:00
Harry-Hopkinson b795d4ba8a Rename track_map_2x2 to kTrackMap2x2 2024-04-28 14:04:26 +00:00
Aaron van Geffen f5f31496db Peep: split off UpdateWalkingAction, ThrowUp from UpdateAction 2024-04-28 15:57:50 +02:00
Aaron van Geffen d35d08e86a Use named constants in Peep::Paint 2024-04-28 14:40:19 +02:00
Harry Hopkinson 9266a6f0d3
Remove duplicate sprite_map in TrackPaint.cpp 2024-04-27 21:13:22 +02:00
Michael Steenbeek 03926c46d0
Update to v1.4.4 objects release 2024-04-27 19:30:39 +02:00
Michael Steenbeek e6207ee1b3
Merge pull request #21888 from AaronVanGeffen/scenes-refactor
Refactor logic into scenes (IntroScene/TitleScene/GameScene)
2024-04-27 14:01:06 +02:00
Aaron van Geffen 56cbc0eb8a Refactor intro into IntroScene 2024-04-26 20:35:16 +02:00
Michael Steenbeek be9f1a2072
Merge pull request #21711 from AaronVanGeffen/peep-data
Refactor peep animation data
2024-04-26 20:06:31 +02:00
Michael Steenbeek 6d0b02e524
Merge pull request #21905 from Harry-Hopkinson/refactor-constant-notation
Refactor constant notation and replace macros with constexpr.
2024-04-26 19:29:29 +02:00
Harry-Hopkinson 74513374d1 Rename MAX_SERVER_DESCRIPTION_LENGTH to kMaxServerDescriptionLength 2024-04-26 17:56:20 +01:00
Harry-Hopkinson 7aed4d18f2 Rename NETWORK_LAN_BROADCAST_MSG to kNetworkLanBroadcastMsg 2024-04-26 17:55:23 +01:00
Harry-Hopkinson 82c31b80d4 Rename NETWORK_LAN_BROADCAST_PORT to kNetworkLanBroadcastPort 2024-04-26 17:55:23 +01:00
Harry-Hopkinson 5ef115941d Rename NETWORK_DEFAULT_PORT to kNetworkDefaultPort 2024-04-26 17:55:23 +01:00
Harry-Hopkinson ef7d7575de Rename PALETTE_TOTAL_OFFSETS to kPaletteTotalOffsets 2024-04-26 17:55:23 +01:00
Harry-Hopkinson 8ce6ba7606 Rename WINDOW_LIMIT_RESERVED to kWindowLimitReserved 2024-04-26 17:55:23 +01:00
Harry-Hopkinson 9e2b45fab3 Rename WINDOW_LIMIT_MAX to kWindowLimitMax 2024-04-26 17:55:23 +01:00
Harry-Hopkinson 343b10c172 Rename WINDOW_LIMIT_MIN to kWindowLimitMin 2024-04-26 17:55:23 +01:00
Michael Steenbeek 7a1b4ce425
Merge pull request #21653 from duncanspumpkin/moveTextInput
Move Text input widget to Ui library
2024-04-26 18:53:43 +02:00
duncanspumpkin 34fa06cd29
Address review comments 2024-04-26 18:27:15 +02:00
duncanspumpkin c8a5af02a5
Fix formatting 2024-04-26 18:27:15 +02:00
duncanspumpkin 788878e7fc
Add missing statics 2024-04-26 18:27:15 +02:00
duncanspumpkin bd3ae5cbb9
Simplify setting existing text 2024-04-26 18:27:14 +02:00
duncanspumpkin 3448926251
Move text input widget code from game lib to ui lib 2024-04-26 18:25:44 +02:00
mrmbernardi f4cebb11df
Speed up TerrainSurfaceObject::GetImageId() 2024-04-26 09:52:19 +02:00
Gustav Burkhardt 5837a33a60
Part of #21421: rename MAX_VIEWPORT_COUNT to kMaxViewportCount 2024-04-26 09:11:19 +02:00
Aaron van Geffen 3cda6e367b Don't use preloader scene when in headless mode to fix replay tests
This splits off the initialisation calls to a new InitialiseRepositories function.

The SetCompletionScene invocation is moved to the Launch method. When the game is running
in headless mode, the preloader is not used. Instead, InitialiseRepositories is called in-thread,
and the transition to the 'completion scene' happens immediately after.
2024-04-25 23:55:52 +02:00
Michael Steenbeek af46ff5f0a
Merge pull request #21855 from Gymnasiast/fix/small-usability
Small usability fixes
2024-04-25 16:25:12 +02:00
Michał Janiszewski 49b28f1757
Prefetch paint struct bounds (#21894)
With restored `benchspritesort` this yields around 5% better results.
2024-04-25 14:14:17 +00:00
Gymnasiast 8beb50da61
Add a separator between “Load Game” and “Save Game” 2024-04-25 15:27:04 +02:00
Gymnasiast a00f478104
Create TopToolbar::InitFileMenu() 2024-04-25 15:27:04 +02:00
Gymnasiast 9e236d1b5a
Fix #19559: Vehicle descriptions spill over into preview 2024-04-25 15:27:04 +02:00
Gymnasiast 4db5d62476
Add methods to move a widget 2024-04-25 14:10:07 +02:00
Gymnasiast 9906a18bc7
Cheats menu: do not autoclose 2024-04-25 14:10:07 +02:00
Michał Janiszewski 0e1e93e898
Use macos-12 runners for macOS jobs (#21896)
See https://github.com/OpenRCT2/OpenRCT2/issues/21895
2024-04-25 13:03:33 +01:00
Aaron van Geffen fe7152fc72 Skip viewport render during preloader
Reset screen to a nice background colour
2024-04-24 23:15:21 +02:00
Aaron van Geffen 9f45d40bae Add localisable progress status messages 2024-04-24 19:40:46 +02:00
Aaron van Geffen 7c4be9ce92 Introduce PreloaderScene for game initialisation
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-24 18:31:00 +02:00
Kaavya Ramachandhran bc06ffce8b
Add myself to contributors.md 2024-04-24 09:08:05 +02:00
Kaavya Ramachandhran 1b4defbae9
Fix #21696: Fullscreen window option not correctly applied on macOS 2024-04-23 23:20:16 +02:00
Aaron van Geffen 255e89ec37 Refactor TitleScreen to TitleScene; introduce GameScene
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-23 21:31:05 +02:00
Aaron van Geffen 49b75e6606 Introduce Scene class and handling
Co-authored-by: ζeh Matt <5415177+ZehMatt@users.noreply.github.com>
2024-04-23 20:42:16 +02:00
Aaron van Geffen ddc386b186
Refactor Context constructor 2024-04-23 19:52:52 +02:00
73 30d314e463
Fix #21829: {POP16}{POP16} in Scenario editor
Remove notation from string
2024-04-23 19:52:11 +02:00
OpenRCT2 git bot 08fdf386a5 Merge Localisation/master into OpenRCT2/develop 2024-04-22 04:01:47 +00:00
Aaron van Geffen 17af7db195 Force sprite update after invoking Staff::SetCostume 2024-04-21 22:54:10 +02:00