repo.or.cz
/
openttd
/
fttd.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
Move destination check into YapfShipChooseTrack
2014-01-28
c
i
rdan
M
o
ve d
e
s
t
ination c
h
eck into YapfShip
C
hoo
s
e
T
rack
commit
|
commitdiff
|
tree
2014-01-28
cirda
n
Move Choose
S
hipTrac
k
out of CYapfFollo
w
S
hipT
commit
|
commitdiff
|
tree
2014-01-28
c
irdan
Define a
g
en
e
ric Y
A
PF road base
c
lass CYapfRoadT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Move FindNea
r
estDepot
o
ut of CYap
f
Fo
l
lowRoadT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Mov
e
des
t
inati
o
n
check
i
nto YapfRoa
d
V
e
hicleChooseTrack
commit
|
commitdiff
|
tree
2014-01-28
c
i
rdan
M
ov
e
ChooseRoadTrack ou
t
of CYapfFollowRoadT
commit
|
commitdiff
|
tree
2014-01-28
cir
d
an
Remov
e
CYap
f
FollowRoadT::DistanceToTile
commit
|
commitdiff
|
tree
2014-01-28
c
i
rdan
Define a generi
c
YAP
F
rail ba
s
e cla
s
s CYapfRai
l
T
commit
|
commitdiff
|
tree
2014-01-28
c
ird
a
n
Inline yap
f
_{cost,dest}rail
.
h
p
p
into yapf_rail
.
cpp
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Inline templa
t
e clas
s
C
Y
apfT in
t
o its users
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Cha
n
ge te
m
plate argument to CYapf
O
riginTi
l
e
{
,T
w
o
Wa
y
}T
commit
|
commitdiff
|
tree
2014-01-27
cirdan
Rew
o
rk re
t
u
r
n s
t
atement in FlowsDown
commit
|
commitdiff
|
tree
2014-01-27
c
irdan
Switch rive
r
g
e
neration to
t
he new A-star pathfinde
r
commit
|
commitdiff
|
tree
2014-01-27
cirda
n
Do a stat
i
c ca
s
t
w
h
en
calling
f
ollo
w
in Astar::Find
P
ath
commit
|
commitdiff
|
tree
2014-01-27
cirdan
R
e
move Ca
l
cHash ov
e
rload in CHashT
a
ble
T
commit
|
commitdiff
|
tree
2014-01-25
cirdan
R
e
name No
d
eList
t
o Asta
r
in
Y
APF
commit
|
commitdiff
|
tree
2014-01-25
cir
d
an
Do some minor adjust
m
ents in Ast
a
r
commit
|
commitdiff
|
tree
2014-01-25
cir
d
a
n
Move
Y
A
P
F pathfinding to Astar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Make C
Y
apfBase
T
d
e
r
i
v
e fro
m
Astar
commit
|
commitdiff
|
tree
2014-01-25
cir
d
a
n
Add new method Astar::
R
epla
c
eNode
commit
|
commitdiff
|
tree
2014-01-25
cirdan
A
d
d
as
s
er
t
ions when adding A-
s
tar nodes
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Clean up methods
i
n
Astar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
A
d
d
n
ew method Astar:
:
InsertNod
e
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Add new
met
h
od Astar:
:
I
n
s
ertIni
t
ialNode
commit
|
commitdiff
|
tree
2014-01-25
cird
a
n
Move C
r
eateNewN
o
de to
Astar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Re
n
ame template parameters an
d
typedefs in Astar
commit
|
commitdiff
|
tree
2014-01-25
cirda
n
Rename C
N
odeList_HashTableT
t
o A
s
tar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Introdu
c
e AstarNo
d
eB
a
se
commit
|
commitdiff
|
tree
2014-01-24
cirda
n
Rename nodelist
.
hp
p
to astar
.
hpp
commit
|
commitdiff
|
tree
2014-01-24
cirdan
Rem
o
ve type defines in CNodeList_HashTa
b
leT
commit
|
commitdiff
|
tree
2014-01-24
cirdan
R
emo
v
e templ
a
te par
a
meter Tnode_
l
i
s
t
to C
Y
apfR
a
i
l
_
T
y
p
e
sT
commit
|
commitdiff
|
tree
2014-01-24
cirdan
Clean up includ
e
s in yapf
.
hpp
commit
|
commitdiff
|
tree
2014-01-24
c
i
rdan
R
e
m
o
v
e
pointless us
e
s of Yapf() in
YAPF
commit
|
commitdiff
|
tree
2014-01-18
cird
a
n
Add
a new overloade
d
method CYapfBaseT::AddStartupNode
commit
|
commitdiff
|
tree
2014-01-18
cirdan
Change paramet
e
rs to
C
Yapf
B
aseT::CreateNe
w
Node
commit
|
commitdiff
|
tree
2014-01-17
c
i
rdan
S
i
m
p
l
i
f
y
savi
n
g and loading of ga
m
e script
s
t
r
i
ng
s
commit
|
commitdiff
|
tree
2014-01-17
cirdan
Add he
l
per ov
e
r
loa
d
s for R
e
adStri
n
g
and WriteS
t
ring
commit
|
commitdiff
|
tree
2014-01-17
cirdan
Reo
r
der ar
g
u
m
ent
s
to Re
a
d
S
t
r
ing and
WriteStri
n
g
commit
|
commitdiff
|
tree
2014-01-17
cir
d
an
A
s
sert that buffer length i
s
not
0 whe
n
sa
v
ing/l
o
ad
i
ng
.
.
.
commit
|
commitdiff
|
tree
2014-01-13
cirdan
Mov
e
wormhol
e
han
d
ling to the track foll
o
wer base classes
commit
|
commitdiff
|
tree
2014-01-13
ci
r
dan
Re
m
ov
e
Is
T
rac
k
Bri
d
geTile from
t
h
e
track fol
l
ower
commit
|
commitdiff
|
tree
2014-01-13
cirdan
Move FollowWormhole into the t
r
a
ck fo
l
lower base cla
s
s
es
commit
|
commitdiff
|
tree
2014-01-13
cirdan
Use m_exitdir
w
hen skipping a station in the
t
rack
.
.
.
commit
|
commitdiff
|
tree
2014-01-12
cirdan
Rem
o
ve unused CFo
l
lowTrackWaterT::Allow90degTurn
s
commit
|
commitdiff
|
tree
2014-01-12
cirdan
Remove virtual meth
o
d
V
ehic
l
e::GetPos
commit
|
commitdiff
|
tree
2014-01-11
c
i
r
d
an
Fix docum
e
ntati
o
n
of signals in the map
a
rray
commit
|
commitdiff
|
tree
2014-01-11
cir
d
a
n
Re
n
ame CYapfRail
N
odeT:
:
SetLastTileTrack
d
ir to SetL
a
s
t
Pos
commit
|
commitdiff
|
tree
2014-01-11
cir
d
an
Move struct HashNode int
o
s
t
ruct
H
ash in np
f
/
queu
e
.
h
commit
|
commitdiff
|
tree
2014-01-11
c
i
rda
n
Move t
y
pedef Hash_
H
a
shProc into struct
H
ash in npf
.
.
.
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Remove stal
e
#undef of BI
N
_
H
E
A
P_ARR in npf/q
u
eue
.
cpp
commit
|
commitdiff
|
tree
2014-01-11
cir
d
an
Fix b
o
gus mu
l
tiplier in
Y
AP
F
r
a
il bridge s
p
eed pen
a
lty
commit
|
commitdiff
|
tree
2014-01-11
cirda
n
I
ntroduce P
a
thMPos:
:
se
t
commit
|
commitdiff
|
tree
2014-01-11
ci
r
dan
R
e
na
m
e Pat
h
MPos
:
:IsTrackdirSet
t
o PathM
P
os::is_single
commit
|
commitdiff
|
tree
2014-01-11
cird
a
n
Introd
u
ce PathMPos::is_emp
t
y
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Introduce PathMPos::clear_trackdir
s
commit
|
commitdiff
|
tree
2014-01-11
c
irdan
In
t
roduc
e
PathMPos::set_trackdirs
commit
|
commitdiff
|
tree
2014-01-10
cird
a
n
I
ntroduce PathMPos::set_trackdir
commit
|
commitdiff
|
tree
2014-01-10
cirdan
I
n
t
r
o
d
uce
P
athPos::s
e
t_tile
commit
|
commitdiff
|
tree
2014-01-10
cirdan
Fix YAPF n
o
d
e key comparison f
u
nctions wrt wormholes
commit
|
commitdiff
|
tree
2014-01-10
cirdan
A
d
d whitesp
a
c
e
in CYapf
N
odeKey{
E
x
i
t,Track}Di
r
commit
|
commitdiff
|
tree
2014-01-10
cirda
n
Int
r
oduce Pa
t
hTile
commit
|
commitdiff
|
tree
2014-01-10
cirdan
Intr
o
d
u
ce PathPos:
:
set
commit
|
commitdiff
|
tree
2014-01-10
cirdan
R
e
nam
e
PathPos:
:
I
nWormhole to PathPos::in_wormhole
commit
|
commitdiff
|
tree
2014-01-09
c
irdan
R
ename PFPos to PathPos
commit
|
commitdiff
|
tree
2014-01-09
c
irda
n
Split path
f
inder_ty
p
e
.
h into
pos
.
h and types
.
h
commit
|
commitdiff
|
tree
2014-01-09
cirdan
Shorten
c
omments for PF
P
os met
h
ods
commit
|
commitdiff
|
tree
2014-01-08
ci
r
dan
Rearrange final loop in Choo
s
eTrainTr
a
ck
commit
|
commitdiff
|
tree
2014-01-08
cirdan
Redo handling of
a
possible signal in Ch
o
oseTrainT
r
a
ck
commit
|
commitdiff
|
tree
2014-01-07
cirdan
Remove parameter mark_stuck from ChooseTrainTrack
commit
|
commitdiff
|
tree
2014-01-07
c
ir
d
an
R
emove p
a
ra
m
e
t
e
r
go
t
_reservation fro
m
ChooseT
r
ai
n
Track
commit
|
commitdiff
|
tree
2014-01-07
cirdan
Mak
e
Choo
s
eT
r
a
inT
r
a
c
k return a boolean status
commit
|
commitdiff
|
tree
2014-01-07
cirdan
Mo
v
e reserv
a
tion of current pos
i
tion in C
h
ooseTrainTrack
commit
|
commitdiff
|
tree
2014-01-07
c
i
rdan
Make C
h
o
o
seTra
i
nTrack
r
eturn th
e
trackd
i
r th
r
o
u
g
h
a
.
.
.
commit
|
commitdiff
|
tree
2014-01-06
cirdan
Handle invalid savegame
c
ompression tags pr
o
perly
commit
|
commitdiff
|
tree
2014-01-06
c
irdan
Restric
t
o
v
erzealo
u
s
asse
r
t in Foll
o
wPrevious
R
oa
d
Vehicl
e
commit
|
commitdiff
|
tree
2014-01-05
cirdan
F
i
x chec
k
for road stops i
n
the
road vehicle controlle
r
commit
|
commitdiff
|
tree
2014-01-04
cirdan
Us
e
the righ
t
dir
e
ction when rebuilding roa
d
s
t
op ent
r
ie
s
commit
|
commitdiff
|
tree
2014-01-01
cirdan
Remove parameter pos fro
m
ExtendTrainReservation
commit
|
commitdiff
|
tree
2014-01-01
cirdan
Rework use o
f
b
est_
t
rac
k
d
i
r i
n
Ch
o
ose
T
rain
T
rac
k
commit
|
commitdiff
|
tree
2014-01-01
cirdan
Do not call Ch
o
oseTrainTrack with no tr
a
ckdirs
commit
|
commitdiff
|
tree
2014-01-01
cird
a
n
Provide ChooseTrainTrack with th
e
train's
c
u
rrent reservation
commit
|
commitdiff
|
tree
2013-12-31
cirdan
R
e
m
ove PBSTi
l
eInfo and i
n
tr
o
du
c
e PFResult
commit
|
commitdiff
|
tree
2013-12-31
cirdan
C
h
a
n
ge paramete
r
s
to CYapfReser
v
eTrack::TryR
e
servePath
commit
|
commitdiff
|
tree
2013-12-31
cirdan
Require only a pointe
r
to a tile in ExtendTrainReservatio
n
commit
|
commitdiff
|
tree
2013-12-31
cirdan
Split station and choice handling in
ExtendTrainRese
r
vation
commit
|
commitdiff
|
tree
2013-12-31
cirda
n
I
mpr
o
ve handling
o
f s
t
ations in MaskR
e
s
ervedTracks
commit
|
commitdiff
|
tree
2013-12-30
c
irdan
Merge CF
o
llowTrack{
A
ny,Free}RailBase into C
F
ollowTrac
k
RailT
commit
|
commitdiff
|
tree
2013-12-30
cirdan
Change rail track foll
o
wer clas
s
hierar
c
hy
commit
|
commitdiff
|
tree
2013-12-30
c
ir
d
an
Move MaskRe
s
ervedTrac
k
s to CFollowTrackRailBase
commit
|
commitdiff
|
tree
2013-12-30
ci
r
dan
R
earra
n
ge code in pathfinder/follow_
t
r
ack
.
hp
p
commit
|
commitdiff
|
tree
2013-12-29
cirdan
Simplify entering a PBS block thr
o
ugh a n
o
n-p
a
th signa
l
commit
|
commitdiff
|
tree
2013-12-25
cirdan
Make GetT
i
leWaterway
S
t
atus return a Trackdir
B
its mask
commit
|
commitdiff
|
tree
2013-12-25
c
i
r
dan
Improve docume
n
tation for Fol
l
ow in th
e
track
f
ollower
commit
|
commitdiff
|
tree
2013-12-25
cirdan
F
ix
va
l
ue re
t
urn
e
d
in m_err in the
track follower
commit
|
commitdiff
|
tree
2013-12-25
c
i
rdan
Handle enter dir
e
ction in
CheckN
e
wTile in the track
.
.
.
commit
|
commitdiff
|
tree
2013-12-25
cirdan
Le
t
Enter
W
ormh
o
le handle wormhole
ste
p
s in th
e
tr
a
ck
.
.
.
commit
|
commitdiff
|
tree
2013-12-25
cirdan
A
dd wormhole
values to
T
ileResult in th
e
tr
a
ck fol
l
o
w
er
commit
|
commitdiff
|
tree
2013-12-25
cirdan
Expand CheckOldTile in th
e
rail and road track follower
s
commit
|
commitdiff
|
tree
2013-12-25
c
irdan
New functio
n
EnterWormhole in the track f
o
ll
o
wer
commit
|
commitdiff
|
tree
2013-12-25
cirdan
Handl
e
wor
m
hole exit in
Follow i
n
the track fo
l
lower
commit
|
commitdiff
|
tree
next