1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-07 07:04:36 +01:00
Commit Graph

352 Commits

Author SHA1 Message Date
Robert Jordan
a3c64bb146 Feature: Preview title sequences in-game
Title sequences can now be played back in-game, allowing for much easier
editing.

Improved title sequence playback in general. Clicking play while on a
different title sequence will play the new one. Clicking stop will make
the title screen go back to the config title sequence. And the closing
the title sequence window will also make the game go back to the config
title sequence, and reload the sequence if it was modified.

Changes made to title sequences in-game are now correctly loaded in the
title screen.

Starting a title sequence within the editor will now always reset it
even if it's the current playing sequence. (Not for playing in the
editor though).

Get Location in title sequence command editor now has 100% accuracy
compared to before
where it would usually get some offset value.

Added `get_map_coordinates_from_pos_window` which will allow getting the
viewport coordinates of a specific window even if the input coordinates
are under another window. This has use with getting 2D positions from
the main window without the other windows getting in the way.

Options window will now always specify the config title sequence in the
dropdown and not the current title sequence.

Made a global variable `gLoadKeepWindowsOpen`, in game.h to keep windows
open when loading a park. When loading a title sequence park in-game.
The sequence player will force-close all park-specific windows ahead of
time.

Skipping while testing title sequences no longer needs to reload the
park if the current playback position is already before the target
position and ahead of the load position.

Added changelog entry.
2017-10-30 12:07:01 +01:00
Cody Jung
cc82fceaef Fix #6199: Inverted hairpin coaster vehicle tab has vehicle too low 2017-10-27 11:25:18 +02:00
Michał Janiszewski
d924d771a6 Update changelog for #6295
[ci skip]
2017-10-24 16:30:58 +02:00
Cody Jung
c25a4490e4 Windows: Fix bad screenshots if park name has ":"
Fixes issue #6481 where taking a screenshot of a park with a colon in
its name on Windows was causing the screenshot data to get written as an
alternate data stream.

This patch replaces any colons with hyphens in screenshot filenames on
Windows.
2017-10-24 14:52:40 +02:00
Robert Jordan
0e354e18af Improve #6125: Place path in park entrances (#6479)
Can now update park entrance path by placing path over the middle tile.
Updating the path costs money just like normally replacing a path.

Updating the path type can only be done in sandbox mode or in the
scenario editor.
2017-10-24 09:50:33 +02:00
Cody Jung
4bbb0b3b37 Fix #6251: Splash Boats flat-to-25 tunnel drawn incorrectly
Fixes Splash Boats 25deg-down-to-flat tunnel rendering. This is based on
flat-to-25deg-up (but opposite).

Wrap Splash Boats fix in an ifdef for TestPaint.
2017-10-24 09:45:49 +02:00
zaxcav
f5ff867599 Fix #6261: Broken pathfinding after removing park entrances with the tile inspector
Check the gParkEntrance locations after loading from file and clear those locations for which there is no longer a park entrance map element.
Resolves path finding problems in parks caused, for example, be deleting a park entrance using the tile inspector.

