Commit Graph

8738 Commits

Author SHA1 Message Date
Ted John 6a367e2066 Improve artifact clean 2016-08-26 18:04:17 +01:00
Ted John 6654cdadfe Create segment data for x64 builds 2016-08-26 14:34:46 +01:00
Ted John a19d28a00c Remove obsolete NSIS build 2016-08-26 14:20:17 +01:00
Ted John ce7afb92fd Migrate update libs to msbuild project 2016-08-26 00:45:57 +01:00
Ted John f416da96f4 Update msbuild proj documentation
[ci skip]
2016-08-26 00:03:52 +01:00
Ted John ea2e5f3273 Update readme.md
[ciskip]
2016-08-25 23:58:43 +01:00
Ted John 76b0e3158b Delete obsolete scripts
[ciskip]
2016-08-25 23:49:59 +01:00
Ted John c86de10f3d Control what builds are uploaded 2016-08-25 23:38:48 +01:00
Ted John 0b2341ab8e Improve artifact building 2016-08-25 23:07:02 +01:00
Ted John ff9e249a85 Fix inverse condition of BUILD_SERVER 2016-08-25 22:35:19 +01:00
Ted John 7df67e3a29 Improve NSIS installer and add x64 logic 2016-08-25 22:19:54 +01:00
Ted John 2e31288b6b Convert tabs to spaces in install.nsi 2016-08-25 21:29:38 +01:00
Ted John ad8eb641d5 Fix error in appveyor.yml 2016-08-25 20:39:20 +01:00
Ted John 72169f681b Fix environment variable rename 2016-08-25 20:28:30 +01:00
Ted John 10deda6385 Download libraries before building 2016-08-25 20:22:09 +01:00
Ted John 5759ab0f9d Fix copying of data files 2016-08-25 20:17:40 +01:00
Ted John 4a759838ac Prepare msbuild project for AppVeyor 2016-08-25 19:18:45 +01:00
Ted John 538ac7b091 Use variables for publish items 2016-08-25 18:29:23 +01:00
Ted John 75095bf9e5 Setup dynamic defines for build 2016-08-23 19:24:07 +01:00
Ted John 04bf27e2c5 Refactor msbuild property inputs 2016-08-23 18:22:06 +01:00
Ted John 8c1aeb8f1f Add upload target to msbuild project 2016-08-23 18:13:45 +01:00
Ted John e18eb5d8b0 Add NSIS installer target 2016-08-22 22:30:47 +01:00
Ted John 6f27156abf Rename openrct2.props to openrct2.targets 2016-08-22 21:46:09 +01:00
Ted John bc698fdc4c Refactor msbuild targets 2016-08-22 21:45:36 +01:00
Ted John a60643e3ca Add sign target to build and improve g2 target 2016-08-22 20:39:06 +01:00
Ted John 8c00ad0e4f Create custom task for 7z 2016-08-22 18:31:52 +01:00
Ted John 5cb50f6925 Add install and publish targets to msbuild project 2016-08-22 13:11:57 +01:00
Ted John c4f927eb3a Add a new msbuild project with a g2 target 2016-08-22 00:09:45 +01:00
Marijn van der Werf cbdf1695ea Fix #4318: Use user locale on macOS 2016-08-21 21:51:38 +01:00
Ted John 25328bccc9 Merge pull request #4221 from zaxcav/pathfind
Path finding fixes and optimisations
2016-08-21 21:34:12 +01:00
zaxcav c3dee036a7 Use memset() to initialise _peepPathFindHistory. 2016-08-21 22:24:56 +02:00
zaxcav b1da59d25a Ignore isolated footpath tiles in the wide processing. 2016-08-21 22:24:40 +02:00
zaxcav 60acab8676 Remove if statements originally used to overlay grid of non-wide paths. 2016-08-21 22:24:19 +02:00
zaxcav 7711ab811e Fix typo affecting Appveyor build. 2016-08-21 22:23:38 +02:00
zaxcav c1298f3be4 Ignore ride queues when determining 'thin' junctions.
Why? In prinicple, a queue connected to a path should not be seen as causing a junction in that path.  Rather a ride queue should be treated equivalently to ride entrances/exits. For the path finding search this means that maxNumJunctions are not consumed when walking past ride queues (unless there is a legitimate path junction there).

Remove the unused arguement 'dist' from get_ride_queue_end().
2016-08-21 22:23:38 +02:00
zaxcav e559e2ce68 Generalise peep entrance station selection
Remove gPeepFindAltStationNum replacing it with numEntranceStations, which is much simpler to understand.

For rides with multiple entrance stations that sync with adjacent stations, generalise cycling the station entrance selected by the peep through all of the ride's entrance stations (not limited to only stations 0 and 1) to enable this entrance cycling behaviour for rides with >= 2 entrance stations including rides with split entrance/exit stations (where the entrance stations are not stations 0 & 1).
2016-08-21 22:23:38 +02:00
zaxcav fa2e16e42a Update path finding logging to use log_information, etc 2016-08-21 22:23:38 +02:00
zaxcav dd32ed3827 Revert changes to maxNumJunctions in commit 9c5df6c 2016-08-21 22:23:38 +02:00
zaxcav 76974d2d45 Rebalance maxNumJunctions - increase value.
Remove earlier optimisation to heuristic search that was preventing searching for shorter paths once a path to the goal was reached.

Resolve Travis warnings.
2016-08-21 22:23:38 +02:00
zaxcav 86be86331e Remove exlusions from path tiles being flagged wide based on tile coordinates. 2016-08-21 22:23:38 +02:00
zaxcav 9bf5707494 Rebalance maxNumJunctions to avoid exceeding maxTileChecked limit
With the changes to the path finding, a similar search space to the original now corresponds to half the maxNumJunctions value.

Added warning message when maxTilesChecked is exceeded - path finding issues are to be expected in that case.

Removed some commented out code left over in the previous commit.
2016-08-21 22:23:38 +02:00
zaxcav a768be5e88 Fix the peep path finding
In the heuristic search, tiles in wide path were always being handled as junctions.  Changed to handle junctions according to the path thinning.

There was no search loop detection.  Added loop detection for returning to the starting location and any of the junctions visited in the current search path.

Various other optimisations added.
2016-08-21 22:23:38 +02:00
Marijn van der Werf 3243e89cf9 Honor preferred user language on macOS 2016-08-21 22:15:35 +02:00
Luke Lau c05eef02d6 Fix #3809: No tooltip delay 2016-08-21 15:47:20 +01:00
Ted John 63eb3580c4 Fix peep invalidation out of range
When a new peep thought was created, the peep window action widget is invalidated. This would only be valid if the first tab is active. Instead just invalidate the whole window.
2016-08-21 15:21:48 +01:00
Michał Janiszewski 634fc12875 Add assert for widget index invalidation 2016-08-21 15:20:30 +01:00
Marijn van der Werf 2c89d30f26 Fix #4318: Use user locale on macOS 2016-08-21 15:18:09 +02:00
Ted John 112b70c15b Merge pull request #4068 from gDanix/refactor-clear_elements_at
Refactor clear_elements_at()
2016-08-21 13:59:07 +01:00
Ted John 9b77bb35ae Fix #4113: Free rides: Income and profit calculated using old price 2016-08-21 13:49:37 +01:00
Ted John 3f1a95cbee Merge pull request #4317 from marijnvdwerf/clean/data-palette
Clean/data palette
2016-08-21 13:48:37 +01:00