Commit Graph

16315 Commits

Author SHA1 Message Date
Duncan 82f320eb24
Merge pull request #8830 from duncanspumpkin/path_from_track
Footpath Place From Track Game Action
2019-03-15 19:42:30 +00:00
Michael Steenbeek 1d9b17a66e
Merge pull request #8860 from ZehMatt/mp-connect-desync
Desync fixes.
2019-03-14 14:33:45 +01:00
Matt 52c652098c Update changelog.txt 2019-03-14 13:44:38 +01:00
Matt 3c8480ee26 Remove unused variables and strip unused DEBUG_DESYNC paths. 2019-03-14 13:43:49 +01:00
Matt b249928222 Buffer tick data so client can catch up. 2019-03-14 13:43:49 +01:00
Matt 258f2722d7 Bump up network version. 2019-03-14 13:43:49 +01:00
Matt 8f7cf5fcc9 Check desyncs only when the map is fully loaded. 2019-03-14 13:42:15 +01:00
Matt 7410c4b56c Use real server tick to check desyncs. 2019-03-14 13:42:15 +01:00
Michał Janiszewski 57b8fba322 Start v0.2.2+ 2019-03-13 23:23:38 +01:00
Michał Janiszewski f170b8816f Merge branch 'master' into develop 2019-03-13 23:22:07 +01:00
Michał Janiszewski 298c9f5238 Release 0.2.2
- Feature: [#4418] Allow steep slopes on the side-friction roller coaster.
- Feature: [#7726] Add shortcut to advance one tick.
- Feature: [#7956, #7964] Add sprite font glyphs for Hungarian and some Czech letters.
- Feature: [#7971] Toolbox option to open custom content folder.
- Feature: [#7980] Allow data path for RCT1 to be specified by a command line argument.
- Feature: [#8073] Auto-upload minidumps to backtrace.io (optional, MSVC/Windows only)
- Feature: [#8078] Add save_park command to in-game console.
- Feature: [#8080] New console variable "current_rotation" to get or set view rotation.
- Feature: [#8098] Glyph for Russian rouble sign.
- Feature: [#8099] Add Powered Launch mode to Inverted RC (for RCT1 parity).
- Feature: [#8190] Allow building footpaths on 'corner down' terrain.
- Feature: [#8191] Allow building on-ride photos and water S-bends on the Water Coaster.
- Feature: [#8259] Add say command to in-game console.
- Feature: [#8374] Add replay system.
- Feature: [#8377] Add option to adjust amount of autosaves to keep.
- Feature: [#8458] Add sprite sorting benchmark.
- Feature: [#8583] Add boosters to water coaster.
- Feature: [#8648] Add optional chat button to top toolbar in multiplayer games.
- Feature: [#8652] Add network window including a graph for data usage visualisation.
- Feature: [#8670] Add ability to download missing objects when loading a park.
- Change: [#7961] Add new object types: station, terrain surface, and terrain edge.
- Change: [#8222] The climate setting has been moved from objective options to scenario options.
- Change: [#8718] Allow TARMAC object to be removed when running the `remove_unused_objects` command.
- Change: [#8718] No longer require the generic scenery groups and tarmac footpath to be checked when creating a scenario.
- Change: [#8734] Disable kick button in multiplayer window when unable to use it.
- Fix: [#3832] Changing the colour scheme of track pieces does not work in multiplayer.
- Fix: [#4094] Coasters with long flat-to-steep pieces offer them in diagonal mode (original bug).
- Fix: [#5684] Player list can desync between clients and server and can crash.
- Fix: [#6191] OpenRCT2 fails to run when the path has an emoji in it.
- Fix: [#7439] Placement messages have mixed strings
- Fix: [#7473] Disabling sound effects also disables "Disable audio on focus loss".
- Fix: [#7536] Android builds fail to start.
- Fix: [#7689] Deleting 0-tile maze gives a MONEY32_UNDEFINED (negative) refund.
- Fix: [#7828] Copied entrances and exits stay when demolishing ride.
- Fix: [#7945] Client IP address is logged as `(null)` in server logs.
- Fix: [#7952] Performance drop caused by code refactor.
- Fix: [#7954] Key validation fails on Windows due to non-ASCII user / player name.
- Fix: [#7975] Inspection flag not cleared for rides which are set to never be inspected (original bug).
- Fix: [#7985] Giant Screenshot ignores 'Map rendering' settings.
- Fix: [#7987] Broken track designs increase money by MONEY32_UNDEFINED.
- Fix: [#7991] Scenery and footpaths on Construction Rights tiles can be deleted using Clear Scenery.
- Fix: [#8034] Vanilla sprites are broken when making screenshots from command line.
- Fix: [#8045] Crash when switching between languages.
- Fix: [#8062] In multiplayer warnings for unstable cheats are shown when disabling them.
- Fix: [#8090] Maze designs saved incorrectly.
- Fix: [#8101] Title sequences window flashes after opening.
- Fix: [#8120] Crash trying to place peep spawn outside of map.
- Fix: [#8121] Crash Renaming park with server logging enabled.
- Fix: [#8139] Buying land costs money when the game is in "no money" mode.
- Fix: [#8141] Attempting to build entrance/exit on station 2 does not work.
- Fix: [#8142] Reliability of mazes and crooked houses can go below 100%.
- Fix: [#8187] Cannot set land ownership over ride entrances or exits in sandbox mode.
- Fix: [#8200] Incorrect behaviour when removing entrances and exits that are on the same tile.
- Fix: [#8204] Crash when tile element has no surface elements.
- Fix: [#8264] Rides and scenery placeable outside of map with ZC and Sandbox mode enabled.
- Fix: [#8335] Rides with arbitrary ride types can crash the game when they break down.
- Fix: [#8358] Infinite loop when changing vehicle count on stopped ride.
- Fix: [#8402] Crash closing a window in some cases.
- Fix: [#8431] Crash when game action logging is enabled.
- Fix: [#8433] Crash if master server response is not valid JSON.
- Fix: [#8434] Crash if curl_easy_init fails.
- Fix: [#8443] Crash when selecting the current vehicle for ride that has none available.
- Fix: [#8456] Junior booster track piece doesn't connect properly.
- Fix: [#8464] Crash on game shutdown.
- Fix: [#8469] Crash modifying colour on hacked rides.
- Fix: [#8508] Underground roto-drop is not going up.
- Fix: [#8555] Multiplayer window text limits are not computed properly.
- Fix: [#8572] Steel Twister track pieces ID 64 and 65 drawn incorrectly.
- Fix: [#8585] Part of track missing on air powered vertical coaster.
- Fix: [#8588] Guest list scrolling breaks above ~2000 guests.
- Fix: [#8591] Game loop does not run at a consistent tick rate of 40 Hz.
- Fix: [#8647] Marketing campaigns check for entry fees below £1 (original bug).
- Fix: [#8653] Crash when peeps attempt to enter a ride with no vehicles.
- Fix: [#8720] Desync due to boats colliding with ghost pieces.
- Fix: [#8739] Savegame from original game crashes when cruising through map.
- Fix: [#8742] Access violation in vehicle_update_sound_params.
- Fix: [#8804] Raising water shows money effect at the bottom rather than new height.
- Fix: [#8811] Some fields in the sv6 save file not being copied correctly.
- Fix: [#8824] Invalid read in footpath_chain_ride_queue.
- Improved: [#2940] Allow mouse-dragging to set patrol area (Singleplayer only).
- Improved: [#7730] Draw extreme vertical and lateral Gs red in the ride window's graph tab.
- Improved: [#7930] Automatically create folders for custom content.
- Improved: [#7980] Show the full path of the scenario in the scenario select window.
- Improved: [#7993] Allow assigning a keyboard shortcut for opening the tile inspector.
- Improved: [#8107] Support Discord release of RCT2.
- Improved: [#8491] Highlight entrance and exit with different colours in track design previews.
- Improved: Almost completely new Hungarian translation.
- Removed: [#7929] Support for scenario text objects.
2019-03-13 21:51:10 +01:00
Michał Janiszewski f4de9ad1b8 Merge branch 'develop' 2019-03-13 21:42:31 +01:00
Michał Janiszewski 9554918e30 Fix strncat size argument for GCC9 (#8855)
Previously, the (LTO) linker complained:
```
In function ‘copy_object_names_to_clipboard’,
    inlined from ‘window_object_load_error_mouseup’ at ../src/openrct2-ui/windows/ObjectLoadError.cpp:450:43:
../src/openrct2-ui/windows/ObjectLoadError.cpp:358:16: error: ‘strncat’ specified bound 1 equals source length [-Werror=stringop-overflow=]
  358 |         strncat(buffer, PLATFORM_NEWLINE, line_sep_len);
      |                ^
```
2019-03-13 09:04:28 +00:00
Duncan 5538fe3ac5
Merge pull request #8599 from janisozaur/fix-h2h7-r4-diamondheights
Add missing nullptr check in rct_peep::UpdateRideMazePathfinding
2019-03-12 11:19:04 +00:00
Michael Steenbeek 18ac3b02b1
Fix #8524: Do not show RCT1 land edges when CSG1 is not loaded (#8845) 2019-03-12 09:23:17 +01:00
duncanspumpkin da377e5b64 Add constants for min and max footpath height 2019-03-11 17:43:07 +00:00
Ted John f4526dd2ae
Merge pull request #8837 from IntelOrca/fix/invalid-reads
Fix more of these backtrace reports
2019-03-11 16:31:21 +00:00
Ted John 85c1ec8fa5
Fix #8841: Catch exceptions when loading parks from title editor (#8843) 2019-03-11 16:31:02 +00:00
ζeh Matt e32b9482b8 Update xcode project (#27) 2019-03-11 09:47:11 +00:00
OpenRCT2 git bot 25eb403c78 Merge Localisation/master into OpenRCT2/develop. 2019-03-11 04:00:36 +00:00
Michael Steenbeek 1b39c97412
Update objects to version 1.0.9 (#8844) 2019-03-10 21:19:08 +01:00
Duncan 1e003fbddb
Merge pull request #8836 from duncanspumpkin/fix_error_msg
Fix Game Actions Error Messages
2019-03-09 19:49:44 +00:00
duncanspumpkin 0b989710b5 Increment network version 2019-03-09 18:08:20 +00:00
duncanspumpkin 904bb0b6e9 Fix formatting 2019-03-09 18:07:52 +00:00
duncanspumpkin a3703cf2c0 Fix #8736. Add error title to ride create 2019-03-09 18:07:52 +00:00
duncanspumpkin 63e7f7a990 Use correct error messages with can_construct_with_clear
Pass correct parameters to the function
2019-03-09 18:07:52 +00:00
ζeh Matt b5f3e96cc7
Merge pull request #8838 from ZehMatt/network-sigfail
Fix network public key verification failure.
2019-03-09 14:22:31 +01:00
Ted John ca023f7c5e Fix #8829: invalid read in window_guest_open 2019-03-09 13:05:12 +00:00
Matt e9523caeb4 Bump up network version. 2019-03-09 13:58:49 +01:00
Matt d7a4570a1c Fix #8802: public key signature being null terminated. 2019-03-09 13:58:23 +01:00
Ted John d708234489 Fix #8828: Invalid read in window_footpath_invalidate 2019-03-09 12:37:23 +00:00
Ted John f5904c90cb Fix #8834: Invalid read in UpdateRideApproachExitWaypoints 2019-03-09 11:36:53 +00:00
OpenRCT2 git bot 057a27ad01 Merge Localisation/master into OpenRCT2/develop. 2019-03-08 04:00:33 +00:00
OpenRCT2 git bot 70231fd2a8 Merge Localisation/master into OpenRCT2/develop. 2019-03-07 04:00:21 +00:00
Ted John 0aade935aa
Fix #8824: invalid read in footpath_chain_ride_queue (#8831) 2019-03-06 19:11:21 +00:00
duncanspumpkin 0070283dc2 Implement game action 2019-03-05 19:54:17 +00:00
Aaron van Geffen 736734c065
Fetch more of the repository history for non clang-format builds. (#8788)
By default, Travis fetches a shallow copy of the repository with up to 50 commits, leading `git describe` to not find any tag to offset against.

This commit explicitly adds a refspec to fetch tags from, and then instructs Travis to fetch the relevant commits.
2019-03-05 13:59:10 +01:00
Michael Steenbeek 584ea87ac5
Remove #8584 from changelog [ci skip]
The fix has been reverted because it caused other problems and no follow-up has yet been merged.
2019-03-04 20:24:14 +01:00
Duncan cc90c3b0e1
Merge pull request #8807 from duncanspumpkin/footpath_ga
Footpath GameAction
2019-03-04 17:46:36 +00:00
duncanspumpkin cfeeeab9b9 Increment network version 2019-03-04 16:58:57 +00:00
duncanspumpkin da24ea53b8 Fix formating add missing include 2019-03-04 16:58:22 +00:00
Tom Lankhorst 2290d9de78 Add files to xcode project 2019-03-04 16:57:21 +00:00
duncanspumpkin 540be7c7be Provide a conversion from old game command.
Note doesn't handle footpath scenery or clear direction mode
2019-03-04 16:57:21 +00:00
duncanspumpkin 29de97f5b1 Remove references to old game command 2019-03-04 16:57:21 +00:00
duncanspumpkin bcced4016f Use new action 2019-03-04 16:57:21 +00:00
duncanspumpkin c8fd5174ae Implement footpathplace 2019-03-04 16:57:21 +00:00
duncanspumpkin 510d71ab68 Add FootpathSceneryPlaceAction 2019-03-04 16:57:21 +00:00
duncanspumpkin ef69c01da5 Create FootpathSceneryRemoveAction to split up footpath place 2019-03-04 16:57:21 +00:00
Ted John c479ada2ca Fix #8795: Downloading objects interacts with UI on background thread (#8821)
Queue downloads so that they are invoked on UI thread.
2019-03-03 22:08:13 +01:00
Duncan 473ce29cb3
Merge pull request #8803 from ZehMatt/test-loadsave
Add network load and save test.
2019-03-03 17:13:19 +00:00