Commit Graph

587 Commits

Author SHA1 Message Date
Ted John 253409b64c Update changelog 2018-12-09 23:30:40 +00:00
roosen5 d9806305b0 Fix #8358: infinite loop when changing vehicle count on stopped ride. (#8375)
The sprite_remove in Sprite.cpp tries to find itself inside the quadrant.
It does not find itself, and because the rest of the code assumes that it will always find it
The normal code tries to set the value of the next_in_quadrant so that whoever points at it, will now point at its next sprite.
But because it didn't find whoever was pointing to it, it would set the pointer to SPRITE_INDEX_NULL to its next sprite.
This would lead to cycles in the linked list

The reason that the sprite was not found is that during the entry of a ride, the position of a peep is set to LOCATION_NULL
Exiting a ride sets it back to whatever the location is of an exit.
However stopping a ride that still has people in it would go wrong, as the people are removed from the ride through ride_remove_peeps

This function was called during the PaintWindows.
The fact that this function is called during the painting is the problem, because of the tweening:
Before painting all the positions are stored (Which would at that point be the LOCATION_NULL), during the painting
the peep would be removed from the ride, setting their location to the enrance/exit
After painting is done all the positions are restored again, so the patched position is forgotten and then it would be
removing a sprite with location LOCATION_NULL and that goes wrong

