Commit Graph

15774 Commits

Author SHA1 Message Date
Hielke Morsink b45fabdc7d Add new action to 'edit scenario options' permission 2018-11-08 23:44:51 +01:00
Hielke Morsink 107faaf821 Add and use game action for setting the climate
Also reordered the registered game actions the same as headers, so they are easier to find.
2018-11-08 22:39:13 +01:00
Michael Steenbeek 94ce57929a
Fix #8236: Paths of track designs are built incorrectly 2018-11-08 22:13:44 +01:00
Hielke Morsink 2170c26e93 Include what gets used
To reduce including "big" files, like game.h", and just include the headers that are needed. Partly used IWYU to find the headers, but removed the ones that are hard requirements of included headers, like common.h and gameactions.h.
2018-11-07 22:19:33 +01:00
Hielke Morsink 7a57bf1d5c Move climate dropdown from objective options to scenario options 2018-11-06 22:53:31 +01:00
ζeh Matt 223ae74c6b Refactor code to obtain resolutions. (#8215) 2018-11-06 07:20:57 +01:00
Michael Steenbeek df768a3fad
Fix #8201: Only quarter scenery objects in one corner can be painted 2018-11-05 20:12:22 +01:00
Michael Steenbeek 39f65e496f
Merge pull request #8206 from OpenRCT2/refactor/tile-element-split
Split TileElement and RCT12TileElement
2018-11-05 19:36:11 +01:00
Michael Steenbeek b01ff01e82 Extend support for 8 cars corrupt elements 2018-11-05 12:13:26 +01:00
Michael Steenbeek 00ba0c1f51 Define RCT12TileElement fields as private 2018-11-05 12:13:26 +01:00
Michael Steenbeek d4801e139d Import tile elements from SV6 using new methods 2018-11-05 11:55:33 +01:00
Michael Steenbeek fbecfe5a88 Define tile elements in save as RCT12TileElement 2018-11-05 11:55:33 +01:00
Michał Janiszewski da965cb1ad
Fix #8224: invalid access in peep_find_ride_to_look_at (#8225)
* Fix #8224: invalid access in peep_find_ride_to_look_at

* Update Guest.cpp
2018-11-05 06:25:46 +01:00
Michał Janiszewski 3aeb87b285
Update Android build tools (#8010) 2018-11-02 23:36:51 +01:00
ζeh Matt 7831208f42 Fix #8199: Crash using player id as index. (#8210) 2018-11-02 22:48:45 +01:00
ζeh Matt 103cd8310f Fix #8204: Crash when tile element has no surface elements. (#8209) 2018-11-02 22:35:45 +01:00
ζeh Matt e083116bc7 Fix #8207: ride_create_command ignoring game action result. (#8208) 2018-11-02 21:13:41 +01:00
Felix Pelletier 0cd7f1e07c Fix #8142: Reliability of unbreakable rides can go below 100% 2018-11-02 09:04:27 +01:00
Michael Steenbeek f8add7f62e
Rename rct_tile_element to TileElement 2018-11-01 13:53:50 +01:00
Michael Steenbeek f55f323723
Allow building footpaths on 'corner down' terrain 2018-11-01 11:04:32 +01:00
Michael Steenbeek a8f526ae48
Allow on-ride photos and water S-bends on the Water Coaster 2018-11-01 10:12:45 +01:00
Felix Pelletier 6ba052e618 Make some arguments to format_string(...) and friends const 2018-11-01 09:25:04 +01:00
QwertyChouskie bba8edc379 en-GB: Change capitalisation of one string
As per https://github.com/OpenRCT2/OpenRCT2/pull/8042#issuecomment-426379511
2018-11-01 08:59:31 +01:00
Hielke Morsink 698426dad7 Increase network version to avoid conflicts (#8194)
#8053 bumped the network version to 3, which we already had before but was reverted.
2018-10-31 20:47:35 +01:00
Michael Steenbeek 215ea7edc4
Merge pull request #8053 from Gymnasiast/path-part-2
Port the rest of the path functions; general tile element cleanup
2018-10-31 15:31:54 +01:00
Michael Steenbeek 5f4cca3c7e Remove rest of access to footpath edges 2018-10-31 15:08:06 +01:00
Michael Steenbeek d89c3d9e67 Replace calls to get path edges
This replaces most calls/direct access to the footpath edges (i.e. the orthogonal directions, not the corners). This includes places where the whole byte was retrieved, but only compared against orthogonal directions.
2018-10-31 15:08:06 +01:00
Michael Steenbeek 7c38ce6cb2
Merge pull request #8189 from Gymnasiast/path-part-2b
Port most path stuff to new standard
2018-10-31 13:57:04 +01:00
Michael Steenbeek 84145a258d Fix very misleading use of tileElement->type in a union
It was a sprite, accessed as if it was a tileElement. Neither the method nor the resulting code made any sense.
2018-10-31 13:12:18 +01:00
Michael Steenbeek 1d214c0e4e Replace type comparisons with GetType()
This function is a bit odd, as it implicitly also checked if the rotation was 0. I assume this is a bug and it was only intended to check for type.
2018-10-31 13:12:11 +01:00
Michael Steenbeek 1dce29b9a7 Replace two more usages of type 2018-10-31 13:10:41 +01:00
Michael Steenbeek db3c2fcc46 Use calls to set queue from track designs 2018-10-31 13:10:34 +01:00
Michael Steenbeek 687fbc2a0a Modify game_command_set_scenery_colour() to only take the scenery quadrant 2018-10-31 13:10:26 +01:00
Michael Steenbeek af2c1e69d1 Remove residual access to path addition_status field 2018-10-31 13:10:07 +01:00
Michael Steenbeek 853e4c4a6a Remove residual access to path ride_index field 2018-10-31 13:09:53 +01:00
Michael Steenbeek 785dc43f6b Remove residual access to additions field
It looks like neighbour_list_push() never actually reads the contents of the station index, it just compares it to other tiles. Therefore, this should work.
2018-10-31 13:09:42 +01:00
Michael Steenbeek 0f4560598e Replace residual access to path element entry index field 2018-10-31 13:09:29 +01:00
Michael Steenbeek 66cde65f87 Replace C style function for getting slope direction 2018-10-31 13:09:19 +01:00
Michał Janiszewski a0c9e1b6c7
Update format string for size_t MAX_BANNERS 2018-10-31 12:51:06 +01:00
Topodic bf80f738c1 Fix #8187: Cannot set land ownership over ride entrances/exits 2018-10-31 12:25:02 +01:00
Michał Janiszewski 4c62f89110
Remove empty branch in Peep.cpp 2018-10-30 06:48:32 +01:00
Michał Janiszewski 74ee2cf741
Fix types of windows scenery tab selections (#8179) 2018-10-29 14:52:07 -07:00
ζeh Matt 83c3f3a905 Fix #8121: Crash renaming park with server logging enabled. (#8177) 2018-10-28 09:36:18 -07:00
Ted John 73dae03601
Update appveyor_deploy.ps1 2018-10-28 12:57:57 +00:00
Ted John c3f4260aad
Update appveyor_deploy.ps1 2018-10-28 12:32:08 +00:00
Michał Janiszewski 472bd857e3
Merge pull request #8176 from janisozaur/symbols
Upload zipped symbols to backtrace.io
2018-10-28 05:07:24 -07:00
Ted John aae2cf9250
Find correct zip file 2018-10-28 11:47:34 +00:00
Michał Janiszewski 593f9a03ea Upload zipped symbols to backtrace.io 2018-10-28 00:16:08 +02:00
Michał Janiszewski e521ade293
Replace gmtime with safer gmtime_r (#8174) 2018-10-27 15:04:15 -07:00
OpenRCT2 git bot 590196b78e Merge Localisation/master into OpenRCT2/develop. 2018-10-27 04:00:29 +00:00