KUDr
c758f7d812
(svn r6800) -Feature change: [train is lost] message is now generated immediately when pathfinder can't find the path. (thanks MeusH, peter1138 and Brianetta for ideas and help).
18 years ago
KUDr
c2736007e5
(svn r6791) -Fix: [YAPF] YapfFindNearestRailDepotTwoWay() did not work for train inside tunnel.
18 years ago
glx
f70064e7aa
(svn r6411) -Fix(r6410): forgot to update openttd*.sln (thx Darkvater and michi_cc :) )
...
-Cleanup: Removed UNITTEST preprocessor checks
18 years ago
glx
39ba62d48f
(svn r6410) -remove unittest
18 years ago
glx
7c6851b436
(svn r6408) -Fix(r6406): compilation was broken
...
-Codechange: Rename TileIndexDiffCByDir to TileIndexDiffCByDiagDir because it accepts DiagDirections
18 years ago
Darkvater
80814dbb1d
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
...
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
18 years ago
rubidium
63687763e9
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
...
-Cleanup: whitespace alignment of a few tables.
18 years ago
tron
1c21c645ae
(svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
...
DestinationID being a union of these types is just hassle without benefit and cannot be handled correctly everywhere because of local lack of information
18 years ago
KUDr
42682a70aa
(svn r6245) -Add: added comments for all YAPF C interface functions (yapf.h) used by other modules, added FollowTrackInit() into YAPF track followers.
18 years ago
rubidium
27cee58ab8
(svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
18 years ago
KUDr
13addec466
(svn r6166) -Fix: [YAPF] fixes one very improbable assert when adding startup node that already exists in the open-list (thanks Panzerfather)
18 years ago
KUDr
d3096b84fd
(svn r6164) -Fix [YAPF]: Road vehicles preferring bends - added yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p)
18 years ago
KUDr
bb30f580a4
(svn r6163) -Codechange: distance rounded up (correction of r6162)
18 years ago
KUDr
c279e53f8e
(svn r6162) -Fix: Multistop problem caused by incorrect distance returned by YapfRoadVehDistanceToTile() (by mart3p)
18 years ago
KUDr
5a763f32a5
(svn r6160) -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p)
...
thanks Darkvater for hotfix (r5897)
18 years ago
truelight
db8dfcd6e9
(svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
...
-Codechange: introduced DestinationID, which is in fact an union of several types
Used in Order struct, so no longer StationID is abused for all targets.
Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure)
18 years ago
truelight
e9443f0d7a
(svn r6084) -Fix r6073: if we removed MSVC6 support, then why is unittest.dsp still around...
18 years ago
rubidium
7cfd3eb618
(svn r5934) -Cleanup: forgot some conversions to Year and to Date
...
-Cleanup: use _cur_year instead of _date for some (year based) comparisons
-Cleanup: remove a magic number in favour of another (less) magic number
18 years ago
Darkvater
d87487c493
(svn r5897) -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p)
18 years ago
rubidium
243872b4fd
(svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
...
-Cleanup: fix whitespace related coding style issues in date.[ch]
-Cleanup: make original comments doxygen compatible and remove/change outdated comments
18 years ago
Darkvater
154c0b10af
(svn r5813) Add x64 target to VS2005 project files (michi_cc)
18 years ago
Darkvater
54be2e503d
(svn r5286) - Clean up VS2005 project files by making them identical to the VS2003 project file. Mainly put object files into a subdirectory of the project directory instead of a level higher which makes absolutely no sense. Also add some ignores, remove obsolete VS6 project files.
19 years ago
peter1138
01aec41f69
(svn r5196) - Codechange: replace two incorrect uses of TILE_HEIGHT with TILE_SIZE / 2
19 years ago
KUDr
c7d1e2eab5
(svn r5169) - CodeChange: [YAPF] RVs now use YAPF_TILE_LENGTH as base unit and 2 configurable settings (slope and crossing penalties) for cost calculation
19 years ago
KUDr
80a36fe5bd
(svn r5163) - CodeChange: [YAPF] "treat first red two-way signal as dead end" is not applied if train didn't pass choice.
...
It allows pathfinder to plan route through first red two-way signal if the train has no other choice than to pass it.
19 years ago
KUDr
4c52f88ed1
(svn r5162) - CodeChange: [YAPF] added flag "choice seen" into YAPF node for trains
19 years ago
tron
be88e269b9
(svn r5155) - Remove the bridge branch merge (revision r5070)
19 years ago
KUDr
ace071529e
(svn r5153) - Fix: [YAPF] RVs can now plan path reversing in depot or end of road
19 years ago
KUDr
f2f4ca1dc4
(svn r5148) - Fix: [YAPF] RVs can now find depot they are currently in (thanks Darkvater)
19 years ago
tron
4a26eb083b
(svn r5138) Two more like r5136
19 years ago
tron
aada042d57
(svn r5136) Fix various style bugs:
...
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
19 years ago
KUDr
9cf3badfcf
(svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats)
19 years ago
KUDr
03f8994114
(svn r5076) CodeChange: [YAPF] Platform selection feature related settings added into regular savegames (breaks savegame compatibility only with r5070 and 5071).
19 years ago
celestar
25a63ec7af
(svn r5070) Merged the bridge branch
...
-Feature: Bridges can now be placed above:
Any railway track combination (excluding depots and waypoints)
Any road combination (excluding depots)
Clear tiles (duh), including fields
Tunnel entrances
Bridge heads
Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing
There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
19 years ago
KUDr
d680fcec77
(svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)
19 years ago
KUDr
bd25f49d3f
(svn r5066) -Feature: [YAPF] Train selects the best station platform by length
19 years ago
KUDr
76a8f036df
(svn r5065) -CodeChange: [YAPF] Added PfDetectDestination(tile, trackdir) for trains (to be used by platform selection feature)
19 years ago
KUDr
ef211c35ce
(svn r5057) -Fix: [YAPF] trains can't find depot for servicing (thanks Smoky555)
19 years ago
KUDr
078399d314
(svn r5037) -Fix: assert when GetVehicleTrackdir() returns wrong trackdir - introduced by r5033 (thanks yanek)
19 years ago
KUDr
d72ebf6ca3
(svn r5033) -CodeChange: [YAPF] RoadFindPathToStop() can now use YAPF for multistop handling.
19 years ago
KUDr
ed48b38619
(svn r5018) [YAPF] Added some comments to YAPF implementation.
19 years ago
KUDr
bcdd46ff61
(svn r5013) -Fix: [YAPF] RVs trying to plan route through railway.
...
Should fix assert("(GetTileTrackStatus(m_old_tile, TT()) & TrackdirToTrackdirBits(m_old_td)) != 0")
Thanks Celestar for the reproducible case.
19 years ago
KUDr
e1f6f4c13e
(svn r5006) Added comments where doxygen generated warnings to test if it can help.
19 years ago
KUDr
ff791261de
(svn r4992) - Fix: [YAPF] error "too many arguments to function `void * operator new(unsigned int)'" on MorphOS
19 years ago
KUDr
5e73dce0e7
(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
19 years ago