The fix is to have the window update outside of paint
2018-12-09 20:46:04 +01:00
Michael Steenbeek a9a583dcd1
Fix #8200: Incorrect behaviour when removing entrances/exits on the same tile 2018-11-27 22:59:31 +01:00
TELK 5a16e0416e Add #8259 to changelog [ci skip] 2018-11-21 18:24:34 +01:00
Michael Steenbeek 85345e775d
Add #7439 to changelog [ci skip] 2018-11-19 22:10:29 +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
Gymnasiast 72d2ebd4d7 Add Russian rouble sign 2018-11-09 23:40:18 +01:00
Hielke Morsink 7a57bf1d5c Move climate dropdown from objective options to scenario options 2018-11-06 22:53:31 +01:00
ζeh Matt 103cd8310f Fix #8204: Crash when tile element has no surface elements. (#8209) 2018-11-02 22:35:45 +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 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
Topodic bf80f738c1 Fix #8187: Cannot set land ownership over ride entrances/exits 2018-10-31 12:25:02 +01:00
ζeh Matt 83c3f3a905 Fix #8121: Crash renaming park with server logging enabled. (#8177) 2018-10-28 09:36:18 -07:00
Michał Janiszewski 11005c9f77
Enable gzip-compression of minidumps, update information (#8159)
Enable gzip, but only for local save, as GitHub will accept
gzip-compressed files even if they don't advertise it explicitly. Update
changelog and GitHub issue template to reflect that.
2018-10-26 04:39:25 -07:00
Christian F. Coors 2fccd4c9ab Install verbose shortcut on Windows (#8116) 2018-10-26 08:41:22 +01:00
Ted John f224f7181d
Search for Discord release of RCT2 (#8149) 2018-10-25 10:57:19 +01:00
Michael Steenbeek 15490010e1 Revert "Fix #8064: Prohibited high construction error is sometimes shown as (undefined string)"
This reverts commit a8e46f5eec.
2018-10-23 14:52:51 +02:00
ζeh Matt a8e46f5eec Fix #8064: Prohibited high construction error is sometimes shown as (undefined string) 2018-10-21 20:51:41 +02:00
J. Lord 2802b9a5d3 Implement #8099: Add Powered Launch mode to Inverted RC (for RCT1 parity) 2018-10-21 13:45:09 +02:00
ζeh Matt f186860afd Fix #8120: Crash trying to place peep spawn outside of map 2018-10-20 12:53:23 +02:00
Michael Steenbeek 58fb0dd440
Add #7952 to changelog [ci skip] 2018-10-17 15:15:58 +02:00
tombomp c914c7d1e8 Fix #8101: Title Sequences window flashes on opening
Previously a max value lower than min value was being passed to clamp.
WH2 seems the correct height for both min and max (tab doesn't change).
2018-10-17 14:15:27 +02:00
tombomp 38cc4692f6 Fix #7473: Disable audio on focus loss not correct
Previously only muted the volume if sound effects was enabled, but ride music is also a possible source of sound.
2018-10-16 23:07:41 +02:00
tombomp 6992be87c3 Fix #8090: Bug with maze design saving
The exit wasn't being saved - ride_get_entrance_location was mistakenly called twice
2018-10-15 22:58:59 +02:00
tombomp 18307e3841 Add a "current_rotation" variable to the console (#8080)
This is a value from 0-3 showing current rotation of main window, 3
being the default and lower going counter clockwise. Possible to set as
well.
2018-10-14 23:44:45 +02:00
Michał Janiszewski bce5c02fb7 Add #8078 (save_park command) to changelog
[ci skip]
2018-10-14 22:38:02 +02:00
Hielke Morsink a15268be56
Fix #8062: Unstable cheat warning only shown when disabled (#8063) 2018-10-08 00:01:40 +02:00
TheAssassin f3c3b45178 Add missing trailing semicolon (#8051) 2018-10-04 22:35:59 +02:00
Ted John 9ef4f99d5a [ci skip] Update changelog 2018-10-04 12:47:51 +01:00
Michał Janiszewski b05e66e67d Fix invalid access to font descriptor 2018-10-03 21:20:04 +02:00
Hielke Morsink 6e62186d01 Fix #8034: screenshot command outputs broken sprites (#8041)
Check for no-graphics instead of headless when creating objects.
2018-10-02 20:09:08 +01:00
Michael Steenbeek 9ff79e65aa
Implement #4418: Steep slopes for the Side-Friction RC 2018-09-27 08:55:29 +02:00
Michael Steenbeek c71ecc0c96
Add #6191 and Hungarian translation to changelog [ci skip] 2018-09-24 12:25:55 +02:00
jensj12 eac9b720ee Add #7726: Shortcut to advance one tick (#7851) 2018-09-23 23:40:47 +02:00
Christian Schubert 16936d4ea1 Fix #7828: Copied entrances and exits stay when demolishing ride (#7932) 2018-09-23 17:38:59 +02:00
Ted John bdf5264972 Update changelog 2018-09-18 12:38:09 +01:00
Aaron van Geffen 47eea292b5 Allow assigning a keyboard shortcut for opening the tile inspector (#7994)
* Allow assigning a keyboard shortcut for opening the tile inspector.

* Only open when debug tools are enabled.

* Add changelog entry
2018-09-15 08:57:50 +02:00
Gymnasiast 3623e80428 Add #7971 to changelog [ci skip] 2018-09-13 22:20:45 +02:00
Viktor Friberg 574fd83882 Improve #2940: Staff patrol areas can now be mouse-painted in singleplayer 2018-09-13 09:25:12 +02:00
Ted John c07a57eb73
Merge pull request #7980 from IntelOrca/improve-portable-builds
Improve portable builds
2018-09-13 08:22:41 +01:00
wolfreak99 28bfab0c9b Draw dangerous G forces on graph in red 2018-09-09 00:03:35 +02:00
Ted John 881060b746 Update man file 2018-09-08 22:23:13 +01:00
Ted John e46a0e6a16 Update changelog 2018-09-08 22:22:19 +01:00
deurklink a5cbcb448c Fix #7975: Clear inspection due flag when interval set to Never 2018-09-07 13:08:26 +02:00
Gymnasiast b1e9afb542 Amend changelog 2018-09-01 21:03:56 +02:00
Michael Steenbeek b24237eda2
Add #7930 to changelog [ci skip] 2018-09-01 20:37:28 +02:00
Michael Steenbeek 0ba47eed2a
Add #7929 to changelog [ci skip] 2018-08-29 23:38:58 +02:00
Michał Janiszewski 4db9b366f8 Start v0.2.1+ 2018-08-26 23:13:01 +02:00
Michał Janiszewski 8ac731e212 Release 0.2.1
- Feature: [#5993] Ride window prices can now be set via text input.
- Feature: [#6998] Guests now wait for passing vehicles before crossing railway tracks.
- Feature: [#7658] Add option to always use system file browsing window.
- Feature: [#7694] Debug option to visualize paths that the game detects as wide.
- Feature: [#7713] The virtual floor now takes land ownership rights into account.
- Feature: [#7771] Danish translation.
- Feature: [#7797, #7802, #7821, #7830] Add sprite font glyphs for Danish, Norwegian, Russian, Turkish, Catalan and Romanian.
- Feature: [#7848] Add a master volume slider to audio options screen.
- Feature: [#7868] Placing scenery while holding shift now scales appropriately with zoom levels.
- Feature: [#7882] Auto-detect Steam and GOG installations of RCT1.
- Feature: [#7885] Turkish translation.
- Fix: [#3177] Wrong keys displayed in shortcut menu.
- Fix: [#4039] No sprite font glyph for German opening quotation mark.
- Fix: [#5548] platform_get_locale_date_format is not implemented for Linux.
- Fix: [#7204] Object source filters do not work for RCT1, AA and LL.
- Fix: [#7440] Memory leak. All system memory used.
- Fix: [#7462] Guest window goes beyond the map edge on a spiral slide.
- Fix: [#7533] Screenshot is incorrectly named/file is not generated in CJK language.
- Fix: [#7628] Always-researched items can be modified in the inventory list.
- Fix: [#7643] No Money scenarios with funding set to zero.
- Fix: [#7653] Finances money spinner is too narrow for big loans.
- Fix: [#7673] Vehicle names are cut off in invention list.
- Fix: [#7674] Rides show up as random numbers in guest's ride list.
- Fix: [#7678] Crash when loading or starting a new game while having object selection window open.
- Fix: [#7683] 'Arbitrary ride type' dropdown state is shared between windows.
- Fix: [#7697] Some scenery groups in RCT1 saves are never invented.
- Fix: [#7711] Inverted Hairpin Coaster allows building invisible banked pieces.
- Fix: [#7734] Title sequence not included in macOS builds as of 0.2.0 release.
- Fix: [#7756] Steam RCT2 path not correctly checked on macOS and Linux.
- Fix: [#7765] Crash when opening ride list window on Windows Vista.
- Fix: [#7773] Once research has been completed, player is still charged for research.
- Fix: [#7786] Crash when importing a track design.
- Fix: [#7793] Duplicate private keys generated.
- Fix: [#7817] No sprite font glyph for interpunct.
- Fix: [#7823] You can build mazes in pause mode.
- Fix: [#7804] Russian ride descriptions are cut off.
- Fix: [#7872] CJK tooltips are often cut off.
- Fix: [#7895] Import of Mega Park and the RCT1 title music do not work on some RCT1 sources.
- Improved: [#7899] Timestamps in the load/save screen are now displayed using local timezone instead of GMT.
- Improved: [#7918] Better RCT2 detection if both disc and GOG/Steam versions are installed.
2018-08-26 22:20:13 +02:00