27657 Commits

Author SHA1 Message Date
ζeh Matt
bdcfa5af8f Add a function to invalidate viewports pre-transformed position 2024-03-05 10:25:59 +02:00
ζeh Matt
47d346ee81 Remove unused code 2024-03-05 10:25:57 +02:00
ζeh Matt
462bb33234 Refactor viewport rotation to keep it in sync with the primary viewport 2024-03-05 10:23:31 +02:00
ζeh Matt
d95f14dcda Fix ViewportPosToMapPos using the wrong rotation 2024-03-05 10:23:30 +02:00
ζeh Matt
a33cc1ac86 Fix ScViewport::moveTo not using the right rotation 2024-03-05 10:23:30 +02:00
ζeh Matt
7be082cacc Fix ViewportAdjustForMapHeight not using the correct rotation 2024-03-05 10:23:29 +02:00
ζeh Matt
1a7b873256 Fix ViewportInteractionGetClosestPeep not using the right rotation 2024-03-05 10:23:29 +02:00
ζeh Matt
87dd29f3bc Make GetClosestPeep static 2024-03-05 10:23:29 +02:00
ζeh Matt
afe266e2fe Recalculate the screen position for entities when painting 2024-03-05 10:23:28 +02:00
ζeh Matt
98acdf3743 Use the rotation from the Viewport where applicable 2024-03-05 10:23:28 +02:00
ζeh Matt
2661cf8772 Refactor out all uses of gCurrentRotation, remove gCurrentRotation 2024-03-05 10:23:28 +02:00
ζeh Matt
8864f6cf51 Add ViewportGetMain 2024-03-05 10:23:27 +02:00
ζeh Matt
81499643db Rename unused field to Rotation 2024-03-05 10:23:27 +02:00
ζeh Matt
1a197af715 Make ViewportPaint static, refactor TrackDesign to use ViewportRender 2024-03-05 10:23:23 +02:00
OpenRCT2 git bot
33a5ee2160 Merge Localisation/master into OpenRCT2/develop 2024-03-05 04:02:03 +00:00
Harry-Hopkinson
3247d16ed8 Replace size_t's with EnumValue 2024-03-04 19:21:12 +00: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
Harry Hopkinson
ef9840f29b Replace static_cast with EnumValue 2024-03-04 15:37:20 +00:00
Harry Hopkinson
9748038815 Move gExpenditureTable to GameState_t 2024-03-04 15:24:29 +01:00
Duncan
4b6ba80a46 Move cheats to struct in GameState_t 2024-03-03 22:44:15 +01:00
mrmbernardi
4ccecd6e68 Remove forwarding functions in Window.cpp (#21516) 2024-03-03 18:04:09 +01:00
Jan Kelemen
bc149ca95c Move gHistoricalProfit and gGuestsInParkHistory to GameState_t (#21513)
* Move gGuestsInParkHistory to GameState_t

* Move gHistoricalProfit to GameState_t
2024-03-03 16:05:48 +00:00
Matt
85f0919483 Merge pull request #21510 from jan-kelemen/gCashHistory_to_GameState_t
Move gCashHistory to GameState_t
2024-03-03 11:36:31 +02:00
OpenRCT2 git bot
eaa082bf3e Merge Localisation/master into OpenRCT2/develop 2024-03-03 04:01:58 +00:00
mrmbernardi
a0b18688ec Merge pull request #21460 from mrmbernardi/map-layout
Fix #21289: Map window does not layout properly
2024-03-02 22:52:31 +01:00