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
Offset TownAuthorityWindow::GetNthSetBit parameter by one
2018-02-17
cirdan
Offs
e
t TownAut
h
o
ri
t
yWindow::Ge
t
Nth
S
etBit paramete
r
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cirdan
Handle the heading i
n
TownAuthority
W
indow:
:
OnClick
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cirdan
S
i
m
plify th
e
e
xit checks in
T
ownAuthori
t
yW
i
ndow::OnC
l
ick
commit
|
commitdiff
|
tree
2018-02-16
cir
d
a
n
Fix c
o
mp
u
tation o
f
DrawEngineLi
s
t argu
m
ents
commit
|
commitdiff
|
tree
2018-02-15
c
irdan
Merge road stop removal
cases in
Buil
d
RoadTool
b
arWindow
commit
|
commitdiff
|
tree
2018-02-15
cirdan
F
act
o
r out DoCommandP call
i
n
BuildDocksToolbarWin
d
ow
commit
|
commitdiff
|
tree
2018-02-14
cirdan
C
a
ll OnPla
c
eMouseUp
o
n
ly for valid
selection
endpoints
commit
|
commitdiff
|
tree
2018-02-13
c
ir
d
a
n
Remove enum EventStat
e
commit
|
commitdiff
|
tree
2018-02-13
cirdan
Let Handle
E
d
itBoxKey return a boolean
s
tatus
commit
|
commitdiff
|
tree
2018-02-12
cirdan
Factor
o
ut OnClick
d
i
spatching in Wind
o
w::HandleEdit
B
oxKey
commit
|
commitdiff
|
tree
2018-02-12
cirdan
Share dese
l
ect exi
t
path in Window::HandleEdi
t
BoxKey
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
Let
HandleView
p
ortScrol
l
r
e
turn a b
o
ole
a
n status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Hand
l
eScrollbarScrolling retu
r
n a b
o
olean stat
u
s
commit
|
commitdiff
|
tree
2018-02-11
ci
r
d
a
n
L
e
t Ha
n
dle
W
indow
D
ragging return a bool
e
a
n
stat
u
s
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
Let HandleMou
s
e
DragDrop
r
eturn a
boole
a
n s
t
atu
s
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
Let
V
pHandlePlaceSizi
n
g
D
r
ag return a boolean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Window::O
n
CTRLStateCh
a
nge return a
b
oolean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Le
t
Window::OnKeyPres
s
return a bool
e
an st
a
tus
commit
|
commitdiff
|
tree
2018-02-11
c
i
r
da
n
L
e
t the global
hotkey
h
andlers return a
b
oolean status
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
L
et
W
indow::OnHotke
y
return a
b
o
o
l
e
an status
commit
|
commitdiff
|
tree
2018-02-10
cirdan
Use a forward
l
is
t
for h
o
tkey_lists
commit
|
commitdiff
|
tree
2018-02-09
cirdan
Ma
r
k F
o
r
w
a
rdListBase
construc
t
ors as constexpr
commit
|
commitdiff
|
tree
2018-02-04
c
i
rd
a
n
Hide the
close
a
irport button in oilrigs
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Al
l
ow
to rename neutral
station
s
i
n
single
p
laye
r
commit
|
commitdiff
|
tree
2018-02-04
cirdan
R
edefine e
n
um StationNaming val
u
es
commit
|
commitdiff
|
tree
2018-02-03
cirdan
Let the
first Ca
n
V
ehicl
e
UseStat
i
on
t
ake an Engine
argument
commit
|
commitdiff
|
tree
2018-01-30
ci
r
dan
R
e
move on
e
SQConve
r
t::Def
S
Q
S
taticMethod overlo
a
d
commit
|
commitdiff
|
tree
2018-01-30
cirdan
Remove one
S
QConvert:
:
DefSQMethod overload
commit
|
commitdiff
|
tree
2018-01-28
cirda
n
Compute the rail type i
n
fo on
entry in Dra
w
Tunnel
commit
|
commitdiff
|
tree
2018-01-28
cirdan
Check tra
c
k v
i
sibility in advan
c
e
in DrawTrainDepot
S
pr
i
te
commit
|
commitdiff
|
tree
2018-01-27
cir
d
an
Factor out g
r
o
u
nd dep
o
t founda
t
ion draw
i
ng
commit
|
commitdiff
|
tree
2018-01-27
cird
a
n
Factor out DrawG
r
oundSp
r
ite call in DrawTra
i
nDepo
t
commit
|
commitdiff
|
tree
2018-01-27
c
i
rdan
Check trac
k
visibility in advanc
e
in
DrawTrainDepot
commit
|
commitdiff
|
tree
2018-01-26
cirdan
Fix catena
r
y draw
i
n
g
in depo
t
s
commit
|
commitdiff
|
tree
2018-01-25
cird
a
n
F
a
ctor out DrawGroundSprite call i
n
D
r
awTrackBit
s
Overlay
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Simplify b
r
anching in
DrawTrackBit
s
Overlay
commit
|
commitdiff
|
tree
2018-01-24
c
i
rdan
Add a helper fu
n
cti
o
n to check reserv
e
d cor
n
er tracks
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Let DrawHa
l
ftileOverla
y
a
lso h
a
n
dle upper halfti
l
es
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Inline D
r
aw
T
rackSprite
calls in
DrawUpperHalftileOverlay
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Sw
i
tch on co
r
ner i
n
DrawUpperH
a
lftileO
v
e
rlay
commit
|
commitdiff
|
tree
2018-01-22
cirdan
S
implify branching in
D
rawTr
a
ckGround
commit
|
commitdiff
|
tree
2018-01-21
cirdan
R
e
move enum
R
ailTrackBridgeOffse
t
commit
|
commitdiff
|
tree
2018-01-21
cird
a
n
Facto
r
o
ut
A
ddSo
r
tableSprit
e
ToDraw call in Draw
T
ile_Track
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Move enum Rail
F
enceOffset to
rail_cmd
.
cpp
commit
|
commitdiff
|
tree
2018-01-20
cir
d
a
n
R
e
move stati
c
variable _drawti
l
e_t
r
a
c
k_
p
alette
commit
|
commitdiff
|
tree
2018-01-20
ci
r
dan
Mov
e
r
ai
l
fence boundin
g
box dat
a
into Dra
w
TrackFence
commit
|
commitdiff
|
tree
2018-01-20
cirdan
Remov
e
struct SpriteGroupD
a
ta for track
f
ences
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Fa
c
tor out Dr
a
wTrackF
e
n
ce call in DrawTrack
D
e
tails
commit
|
commitdiff
|
tree
2018-01-19
cirdan
I
n
line D
r
awS
i
deTrack
F
ence
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Inl
i
ne Dr
a
wCornerTrackFence
commit
|
commitdiff
|
tree
2018-01-18
cirdan
Rework DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-17
cirdan
M
erge rail tr
a
ck side fence
d
rawin
g
f
u
nctions
commit
|
commitdiff
|
tree
2018-01-16
c
irdan
Facto
r
o
u
t call to G
e
tRailTypeInf
o
i
n DrawTrac
k
Details
commit
|
commitdiff
|
tree
2018-01-15
cirdan
A
d
d
a
helper fun
c
tion to ge
t
the
g
r
ound for a ra
i
l
.
.
.
commit
|
commitdiff
|
tree
2018-01-15
cirdan
Use
a
n array
o
f
rail g
r
ound
ty
p
es in
T
ileLoop_Track
commit
|
commitdiff
|
tree
2018-01-13
c
irdan
Pas
s
coordinate parity as a bitmask
t
o ChoosePylonPos
i
tion
commit
|
commitdiff
|
tree
2018-01-13
cirdan
K
eep coordin
a
te par
i
ty as a bit
m
a
s
k
in DrawRailCate
n
ar
y
commit
|
commitdiff
|
tree
2018-01-12
cirdan
Rework CheckPylonElision to use a
static data
t
a
ble
commit
|
commitdiff
|
tree
2018-01-11
cirdan
Purge i
m
possible pyl
o
n positio
n
s
f
r
om ChoosePylonPosition
commit
|
commitdiff
|
tree
2018-01-10
cirdan
Inline
o
n
e ChoosePyl
o
nPosition var
i
a
n
t
commit
|
commitdiff
|
tree
2018-01-09
ci
r
dan
Rewo
r
k pylon
ord
e
r sto
r
age in ChoosePylonPosit
i
on
commit
|
commitdiff
|
tree
2018-01-09
cirdan
Use a macr
o
to define pylon ord
e
r in Cho
o
s
ePylonPosi
t
ion
commit
|
commitdiff
|
tree
2018-01-08
c
irdan
Use the simplified C
h
ooseP
y
lonPos
i
tion in DrawRailCatenary
commit
|
commitdiff
|
tree
2018-01-08
c
i
rda
n
Clone ChoosePylonPosi
t
ion fo
r
tunnel tile
s
commit
|
commitdiff
|
tree
2018-01-07
cirdan
Rew
o
rk ChoosePylonP
o
sition
to simplify the loop
commit
|
commitdiff
|
tree
2018-01-06
cirdan
S
k
ip pylon c
o
m
p
u
t
ation
in Dr
a
wR
a
ilCat
e
n
ary unless
needed
commit
|
commitdiff
|
tree
2018-01-05
cirdan
H
a
ve CheckRa
i
lNe
i
ghbo
u
rPCP check multiply-used pylons
commit
|
commitdiff
|
tree
2018-01-05
cirdan
C
o
u
nt the n
u
mbe
r
of incid
i
ng
wires i
n
Chec
k
CatenarySide
commit
|
commitdiff
|
tree
2018-01-04
cirdan
Shortcut the tunne
l
case in CheckSidePCP
commit
|
commitdiff
|
tree
2018-01-03
c
irdan
Rework the
f
i
nal
p
art of Ch
e
ckSideP
C
P
commit
|
commitdiff
|
tree
2018-01-03
cirdan
Asser
t
that PPPs
a
long the tile side
a
re always a
l
lowed
commit
|
commitdiff
|
tree
2018-01-02
c
i
rd
a
n
I
n
line Chec
k
Ca
t
enar
y
Si
d
eAxis
commit
|
commitdiff
|
tree
2018-01-01
cirdan
Inline CanSt
a
tionTile
H
a
v
e{Py
l
o
n
s,W
i
res}
commit
|
commitdiff
|
tree
2017-12-30
cirdan
Cache
the ti
l
e dif
f
eren
c
e in Station::GetPlatfor
m
Leng
t
h
commit
|
commitdiff
|
tree
2017-12-29
cirdan
Inline one Station::G
e
tPlatformLength vari
a
n
t
commit
|
commitdiff
|
tree
2017-12-28
cirdan
Change GetPlatform
L
e
ngth
u
se in GetDistanc
e
To
S
topLocation
commit
|
commitdiff
|
tree
2017-12-26
cird
a
n
Tweak real
i
st
i
c accele
r
a
t
io
n
parame
t
ers for
s
t
a
tions
commit
|
commitdiff
|
tree
2017-12-26
cir
d
an
Chan
g
e
GetTrainStopLocat
i
on to GetDistanceT
o
StopLo
c
ation
commit
|
commitdiff
|
tree
2017-12-23
ci
r
dan
Remove the ot
h
er BaseSt
a
tion:
:
GetPlatformLength variant
commit
|
commitdiff
|
tree
2017-12-22
cirdan
Remove one BaseStation
:
:GetPlat
f
ormL
e
ng
t
h varian
t
commit
|
commitdiff
|
tree
2017-12-20
cirdan
Do no
t
call ge
t
_cl
o
sest_tile on empty area
s
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Remove BaseStatio
n
:
:
G
etTileArea
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Partially inline B
a
seSta
t
ion::GetClosestTile
commit
|
commitdiff
|
tree
2017-12-17
cirdan
Remove enum TriggerA
r
e
a
commit
|
commitdiff
|
tree
2017-12-17
cirdan
S
i
mplify cargo check i
n
T
r
iggerStationRandomisation
commit
|
commitdiff
|
tree
2017-12-16
cir
d
an
Remove struct ETileArea
commit
|
commitdiff
|
tree
2017-12-15
cir
d
an
Use a loop in MakePlatformArea
commit
|
commitdiff
|
tree
2017-12-15
cirdan
Remove redundant che
c
ks in MakePlatf
o
rmArea
commit
|
commitdiff
|
tree
2017-12-14
cirdan
Extr
a
ct ETileArea
p
l
a
tform case into a
h
elper
function
commit
|
commitdiff
|
tree
2017-12-13
cirda
n
Remove ET
i
l
e
Area use in Deall
o
c
a
teSpecFromStation
commit
|
commitdiff
|
tree
2017-12-13
cirdan
Inline GetTi
l
eAr
e
a into ETileArea constru
c
tor
commit
|
commitdiff
|
tree
2017-12-12
c
i
rdan
F
a
ctor out G
e
tCenterTile
call in Waypoi
n
tWindo
w
::On
C
l
i
ck
commit
|
commitdiff
|
tree
2017-12-12
cirdan
I
n
lin
e
Get
T
ileArea into Wa
y
poin
t
Window::Get
C
enterTile
commit
|
commitdiff
|
tree
2017-12-09
cirdan
Rework ai
r
port
layout rotation st
o
rage
commit
|
commitdiff
|
tree
2017-12-07
c
i
r
dan
Simplify spritegro
u
p field in G
R
FFilePr
o
ps
commit
|
commitdiff
|
tree
2017-12-07
cirdan
Remo
v
e spritegroup array
from GRFF
i
l
e
PropsBase
commit
|
commitdiff
|
tree
2017-12-06
cir
d
an
Inline and rem
o
ve G
e
tVehiclePosOnBuild
commit
|
commitdiff
|
tree
2017-12-05
cirdan
Use Ai
r
port::GetHa
n
garData
B
yTile in more places
commit
|
commitdiff
|
tree
2017-12-05
c
i
r
d
an
Let Airport::GetR
o
tatedHangarTile ret
u
rn the offset
commit
|
commitdiff
|
tree
2017-12-04
cirdan
Inline and
r
emove Ge
t
Airport
commit
|
commitdiff
|
tree
next