1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00
Commit Graph

16200 Commits

Author SHA1 Message Date
Ted John
5ba3fdf452 Fix #14161: ShortcutDesc.bindings does not work 2021-02-23 22:19:46 +00:00
Ted John
52dffb83c2 Fix #14160: Game crashs when registering shortcuts 2021-02-23 22:18:00 +00:00
Ted John
aedd93ef33 Add remove button to clear a shortcut 2021-02-23 21:34:32 +00:00
Ted John
817edff4bd Fix #14149: Numpad shortcut keys are not loaded correctly 2021-02-23 20:35:24 +00:00
Cory Sanin
57c950958b Feature: Add option for taking transparent screenshots 2021-02-22 22:48:51 +01:00
Michael Steenbeek
8e414a9d97 Merge pull request #14121 from ZehMatt/refactor/tileinspector
Refactor Tile Inspector
2021-02-22 11:07:46 +01:00
Ted John
440c0f447f Fix #14140: Some shortcut keys are not working 2021-02-21 21:44:53 +01:00
Matt
dabeb036a6 Apply review suggestions 2021-02-21 19:13:58 +02:00
ζeh Matt
c9ca066e94 Merge pull request #14024 from ZehMatt/refactor/coords-peep-destination
Use CoordsXY for for some types
2021-02-21 15:33:52 +02:00
Michael Steenbeek
0cdbc99984 Merge pull request #13848 from IntelOrca/refactor/shortcut-engine
Introduce new shortcut engine
2021-02-21 14:01:39 +01:00
Matt
b080bfe1d4 Only affect the tile inspector state if the position matches 2021-02-21 14:38:15 +02:00
Duncan
2b26e423e4 Remove AsGuest and AsStaff duplicated functions 2021-02-21 13:23:31 +01:00
Matt
5b42fa0dbb Simplify velocity acceleration 2021-02-21 09:59:05 +02:00
ζeh Matt
d3cae77230 Merge pull request #14129 from ZehMatt/refactor/UpdateSwingingCar
Refactor UpdateSwingingCar function
2021-02-21 09:58:15 +02:00
Matt
571bf0dab1 Apply review suggestions 2021-02-21 09:52:33 +02:00
Matt
62baee3adb Allow passing of destination tolerance via SetDestination 2021-02-21 09:52:33 +02:00
Matt
965041b437 Remove direct access to DirectionX and DirectionY 2021-02-21 09:52:33 +02:00
Matt
2bb5bb9988 Add getter and setter for destination in Peep 2021-02-21 09:52:32 +02:00
Matt
ed4d8b4552 Add getter and setter for location in SpriteBase 2021-02-21 09:52:32 +02:00
Matt
a2ebec8676 Add multiply and divide to coordinate components 2021-02-21 09:52:32 +02:00
Matt
a232749b2f Refactor UpdateSwingingCar function 2021-02-21 09:30:17 +02:00
Ted John
e28c23f10f Fix regression in CreateSocket (#14131) 2021-02-21 03:58:34 +00:00
Ted John
ed29c0a37b Replace std::printf with Console::* 2021-02-21 03:14:20 +00:00
Ted John
e383b6f6f7 Move zoom and rotation to view tab 2021-02-21 03:14:20 +00:00
Ted John
b3f6437092 Apply suggestions from code review 2021-02-21 03:14:19 +00:00
Ted John
cacfb8be07 Refactor dead key handling 2021-02-21 03:14:19 +00:00
Gymnasiast
d5eb1cc036 Fix dead key handling
This fixes deadkey handling on at least US International on Linux.
2021-02-21 03:14:19 +00:00
Ted John
2b14fe9d7f Update shortcut listings 2021-02-21 03:14:19 +00:00
Ted John
ff86ebbfe5 Localise shortcut strings 2021-02-21 03:14:19 +00:00
Ted John
acfda711f5 Use std::string_view without reference 2021-02-21 03:14:19 +00:00
Ted John
59b4be6a12 Move InputManager to UiContext 2021-02-21 03:14:19 +00:00
Ted John
80662d72a4 Cache view scroll shortcuts 2021-02-21 03:14:19 +00:00
Ted John
2b3e7b98b8 Roll our own implementation of parse 2021-02-21 03:14:19 +00:00
Ted John
fa1a374a04 Scale binding column in window 2021-02-21 03:14:19 +00:00
Ted John
2b197d0fb2 Fix parsing of shortcuts 2021-02-21 03:14:18 +00:00
Ted John
46c3fd4e5f Use FileStream instead of fstream 2021-02-21 03:14:18 +00:00
Ted John
eda33fea20 Fix view scroll shortcuts 2021-02-21 03:14:18 +00:00
Ted John
2b3aabb8e4 Remove old shortcut code and fix issues 2021-02-21 03:14:18 +00:00
Ted John
f2f658bf28 Refactor some code into more files 2021-02-21 03:14:18 +00:00
Ted John
af0ed416f5 Implement loading / saving of new shortcuts 2021-02-21 03:14:18 +00:00
Ted John
18c3587d63 Rename shortcut IDs and order groups 2021-02-21 03:14:18 +00:00
Ted John
afb4500c49 Add eye icon for tab 2021-02-21 03:14:18 +00:00
Ted John
7b00f9d96d Add tabs to keyboard shortcut window 2021-02-21 03:14:18 +00:00
Ted John
f69c1576b3 Refactor shortcut windows to class 2021-02-21 03:14:18 +00:00
Ted John
e7ae9f9f15 Read legacy shortcuts and move to constants 2021-02-21 03:14:17 +00:00
Ted John
900f3cd92b Fix gcc / clang builds 2021-02-21 03:14:17 +00:00
Ted John
afc548c5a7 Add plugin API for shortcuts 2021-02-21 03:14:13 +00:00
Ted John
9964df5335 Implement gamepad support 2021-02-21 03:13:28 +00:00
Ted John
e6b6403024 Refactor and fix shortcut 2021-02-21 03:13:28 +00:00
Ted John
ea975f88fc Implement more InputManager 2021-02-21 03:13:28 +00:00