Commit Graph

26186 Commits

Author SHA1 Message Date
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
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
Aaron van Geffen 2799d96145 Rename PeepData to PeepAnimationData 2024-04-21 22:54:10 +02:00
Aaron van Geffen 886b8e8431 Let peep groups inherit from kPeepAnimationGroupNormal 2024-04-21 22:53:43 +02:00
Aaron van Geffen 642162853f Refactor g_peep_animation_entries into kPeepAnimationEntries 2024-04-21 22:53:37 +02:00
Aaron van Geffen b52bf40a20 Introduce peep sprite id constants 2024-04-21 22:52:06 +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
OpenRCT2 git bot 447805c8f4 Merge Localisation/master into OpenRCT2/develop 2024-04-19 04:01:52 +00:00
Michael Steenbeek 9b7face116
Fix #21731: previously-invisible 'alt' rides now visible 2024-04-18 22:29:52 +02:00
QwertyChouskie 1d3a2393dc
debian/control: Fix syntax error causing builds to fail (#21835)
whoops my bad
2024-04-18 21:25:05 +02:00
OpenRCT2 git bot 73fc3bce8c Merge Localisation/master into OpenRCT2/develop 2024-04-18 04:01:49 +00: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