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
Avoid checking for destination twice in CYapfRoadT
2014-02-01
c
i
rdan
Avoid chec
k
ing for des
t
ination twice in CY
a
p
f
R
o
adT
commit
|
commitdiff
|
tree
2014-02-01
ci
r
dan
Inline
cost estima
t
e functi
o
n in CYap
f
RoadT
commit
|
commitdiff
|
tree
2014-02-01
cirdan
Rewo
r
k
templat
e
param
e
ters to
CY
a
pfRoadT
commit
|
commitdiff
|
tree
2014-02-01
cirdan
Remov
e
Y
a
pf() func
t
ion from
C
YapfRoadT
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Me
r
ge destination
detection into
CYapfRoadT
commit
|
commitdiff
|
tree
2014-01-31
cirdan
In
l
ine cost func
t
ion
i
n CYap
f
RoadT
commit
|
commitdiff
|
tree
2014-01-31
ci
r
dan
Make CY
a
pfR
o
adT
:
:OneTileCost an inde
p
end
e
nt function
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Make CYapfRoadT::Slop
e
Cost an ind
e
penden
t
functi
o
n
commit
|
commitdiff
|
tree
2014-01-31
c
irdan
Remove
CYap
f
R
oadT::PfNodeCacheFetch
commit
|
commitdiff
|
tree
2014-01-31
c
i
rdan
Remove
p
arameter enterdi
r
to
YAPF ChooseShip
T
rack
commit
|
commitdiff
|
tree
2014-01-31
c
irda
n
Remove CYapfShipT te
m
plate parameter T
p
f
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Remove CYapf
S
h
i
pT
template parameter T
9
0
deg_tu
r
n
s
_allowed
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Remove water tra
c
k
f
ollower templa
t
e
v
ar
i
ants
commit
|
commitdiff
|
tree
2014-01-31
c
irda
n
Remove check
for
null
v
ehicle in CYapfShipT
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Cache ship v
e
h
i
cle info on
C
Yap
f
BaseT constructio
n
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Add a tr
a
ck
f
o
llower instanc
e
t
o
CYapfShip
T
commit
|
commitdiff
|
tree
2014-01-31
cirdan
R
e
w
ork CYapfShipT
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Merge S
e
tDestination into CYapfShipT constr
u
c
t
or
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Pr
o
vide CYapfShipT with
the
s
hi
p
on constructio
n
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Precompu
t
e som
e
data in CYa
p
fShip
T
::PfFollow
N
ode
commit
|
commitdiff
|
tree
2014-01-31
cirdan
Inli
n
e c
o
st and e
s
t
imate funct
i
on
s
i
n CYapfS
h
ipT
commit
|
commitdiff
|
tree
2014-01-31
cir
d
an
Rew
o
rk temp
l
a
te para
m
eter
s
to C
Y
apfShi
p
T
commit
|
commitdiff
|
tree
2014-01-31
cir
d
an
Remove Yapf()
f
unction from CYa
p
fShipT
commit
|
commitdiff
|
tree
2014-01-29
c
irdan
Merge C
Y
apfOriginT
i
leTwoWayT into CYapfRai
l
T
commit
|
commitdiff
|
tree
2014-01-29
cirdan
Remove CYapfOriginTileT
commit
|
commitdiff
|
tree
2014-01-29
cird
a
n
Add init
i
al
n
od
e
s manually in YAPF roa
d
pat
h
finder
commit
|
commitdiff
|
tree
2014-01-29
cir
d
an
A
d
d initi
a
l nodes manuall
y
in
YAPF ship pathfinder
commit
|
commitdiff
|
tree
2014-01-29
c
irdan
Remove cache
stats fr
o
m road and ship YAPF classes
commit
|
commitdiff
|
tree
2014-01-29
cirdan
Remove
P
fNo
d
e
C
acheFl
u
sh
in YAPF classes
commit
|
commitdiff
|
tree
2014-01-29
cirdan
Remove TransportTypeChar from YA
P
F classes
commit
|
commitdiff
|
tree
2014-01-29
cirdan
Remove perf count
e
rs for road and ship
Y
A
PF classes
commit
|
commitdiff
|
tree
2014-01-29
cirdan
Re
m
ove VehicleType t
y
pedefs in Y
A
PF
commit
|
commitdiff
|
tree
2014-01-29
cirdan
M
o
v
e
FindPath
a
nd relat
e
d data from CYapfBaseT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
M
o
ve A
d
dN
e
wNode from CYap
f
BaseT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Move AddMultipleNodes from
C
YapfBaseT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Remove C
Y
apfBaseT::DumpBase
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Move Pru
n
eIntermediateNodeBra
n
ch to CYap
f
R
ailT
commit
|
commitdiff
|
tree
2014-01-28
c
i
rdan
Move Astar deriva
t
ion in YAPF class
hie
r
arc
h
y
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Merg
e
CYapfSegmentCostCacheGlobalT i
n
t
o CYapfRailT
commit
|
commitdiff
|
tree
2014-01-28
cirda
n
Inline y
a
p
f
_co
s
tcache
.
hp
p
into yapf
_
r
ail
.
cpp
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Inline CYapfSegmentCostC
a
c
heLocalT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Inl
i
n
e
CYapfSegmentCost
C
acheNo
n
eT
commit
|
commitdiff
|
tree
2014-01-28
c
i
rdan
Define a ge
n
eric Y
A
PF ship
base class
C
YapfShipT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Mo
v
e
C
heckShipReverse out o
f
C
YapfFollowShipT
commit
|
commitdiff
|
tree
2014-01-28
cir
d
an
Mov
e
de
s
ti
n
a
tio
n
chec
k
i
nto Ya
p
fS
h
ipCh
o
os
e
Trac
k
commit
|
commitdiff
|
tree
2014-01-28
cirda
n
M
o
v
e
C
h
ooseShipTrack out of CYapfFollowShipT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Define a generic YAPF road ba
s
e class CYapfR
o
adT
commit
|
commitdiff
|
tree
2014-01-28
cir
d
an
M
ov
e
FindNea
r
e
stDepot
o
ut of CYapfFollowRoadT
commit
|
commitdiff
|
tree
2014-01-28
ci
r
dan
Move destinatio
n
check int
o
YapfRoadVeh
i
cleChooseTrack
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Move
C
h
ooseRoadTr
a
ck out of CYapfFo
l
lowRoadT
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Remo
v
e CYapfFollowRoad
T
:
:DistanceToTile
commit
|
commitdiff
|
tree
2014-01-28
cirdan
Define a ge
n
eric YAPF rail base class
CYapfRailT
commit
|
commitdiff
|
tree
2014-01-28
c
irdan
Inline
y
apf_{cost,
d
est}rai
l
.
hpp int
o
yapf_rail
.
cp
p
commit
|
commitdiff
|
tree
2014-01-28
cird
a
n
Inline t
e
mplate c
l
ass CYapfT i
n
to its u
s
ers
commit
|
commitdiff
|
tree
2014-01-28
ci
r
dan
Change t
e
mplate argume
n
t to CYapfOriginTile{,TwoWay}
T
commit
|
commitdiff
|
tree
2014-01-27
c
i
rdan
Rework retur
n
stateme
n
t
i
n Flo
w
sDown
commit
|
commitdiff
|
tree
2014-01-27
cirdan
Switch river gene
r
ati
o
n
to the new A-star path
f
inder
commit
|
commitdiff
|
tree
2014-01-27
c
i
rdan
Do a stat
i
c
cast when calling fol
l
ow in Ast
a
r::FindPath
commit
|
commitdiff
|
tree
2014-01-27
cirdan
R
e
mov
e
C
a
lcHash overload in CHashTabl
e
T
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Rename NodeLis
t
to
Astar
in YAPF
commit
|
commitdiff
|
tree
2014-01-25
c
i
rdan
Do some
m
i
nor
adjustm
e
nts in As
t
a
r
commit
|
commitdiff
|
tree
2014-01-25
cird
a
n
Move YA
P
F pathfinding to Astar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Make CYa
p
fBaseT derive from Astar
commit
|
commitdiff
|
tree
2014-01-25
cir
d
a
n
Add new method Astar::Repla
c
eNo
d
e
commit
|
commitdiff
|
tree
2014-01-25
ci
r
dan
Add assertion
s
w
h
en adding A-star no
d
es
commit
|
commitdiff
|
tree
2014-01-25
cirdan
C
l
e
an up me
t
hods in Astar
commit
|
commitdiff
|
tree
2014-01-25
cirdan
A
dd
n
ew method Astar::
I
nsertNode
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Add new method Ast
a
r::Inse
r
tI
n
itialNo
d
e
commit
|
commitdiff
|
tree
2014-01-25
cirdan
Move C
r
e
ateNewNode
to Astar
commit
|
commitdiff
|
tree
2014-01-25
cir
d
an
R
e
name template para
m
eters and typedefs
i
n Astar
commit
|
commitdiff
|
tree
2014-01-25
c
i
rdan
Rename CNod
e
List_HashTableT t
o
Astar
commit
|
commitdiff
|
tree
2014-01-25
ci
r
dan
Introduce Asta
r
NodeBase
commit
|
commitdiff
|
tree
2014-01-24
cird
a
n
Rename
n
ode
l
is
t
.
hpp t
o
ast
a
r
.
hpp
commit
|
commitdiff
|
tree
2014-01-24
cird
a
n
Remove type de
f
ines i
n
CNodeList_HashTableT
commit
|
commitdiff
|
tree
2014-01-24
c
i
rdan
R
emove tem
p
late par
a
meter Tnode_list to
C
YapfRail
_
TypesT
commit
|
commitdiff
|
tree
2014-01-24
cirdan
Cl
e
an u
p
inc
l
ude
s
i
n
y
a
p
f
.
h
pp
commit
|
commitdiff
|
tree
2014-01-24
cirdan
Remove po
i
ntless u
s
es of Yapf() in Y
A
P
F
commit
|
commitdiff
|
tree
2014-01-18
c
i
rdan
A
dd a new over
l
oaded metho
d
CY
a
pfBaseT::
A
dd
S
tartupNode
commit
|
commitdiff
|
tree
2014-01-18
cirdan
Ch
a
ng
e
parameters to CY
a
pfBaseT::CreateNewNod
e
commit
|
commitdiff
|
tree
2014-01-17
cirdan
Simplify
s
aving a
n
d loading of game sc
r
ipt strings
commit
|
commitdiff
|
tree
2014-01-17
cir
d
an
Add helpe
r
overl
o
ad
s
for
R
eadS
t
rin
g
and WriteSt
r
ing
commit
|
commitdiff
|
tree
2014-01-17
cirda
n
Reorder argume
n
ts
t
o ReadString and W
r
iteString
commit
|
commitdiff
|
tree
2014-01-17
c
irdan
Assert that buf
f
er length is no
t
0 w
h
en saving/
l
oading
.
.
.
commit
|
commitdiff
|
tree
2014-01-13
cirdan
Move wo
r
mhole handling t
o
the track follower bas
e
cla
s
se
s
commit
|
commitdiff
|
tree
2014-01-13
cirda
n
Rem
o
ve IsTrackBridgeTile from the
tra
c
k follo
w
er
commit
|
commitdiff
|
tree
2014-01-13
c
i
rdan
Move
F
ollowWorm
h
o
l
e i
n
to the tr
a
ck follower base classe
s
commit
|
commitdiff
|
tree
2014-01-13
cird
a
n
U
s
e
m_ex
i
tdir when skipping a
stat
i
on in t
h
e
track
.
.
.
commit
|
commitdiff
|
tree
2014-01-12
cirdan
Remove unused CFo
l
lowTr
a
ck
W
aterT:
:
All
o
w90degTurns
commit
|
commitdiff
|
tree
2014-01-12
cirda
n
Remo
v
e virtual method
V
ehicle::GetPos
commit
|
commitdiff
|
tree
2014-01-11
c
i
rdan
Fix documentation of s
i
g
nals in the ma
p
array
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Rename
CYapfRailNodeT::Se
t
L
ast
T
ileTrac
k
dir to
S
etLastPos
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Mov
e
struct Ha
s
hNode i
n
to struct H
a
s
h
i
n npf/queue
.
h
commit
|
commitdiff
|
tree
2014-01-11
ci
r
d
a
n
M
o
ve
typedef
H
ash_HashProc into struct Hash
in np
f
.
.
.
commit
|
commitdiff
|
tree
2014-01-11
c
irdan
Remo
v
e sta
l
e #und
e
f of
B
IN_HEAP_AR
R
in npf/q
u
eue
.
c
pp
commit
|
commitdiff
|
tree
2014-01-11
cir
d
an
Fix bogus mult
i
plier in YAPF
r
ail bridge speed pena
l
ty
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Introduce PathMPos::set
commit
|
commitdiff
|
tree
2014-01-11
ci
r
dan
Renam
e
PathMPos:
:
I
sTr
a
ckdirSet to
P
athMPos::is_sin
g
le
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Introduc
e
P
a
t
h
MPos::is_empty
commit
|
commitdiff
|
tree
2014-01-11
cird
a
n
Introduce PathMPo
s
::clear_trackdir
s
commit
|
commitdiff
|
tree
2014-01-11
cirdan
Introduce PathMPos::set_tr
a
c
kdirs
commit
|
commitdiff
|
tree
next