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

20257 Commits

Author SHA1 Message Date
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
Kaavya Ramachandhran
1b4defbae9 Fix #21696: Fullscreen window option not correctly applied on macOS 2024-04-23 23:20:16 +02:00
Aaron van Geffen
ddc386b186 Refactor Context constructor 2024-04-23 19:52:52 +02:00
Michael Steenbeek
c4c706c59c Merge pull request #21796 from Harry-Hopkinson/refactor-constants-Window.h
Replace constant notation in Window.h
2024-04-21 01:18:40 +02:00
Karsten Van Fossan
137099a429 Close #18305: Move Translate3DTo2DWithZ() from Map.h into Viewport.h
Translate3DTo2DWithZ move to Viewport.h as suggested by ducanspumpkin and update references. Remove redundant function Translate3Dto2D.
2024-04-21 01:18:11 +02:00
Michael Steenbeek
f7f7cd823f Replace INVALID_IMAGE_ID with ImageIndexUndefined 2024-04-21 01:17:42 +02:00
Michael Steenbeek
3d05fce68e Merge pull request #21818 from Harry-Hopkinson/refactor-constant-notation
Refactor constant notation in Chat.h and Peep.h
2024-04-21 00:14:44 +02:00
Rahul Unniyampath
893ae7f0ca Refactor constant notation in Audio.h
Co-authored-by: ncerroneumich <ncerrone@umich.edu>
2024-04-21 00:12:13 +02:00
Michael Steenbeek
7fc34ef612 Fix #21832: Ghost Train in Haunted Harbour has missing pieces (#21856) 2024-04-21 00:01:55 +02:00
evmarcus
1f761faee0 Close #11512: Add coloured usernames in multiplayer servers by group
Co-authored-by: mbilik <mbilik@umich.edu>
Co-authored-by: Matt <matthewsings5@gmail.com>
2024-04-20 21:40:18 +00:00
Harry Hopkinson
b05dcb3dfe Close #21837: Formatter is overwritten in RideConstruction.cpp
Co-authored-by: Gymnasiast <m.o.steenbeek@gmail.com>
2024-04-20 13:49:36 +00:00
Aaron van Geffen
1b5d0f47ab Make usage of Audio namespace explicit in Context 2024-04-20 12:24:44 +02:00
Aaron van Geffen
82c434358a Introduce SPR_DEFAULT_PALETTE 2024-04-19 17:47:22 +02:00
Michael Steenbeek
9b7face116 Fix #21731: previously-invisible 'alt' rides now visible 2024-04-18 22:29:52 +02:00
Harry-Hopkinson
47939567c4 Rename CHAT_MAX_WINDOW_WIDTH - kChatMaxWindowWidth 2024-04-17 13:20:37 +00:00
Harry-Hopkinson
337f9ca549 Rename CHAT_MAX_MESSAGE_LENGTH to kChatMaxMessageLength 2024-04-15 15:35:00 +00:00
Harry-Hopkinson
140e17029d Rename CHAT_INPUT_SIZE to kChatInputSize 2024-04-15 15:30:37 +00:00
Harry-Hopkinson
c264ec1077 Rename CHAT_HISTORY_SIZE to kChatHistorySize 2024-04-15 15:28:51 +00:00
Harry-Hopkinson
ba1f066710 Rename PEEP_MAX_ENERGY_TARGET to kPeepMaxEnergyTarget 2024-04-15 15:26:10 +00:00
Harry-Hopkinson
cf50b4c8a3 Rename PEEP_MAX_ENERGY to kPeepMaxEnergy 2024-04-15 15:21:49 +00:00
Michał Janiszewski
b64ec76c95 Fix #21787: Map generator heightmap should respect increased height limits (#21798) 2024-04-15 15:19:18 +00:00
Harry-Hopkinson
04ca18b7c6 Rename PEEP_MIN_ENERGY to kPeepMinEnergy 2024-04-15 15:12:21 +00:00
Harry Hopkinson
530a7de98f Replace notation in Guest.h 2024-04-15 16:48:41 +02:00
mrmbernardi
8a2afbd1a3 Reduce copying in PaintSurface (#21817) 2024-04-15 16:10:55 +02:00
mrmbernardi
b21f0504cf Pause button stays down while waiting for GameAction (#21816) 2024-04-15 14:26:44 +02:00
Harry-Hopkinson
cd9ca1debb Rename TOP_TOOLBAR_HEIGHT to kTopToolbarHeight 2024-04-14 18:12:58 +00:00
Harry-Hopkinson
f357dd6cab Rename TEXT_INPUT_SIZE to kTextInputSize 2024-04-14 17:35:28 +00:00
Harry-Hopkinson
b294d97f03 Rename DROPDOWN_HEIGHT to kDropdownHeight 2024-04-14 17:27:32 +00:00
Harry-Hopkinson
9fa917ae57 Rename SPINNER_HEIGHT to kSpinnerHeight 2024-04-14 16:56:33 +00:00
Harry-Hopkinson
14cdfc7262 Rename BUTTON_FACE_HEIGHT to kButtonFaceHeight 2024-04-14 16:44:39 +00:00
Michał Janiszewski
a6e1124175 Fix mac-specific highdpi issue workaround (#21785) 2024-04-14 18:43:45 +02:00
Harry-Hopkinson
2ccb77320b Rename TABLE_CELL_HEIGHT to kTableCellHeight 2024-04-14 16:41:01 +00:00
Harry-Hopkinson
f242bbf095 Rename LIST_ROW_HEIGHT to kListRowHeight 2024-04-14 16:37:01 +00:00
Harry-Hopkinson
c5cfc65317 Rename SCROLLABLE_ROW_HEIGHT to kScrollableRowHeight 2024-04-14 16:31:53 +00:00
Duncan
3ce917e2e1 Fix #6725: Z-fighting when car passes through scenery door 2024-04-13 21:32:55 +02:00
Aaron van Geffen
d536f9bce0 Revert "Add owner property to tile elements for scripting"
This reverts commit b4376ab590.
2024-04-12 21:58:45 +02:00
Aaron van Geffen
4f3449cfcf Fix assert with some custom objects 2024-04-12 19:52:21 +00:00
Rik Smeets
953bb4ee91 Park admittance price can now be set via text input 2024-04-12 18:38:08 +00:00