1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00
Commit Graph

26117 Commits

Author SHA1 Message Date
Michael Steenbeek
575cd756b3 Merge pull request #21930 from AaronVanGeffen/move-palette
Move remap palette internally
2024-04-29 22:55:15 +02:00
Aaron van Geffen
95239d75c9 Move UpdatePaletteEffects to Drawing.cpp 2024-04-29 18:14:09 +02:00
Aaron van Geffen
66cb4a1d81 Mark GlassPaletteIds static constexpr 2024-04-29 18:05:25 +02:00
Aaron van Geffen
25faa361ad Rename to secondaryRemapPalette, tertiaryRemapPalette 2024-04-29 18:04:17 +02:00
Aaron van Geffen
dcc1a0627d Move gPeepPalette, gOtherPalette to Drawing.Sprite.cpp 2024-04-29 18:01:39 +02:00
Michael Steenbeek
4de4f4a985 Merge pull request #21683 from duncanspumpkin/uiMove
Move a number of ui only updates into UiContext tick
2024-04-29 14:54:07 +02:00
duncanspumpkin
f6c34ddd59 Simplify map flashing flags and move into map 2024-04-29 14:10:53 +02:00
duncanspumpkin
4810a72232 Move a number of ui only updates into UiContext tick 2024-04-29 14:10:52 +02:00
Michael Steenbeek
5470a49382 Merge pull request #21925 from Gymnasiast/fix/10701
Fix two error messages when placing wall
2024-04-28 23:06:39 +02:00
Gymnasiast
de0ca4ded4 No reason specified when placing door off edge of map 2024-04-28 22:53:01 +02:00
Gymnasiast
6335906d03 Fix #10701: No explanation when placing door over unsuitable track 2024-04-28 22:53:01 +02:00
Michael Steenbeek
c02c7925c3 Close #21728: Apply "Fix all rides" even if mechanic is already working
Added checks for mechanic fixing plus handles inspecting and calling.
2024-04-28 22:20:19 +02:00
JDCustard
fe6da02718 Close #21728: Apply "Fix all rides" even if mechanic is already working
Added checks for mechanic fixing plus handles inspecting and calling.
2024-04-28 22:07:07 +02:00
Michael Steenbeek
21001be23d Merge pull request #21922 from AaronVanGeffen/peep-refactor
Peep: split off UpdateWalkingAction, ThrowUp from UpdateAction
2024-04-28 21:45:24 +02:00
Aaron van Geffen
2d74287b4b Guard for nullptr 2024-04-28 20:03:16 +02: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
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
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