Tulio Leao
58fc1dd075
Add changelog for #10751
2020-08-05 20:19:33 -03:00
Tulio Leao
bf0c4c4f0e
Fix #12533 : Track designs list does not use natural sorting ( #12537 )
2020-08-03 20:42:54 -03:00
Duncan
f49bfa777a
Change maze pathfinding to not prefer a direction ( #12546 )
...
* Change maze pathfinding to not prefer a direction
* Increment network version
* Update changelog
* Update replays
2020-08-02 08:20:34 +01:00
Taylor Stieff
f7f5124c07
Make tile element direction accessible for scripts ( #12057 )
...
* Make tile element direction accessible for scripts
Add the direction field from the tile element
class to the ScTileElement class passed to
the script engine.
Co-authored-by: Taylor Stieff <taylor.stieff@heavenhr.de>
2020-08-01 00:46:59 -03:00
Michael Steenbeek
e0f2aa9b99
Fix: Brakes keep working during "Brakes failure"
...
This was an error in the original implementation back in 2015.
Thanks to @duncanspumpkin for checking the assembly.
2020-07-30 22:21:19 +02:00
Michael Steenbeek
cd86d3d757
Fix #7969 : Loading landscape resets money, inventions and objective ( #12520 )
2020-07-30 21:43:46 +02:00
Michael Steenbeek
e03753c139
Fix #12498 : Circus construction ghost does not rotate ( #12519 )
2020-07-30 20:29:26 +02:00
Michael Steenbeek
bb1d81471d
Fix #12506 : Cannot advertise food if there are no rides in the park
2020-07-29 10:44:38 +02:00
Michael Steenbeek
469f894701
Fix #12505 : Stores can only have the first product advertised
2020-07-29 00:08:16 +02:00
Sidney
fbdd1042b8
Fix #12486 : `set-rct2` has a broken g1.dat check
2020-07-28 22:32:28 +02:00
Michael Steenbeek
41162cc22f
Fix: bad kerning on lowercase 'j' character (original bug)
2020-07-26 23:19:16 +02:00
Ted John
cf9e8022a0
Fix #12297 : OpenGL renderer causing artifacts
...
Do not re-allocate texture memory if we don't need to and aren't going to restore the old pixels.
2020-07-26 18:46:23 +01:00
ζeh Matt
b7e469cf33
Fix #11623 : Erratic zoom behavior when pointing outside of the map
2020-07-26 00:27:40 +02:00
Michael Steenbeek
b70716d5f6
Fix #11804 : Some RCT1 fences are imported at the wrong height
2020-07-25 16:58:22 +02:00
chaitanyathengdi
33a88fbdbd
Fix #10946 : On-ride photo profit assumes every guest buys one ( #12285 )
...
* Use stored values of customers to adjust income from on-ride photos
Use stored values of photos sold and total customers to calculate ratio
and use that to predict income per hour for rides that include
on-ride-photo sections.
* Get rid of float
* Fix formatting
* Fix formatting - again
* Review changes
* Fix formatting
* Use new method of checking on-ride photo
* Use constants
* Add a changelog and contributors entry
2020-07-25 07:19:51 +01:00
ζeh Matt
2d81e9c51c
Fix #12229 , fix #12312 : No error message when loading a save fails
2020-07-19 14:33:32 +02:00
Michael Steenbeek
1cf89362f0
Merge pull request #12184 from IntelOrca/sea
...
Add support for reading .sea (RCT classic) files
2020-07-13 17:23:16 +02:00
Michael Steenbeek
132b2e5966
Fix #12071 : Crash in Guest List when a guest dies ( #12126 )
...
Send refresh guest list intent on peep removal
Also added protection to guest list to prevent accessing invalid peeps
2020-07-13 09:31:04 -03:00
Aaron van Geffen
b0a3fd82d9
Fix #12221 : Map generation tool doesn't place any trees ( #12222 )
2020-07-13 12:35:49 +02:00
Michael Steenbeek
b43ce35ef5
Fix: Map Generator shows incorrect map sizes ( #12211 )
2020-07-11 12:19:01 -03:00
Ted John
8c81cacc6f
Add sea decryption
2020-07-11 11:40:34 +01:00
Jim
0248621502
Increase handyman randomness in queue ( #12145 )
...
* Increase randomness when handyman is on queue path
* Add myself to contributors
* Refactor hex variable probabilities
* Add check if queue is connected to a ride
* Update changelog
* Bump network version
* Update replays
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-07-08 19:48:08 +01:00
Tulio Leao
c8e844d100
Add changelog for #12123 fix
2020-07-05 21:31:58 -03:00
Michael Steenbeek
fdef47dc86
Re-add #12093 to changelog
2020-07-02 23:20:34 +02:00
Michael Steenbeek
08f71f79d4
Remove #12093 from changelog, add #12090
2020-07-02 14:41:34 +02:00
Duncan
cd716ca4aa
Fix #12093 . Incorrect position and animation of staff tab. ( #12094 )
...
Mistake made when refactoring transposed two digits. Additional mistake made when removing a variable that was unused that changed the memory layout of the window. This meant that a part of the code that accessed a different variable in a union fetched the wrong memory. This was a mistake ultimately made during implementation.
2020-07-02 09:19:19 -03:00
Casey Johnson
2e0f0d3821
Fix #12062 : Add chain lift to Flying Coaster pieces when inverted ( #12091 )
2020-07-02 10:40:59 +02:00
Duncan
0f106da7eb
Fix #12065 again. Fixed track design previews with diagonals ( #12074 )
...
Unsure when mistake was made but there was a variety of issues with this section of code. The rotation of the entrance was meant to be relative to the track design rotation not the last track pieces rotation. This caused issues for tracks that were not complete circuits. In addition there was a mistake for diagonal track pieces where the location of the end piece was not incremented this caused the diagonal piece to act as though it didn't exist breaking the preview.
2020-06-29 10:58:31 -03:00
duncanspumpkin
0fd185e0ae
Update changelog
2020-06-28 09:06:59 +01:00
Gymnasiast
5029f754ed
Fix #7324 : Research window shows vehicle name instead of ride name
2020-06-19 22:50:53 +02:00
Tulio Leao
6a8d9007e2
Close #11614 : Require plugins to specify their license
2020-06-19 16:14:33 +02:00
Olivier Wervers
66c3d8d828
Expose park name to plugins ( #11970 )
2020-06-17 17:33:38 +02:00
Duncan
50d22ededd
Create a hookable location checking function for actions ( #11860 )
...
* Create a hookable location checking function for actions
* Add location valid to a number of game actions
Actually pass the coordinates to the script
Use LocationValid on further game actions
Add further actions to the LocationValid. Update api
Update remaining actions to use LocationValid
* Fix bug with peep pickup
Adjust api
2020-06-16 20:57:11 +01:00
Irrelevant Irreverent
efd5b869d1
Update changelog with new feature
2020-06-16 08:57:56 -04:00
Duncan
78d062943b
Fix #11953 : Incorrect shade used for wall banner text
2020-06-15 23:04:34 +02:00
Aaron van Geffen
de045978de
Implement #11944 : Remember rides sort mode ( #11945 )
2020-06-13 23:36:43 +02:00
Ted John
a3aed8dce1
Update vehicle powered fields
2020-06-11 17:54:41 +01:00
Ted John
c5b2b2017a
Add vehicle API for plugins
2020-06-11 17:54:36 +01:00
XplosiveLugnut
f9c5633c19
Can now pop balloons and quack ducks in title screen. ( #9614 )
...
* Can now pop balloons and quack ducks in title screen.
* Chengelog entry
* Narrow check for misc sprite down to only duck and balloon sprite.
* Update distribution/changelog.txt
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
* Use the IsBalloon and IsDuck functions instead.
* Update src/openrct2-ui/interface/ViewportInteraction.cpp
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
* Squash: Bring code up to date.
* Add nullptr check.
* Update src/openrct2-ui/interface/ViewportInteraction.cpp
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
Co-authored-by: Michael Steenbeek <m.o.steenbeek@gmail.com>
Co-authored-by: Aaron van Geffen <aaron@aaronweb.net>
2020-06-10 18:31:33 +01:00
Michael Steenbeek
e83b86df4d
Replace occurrences of OpenRCT with OpenRCT2 ( #11898 )
2020-06-08 15:11:07 +02:00
Peter Ryszkiewicz
3dba0d9ae6
Add mac user directory to scripting docs ( #11888 )
2020-06-07 10:41:34 -03:00
Ted John
0ca42f453c
Add plugin API for setting button isPressed ( #11851 )
2020-06-01 23:05:24 -03:00
Michael Steenbeek
654dde4436
Merge pull request #11806 from michielbos/develop
...
Fix #11422 Add a shortcut key for disabling/enabling clearance checks
2020-05-30 21:21:39 +02:00
Ted John
8f77125cdb
Fix #11298 : Unable to advertise server (500): Retry with ipv4 only ( #11824 )
...
Add new config option to allow any address to be advertised. This then
doesn't rely on the master server retrieving the server IP address via
the HTTP request which can often be IPv6 by default.
2020-05-30 18:21:22 +02:00
Michiel Bos
670b879235
Added a shortcut key for disabling/enabling clearance checks.
2020-05-30 17:10:08 +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
Gymnasiast
0f76ae8005
Add Twitch removal to changelog
2020-05-28 09:30:32 +02: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
Gymnasiast
d5e60e0e71
Create command to export images from .DAT file
2020-05-23 15:30:50 +02:00
tylerleamon
51872f9741
Fix #10634 : Guests are unable to use uphill paths out of toilets
...
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
2020-05-22 19:58:38 +02:00
Michael Steenbeek
51ebcac432
Add #11386 to changelog
2020-05-22 10:40:43 +02: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
Duncan
79dda7260a
Fix #11695 . Mechanics walking to 0,0 on entrance only ( #11704 )
...
Mistake made when refactoring that meant that null locations were converted into tile 0, 0. I've fixed the general case but it is preferred to try avoid using null states for coordinates if at all possible.
2020-05-11 20:28:40 +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
Hielke Morsink
cb62e1a320
Add missing return type to typescript definitions ( #11708 )
2020-05-10 23:20:11 +02:00
Ted John
b96fdee531
Add plugin API to remove entities ( #11702 )
2020-05-10 14:07:27 -03:00
Ted John
ec06a9ca4b
Add plugin API for showing an error message ( #11706 )
2020-05-10 14:06:31 -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
41950d75f0
Implement scrollbars field on list view
2020-05-09 17:24:16 +01:00
Ted John
092fee076d
Remove unimplemented APIs for list view
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
45a1184b0e
Implement selection
2020-05-09 17:24:15 +01:00
Ted John
928bba9795
Implement sorting
2020-05-09 17:24:15 +01:00
Ted John
096de3ccc8
Implement list view
2020-05-09 17:24:15 +01:00
Hummel95
aac55d2cc0
Fix #10876 : Peeps spawns can stack and are not removable ( #11155 )
2020-05-09 16:17:08 +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
Michael Steenbeek
3d3dbde642
Merge pull request #11668 from IntelOrca/plugin/peep-stats
...
[Plugin] Add more stats to Peep interface
2020-05-09 13:53:36 +02:00
Ted John
fa0dd4e0d6
Add more peep stats for plugins
2020-05-09 12:37:51 +01:00
Michael Steenbeek
3ceecb33f0
Fix #11676 : Spiral Roller Coaster has regular lift hill available ( #11681 )
2020-05-09 13:23:55 +02:00
Ted John
59ab39178f
Add most fields from RideObject struct
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
Michael Steenbeek
8660bbe9d7
Fix #1013 : negative length in Ride window ( #11651 )
2020-05-06 11:32:10 +02:00
Ted John
ec7b52d555
Add action and args to GameActionResult
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
Michael Steenbeek
097b90a3db
Fix #11640 : Object shows with blank description ( #11641 )
2020-05-05 18:49:58 +02:00
Michael Steenbeek
362ea7bbc0
Fix #11455 : Object Selection window cuts off scenery names ( #11639 )
2020-05-05 18:19:30 +02:00
Fred-1044276
b03fbc086d
Fix #11450 : Can't open rides, even with "Enable all track pieces"
2020-05-05 11:16:24 +02:00
Michael Steenbeek
80933dc0cc
Fix #11002 : Rides list shows both red and green light activated ( #11622 )
2020-05-04 19:38:48 -03: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
Hielke Morsink
f4fcaef0cd
Add missing "openrct2_corrupt" element type
2020-05-02 20:14:50 +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
1e56ae0d99
Rename Coords2 and Coords3 in d.ts to same names as in code base
2020-05-02 11:42:43 +01:00
Ted John
e5b05747d3
Apply code review refactors
2020-05-02 11:38:33 +01:00
Ted John
be0e4a2869
Implement custom tools
2020-05-02 11:08:43 +01:00
Ted John
0ca52e58fd
Implement tile selection API
2020-05-02 11:08:43 +01:00
Ted John
76e7e61f73
Correct openrct2.d.ts, tabs is optional ( #11582 )
2020-05-01 18:31:37 -03:00