1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

18295 Commits

Author SHA1 Message Date
Gymnasiast
6c3c857dfa Release v0.2.6
- Feature: [#10925] Show hovered values on finance charts.
- Feature: [#11013] Ctrl+C copies input dialog text to clipboard.
- Feature: [#11218] load_park command for console
- Feature: [#11272] Option for toggling notifications for 'Ride casualties' and 'Stuck or stalled vehicles'.
- Feature: [#11281] add_news_item command for console
- Feature: [#11300] Add powered launch and reverse incline launched shuttle mode to the Stand-Up Roller Coaster (for RCT1 parity).
- Fix: [#475] Water sides drawn incorrectly (original bug).
- Fix: [#6123, #7907, #9472, #11028] Cannot build some track designs with 4 stations (original bug).
- Fix: [#6238] Invalid tile elem iteration in Guest::UpdateUsingBin
- Fix: [#7094] Back wall edge texture in water missing.
- Fix: [#9719] Hacked walls in RCT1 saves are imported incorrectly.
- Fix: [#10372, #10509, #10806] Lift base sections incorrectly exporting, causing various lift related bugs.
- Fix: [#10928] File browser's date column is too narrow.
- Fix: [#10951, #11160] Attempting to place park entrances creates ghost entrances in random locations.
- Fix: [#11005] Company value overflows.
- Fix: [#11027] Third color on walls becomes black when saving.
- Fix: [#11063] Scrolling position persists when switching tabs in the scenery window.
- Fix: [#11106] Crash on getting invalid vehicle index.
- Fix: [#11126] Cannot place Frightmare track design.
- Fix: [#11208] Cannot export parks with RCT2 DLC objects.
- Fix: [#11230] Seat Rotation not imported correctly for hacked rides.
- Fix: [#11225] Replay manager cannot handle track designs.
- Fix: [#11246] Fix Various Import/Export issues with Boat locations, balloon frame number.
- Fix: [#11258] Properly remove format codes from imported strings.
- Fix: [#11286] Fix banner tooltip colour.
- Fix: Small red gardens in RCT1 saves are imported in the wrong colour.
- Improved: [#11157] Slimmer virtual floor lines.
v0.2.6
2020-04-17 16:13:30 +02:00
Gymnasiast
ddfc0aceb4 Merge branch 'develop' 2020-04-17 16:09:15 +02:00
Tulio Leao
c26a9d051b Make issue template support new syntax (#11312) 2020-04-17 15:18:44 +02:00
Aaron van Geffen
97f690ce6d Add Haruna Chinzei to list of Japanese translators. 2020-04-17 15:06:50 +02:00
Gymnasiast
f2c153a67e changelog.md: form fixes 2020-04-17 14:55:21 +02:00
Ted John
34f4c6ab28 Fix 11050: macOS release 0.2.5 has invalid permissions 2020-04-17 14:52:58 +02:00
Michael Steenbeek
03785b4b24 Update objects to v1.0.14 (#11314) 2020-04-17 14:29:45 +02:00
Tulio Leao
d342423b24 Address string ids skipped in #11273 (#11310) 2020-04-17 10:06:15 +02:00
Michael Stowe
163119ea3b Fix #11275: Crashes that kill only 1 peep create grammatically incorrect messages (#11278)
Fix #11275: Crashes that kill only 1 peep create grammatically incorrect messages (#11278)

Co-authored-by: Tulio Leao <tupaschoal@gmail.com>
2020-04-16 21:04:12 -03:00
Duncan
4a81219521 Merge pull request #11291 from brenoguim/fix_banner_string_coloring
Fix coloring of Banners on tooltip
2020-04-16 22:27:27 +01:00
Duncan
92449773c5 Fix #11106: Crash on getting invalid vehicle index (#11305)
* Fix #11106: Fix crash on bad value prev_vehicle

This allows Thorpe Park to be loaded again. This is ultimately not a great fix. In the future it should be made so that the vehicle pointers are validated on load to ensure there are no loops or bad values.
2020-04-16 18:24:07 -03:00
Michał Janiszewski
d8994920f8 Add #11218, #11281 to changelog (#11307) 2020-04-16 21:55:53 +02:00
Julian
a6684603d8 Load_Park feature for headless server (#11218)
* Load_Park feature

New feature "load_park name" from "save" folder.

* Fix codestyle

-

* Fix codestyle

-

* Fixed typo for load_park 

load_park is now <name> instead of [name]

* improve load_park command

allow to specify park via absolute path
make .sv6 filename extension optional
support .sc6 filename extension, but default to .sv6

* report success or failure of load_park to console

Co-authored-by: quadratrund <56112624+quadratrund@users.noreply.github.com>
2020-04-16 16:36:00 +02:00
Michał Janiszewski
46f8c1458e Add add_news_item to the console (#11281) 2020-04-16 16:27:48 +02:00
Aaron van Geffen
a81488d704 Fix #11272: Make casualty and stalled vehicle notifications optional 2020-04-16 14:41:39 +02:00
Aaron van Geffen
2d0f62e903 Open about window when clicking the title screen logo 2020-04-16 13:18:09 +02:00
Breno Rodrigues Guimarães
10ab9e4528 Make ParkLoadResult move friendly (#11297)
This patch changes the member of ParkLoadResult to not be const. Const members cannot be moved so trying to move ParkLoadResult actually causes a copy.
It also adds std::move to move the parameter to the member, otherwise a copy happens.

See: https://godbolt.org/z/L4Wakb
2020-04-16 13:13:13 +02:00
Fred-1044276
a80905e30d Implement #11300: Add RCT1 operating modes to Stand-up Roller Coaster 2020-04-16 13:12:43 +02:00
Michael Steenbeek
63868ee2f2 Merge pull request #11303 from Gymnasiast/refactor/station-index
Small cleanup of RideRatings.cpp and Compat.cpp
2020-04-16 13:11:49 +02:00
Breno Guimaraes
347c402984 Fix #11286: Fix coloring of banners on tooltip
This patch moves the function that adds coloring to the buffer text into the Buffer struct with a flag.
It also changes both Banner printing and Banner tooltip to use the colored version
2020-04-16 08:06:07 -03:00
Gymnasiast
8a8eba0829 Clean up station functions and construction markers in TestPaint 2020-04-16 12:44:56 +02:00
Gymnasiast
10f43766ef Rename i to stationIndex 2020-04-16 12:44:25 +02:00
Breno Rodrigues Guimarães
174a480870 Use utf8_remove_format_codes to remove format codes from user strings (#11289)
The previous code used RCT12::RemoveFormatCodes to remove format codes from RCT strings. But that function uses utf8 methods to identify format codes. In this new version, rct2_to_utf8 is called first to obtain an utf8 string, and then utf8_remove_format_codes can be used.
2020-04-15 07:17:43 +02:00
Michał Janiszewski
1ffd92839e Merge pull request #11228 from duncanspumpkin/fix_replay
Fix replay manager checksums
2020-04-14 23:01:34 +02:00
duncanspumpkin
bc04fb29c2 Remove all replay tests from 32bit builds 2020-04-12 11:18:23 +01:00
duncanspumpkin
9c5a4b8561 Add exception handler to prevent 32bit OS read problems 2020-04-12 10:56:19 +01:00
duncanspumpkin
064f6f7b30 Bump replays version 2020-04-12 10:54:17 +01:00
duncanspumpkin
501e5e2b34 Fix formatting 2020-04-12 10:54:17 +01:00
duncanspumpkin
59723cc7c3 Rework game state snapshots for variable amounts
Added a check that ensures that the log is not created unless there is a difference
2020-04-12 10:54:17 +01:00
duncanspumpkin
e5d68cacc9 Make snapshots at start and end of replay 2020-04-12 10:54:17 +01:00
duncanspumpkin
1395b9a9c1 Fix normalisation writing files to unknown location 2020-04-12 10:54:17 +01:00
duncanspumpkin
4f0d9a6363 Remove SpriteSpatialData from replays 2020-04-12 10:54:17 +01:00
duncanspumpkin
53672c0519 Introduce a GameStateSnapshot to the replay file 2020-04-12 10:54:17 +01:00
duncanspumpkin
5b0015bbf3 Fix replay manager checksums 2020-04-12 10:54:17 +01:00
Aaron van Geffen
0cbd700290 Warn to console if no autosave could be saved (#11255)
* Warn to console if no autosave could be saved.

* Use std::fprintf as suggested.

* Update src/openrct2/Game.cpp

Co-Authored-By: Michał Janiszewski <janisozaur@users.noreply.github.com>

Co-authored-by: Michał Janiszewski <janisozaur@users.noreply.github.com>
2020-04-12 11:32:39 +02:00
Aaron van Geffen
b5336fc6b6 Merge pull request #11267 from duncanspumpkin/fix_lifts
Fix #10372, #10509, #10806. Lift base sections did not export correctly
2020-04-11 10:20:10 +02:00
duncanspumpkin
b01e9381f7 Update network version. Add changelog entry 2020-04-11 09:07:02 +01:00
duncanspumpkin
d4998a0ade Fix #10372, #10509, #10806. Lift base sections did not export correctly
Mistake made whilst refactoring that assumed that station indexes are set on only station pieces.
2020-04-11 08:16:53 +01:00
Duncan
fdf98060cf Change the spatial insert to make it ordered (#11252)
* Change the spatial insert to make it ordered

This is so that the spatial index can be rebuilt and gauranteed to be in the correct order

* Increment Network Version

* Make review changes

* Remove the gSpriteSpatialIndex from the network

* Use safer get function

* Final little tweak
2020-04-09 10:46:26 +01:00
Hielke Morsink
c0486e250e Fix: config and park files not selected on crash (#11251) 2020-04-08 20:00:02 +02:00
Michał Janiszewski
a197e529e8 Fix #6238: Invalid tile elem iteration in Guest::UpdateUsingBin (#11248) 2020-04-08 01:03:02 +02:00
Michał Janiszewski
0c6828f692 Merge pull request #11246 from duncanspumpkin/fix_various
Fix Various Import/Export issues
2020-04-07 22:02:17 +02:00
Michał Janiszewski
2851f8654b Update changelog.txt 2020-04-07 21:50:08 +02:00
duncanspumpkin
d9ebec6690 Increment network version 2020-04-07 20:19:35 +01:00
duncanspumpkin
54a058ca6c Fix boat location import/export/update.
After a refactoring to split off the boat location the import/export functions meant incorrect information could be loaded into the s6 file for boats that had not left the station. Boats that had left the station had other fields clobbered for the same reason
2020-04-07 20:19:26 +01:00
duncanspumpkin
18a21a73ab Fix balloons import/export issue 2020-04-07 20:08:47 +01:00
Michał Janiszewski
328856a933 Add MISC spirtes to comparison as well 2020-04-07 20:07:37 +01:00
Michał Janiszewski
50541a2cc7 Fix GameStateSnapshot comparators 2020-04-07 20:07:37 +01:00
duncanspumpkin
b857792f23 Fix vehicles changing state on export/import 2020-04-07 20:07:37 +01:00
Michał Janiszewski
dd5ab2e01a Merge pull request #11239 from janisozaur/reintroduce-fixes
Reintroduce fixes taken out in #11190
2020-04-06 23:07:49 +02:00