1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00
Commit Graph

11887 Commits

Author SHA1 Message Date
Ted John
001120e6b2 Fix #4531: Ride sound focus not available any longer
Only reset the ride viewport if it the window has actually been resized and maintain the viewport flags.
2016-10-05 19:08:20 +01:00
Ted John
0341935ee4 Merge pull request #4530 from IntelOrca/paint/wild-mouse
Paint Setup: Wild Mouse
2016-10-05 18:55:07 +01:00
Ted John
2de33772cd Revert openrct2.vcxproj.user 2016-10-05 18:39:49 +01:00
Ted John
c6efe8dabc Clean up 2016-10-05 18:39:25 +01:00
Ted John
8abd11f8bd Implement right quarter turn 3, 25 deg up and counterpart 2016-10-05 18:31:37 +01:00
LRFLEW
79a5cec15a Improve Retina Display Support on macOS 2016-10-05 18:24:10 +01:00
LRFLEW
97cc97e0e8 Fix #3842: Version number not up to date
Add Version Information to Info.plist for macOS
2016-10-05 11:50:31 -05:00
wolfreak99
53c123acae set render_weather_effects and render_weather_gloom in console 2016-10-05 10:43:38 -04:00
Ted John
8f77790e4d Implement right quarter turn 3, 25 deg down and counterpart 2016-10-05 13:03:28 +01:00
zaxcav
bdb8a15903 Make path wide flag update only update the current tile.
Previously updating the path wide flag updated the current tile and reset the wide flag in some neighboring tiles.

This could cause glitches in the pathfinding performed over those reset tiles.
2016-10-05 13:36:43 +02:00
zaxcav
c68571392a Strengthen the checks for adjacent stations
Existing checks only checked for a track piece of a snychronised ride at the adjacent location.  Add check that the track piece must also be a station platform.

Refactor common code for syncing stations and applying rating bonus for synchronised rides.
2016-10-05 11:13:28 +02:00
Ted John
71cf498206 Implement quarter turn 3 2016-10-04 22:29:22 +01:00
Ted John
59cf534bbb Implement quarter turn 1 2016-10-04 22:13:48 +01:00
Ted John
78e7bdf4ea Implement steep to flat pieces 2016-10-04 21:45:03 +01:00
Ted John
53f613a30d Implement most slope pieces 2016-10-04 21:31:36 +01:00
Ted John
d29bc09683 Implement rotation control toggle 2016-10-04 20:29:28 +01:00
Ted John
8f38a3b279 Implement brakes 2016-10-04 18:47:09 +01:00
Ted John
461680be46 Implement station 2016-10-04 18:39:22 +01:00
Ted John
67d04a26ee Implement flat 2016-10-04 18:29:03 +01:00
Ted John
80f2389de0 Setup debug settings 2016-10-04 18:22:27 +01:00
Ted John
497c99a2b8 Setup wild mouse paint function 2016-10-04 18:21:55 +01:00
Michał Janiszewski
71d0861be1 Mark classes as final
This may hint compiler to de-virtualise some calls.
2016-10-04 18:14:29 +01:00
Ted John
4b92e5e820 Merge pull request #4521 from marijnvdwerf/fix/osx-macos
Convert more occurences of OS X to macOS
2016-10-04 18:14:03 +01:00
zaxcav
5fdfb397d2 Fix typo 2016-10-04 15:50:23 +02:00
zaxcav
5217221067 Only add adjacent station rating bonus if ride actually has adjacent station(s). 2016-10-04 15:11:39 +02:00
zaxcav
d447223535 Increase network version for pathfinding updates. 2016-10-04 12:32:06 +02:00
zaxcav
72b4ff4ac8 Fix another typo 'uint' vs 'uint8'. 2016-10-04 12:12:21 +02:00
zaxcav
533d51489d Fix typo 'uint' vs 'uint8'. 2016-10-04 12:02:24 +02:00
zaxcav
2aaf0692f9 Remove unused text descriptions of enum. 2016-10-04 10:05:51 +02:00
zaxcav
7ff53057c8 Optimise pathfinding changes. 2016-10-04 10:05:51 +02:00
zaxcav
c1b371b510 Pathfinding now only treats wide path tiles as continuing tiles (and therefore a valid search result) when the current path tile is also wide.
Wide tiles are consequently only traversed to reach thin path tiles when in an area of wide path tiles. This fixes peeps getting stuck when the path search limits are all further away from the destination than wide tiles.
2016-10-04 10:05:51 +02:00
zaxcav
9625a42d82 Collect search path telemetry in the pathfinding:
- Telemetry information collected includes: end location, steps taken, number of junctions walked through, the list of junctions walked through and the directions taken at each of those junctions.

- Telemetry collection is not optimised and currently has a negative performance impact.

Improve pathfinding debugging framework:

- Include collected telemetry information in the debugging messages.

- Enable debugging only for specific peeps - for guests, debugging is logged for tracked guest(s) only; for staff, debugging is logged for "Mechanic Debug" only.

- Debug messages need a DEBUG build with appropriate log levels enabled: used log levels are VERBOSE and INFO.
2016-10-04 10:05:51 +02:00
zaxcav
bb5710b442 Add missing #defines when DEBUG=0. 2016-10-04 10:05:51 +02:00
zaxcav
1810e56cc6 Fix #if defined for when compiling on DEBUG on non-Windows platforms. 2016-10-04 10:05:51 +02:00
zaxcav
fd66526351 Basic commenting of the staff path finding code. 2016-10-04 10:05:51 +02:00
zaxcav
f3cf23f5d5 Ignore no-through paths that do not reach the goal in peep path finding.
Pathfinding previously picked whichever path got closest to the goal, also when that path is a dead end with no through way to the goal.

Adjust the heuristic score comparison to only consider map elements that have reached the goal and search paths that reach one of the search limits, ending on a path tile (i.e. the path continues, from which the goal may still be reachable).

Update peep->pathfind_history to only store thin junctions.
2016-10-04 10:05:51 +02:00
OpenRCT2 git bot
89d672ba70 Merge Localisation/master into OpenRCT2/develop. 2016-10-04 04:00:21 +00:00
Ted John
3bb05e2ddd Merge pull request #4523 from IntelOrca/paint/wooden-wild-mouse
Paint Setup: Wooden Wild Mouse
2016-10-04 00:27:25 +01:00
Ted John
973765769d Remove unnecessary braces 2016-10-04 00:20:22 +01:00
Ted John
f58cbfbb69 Revert openrct2.vcxproj.user 2016-10-04 00:11:09 +01:00
Ted John
ef81919f02 Implement quarter turn 3 2016-10-04 00:10:50 +01:00
Ted John
c6a1ecab91 Implement quarter turn 1 2016-10-03 23:50:48 +01:00
Ted John
475a142bf7 Implement steep to flat pieces 2016-10-03 23:50:34 +01:00
Ted John
3c43bb5522 Implement most of the slope pieces 2016-10-03 22:35:06 +01:00
Michael Steenbeek
52e5506d9a Fix crashes in ride with more than 12 cars per train 2016-10-03 21:58:52 +01:00
Ted John
fc8bd70f93 Implement 25 and 60 deg up 2016-10-03 21:40:32 +01:00
Ted John
e18233d71e Implement station 2016-10-03 21:40:32 +01:00
Ted John
041b286c8b Implement flat 2016-10-03 21:40:32 +01:00
Ted John
1bb09d6c62 Setup debug settings 2016-10-03 21:40:32 +01:00
Ted John
7c61b960b7 Setup paint function for wooden wild mouse coaster 2016-10-03 21:40:32 +01:00