Commit Graph

1142 Commits

Author SHA1 Message Date
Ted John 6143326b66 Fix #8941: Price sync is not able to check 2019-03-23 09:31:39 +00:00
ζeh Matt 5d5373b63c Allow use of numpad enter for console and chat 2019-03-21 21:11:06 +01:00
Michael Steenbeek df687ac59c
Merge pull request #8928 from AaronVanGeffen/scenario-editor-cheats
Make cheats menu partially accessible in scenario editor
2019-03-21 17:42:20 +01:00
Aaron van Geffen f4602d0a34 Use SCREEN_FLAGS_EDITOR when appropriate. 2019-03-20 20:58:08 +01:00
Michael Steenbeek 1c570c8eec
Move some ride functions to struct methods 2019-03-20 20:05:25 +01:00
Aaron van Geffen aeaa45c05b Fix #8927: Make cheats menu partially accessible in scenario editor. 2019-03-20 20:03:28 +01:00
duncanspumpkin add40feb57 Merge #8898 branch 'staff_ga' into game_actions 2019-03-18 20:00:34 +00:00
duncanspumpkin 351adcc88b Merge #8897 branch 'surface_set_style_ga' into game_actions 2019-03-18 19:58:21 +00:00
duncanspumpkin f28be1ae30 Merge #8881 branch 'set_park_open' into game_actions 2019-03-18 19:57:50 +00:00
Matt 57283a4e2b Fix #8900: Implement GuestSetFlagsAction. 2019-03-17 22:17:04 +01:00
Aaron van Geffen 97ba6eec08
Move common actions from debug menu into cheats menu (#8892)
This aims to make it less necessary for users to enable debugging tools.
2019-03-17 12:52:32 +01:00
duncanspumpkin c9332b4c5d Use the game action. Fix issues with it 2019-03-17 07:20:36 +00:00
Aaron van Geffen 2af13904c5 Update copyright notices for 2019. (#8903) 2019-03-17 07:16:15 +00:00
duncanspumpkin 9e316f9191 Fix formatting 2019-03-16 21:07:50 +00:00
duncanspumpkin 77238c1e5e Add staff set patrol area and fire actions 2019-03-16 20:45:52 +00:00
Michael Steenbeek 602821a389
Split path surface objects into paths and queues 2019-03-16 12:37:32 +01:00
duncanspumpkin 24e9428731 Use 64bit values to simplify code 2019-03-16 07:33:21 +00:00
ζeh Matt e63392bc08
Merge pull request #8871 from ZehMatt/fix-8870
Fix #8870: Use player index instead of id.
2019-03-15 19:18:13 -07:00
duncanspumpkin 9a1532ecc4 Add ParkSetParameterAction 2019-03-15 21:01:35 +00:00
duncanspumpkin edff5caa7e Merge pull request #8849 'ga-staff-hire' 2019-03-15 19:49:24 +00:00
duncanspumpkin fa0feb18d0 Merge pull request #8852 'track_set_brake_speed' 2019-03-15 19:46:19 +00:00
duncanspumpkin c84927306e Implement land/water lower raise 2019-03-15 19:44:17 +00:00
Matt 9249b0c887 Fix #8870: Use player index instead of id. 2019-03-15 19:35:01 +01:00
Michał Janiszewski 9554918e30 Fix strncat size argument for GCC9 (#8855)
Previously, the (LTO) linker complained:
```
In function ‘copy_object_names_to_clipboard’,
    inlined from ‘window_object_load_error_mouseup’ at ../src/openrct2-ui/windows/ObjectLoadError.cpp:450:43:
../src/openrct2-ui/windows/ObjectLoadError.cpp:358:16: error: ‘strncat’ specified bound 1 equals source length [-Werror=stringop-overflow=]
  358 |         strncat(buffer, PLATFORM_NEWLINE, line_sep_len);
      |                ^
```
2019-03-13 09:04:28 +00:00
Michael Steenbeek 18ac3b02b1
Fix #8524: Do not show RCT1 land edges when CSG1 is not loaded (#8845) 2019-03-12 09:23:17 +01:00
duncanspumpkin 7fbf11ac79 Implement TrackSetBrakeSpeedAction 2019-03-11 19:08:07 +00:00
Ted John f4526dd2ae
Merge pull request #8837 from IntelOrca/fix/invalid-reads
Fix more of these backtrace reports
2019-03-11 16:31:21 +00:00
Ted John 85c1ec8fa5
Fix #8841: Catch exceptions when loading parks from title editor (#8843) 2019-03-11 16:31:02 +00:00
Matt a3e0fdaf81 Simplify code 2019-03-11 16:53:03 +01:00
Matt f96a1a1b5f Implement StaffHireNewAction game action. 2019-03-11 13:44:34 +01:00
Ted John ca023f7c5e Fix #8829: invalid read in window_guest_open 2019-03-09 13:05:12 +00:00
Ted John d708234489 Fix #8828: Invalid read in window_footpath_invalidate 2019-03-09 12:37:23 +00:00
duncanspumpkin 540be7c7be Provide a conversion from old game command.
Note doesn't handle footpath scenery or clear direction mode
2019-03-04 16:57:21 +00:00
duncanspumpkin bcced4016f Use new action 2019-03-04 16:57:21 +00:00
duncanspumpkin c8fd5174ae Implement footpathplace 2019-03-04 16:57:21 +00:00
duncanspumpkin 510d71ab68 Add FootpathSceneryPlaceAction 2019-03-04 16:57:21 +00:00
duncanspumpkin ef69c01da5 Create FootpathSceneryRemoveAction to split up footpath place 2019-03-04 16:57:21 +00:00
Ted John c479ada2ca Fix #8795: Downloading objects interacts with UI on background thread (#8821)
Queue downloads so that they are invoked on UI thread.
2019-03-03 22:08:13 +01:00
duncanspumpkin e128a78b91 Fix formating and other issues
Refactor as per comments.

Simplified some of the code as well

Use constants
2019-03-02 07:24:42 +00:00
duncanspumpkin 7f586f50e1 Move all callees to the game action framework. Fix CoordXY bug 2019-03-02 07:24:41 +00:00
Ted John cdec457abd Refactor peep struct 2019-02-28 20:28:58 +01:00
Duncan 8ed824f285
Merge pull request #8773 from duncanspumpkin/scenery_place_ga
Implement SmallSceneryPlaceAction
Fix #8793, Fix #8787
2019-02-28 08:21:02 +00:00
duncanspumpkin cbb02ec98a Use game action for track design. Fix error titles.
Add files to xcode project (#20)

Finally get the placement code working

Use game action for ghosts. Fix basequarter

Remove references to old command

Fix formating remove unused var

Fix clang format
2019-02-27 18:51:54 +00:00
duncanspumpkin d3c0a76259 Use correct functions where defined 2019-02-27 10:49:48 +00:00
duncanspumpkin fae15fceca Use IsBroken 2019-02-27 10:49:48 +00:00
duncanspumpkin 93873c5e74 Make review changes. Fix formating
Reorder includes
2019-02-27 08:15:11 +00:00
duncanspumpkin d01dfe44d5 Add RideSetSettingAction
Use game action for calling

Use correct error titles for operation mode changes
2019-02-27 08:15:07 +00:00
duncanspumpkin d5ad6b7b0f Move game command calls to a single call site 2019-02-26 12:47:44 +00:00
Michael Steenbeek 5b0367ea0e
Merge pull request #8774 from duncanspumpkin/ghost_refactor
Use IsGhost() to access ghost state
2019-02-26 12:46:16 +01:00
duncanspumpkin ab058fe659 Remove unnecessary compare with zero 2019-02-26 08:13:21 +00:00