Fixes #6261, #6344, #6520.
2017-10-22 23:22:46 +02:00
Ted John
8d1710d798 Fix #6460: Crash when reading corrupt object files
- Move sawyer coding functions to SawyerChunkReader.
- Replace assertions with exceptions to prevent crash on invalid chunks.
2017-10-22 16:21:13 +02:00
Aaron van Geffen
346d1a6fbf Add changelog entry. 2017-10-15 22:31:11 +02:00
Martin Müller
ffdc854c1f Fix #5741: Disappearing land/construction rights indicators 2017-10-15 16:11:08 +02:00
Robert Jordan
0313183d13 Fix #6318: Can't fire staff that are being placed 2017-10-14 22:14:45 +02:00
Robert Jordan
167662f651 Improvement: more icon resolutions 2017-10-13 22:39:08 +02:00
Robert Jordan
7d6bfa19ea Fix #6452: scenario text truncated when switching architectures
`ScenarioFileIndex`'s `Serialize` and `Deserialize` now read and write each
individual value of a `scenario_index_entry` instead of the entire struct
at once. Thus the difference in pointer sizes of `highscore` on different
architecture builds will not cause issues with `scenarios.idx`.
2017-10-13 10:00:42 +02:00
Michael Steenbeek
9cccd307f4 Add #6445 to changelog
[ci skip]
2017-10-12 12:42:56 +02:00
Michael Steenbeek
fe97215013 Add #6433 to changelog 2017-10-11 10:35:43 +02:00
Michael Steenbeek
9caf34824b Add #3510, #6223, #6290, #6414, #6423 to changelog
[ci skip]
2017-10-10 17:14:22 +02:00
duncanspumpkin
f5d0924520 Update changelog 2017-10-10 12:43:54 +02:00
Michael Steenbeek
6621faf27a Fix #6196: Guest's energy underflows and never decreases
Issue caused by using max where min was intended.
This also reverts an earlier change in capping the energy target, since it seems to max out at 255, unlike energy itself.
2017-10-10 10:06:56 +02:00
Michael Steenbeek
cf61bdb824 Add #6411 to changelog
[ci skip]
2017-10-09 10:50:47 +02:00
Christian F. Coors
84086a2465 Fix http_request_t 2017-10-07 20:15:39 +02:00
Aaron van Geffen
86031410c6 Clear IME buffer after committing composed text. 2017-10-07 20:12:05 +02:00
Aaron van Geffen
0217734c4e Fix #6383: macOS deprecation errors when compiling. 2017-10-06 11:23:16 +02:00
Christian F. Coors
ecc6bf5120 Fix scrolling with mouse wheel 2017-10-06 10:17:43 +02:00
Olivier Wervers
a75d727685 Implement #5826: Add command to show map data counts and limits 2017-10-05 10:00:32 +02:00
Michael Steenbeek
197accf72d Update changelog for #6360
[ci skip]
2017-10-04 19:51:03 +02:00
Michael Steenbeek
05b274a239 Fix #5609: Vehicle switching may cause '0 cars per train' to be set 2017-10-04 19:42:44 +02:00
Olivier Wervers
d47f758b0e Fix #6118, #6245, #6366: Tracked animated vehicles not animating 2017-10-04 14:51:48 +02:00
Olivier Wervers
811fabb2a9 Update changelog for #6324 and #6331 2017-10-04 13:32:40 +02:00
Michael Steenbeek
cbe5b1dee6 Add #6308 to changelog
[ci skip]
2017-10-03 09:34:16 +02:00
Gymnasiast
e6faf6b7c4 Fix #6201, #6250: custom RCT1 scenarios cause empty scenario list entry
The scenario repository did not correctly handle custom RCT1 scenarios.
They were not listed, but if they existed, an empty entry would appear in the scenario list.
This fixes both issues, and also prints a warning message, should this ever happen again.
2017-10-03 07:48:02 +02:00
Olivier Wervers
45944cb037 Fix #6202: Avoid breaking occupied benches 2017-10-02 17:18:51 +02:00
Michael Steenbeek
0260633953 Add RCTC compatibility features to changelog
[ci skip]
2017-09-29 10:49:46 +02:00
Michael Steenbeek
b2968ce8b0 Fix #6320: Crash when CSS1.DAT is absent 2017-09-29 10:43:47 +02:00
Michael Steenbeek
18db4a5274 Implement #6292: Allow building queue lines in the the Scenario Editor
Also format the file properly and do a bit of clean up.
It's now also possible to build queue lines for editor-only paths.
2017-09-25 22:09:40 +02:00
Michael Steenbeek
453fb4611c Update changelog.txt 2017-09-13 22:00:10 +02:00
Michael Steenbeek
d3663cca97 Update changelog.txt 2017-09-11 21:21:39 +02:00
Dennis-Z
6bf1e2e948 Update changelog 2017-09-01 21:02:11 +02:00
Ted John
c40b73d5a4 Merge pull request #6235 from IntelOrca/feature/dirty-visuals
Add drawing debug option for showing visuals when and where blocks of the screen are painted.
This will currently only work in hardware display drawing engine.
2017-09-01 11:30:32 +01:00
Ted John
687493a605 Update changelog 2017-08-31 22:37:40 +01:00
Ted John
aad2cb60e2 Update changelog
[ci skip]
2017-08-29 17:58:35 +01:00
Michael Steenbeek
f677fe71b6 Fix incorrectly placed entry 2017-08-23 16:21:28 +02:00
Michael Steenbeek
77077a62b8 Update changelog.txt 2017-08-23 16:09:07 +02:00
Michael Steenbeek
9aeca18026 Add #6198 to changelog
[ci skip]
2017-08-22 23:09:14 +02:00
rwjuk
5bda207c2c Fix #5417: Crooked House tracked rides do not dispatch vehicles 2017-08-22 11:52:01 +02:00
Keatzee
b89e01de8b Fix #5788: Empty scenario name becomes invisible list entry (#6197) 2017-08-19 07:49:35 +02:00
Philip Goto
6547116401 Fix #6193: All rings in Space Rings use the same secondary colour (#6194)
The Space Rings attraction used the secondary colour of the first ring no matter if the colours are set to all the same or different per ring. Now it uses the right colour for each ring.
2017-08-17 20:06:08 +02:00
jensj12
4a3b54332e Update changelog for #6172
[ci skip]
2017-08-17 12:18:03 +02:00
Richard Jenkins
5522422cbe Fix #6169: Windows installer runs game with admin privileges (#6176) 2017-08-17 12:16:36 +02:00
wolfreak99
50d38eea2e Refresh loadsave on browse dialog cancel 2017-08-17 10:47:57 +02:00
Dennis-Z
abf440d01c Fix viewport clipping issues with the OpenGL renderer (#6188) 2017-08-16 22:11:43 +01:00