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 HandleClick from SubsidyListWindow to file scope
2018-02-19
cirdan
Mov
e
HandleCli
c
k from SubsidyL
i
stWindow to
f
i
le scope
commit
|
commitdiff
|
tree
2018-02-19
cirdan
Move G
e
tSubsidyTile
from
Subsid
y
ListWindo
w
to f
i
le
.
.
.
commit
|
commitdiff
|
tree
2018-02-18
cirdan
Inline one call to GetScro
l
le
d
Row
F
romWidge
t
commit
|
commitdiff
|
tree
2018-02-18
cirda
n
I
n
line Wind
o
w
:
:GetR
o
w
F
romW
i
dg
e
t
commit
|
commitdiff
|
tree
2018-02-18
cirdan
Add a method in NWidgetBase to compute the row f
o
r
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cird
a
n
O
ffset Tow
n
AuthorityWindow::GetNthSetBit
p
ara
m
eter
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cirdan
Handle t
h
e hea
d
ing in Town
A
uthorityWindow::On
C
lick
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
c
i
rdan
Simplify the exi
t
checks in To
w
n
A
u
thorityWindow
:
:
O
nCli
c
k
commit
|
commitdiff
|
tree
2018-02-16
cirdan
Fix computation of DrawEngin
e
List ar
g
uments
commit
|
commitdiff
|
tree
2018-02-15
c
irdan
Merge road stop remov
a
l c
a
ses
i
n
Bu
i
ldRoadToolbarWin
d
ow
commit
|
commitdiff
|
tree
2018-02-15
c
i
rdan
Factor out
DoCommandP c
a
ll in BuildDoc
k
s
ToolbarWindo
w
commit
|
commitdiff
|
tree
2018-02-14
cirdan
Call On
P
laceM
o
useUp only
f
or valid se
l
e
cti
o
n endpoints
commit
|
commitdiff
|
tree
2018-02-13
cirdan
Remove en
u
m EventS
t
ate
commit
|
commitdiff
|
tree
2018-02-13
cirdan
Let HandleEditBoxKey
re
t
u
rn a boolean
status
commit
|
commitdiff
|
tree
2018-02-12
c
irda
n
Factor o
u
t OnClick dispatching in Window::H
a
ndleEdit
B
oxKey
commit
|
commitdiff
|
tree
2018-02-12
cirdan
Sha
r
e
desele
c
t exit path in Wind
o
w::HandleEditBoxKey
commit
|
commitdiff
|
tree
2018-02-11
c
i
rdan
Let HandleViewport
S
croll
return
a
b
o
olea
n
statu
s
commit
|
commitdiff
|
tree
2018-02-11
cir
d
a
n
Let
Hand
l
e
Scrollbar
S
cro
l
ling r
e
turn a boolean sta
t
us
commit
|
commitdiff
|
tree
2018-02-11
c
irdan
L
et HandleWindow
D
ragging
r
et
u
rn
a
boolean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
L
et HandleMouseDragDrop
r
e
t
urn
a
bool
e
a
n status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let VpHandle
P
laceSizi
n
gDrag
r
etu
r
n
a
b
ool
e
an st
a
t
u
s
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Window:
:
OnCTRLStateChan
g
e r
e
turn a boole
a
n status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Windo
w
::OnKeyPress
r
eturn a boolean statu
s
commit
|
commitdiff
|
tree
2018-02-11
c
i
rdan
Let the global hotke
y
handlers r
e
t
u
rn a boolean statu
s
commit
|
commitdiff
|
tree
2018-02-11
cirdan
L
et Window::OnHotkey re
t
urn
a
boolean
s
tat
u
s
commit
|
commitdiff
|
tree
2018-02-10
cirdan
Use
a for
w
ard list for hotkey_lists
commit
|
commitdiff
|
tree
2018-02-09
cirdan
M
a
rk ForwardListBa
s
e constructors
a
s con
s
texpr
commit
|
commitdiff
|
tree
2018-02-04
c
irdan
Hide the clo
s
e airport
b
utt
o
n
i
n
oilrig
s
commit
|
commitdiff
|
tree
2018-02-04
cir
d
an
Allow
t
o rename neutral s
t
ations in
s
ingle play
e
r
commit
|
commitdiff
|
tree
2018-02-04
cirdan
R
e
d
e
fine enum Stati
o
nNa
m
i
n
g values
commit
|
commitdiff
|
tree
2018-02-03
cirdan
Let the
f
irst CanVehicleUs
e
S
tation take
a
n Engine argument
commit
|
commitdiff
|
tree
2018-01-30
cirdan
Remove
o
ne SQ
C
onve
r
t::DefSQStaticMe
t
hod overload
commit
|
commitdiff
|
tree
2018-01-30
cird
a
n
Remove one SQC
o
nvert::DefSQMe
t
hod overload
commit
|
commitdiff
|
tree
2018-01-28
ci
r
d
an
Compute the
r
ail type info o
n
entry in DrawTu
n
ne
l
commit
|
commitdiff
|
tree
2018-01-28
cirdan
Che
c
k tra
c
k visibility in
ad
v
a
nce i
n
Dra
w
T
rainD
e
pot
S
prite
commit
|
commitdiff
|
tree
2018-01-27
c
irdan
Factor ou
t
ground depot f
o
undation d
r
awing
commit
|
commitdiff
|
tree
2018-01-27
cirdan
F
ac
t
o
r out
D
rawG
r
oundSprite
call i
n
Dr
a
wT
r
ainDepot
commit
|
commitdiff
|
tree
2018-01-27
c
irdan
Check
tra
c
k visibility in advance in Draw
T
rainDepot
commit
|
commitdiff
|
tree
2018-01-26
cir
d
an
Fix catena
r
y
d
ra
w
ing
in
de
p
ots
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Factor o
u
t Dra
w
Groun
d
Sprite call in DrawTrackBi
t
sOverl
a
y
commit
|
commitdiff
|
tree
2018-01-25
c
irdan
S
implify
branch
i
ng i
n
Dra
w
Tr
a
ckBitsOverlay
commit
|
commitdiff
|
tree
2018-01-24
cirdan
Add a
h
elper functi
o
n to check reserved corner tr
a
cks
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Let DrawHalf
t
ileOverlay
also handle upp
e
r
halftiles
commit
|
commitdiff
|
tree
2018-01-23
cirda
n
Inline DrawTrackSprite calls in DrawUpperHalf
t
ileOverlay
commit
|
commitdiff
|
tree
2018-01-23
cird
a
n
Switch on corner in DrawUpperHalf
t
ileOv
e
rlay
commit
|
commitdiff
|
tree
2018-01-22
c
irdan
S
i
mp
l
ify bran
c
hing in DrawTrackGroun
d
commit
|
commitdiff
|
tree
2018-01-21
cirdan
R
emove enum RailTrac
k
BridgeO
f
fset
commit
|
commitdiff
|
tree
2018-01-21
cirda
n
Factor o
u
t
Add
S
orta
b
leSpriteToDraw call in Dr
a
w
T
ile_
T
rack
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Move enum RailFenceOffset t
o
rail_c
m
d
.
cpp
commit
|
commitdiff
|
tree
2018-01-20
cirdan
Remove s
t
at
i
c var
i
able _d
r
awtil
e
_
t
rack_palette
commit
|
commitdiff
|
tree
2018-01-20
cirda
n
Move rail fe
n
ce bounding box data into
D
r
a
wTrackFence
commit
|
commitdiff
|
tree
2018-01-20
c
i
rdan
R
emo
v
e struct SpriteGroupData for tra
c
k fe
n
ces
commit
|
commitdiff
|
tree
2018-01-19
cird
a
n
Factor
o
u
t
DrawTr
a
ckFence
c
all in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-19
cirdan
In
l
ine DrawSideTrackFe
n
c
e
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Inline
DrawCo
r
n
e
rTrackFence
commit
|
commitdiff
|
tree
2018-01-18
cirdan
Rewo
r
k
DrawTrackDetai
l
s
commit
|
commitdiff
|
tree
2018-01-17
c
i
r
d
an
Merge rail
track side fence drawing f
u
nctio
n
s
commit
|
commitdiff
|
tree
2018-01-16
c
irdan
Facto
r
ou
t
call
t
o GetRailTypeInfo in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-15
cirdan
A
d
d a hel
p
er f
u
nction to get
t
h
e ground
f
or
a ra
i
l
.
.
.
commit
|
commitdiff
|
tree
2018-01-15
cird
a
n
Us
e
an
a
r
r
ay of rail grou
n
d types i
n
Ti
l
eLoop_Trac
k
commit
|
commitdiff
|
tree
2018-01-13
cirdan
Pass coo
r
di
n
ate pari
t
y as a bitmask to ChoosePylonPositio
n
commit
|
commitdiff
|
tree
2018-01-13
cirdan
K
e
ep
coordinate
p
ar
i
ty as a
bitma
s
k in D
r
awRa
i
lCatena
r
y
commit
|
commitdiff
|
tree
2018-01-12
cird
a
n
R
ewor
k
Che
c
kPylonElision to
use a s
t
atic data table
commit
|
commitdiff
|
tree
2018-01-11
c
irda
n
P
u
r
ge
i
mpossibl
e
pylon
positions from ChoosePylonPosition
commit
|
commitdiff
|
tree
2018-01-10
cir
d
an
Inline on
e
Ch
o
osePylonPo
s
it
i
on
v
ariant
commit
|
commitdiff
|
tree
2018-01-09
ci
r
dan
Rework pylon order storage in
Ch
o
osePylonPos
i
tion
commit
|
commitdiff
|
tree
2018-01-09
cirdan
Use a macro
to define pylon
ord
e
r in ChoosePylonPosition
commit
|
commitdiff
|
tree
2018-01-08
c
i
r
d
an
Use the simplified Choos
e
PylonP
o
siti
o
n in DrawRa
i
lCaten
a
ry
commit
|
commitdiff
|
tree
2018-01-08
cirdan
Clone Choose
P
ylonPositio
n
for tunnel tiles
commit
|
commitdiff
|
tree
2018-01-07
cirdan
Rewor
k
Choos
e
Pyl
o
nPositio
n
t
o simplify the loop
commit
|
commitdiff
|
tree
2018-01-06
c
i
r
da
n
Skip pylon com
p
ut
a
t
ion in Dr
a
wRai
l
Catena
r
y
u
nl
e
ss nee
d
ed
commit
|
commitdiff
|
tree
2018-01-05
c
irda
n
Ha
v
e C
h
eckRailNeighbourPCP ch
e
ck m
u
ltipl
y
-used pylons
commit
|
commitdiff
|
tree
2018-01-05
cirdan
Co
u
nt the number
o
f
i
n
ciding wires in Che
c
kCatenarySid
e
commit
|
commitdiff
|
tree
2018-01-04
cirdan
Shortcut the tu
n
nel ca
s
e
in CheckSidePCP
commit
|
commitdiff
|
tree
2018-01-03
cirdan
Rework t
h
e final par
t
o
f CheckSide
P
CP
commit
|
commitdiff
|
tree
2018-01-03
c
i
r
d
an
Ass
e
rt that PPP
s
along the tile side are
a
lways allo
w
ed
commit
|
commitdiff
|
tree
2018-01-02
cirdan
I
nline Check
C
atena
r
ySideAxis
commit
|
commitdiff
|
tree
2018-01-01
cird
a
n
I
n
line CanStationTileHave{Pyl
o
ns,Wires}
commit
|
commitdiff
|
tree
2017-12-30
ci
r
dan
Ca
c
he
th
e
tile
d
iff
e
rence in Station::GetPlatformLengt
h
commit
|
commitdiff
|
tree
2017-12-29
cirdan
Inli
n
e
o
ne Stat
i
on::GetP
l
atformLength variant
commit
|
commitdiff
|
tree
2017-12-28
cirdan
Change GetPl
a
tformLengt
h
use in GetDistanceToS
t
o
p
Location
commit
|
commitdiff
|
tree
2017-12-26
c
i
r
dan
Tweak r
e
alistic acceleratio
n
parameters for s
t
ations
commit
|
commitdiff
|
tree
2017-12-26
cird
a
n
Ch
a
nge GetT
r
ainSt
o
pLoc
a
tion to GetDistanceToSto
p
Location
commit
|
commitdiff
|
tree
2017-12-23
ci
r
dan
Rem
o
ve
the other BaseStation::GetPl
a
tformL
e
ngth variant
commit
|
commitdiff
|
tree
2017-12-22
ci
r
dan
R
e
move one
B
aseS
t
a
t
io
n
::GetPlatform
L
e
ngt
h
variant
commit
|
commitdiff
|
tree
2017-12-20
cirdan
Do not call get_closest_tile on empty areas
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Remove BaseStation::GetTi
l
eA
r
ea
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Par
t
i
ally
i
nline Base
S
tation
:
:G
e
tClosestTile
commit
|
commitdiff
|
tree
2017-12-17
cirdan
R
e
move enu
m
Tri
g
gerArea
commit
|
commitdiff
|
tree
2017-12-17
ci
r
d
an
Sim
p
lify cargo ch
e
ck in
TriggerStationR
a
ndomisation
commit
|
commitdiff
|
tree
2017-12-16
cirdan
Remove struct ETileArea
commit
|
commitdiff
|
tree
2017-12-15
c
ird
a
n
Use a loop
i
n MakePlatformA
r
ea
commit
|
commitdiff
|
tree
2017-12-15
cirdan
Rem
o
ve redund
a
nt checks
i
n MakePlatfo
r
mArea
commit
|
commitdiff
|
tree
2017-12-14
cirdan
Extract ETile
A
rea platform case into a helper funct
i
o
n
commit
|
commitdiff
|
tree
2017-12-13
cirdan
Remove ETileArea u
s
e in Dealloc
a
t
eSpecFromStatio
n
commit
|
commitdiff
|
tree
2017-12-13
cirdan
Inline Ge
t
TileAre
a
into ETileArea constructor
commit
|
commitdiff
|
tree
2017-12-12
cirdan
Factor out GetCen
t
erTile call in
W
aypointWin
d
ow::OnClick
commit
|
commitdiff
|
tree
2017-12-12
cir
d
an
I
n
l
ine Get
T
ileArea i
n
to WaypointWi
n
dow::GetCenterTile
commit
|
commitdiff
|
tree
2017-12-09
cirdan
Rework airport layou
t
rotation
s
torage
commit
|
commitdiff
|
tree
2017-12-07
cir
d
an
Simplify spritegroup field in GRFFileProps
commit
|
commitdiff
|
tree
next