You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a2dec6c32a
- Supports trains, road vehicles and ships. - Uses A* pathfinding (same codebase as the new ai). - Currently unlimited search depth, so might perform badly on large maps/networks (especially ships). - Will always find a route if there is one. - Allows custom penalties for obstacles to be set in openttd.cfg (npf_ values). - With NPF enabled, ships can have orders that are very far apart. Be careful, this will break (ships get lost) when the old pathfinder is used again. - Feature: Disabling 90 degree turns for trains and ships. - Requires NPF to be enabled. - Ships and trains can no longer make weird 90 degree turns on tile borders. - Codechange: Removed table/directions.h. - table/directions.h contained ugly static tables but was included more than once. The tables, along with a few new ones are in npf.[ch] now. Better suggestions for a location? - Fix: Binary heap in queue.c did not allocate enough space, resulting in a segfault. - Codechange: Rewritten FindFirstBit2x64, added KillFirstBit2x64. - Codechange: Introduced constant INVALID_TILE, to replace the usage of 0 as an invalid tile. Also replaces TILE_WRAPPED. - Codechange: Moved TileAddWrap() to map.[ch] - Add TileIndexDiffCByDir(), TileIndexDiffCByDir(). - Codechange: Moved IsTrainStationTile() to station.h - Add: IsRoadStationTile() and GetRoadStationDir(). |
20 years ago | |
---|---|---|
.. | ||
ai_rail.h | 20 years ago | |
animcursors.h | 20 years ago | |
autorail.h | 20 years ago | |
bridge_land.h | 20 years ago | |
build_industry.h | 20 years ago | |
clear_land.h | 20 years ago | |
currency.h | 20 years ago | |
engines.h | 20 years ago | |
files.h | 20 years ago | |
genland.h | 20 years ago | |
industry_land.h | 20 years ago | |
landscape_const.h | 20 years ago | |
landscape_sprite.h | 20 years ago | |
namegen.h | 20 years ago | |
palettes.h | 20 years ago | |
road_land.h | 20 years ago | |
roadveh.h | 20 years ago | |
sprites.h | 20 years ago | |
station_land.h | 20 years ago | |
town_land.h | 20 years ago | |
track_land.h | 20 years ago | |
train_cmd.h | 20 years ago | |
tree_land.h | 20 years ago | |
tunnel_land.h | 20 years ago | |
unmovable_land.h | 20 years ago | |
water_land.h | 20 years ago |