Commit Graph

15649 Commits

Author SHA1 Message Date
ζeh Matt 1abb31a159 Implement game action logging. (#8138) 2018-11-20 06:04:42 +01:00
OpenRCT2 git bot e043af4be2 Merge Localisation/master into OpenRCT2/develop. 2018-11-20 04:00:25 +00:00
Michał Janiszewski 0d2751a54e
Hide the network class declaration to Network.cpp (#8276)
The Network class is not used by anyone other than free functions in
Network.cpp, nor should it be used by anyone with the current design.

This change leaves only the publicly-exposed functions left in the
header, drastically reducing amount of required headers in network.h,
one of the heaviest headers we had so far.
2018-11-19 23:10:54 +01:00
Hielke Morsink 913e75fc65 Mention correct tab name in string 2018-11-19 22:11:18 +01:00
Michael Steenbeek 85345e775d
Add #7439 to changelog [ci skip] 2018-11-19 22:10:29 +01:00
TELK 4cc2057b94 Add 'say' command in console (#8259)
* Add 'say' command in console

* Unifying space just before }
2018-11-18 20:38:55 +01:00
Michael Steenbeek 9446422aca
Fix #8272: Do not attempt to add blank DAT names in S4Importer 2018-11-18 10:35:00 +01:00
Michael Steenbeek 57a6f06891
Merge pull request #8270 from Gymnasiast/fix/rct1-research-walls
Some RCT1 import fixes
2018-11-17 18:39:25 +01:00
Gymnasiast 618a650ac2 Fix RCT1 import of white and light brown fence 2018-11-17 18:18:00 +01:00
Gymnasiast ace42a98a5 Fix RCT1 import if research list is gone 2018-11-17 18:18:00 +01:00
Michał Janiszewski af91a0ef61
Add abort and terminate to console
Often when testing things out there's a need to have a way of inducing a
crash. Rather than trying to figure out what might be the bug that would
cause such conditions on given version, compiler and OS, provide a
simple way to call std::abort() and std::terminate() via the in-game
console.

Additionally, sort the commands.
2018-11-17 00:26:27 +01:00
OpenRCT2 git bot 2baaa070e9 Merge Localisation/master into OpenRCT2/develop. 2018-11-16 04:00:23 +00:00
Michael Steenbeek de12a8dda1
Import S4 elements property-by-property 2018-11-13 21:48:20 +01:00
ζeh Matt 3a1c14146a Fix #8253: Prevent null dereference. 2018-11-12 21:34:05 +01:00
ζeh Matt 06c5508bab Fix #8212: Crash when opening rides with changed mode and no tracks. (#8216) 2018-11-12 20:13:42 +01:00
Felix Pelletier 4c5fccc9b6 Fix #7689: Deleting 0-tile maze gives a MONEY32_UNDEFINED (negative) refund 2018-11-11 21:01:06 +01:00
Michał Janiszewski 7582afe0b4
Fix #8248: Invalid tile element in footpath_element_insert (#8249)
* Fix #8248: Invalid tile element in footpath_element_insert

* Update Footpath.cpp
2018-11-11 19:17:08 +01:00
OpenRCT2 git bot 6deb5daf86 Merge Localisation/master into OpenRCT2/develop. 2018-11-11 04:00:23 +00:00
Michael Steenbeek 82aba96728 Cheats: use 'weather' instead of 'climate' (#8246) 2018-11-10 14:30:41 +01:00
Michael Steenbeek 9f11588b6a
Merge pull request #8244 from Gymnasiast/feature/8098
Add Russian rouble sign and draw non-breaking spaces
2018-11-10 09:02:05 +01:00
OpenRCT2 git bot 3c23ebb467 Merge Localisation/master into OpenRCT2/develop. 2018-11-10 04:00:25 +00:00
Gymnasiast a2033bc8ab Add non-breaking spaces 2018-11-09 23:41:18 +01:00
Gymnasiast 72d2ebd4d7 Add Russian rouble sign 2018-11-09 23:40:18 +01:00
Hielke Morsink 18f1fab2cc
Merge pull request #8235 from Broxzier/ui/climate
Move climate setting from objective to scenario settings window
2018-11-09 00:10:52 +01:00
Hielke Morsink fb5343114e format NetworkActions::Actions 2018-11-08 23:45:40 +01:00
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