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
Fix old map array tunnel head conversion
2018-02-27
c
i
r
dan
F
i
x old map array tunnel head
conversion
commit
|
commitdiff
|
tree
2018-02-25
cirdan
Factor out summary string
d
rawing in
t
he timetable
.
.
.
commit
|
commitdiff
|
tree
2018-02-25
c
ird
a
n
St
o
re la
t
ene
s
s
w
hen drawing the a
r
rival/dep
a
rture p
a
n
el
commit
|
commitdiff
|
tree
2018-02-25
c
irdan
Refactor
drawing of the timetab
l
e
arri
v
al/de
p
arture
.
.
.
commit
|
commitdiff
|
tree
2018-02-25
c
irda
n
Rework early order highlighting in the time
t
a
b
l
e window
commit
|
commitdiff
|
tree
2018-02-25
cirdan
Inline Timetabl
e
Wi
n
dow::BuildArrival
D
epar
t
ureList
commit
|
commitdiff
|
tree
2018-02-24
cirdan
Factor out setting
o
f the depot vehicle lis
t
icon strin
g
commit
|
commitdiff
|
tree
2018-02-24
c
i
rdan
Factor out initial
i
sation o
f
dep
o
t window sprites
commit
|
commitdiff
|
tree
2018-02-24
c
i
r
dan
Fa
c
tor out vehicle dr
a
wing c
a
ll
in Dep
o
tWindow::Draw
W
idget
commit
|
commitdiff
|
tree
2018-02-24
cir
d
a
n
Factor out DrawString c
a
l
l
in
D
rawVehic
l
e
I
nDep
o
t
commit
|
commitdiff
|
tree
2018-02-21
cirda
n
Inline SubsidyLi
s
tW
i
ndow::Coun
t
Line
s
commit
|
commitdiff
|
tree
2018-02-21
ci
r
dan
U
s
e an array i
n
Subsidy
L
istWindow::CountLines
commit
|
commitdiff
|
tree
2018-02-20
c
irdan
Rew
o
rk
SubsidyListWindow::OnClic
k
commit
|
commitdiff
|
tree
2018-02-19
cirdan
Move
HandleClick from SubsidyLis
t
Window to file scope
commit
|
commitdiff
|
tree
2018-02-19
cirdan
Move GetSubsidyTile from SubsidyListWi
n
d
o
w
t
o file
.
.
.
commit
|
commitdiff
|
tree
2018-02-18
cirdan
Inline
o
ne call to GetS
c
ro
l
ledR
o
wFromWidget
commit
|
commitdiff
|
tree
2018-02-18
cird
a
n
In
l
i
n
e Window::GetRow
F
romWidget
commit
|
commitdiff
|
tree
2018-02-18
cirdan
A
dd a
method
in
N
Widge
t
B
ase to compute the row for
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
c
i
rdan
Off
s
et TownAuthorityWindow::GetNthSetBit parameter
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cir
d
an
Handle the head
i
ng in TownA
u
t
h
orityWindo
w
::OnC
l
ic
k
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cirdan
Sim
p
l
i
fy the ex
i
t checks in To
w
nAuthorit
y
Window::O
n
Click
commit
|
commitdiff
|
tree
2018-02-16
cirdan
Fix co
m
putation o
f
Dra
w
Engi
n
eList arguments
commit
|
commitdiff
|
tree
2018-02-15
cirdan
Merge road stop remo
v
al cases in BuildRoad
T
oolbarWindow
commit
|
commitdiff
|
tree
2018-02-15
ci
r
dan
Factor out Do
C
o
mman
d
P c
a
ll in Bu
i
ldDo
c
ksToolbarWindow
commit
|
commitdiff
|
tree
2018-02-14
cirdan
Call OnPlac
e
Mo
u
seUp
o
nly f
o
r valid selection e
n
d
p
oints
commit
|
commitdiff
|
tree
2018-02-13
cird
a
n
Remove enu
m
Eve
n
tState
commit
|
commitdiff
|
tree
2018-02-13
cirdan
L
e
t H
a
n
dl
e
Edi
t
BoxKey return a
b
oolean status
commit
|
commitdiff
|
tree
2018-02-12
cirdan
F
acto
r
out OnC
l
ick dispatc
h
i
n
g i
n
Window::HandleEdit
B
ox
K
ey
commit
|
commitdiff
|
tree
2018-02-12
cird
a
n
Share deselect exit pa
t
h in Window::HandleE
d
itBoxKey
commit
|
commitdiff
|
tree
2018-02-11
c
irdan
Let
Hand
l
eViewportScroll re
t
u
rn a bo
o
lean statu
s
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
Let Hand
l
e
S
crollb
a
rScrolling return a b
o
olean status
commit
|
commitdiff
|
tree
2018-02-11
ci
r
dan
Let HandleWindowD
r
a
g
ging retu
r
n
a boolean status
commit
|
commitdiff
|
tree
2018-02-11
c
i
rdan
Le
t
HandleMo
u
seD
r
agDrop re
t
urn a b
o
olean status
commit
|
commitdiff
|
tree
2018-02-11
cir
d
an
L
e
t V
p
HandlePlaceS
i
zingDra
g
return a boolea
n
stat
u
s
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Window::OnCTRL
S
tateChange
return a
b
oolean stat
u
s
commit
|
commitdiff
|
tree
2018-02-11
c
i
rdan
Le
t
Window::OnKeyPress return a b
o
olean status
commit
|
commitdiff
|
tree
2018-02-11
cir
d
an
Let the
g
lobal hotkey
h
andlers
return
a boolean status
commit
|
commitdiff
|
tree
2018-02-11
c
i
rda
n
Let
Window
:
:OnHotkey return
a boolean status
commit
|
commitdiff
|
tree
2018-02-10
cirdan
Use a forward li
s
t
for hotkey_list
s
commit
|
commitdiff
|
tree
2018-02-09
cirdan
Mark ForwardListBase co
n
struct
o
r
s a
s
constexpr
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Hide
t
he close
a
irport
button in
o
ilr
i
gs
commit
|
commitdiff
|
tree
2018-02-04
cirdan
A
l
low to
r
ename n
e
utral st
a
tions in single playe
r
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Re
d
efine enum St
a
t
i
onNaming
va
l
ues
commit
|
commitdiff
|
tree
2018-02-03
cirdan
Let th
e
f
ir
s
t
CanVehicleUseStation t
a
ke
an Engin
e
arg
u
ment
commit
|
commitdiff
|
tree
2018-01-30
cirdan
R
e
move one SQConvert::DefSQ
S
t
a
t
icM
e
t
h
o
d ov
e
r
l
oad
commit
|
commitdiff
|
tree
2018-01-30
cirdan
Remove one
SQConvert
:
:Def
S
QMethod overload
commit
|
commitdiff
|
tree
2018-01-28
cir
d
a
n
Compute the rai
l
t
y
pe info
o
n entry in DrawTunnel
commit
|
commitdiff
|
tree
2018-01-28
cirda
n
Chec
k
track visi
b
ility in adva
n
ce in
D
r
a
wTrainDepotSprite
commit
|
commitdiff
|
tree
2018-01-27
cirda
n
Fact
o
r
o
u
t g
r
ound
depot fo
u
n
d
a
tion drawing
commit
|
commitdiff
|
tree
2018-01-27
cirdan
Fact
o
r out DrawGrou
n
dSprit
e
call in Draw
T
rainDepot
commit
|
commitdiff
|
tree
2018-01-27
cir
d
an
Check
t
rack visibility in advance in
D
ra
w
TrainDepot
commit
|
commitdiff
|
tree
2018-01-26
c
irdan
Fix
catenary dr
a
wing in depots
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Fa
c
tor out DrawGrou
n
dSprite call in DrawTrackBits
O
verlay
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Si
m
plify
branching in DrawTrackBit
s
Over
l
ay
commit
|
commitdiff
|
tree
2018-01-24
cirdan
Add a h
e
lper function to check r
e
served corner track
s
commit
|
commitdiff
|
tree
2018-01-23
cir
d
a
n
Let DrawHalftileOve
r
l
a
y also hand
l
e upper halft
i
les
commit
|
commitdiff
|
tree
2018-01-23
c
irda
n
I
n
line D
r
awTra
c
kSprite
ca
l
l
s
in
D
ra
w
UpperHal
f
til
e
O
ver
l
ay
commit
|
commitdiff
|
tree
2018-01-23
c
i
rdan
Sw
i
tc
h
o
n
c
o
rne
r
in Dr
a
wUpperHalftileOverlay
commit
|
commitdiff
|
tree
2018-01-22
cirdan
S
i
m
plify branchi
n
g
in DrawTrackGround
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Remove enum RailTr
a
ckBridgeOf
f
se
t
commit
|
commitdiff
|
tree
2018-01-21
cir
d
an
Facto
r
out
AddSort
a
ble
S
prite
T
oDraw
c
all i
n
D
r
a
w
T
ile_Track
commit
|
commitdiff
|
tree
2018-01-21
cir
d
an
Move enum RailFenceOf
f
set to
r
ail_cmd
.
cpp
commit
|
commitdiff
|
tree
2018-01-20
c
i
rdan
Remove
s
t
ati
c
v
a
r
i
able _drawtile_tr
a
ck_pale
t
te
commit
|
commitdiff
|
tree
2018-01-20
ci
r
dan
Mov
e
r
ail fenc
e
boundi
n
g
box data into DrawTrackFence
commit
|
commitdiff
|
tree
2018-01-20
ci
r
dan
R
emove struc
t
Sprite
G
roupD
a
ta for track
fence
s
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Facto
r
out Dra
w
TrackFence call in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Inline DrawSideTrackFence
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Inl
i
ne
D
ra
w
CornerTrackFence
commit
|
commitdiff
|
tree
2018-01-18
cird
a
n
Re
w
o
rk DrawT
r
ackD
e
tails
commit
|
commitdiff
|
tree
2018-01-17
cirdan
Merge rail trac
k
s
ide fence d
r
awing functions
commit
|
commitdiff
|
tree
2018-01-16
c
i
r
d
an
F
a
c
tor out call to GetRa
i
lTypeInfo in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-15
cird
a
n
A
dd a helper
f
unction to
g
et the ground f
o
r a rail
.
.
.
commit
|
commitdiff
|
tree
2018-01-15
cir
d
an
Use an
arr
a
y of r
a
il
g
rou
n
d
ty
p
es in TileLoop_Track
commit
|
commitdiff
|
tree
2018-01-13
cird
a
n
Pass coordina
t
e
p
a
ri
t
y as
a
b
i
tmask to Ch
o
o
s
eP
y
l
o
n
Position
commit
|
commitdiff
|
tree
2018-01-13
cirdan
Keep
coor
d
inate
p
arity as a
bitmask in D
r
awRailCatenary
commit
|
commitdiff
|
tree
2018-01-12
cirdan
R
e
work
Ch
e
ckPylonElision to use a
s
tatic d
a
ta table
commit
|
commitdiff
|
tree
2018-01-11
cirdan
P
ur
g
e i
m
possible pylon posi
t
ion
s
from Choo
s
ePylonP
o
sition
commit
|
commitdiff
|
tree
2018-01-10
cirdan
Inline one Ch
o
o
s
ePylonPosition
v
a
r
iant
commit
|
commitdiff
|
tree
2018-01-09
ci
r
dan
Rew
o
rk pylon or
d
er storage in
ChoosePylonPo
s
iti
o
n
commit
|
commitdiff
|
tree
2018-01-09
c
irdan
U
s
e a macro to def
i
ne
py
l
o
n
order in Cho
o
sePylonPosi
t
ion
commit
|
commitdiff
|
tree
2018-01-08
cirdan
Use t
h
e simplifi
e
d Choose
P
ylonPosition in DrawRa
i
l
C
atenary
commit
|
commitdiff
|
tree
2018-01-08
ci
r
d
a
n
Clone ChoosePylonPosition for
t
unnel tiles
commit
|
commitdiff
|
tree
2018-01-07
ci
r
dan
R
ework
C
hoo
s
e
P
ylo
n
Position t
o
si
m
plify the loop
commit
|
commitdiff
|
tree
2018-01-06
cirdan
S
k
ip pylon computation i
n
DrawRailC
a
tenary unless needed
commit
|
commitdiff
|
tree
2018-01-05
cirdan
H
a
ve CheckRailNeighbour
P
CP check
m
ultiply-used pylons
commit
|
commitdiff
|
tree
2018-01-05
cirdan
Count the nu
m
ber of inciding wi
r
es in CheckCatenaryS
i
de
commit
|
commitdiff
|
tree
2018-01-04
cirdan
S
hort
c
ut the
t
unne
l
cas
e
in CheckSideP
C
P
commit
|
commitdiff
|
tree
2018-01-03
cirdan
Re
w
o
r
k the final part of C
h
ec
k
SidePCP
commit
|
commitdiff
|
tree
2018-01-03
cirdan
A
ssert that PPPs along the tile
s
ide are alwa
y
s allowe
d
commit
|
commitdiff
|
tree
2018-01-02
cirdan
Inline CheckCatenar
y
S
id
e
Axis
commit
|
commitdiff
|
tree
2018-01-01
cirdan
Inline CanStationTil
e
H
a
ve{Pylons,Wires}
commit
|
commitdiff
|
tree
2017-12-30
cirdan
Cache the ti
l
e difference in S
t
ati
o
n::GetPlatformLength
commit
|
commitdiff
|
tree
2017-12-29
c
i
r
d
an
Inline one Stat
i
o
n
::GetPl
a
tformLength variant
commit
|
commitdiff
|
tree
2017-12-28
cirdan
Ch
a
nge
G
e
t
Pl
a
tformLength us
e
in GetDistanceToS
t
o
p
Location
commit
|
commitdiff
|
tree
2017-12-26
cird
a
n
T
w
ea
k
r
e
a
l
i
stic
a
ccelera
t
i
o
n parameters
f
or stati
o
ns
commit
|
commitdiff
|
tree
2017-12-26
cirda
n
Change GetTr
a
inStop
L
oc
a
tion t
o
GetDistanceToStopLocation
commit
|
commitdiff
|
tree
2017-12-23
cirdan
Remov
e
t
h
e
othe
r
BaseStation::Get
P
la
t
fo
r
mLength va
r
iant
commit
|
commitdiff
|
tree
2017-12-22
cirdan
Remov
e
on
e
BaseSt
a
tion
:
:Get
P
latformLe
n
gth v
a
riant
commit
|
commitdiff
|
tree
2017-12-20
cirdan
D
o
not call get_closest_
t
ile o
n
empty
a
reas
commit
|
commitdiff
|
tree
2017-12-19
cirda
n
Re
m
ove BaseSta
t
ion:
:
Ge
t
TileArea
commit
|
commitdiff
|
tree
next