summaryrefslogtreecommitdiff
path: root/src/yapf/yapf_costrail.hpp
AgeCommit message (Collapse)Author
2009-06-24(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()smatz
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium
2009-05-18(svn r16349) -Codechange: rename IsPlainRailTile() to IsPlainRail(), ↵smatz
introduce shiny new IsPlainRailTile()
2009-05-16(svn r16323) -Fix [FS#2900]: desyncs due to the fact that depot searching ↵rubidium
with a maximum search depth simply does not work with YAPF's caches.
2009-05-15(svn r16311) -Fix: (Get|Set)TrackBits() is only valid for RAIL_TILE_NORMAL ↵frosch
and _SIGNALS.
2009-03-30(svn r15900) -Fix (r5076): Adding settings is not enough, you also have to ↵frosch
use them.
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-04(svn r15609) -Fix: Code style...peter1138
2008-10-01(svn r14428) -Fix [FS#2306]: A 90-degree curve can be a safe waiting ↵michi_cc
position if they are forbidden for trains.
2008-08-11(svn r14048) -Fix (r14019) [FS#2222]: Redo the check for reserved tracks ↵rubidium
properly this time. (michi_cc)
2008-08-08(svn r14024) -Fix (r14019) [YAPP]: YAPF also skips tunnels and bridges. ↵smatz
Honor that in penalty calculations. (michi_cc)
2008-08-08(svn r14023) -Fix (r13944) [YAPP]: If YAPF encountered a dead-end that had a ↵smatz
signal on it, is could be falsely seen as a valid destination. (michi_cc)
2008-08-08(svn r14019) -Fix [FS#2205]: game crash after order skip while waiting for ↵rubidium
free path (michi_cc).
2008-08-02(svn r13944) -Add [YAPP]: Add YAPF provider to find a safe tile and reserve ↵rubidium
a path. (michi_cc)
2008-08-02(svn r13943) -Codechange [YAPP]: Reserved station tiles can now be penalized ↵rubidium
more in YAPF. This should help with spread out stations. (michi_cc)
2008-08-02(svn r13942) -Codechange [YAPP]: Add a penalty for double slips to YAPF. ↵rubidium
(michi_cc)
2008-08-02(svn r13941) -Codechange [YAPP]: Added YAPP-related penalties to YAPF. ↵rubidium
(michi_cc)
2008-08-02(svn r13939) -Add [YAPP]: Extend YAPF with the possibility to override the ↵rubidium
railtype info of the vehicle. (michi_cc)
2008-08-02(svn r13934) -Codechange [YAPP]: Handle through signals in the pathfinders. ↵rubidium
(michi_cc)
2008-06-02(svn r13357) -Codechange: add constness to YAPF.rubidium
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2007-11-04(svn r11383) -Codechange: fixed all the mess around KillFirstBit (tnx to ↵truelight
Rubidium and skidd13)
2007-07-29(svn r10733) -Codechange: change MP_STREET into MP_ROAD as we use the word ↵rubidium
"road" everywhere except in the tile type.
2007-07-09(svn r10491) -Fix [FS#988, YAPF]: When rail segment was cached using ↵KUDr
electric engine and it ended with non-electric rail it was incorrectly cached with the end reason ESRB_DEAD_END instead of ESRB_RAIL_TYPE. (Eddi) - It caused YAPF to end prematurely there when it was searching for another path (for non-electric engine). - It can lead to sub-optimal path taken or 'train is lost' message. - In MP game it can also cause desync. - Uses changes made in r10489.
2007-07-09(svn r10489) -Codechange [YAPF]: FollowTrack_t now has new data member - ↵KUDr
m_err. It indicates the reason why the given track/trackdir can't be followed when method CFollowTrackT<>::Follow() returned false.
2007-07-04(svn r10423) -Fix [YAPF, r10301]: INVALID_TRACKDIR causing buffer overrun ↵KUDr
leading to desync in MP game (many thanks Rubidium)
2007-06-29(svn r10394) -Fix [YAPF]: MP desync caused by incorrect last-red-signal ↵KUDr
penalties applied when cached segment was reused. Players that connected more recently (didn't have these segments cached yet) calculated those penalties correctly. This caused different YAPF results.
2007-06-27(svn r10366) -Codechange [YAPF]: added DEBUG_YAPF_CACHE macro that (when set ↵KUDr
to 1) allows to track YAPF "cache errors". They are probably responsible for current MP desyncs. (thanks Rubidium for this great idea!). I will deal with those errors/desyncs tomorrow.
2007-06-24(svn r10304) -Fix [YAPF](r10301): removed assert which could violate without ↵KUDr
danger when searching for the nearest depot. From now on the segment can be closed without reason in that case (peter1138)
2007-06-24(svn r10303) -Fix [YAPF](r10301): warning: unused variable tile_cost (peter1138)KUDr
2007-06-24(svn r10301) -Fix [FS#901, YAPF]: another assert violation in some special ↵KUDr
cases (immeR)
2007-06-18(svn r10199) -Fix [FS#884, YAPF]: 'target_seen' flag that is set prematurely ↵KUDr
in some cases (1 tile long cached segment followed by target station) stops on assert (immeR)
2007-05-31(svn r10006) -Fix (FS#362): allow different signal types on one tileglx
2007-03-08(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the ↵rubidium
coding style (and rest of the code).
2007-02-25(svn r8899) -Fixtron
Remove the unused second parameter from GetTileRailType()
2007-02-24(svn r8869) [YAPF] -Fix: Large Train Stations/Trains makes OpenTTD crash ↵KUDr
(Jigsaw_Psyche)
2007-02-23(svn r8867) -Fix(r8866): revert yapf_costrail.hpp commited by mistake, ↵KUDr
helpers.hpp had wrong line ending
2007-02-23(svn r8866) -Doc: added more comments to template struct MakeEnumPropsTKUDr
2007-02-23(svn r8857) -Documentation: Added some doxygen @file tags, repaired others ↵celestar
(the @file tag MUST be found before any line of code, that includes preprocessor directives).
2007-02-17(svn r8766) -Fix[YAPF]: rail station platform penalty not calculated properlyKUDr
2007-01-10(svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, ↵rubidium
stillunknown and pv2b.
2007-01-02(svn r7759) -Merge: makefile rewrite. This merge features:rubidium
- A proper ./configure, so everything needs to be configured only once, not for every make. - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies. - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC. - Proper support for OSX universal binaries. - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files. - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files. Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.