patch-import
fc0efe599e
Port of the programmable signals patch to recent trunk
...
Also add some additional changes from the SpringPP patch,
and make some other minor changes/fixes.
2015-08-01 17:06:43 +01:00
Jonathan G Rennison
5474ee3e40
Add entry direction condition variable.
2015-07-28 01:36:52 +01:00
Jonathan G Rennison
5f1b148cf9
Initial minimal working tracerestrict implementation.
...
This is a port of the tracerestrict/routing restrictions feature
from TTDPatch.
At present this implements if tests (train length only),
and pathfinder deny and penalty actions.
This requires the use of YAPF. Note that restrictions are only evaluated
within the YAPF lookahead distance.
2015-07-28 01:36:52 +01:00
frosch
86825a745c
(svn r27332) -Change: Enable YAPF cache debugging with desync debug level 2.
2015-07-12 17:06:02 +00:00
frosch
59a94f8ccf
(svn r27332) -Change: Enable YAPF cache debugging with desync debug level 2.
2015-07-12 17:06:02 +00:00
rubidium
cd9d6f85e5
(svn r27107) -Fix [FS#6183]: road vehicles could not reverse to be sent to depots when the following tile has the right type to run on, but could not be entered; e.g. facing toward a depot with the entry facing the wrong way failed to reverse whereas facing towards an empty tile allowed the vehicle to reverse (estys)
2015-01-02 12:11:20 +00:00
rubidium
193f653c56
(svn r27107) -Fix [FS#6183]: road vehicles could not reverse to be sent to depots when the following tile has the right type to run on, but could not be entered; e.g. facing toward a depot with the entry facing the wrong way failed to reverse whereas facing towards an empty tile allowed the vehicle to reverse (estys)
2015-01-02 12:11:20 +00:00
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-04-23 20:13:33 +00:00
rubidium
fff7216d04
(svn r26117) -Cleanup: unneeded NULL check
2013-11-26 10:00:15 +00:00
rubidium
f669101560
(svn r26117) -Cleanup: unneeded NULL check
2013-11-26 10:00:15 +00:00
rubidium
8394abb2f5
(svn r26109) -Fix: missing initialisation
2013-11-25 14:34:09 +00:00
rubidium
00264cc708
(svn r26109) -Fix: missing initialisation
2013-11-25 14:34:09 +00:00
rubidium
f018a1adc2
(svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true
2013-11-25 11:11:56 +00:00
rubidium
e106e54f9f
(svn r26102) -Fix: m_veh is not NULL by definition when IsRoadTT is true
2013-11-25 11:11:56 +00:00
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
2013-11-23 13:15:07 +00:00
rubidium
0e9c992104
(svn r26058) -Fix: handle the return value of a number of functions better
2013-11-23 13:15:07 +00:00
rubidium
d89e93ff9a
(svn r25609) -Fix [FS#5216]: under certain circumstances a track type change would make the end-of-line-is-red setting ineffective
2013-07-14 09:21:46 +00:00
rubidium
f178899609
(svn r25609) -Fix [FS#5216]: under certain circumstances a track type change would make the end-of-line-is-red setting ineffective
2013-07-14 09:21:46 +00:00
rubidium
f84b92a95d
(svn r25608) -Codechange: make EndSegmentReasonBits available in yapf_base.hpp
2013-07-14 09:20:34 +00:00
rubidium
740643f2b2
(svn r25608) -Codechange: make EndSegmentReasonBits available in yapf_base.hpp
2013-07-14 09:20:34 +00:00
rubidium
ddfddffce9
(svn r24964) -Fix [FS#5416]: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached
2013-02-03 14:16:45 +00:00
rubidium
eb538da228
(svn r24964) -Fix [FS#5416]: With YAPF the docking behaviour differed per direction; now favour docking in the direction you approached
2013-02-03 14:16:45 +00:00
peter1138
1e10e91fde
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
peter1138
c00a400cc7
(svn r24905) -Feature(ish): Implement station randomisation triggers.
2013-01-11 07:39:25 +00:00
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
2013-01-08 22:46:42 +00:00
frosch
03278cd503
(svn r24588) -Codechange: No need to intermingle reservation-checks with railroad checks. (Juanjo)
2012-10-13 08:24:28 +00:00
frosch
9d877e888a
(svn r24588) -Codechange: No need to intermingle reservation-checks with railroad checks. (Juanjo)
2012-10-13 08:24:28 +00:00
frosch
ddf597e618
(svn r24587) -Codechange: Improve coding style (Juanjo)
2012-10-13 08:20:40 +00:00
frosch
962a7c3630
(svn r24587) -Codechange: Improve coding style (Juanjo)
2012-10-13 08:20:40 +00:00
frosch
5386558459
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
2012-08-18 11:37:47 +00:00
frosch
d17ec934f5
(svn r24481) -Feature [FS#5127]: Make the pathfinder decide whether ships shall leave depots towards north or south.
2012-08-18 11:37:47 +00:00
frosch
c7ad5b9ac0
(svn r24479) -Fix: Trains were unable to reverse in stations when using NPF.
2012-08-18 11:37:03 +00:00
frosch
9215192d34
(svn r24479) -Fix: Trains were unable to reverse in stations when using NPF.
2012-08-18 11:37:03 +00:00
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
2012-01-03 21:32:51 +00:00
truebrain
aa1a0053b0
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
truebrain
1c9bec1999
(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-20 17:57:56 +00:00
michi_cc
0e96bd02c8
(svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a partially reserved rail station could fail.
2011-12-17 02:02:28 +00:00
michi_cc
24b7be856b
(svn r23564) -Fix [FS#4888]: Extending a path reservation starting at a partially reserved rail station could fail.
2011-12-17 02:02:28 +00:00
truebrain
d6e042c735
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-11-30 01:22:18 +00:00
truebrain
160bfd8851
(svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit)
2011-11-30 01:22:18 +00:00
rubidium
bcb93b3b75
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
2011-11-04 10:22:27 +00:00
rubidium
2ed0f93bfb
(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it
2011-11-04 10:22:27 +00:00
rubidium
de980ef0f9
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
2011-11-04 10:18:13 +00:00
rubidium
7757a2ed40
(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)
2011-11-04 10:18:13 +00:00
frosch
398ed7ebb8
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
2011-09-03 12:45:45 +00:00
frosch
5ccd091fd1
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
2011-09-03 12:45:45 +00:00
michi_cc
dcef62040f
(svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid)
2011-09-02 20:54:51 +00:00