spacek531
047a7f8090
Do not turn off chain when building downhill if chain cheat is on
2022-03-28 20:34:37 +00:00
Gymnasiast
bd7ac0bace
Revert "Reduce duplication of gx readers ( #16882 )"
...
This reverts commit 2b371db8e3
.
2022-03-28 21:49:26 +02:00
X123M3-256
f5507c42e0
Add RIDE_TYPE_FLAG_UP_INCLINE_REQUIRES_LIFT
2022-03-28 21:32:42 +02:00
Michael Steenbeek
2df360ce11
Merge pull request #16843 from lawrencedemol/Android_GameActionResult_Crash
...
Fix #16308 : Crash when trying to place down a ride on Android
2022-03-28 21:13:50 +02:00
tupaschoal
ab86d19510
Apply review requests
2022-03-28 20:40:53 +02:00
lawrence
4c14d38325
Fix #16308 : Use void* on Android and Any on other platforms
2022-03-28 20:38:33 +02:00
lawrence
ed08654bfa
Fix #16308 : Update changelog
2022-03-28 20:38:33 +02:00
lawrence
5f417987bc
Fix #16308 : Crash when trying to place down a ride on Android
2022-03-28 20:38:08 +02:00
Michael Steenbeek
07f66f2322
Merge pull request #16872 from IntelOrca/plugin/image-apis
...
[Plugin] Add support for custom images
2022-03-28 20:27:10 +02:00
Duncan
2b371db8e3
Reduce duplication of gx readers ( #16882 )
...
* Reduce duplication of gx readers
* Readd nographics return
2022-03-28 09:32:33 +01:00
Silent
660b03f00b
Fix assertion in InitialiseListItems
2022-03-27 22:33:57 +02:00
733737
4fc2cd2ffd
Fix settings path and a typo on readme.txt ( #16883 )
2022-03-25 23:57:24 +00:00
Ted John
d6d61ddd44
Merge pull request #16842 from IntelOrca/fix/large-scenery-colours
...
Fix custom large scenery appearing black.
2022-03-25 22:15:15 +00:00
Duncan
36e1a10431
Revert some of #16477 and fix scenery costs ( #16877 )
...
Split up supports and clearance costs
Add notes
2022-03-25 21:47:19 +00:00
Michał Janiszewski
dd0856a36d
Update MSVC dependencies to v32 ( #16870 )
...
* Remove vcpkg-provided duktape
- Update include path to consume vendored copy of duktape
* Change names of libraries for linking
2022-03-25 20:52:06 +01:00
Tulio Leao
76c5217d5a
Merge pull request #12556 from XplosiveLugnut/no-audio-support
...
Allow game to run with GUI while without audio.
2022-03-25 08:16:52 -03:00
spacek531
896ce5b68c
Remove unused function WritePackedObjects
2022-03-25 08:46:38 +01:00
Ted John
886a2ff218
Fix include line
2022-03-24 23:50:39 +00:00
Ted John
273fe52e74
Fix formatting
2022-03-24 23:34:57 +00:00
Ted John
46999c1222
Update changelog
2022-03-24 23:33:14 +00:00
Ted John
6863fb1ecb
Return undefined instead of null
2022-03-24 23:33:07 +00:00
Ted John
372606ab9a
Increment plugin API version
2022-03-24 23:18:55 +00:00
Ted John
818dcacb31
Add draw to image API
2022-03-24 22:37:22 +00:00
Ted John
e3a1733cdd
Implement plugin ownership of images
2022-03-24 22:37:22 +00:00
Ted John
a977bbaebe
Implement loading .png and refactor
2022-03-24 22:37:22 +00:00
Ted John
e74396b464
Refactor and implement RLE custom images
2022-03-24 22:37:22 +00:00
Ted John
8f30ed910f
Start working on custom image APIs
2022-03-24 22:37:21 +00:00
Tulio Leao
8200321464
Add changelog
2022-03-23 23:44:50 -03:00
Gymnasiast
1c851f022c
Show SDL error message if no context was created
2022-03-23 23:44:50 -03:00
Evan Haataja
3127a4dc64
Allow game to run with GUI while without audio.
2022-03-23 23:44:50 -03:00
Tulio Leao
fbeff35aec
Split SDLException into source and header
2022-03-23 23:44:49 -03:00
Tulio Leao
0e607ed0a3
Fix #13857 : Removal price underflowing ( #16858 )
2022-03-23 21:14:03 +00:00
Duncan
472f7f55c5
Remove hard cap of 0x80 scenery items in a group ( #16853 )
...
Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2022-03-22 21:38:54 -03:00
Duncan
c5b5b95bcd
Show better errors when loading scenery groups ( #16854 )
2022-03-22 21:01:52 -03:00
Ted John
a2f7ffcb71
Merge pull request #16707 from IntelOrca/plugin/intransient-2
...
Add initial functionality for intransient plugins. Intransient plugins are a new type of plugin that will start when OpenRCT2 launches, and remain loaded until shutdown. This provides plugins with the ability to hook map change and provide functionality on other screens such as the title menu.
**Example:**
```js
registerPlugin({
type: 'intransient',
...
});
```
The [title sequence editor](https://github.com/OpenRCT2/title-sequence-editor ) will be an intransient plugin so that it can be used from the title screen like the built in one.
Three new APIs have been introduced alongside this.
* `context.mode`
* `context.subscribe('map.change', callback)`
* `context.subscribe('map.changed', callback)`
* `ui.registerToolboxMenuItem(text, callback)`
2022-03-22 21:48:26 +00:00
Duncan
ba8690d970
Move *10 on removal/price to the object load function ( #16846 )
...
This simplifies the code and ensures that money32/16 is at the same base for all users of these objects
2022-03-22 21:35:44 +00:00
Ted John
a9d2c87d65
Bump plugin API version
2022-03-22 21:11:51 +00:00
alcz
45369e3497
Fix #16565 : Ducks/birds always spawn at the edge of the old map limit ( #16844 )
...
* Fix #16565 : Ducks/birds always spawn at the edge of the old map limits
Fix #16565 : birds/ducks spawning at fixed 255-sized map boundary.
Instead spawn at actual map boundary (MapSizeMaxXY) where applicable
* Update Network Version
Increments network version
2022-03-22 16:49:54 +00:00
OpenRCT2 git bot
b90814369d
Merge Localisation/master into OpenRCT2/develop
2022-03-22 04:01:54 +00:00
Ted John
9f96b0df33
Separate map.change and map.changed events
...
Also fix network plugin logic.
2022-03-21 23:09:40 +00:00
Ted John
e4a10b8eb4
Fix and improve plugin startup / shutdown
2022-03-21 21:43:02 +00:00
Ted John
b579d15119
Update scripting readme
2022-03-21 21:43:02 +00:00
Ted John
cfc1b622c2
Update changelog
2022-03-21 21:43:00 +00:00
Ted John
3864795a08
Improve safety on event handlers from windows
2022-03-21 21:42:30 +00:00
Ted John
8f34029e89
Re-create windows if loading park on title screen
2022-03-21 21:42:30 +00:00
Ted John
af340cbf34
Add API for toolbox menu items
2022-03-21 21:42:30 +00:00
Ted John
13d261d115
Add API for getting the current game mode
2022-03-21 21:42:30 +00:00
Ted John
84fdd44e6a
Add map changed hook
2022-03-21 21:42:30 +00:00
Ted John
1128f76a97
Improve and fix intransient plugin branch
2022-03-21 21:42:30 +00:00
Ted John
dbf83f018c
Implement lifetime logic of transient plugins
2022-03-21 21:42:30 +00:00