Commit Graph
410 Commits
Author SHA1 Message Date
Tulio Leao 4cdfccb338 Rename Peep::id to Id 2020-06-06 11:53:51 -03:00
Tulio Leao 77af2326ff Rename Peep::cash_in_pocket to CashInPocket 2020-06-06 11:53:50 -03:00
duncanspumpkin 5c48e5f0bb Remove AsPeep 2020-06-06 11:36:48 +01:00
Tulio Leao 9fbaf61e07 Rename Peep::staff_orders to StaffOrders 2020-06-04 19:16:12 +02:00
Tulio Leao a2a0fad886 Rename Peep::peep_flags to PeepFlags 2020-06-04 19:16:11 +02:00
Michael Steenbeek c3921d9d4c Merge pull request #11712 from IntelOrca/plugin/ride-fields
[Plugin] Add more ride fields to API
2020-05-29 21:10:51 +02:00
Ted John 82371fb003 Fix #11796: Unable to use sharedStorage (#11798)
isUserConfig must only be true for configuration not sharedStorage
2020-05-23 18:22:09 +02:00
Ted John a683f2250f Register missing ride classification 2020-05-23 15:28:03 +01:00
Ted John da8f21fb70 Add ride age and improve documentation 2020-05-23 15:28:03 +01:00
Ted John f4fb456c50 Add ride value to ScRide 2020-05-23 15:28:03 +01:00
Ted John a0f76ddc1b Add running cost and inspection 2020-05-23 15:28:03 +01:00
Ted John bfa96d6205 Fix price in ScRide 2020-05-23 15:28:03 +01:00
Ted John f6fbd272ec Add built_date to ScRide and add GetAge() 2020-05-23 15:28:03 +01:00
Ted John 819208f3cb Add more ride fields to plugin API 2020-05-23 15:28:03 +01:00
Michael Steenbeek 7e7b15812d Merge pull request #11747 from IntelOrca/plugin/small-additions
[Plugin] Add language and split peep into guest and staff
2020-05-20 10:24:24 +02:00
Ted John 03b1974912 Add plugin API for editing park messages (#11755) 2020-05-18 22:59:35 -03:00
Ted John f5f8f5bd8e Use named flags for Peep instead of number 2020-05-15 00:24:24 +01:00
Ted John b710e417df Split peep into guest and staff and add more fields 2020-05-14 18:35:21 +01:00
Ted John 7c0da8a32d Add peep flags and destination 2020-05-14 18:34:25 +01:00
Ted John 41d41df3a5 Add ability to get current language 2020-05-14 18:34:25 +01:00
Gymnasiast 11472f909d Convert sprite_move to method 2020-05-13 10:47:32 +02:00
Gymnasiast 15b5d97795 Refactor shop items 2020-05-11 19:16:23 +02:00
Michael Steenbeek d7637cd70f Replace many C-style casts (#11720) 2020-05-11 14:32:56 +02:00
relic-automaton 3e39e2d0db [Plugin] Add a script hook for ride ratings calculation (#11698)
The hook is called after ride rating calculation is complete and allows
scripts to override the ratings.
2020-05-10 23:26:10 -03:00
Ted John e182791a6b Merge pull request #11685 from IntelOrca/plugin/listview-widget
[Plugin] Implement the list view widget
2020-05-10 22:36:44 +01:00
Ted John b96fdee531 Add plugin API to remove entities (#11702) 2020-05-10 14:07:27 -03:00
Ted John 5288caec02 [Plugin] Add support for SetCheatAction and cheat retrieval (#11700)
* Add cheats interface API

* Add plugin support for SetCheatAction

* Remove ctx from ScCheats
2020-05-10 13:02:10 -03:00
Ted John 5e7cf3bf96 Fix rebase 2020-05-09 17:24:15 +01:00
Ted John c4f6dbe1ca Allow items and columns get / set 2020-05-09 17:24:15 +01:00
Ted John 4701dd3b9b Add get / set highlighted cell / selected cell 2020-05-09 17:24:15 +01:00
Ted John 5e427413a6 Refactor list view so we can access it from ScWidget 2020-05-09 17:24:15 +01:00
Ted John be9f3e1f66 [Plugin] Ensure modified entities and tile elements are invalidated (#11682) 2020-05-09 16:13:56 +02:00
Tulio Leao 16c5960e99 Merge pull request #11635 from IntelOrca/plugin/ride-game-actions
[Plugin] Add named parameters for ride related game actions
2020-05-09 10:46:41 -03:00
Ted John 6db16ffcad Implement showTextInput plugin API (#11678) 2020-05-09 14:18:50 +01:00
Ted John 45d32bec68 [Plugin] Add API for taking captures and giant captures of the park 2020-05-09 13:55:24 +02:00
Ted John 7b8ffdb865 Refactor peep.intensity into new strict struct 2020-05-09 12:37:51 +01:00
Ted John fa0dd4e0d6 Add more peep stats for plugins 2020-05-09 12:37:51 +01:00
Ted John 59ab39178f Add most fields from RideObject struct 2020-05-08 15:28:48 +01:00
Ted John 21f55eaeeb Handle no object for context.getObject correctly 2020-05-08 15:28:48 +01:00
Ted John 46d69126ea Split identifier and legacyIdentifier on Object 2020-05-08 15:28:48 +01:00
Ted John ec7b52d555 Add action and args to GameActionResult 2020-05-05 18:00:56 +01:00
Ted John 6c8d199831 Add parameter visitors to ride related actions 2020-05-05 18:00:56 +01:00
Michael Steenbeek 4f6f3feeb2 Merge pull request #11601 from Broxzier/bugfix/corrupt-elem-type-typescript
Add missing "openrct2_corrupt" element type
2020-05-05 18:53:08 +02:00
Hielke Morsink b39c673456 Introduce constant MAX_ELEMENT_HEIGHT 2020-05-05 11:35:42 +02:00
Hielke Morsink f88951eb33 Add isHidden field to plug-in TileElements
With this field, plug-in creators are encouraged to use `isHidden` rather than spawning corrupt elements to hide other tile elements, and their scripts won't need updating when `isHidden` becomes a real field that does not alter anything other than the element itself.
2020-05-05 00:16:09 +02:00
Ted John 2c153477a6 Add network.currentPlayer plugin API (#11607) 2020-05-03 13:53:36 +01:00
Hielke Morsink e5b1508694 Rename openrct2_corrupt to openrct2_corrupt_deprecated 2020-05-03 13:47:48 +02:00
Tulio Leao 1f7ef019fc Merge pull request #11580 from IntelOrca/plugin/custom-tool
[Plugin] Implement custom tool API
2020-05-02 08:28:59 -03:00
Ted John e3016cdc03 Fix plugin game action hook player and result (#11587)
- Player was not being attached to the game action event args.
- OpenRCT2 was looking for error on the event args object rather than the result sub object.
2020-05-02 11:45:05 +01:00
Ted John e5b05747d3 Apply code review refactors 2020-05-02 11:38:33 +01:00