OpenRCT2/test/tests/testdata/parks
Richard Fine bb4e79ddda Rework tests to use ride entrances as path targets
It turns out that trying to just give a peep a pathfinding goal and then let them loose doesn't work, because every time they reach a junction, the pathfinder has them walk 'aimlessly' instead of pursuing their target. That's why we were seeing some very large step counts in previous tests - they were (eventually) walking onto the target square, but only after lots of wandering around in circles.

This commit reworks the test data to contain an actual ride for each test scenario, where the peep will path to the tile in front of the ride entrance. A nice side benefit of this is that the ride names must match the test names, so you can now tell from looking at the rides in the test data which one is used for which test instance.

The 'yellow marker' tiles for goal positions are also removed here, as we're deriving goal positions from the ride entrances instead.
2019-01-02 14:12:51 +00:00
..
bpb.sv6 Add rating test data 2017-06-04 00:47:34 +01:00
pathfinding-tests.sv6 Rework tests to use ride entrances as path targets 2019-01-02 14:12:51 +00:00
tile-element-tests.sv6 Add tests for tile_element_wants_path_connection_towards 2018-04-17 20:43:49 +02:00