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 right mouse scrolling in the win32 video driver
2018-02-21
cirda
n
I
n
l
ine SubsidyList
W
indow::Cou
n
tLi
n
es
commit
|
commitdiff
|
tree
2018-02-21
c
i
rdan
Use an array in
S
ubsidyListWindow::Count
L
ines
commit
|
commitdiff
|
tree
2018-02-20
cirdan
R
ework Subsidy
L
istWindow::OnClick
commit
|
commitdiff
|
tree
2018-02-19
cird
a
n
Move
H
a
n
d
l
eClick from SubsidyListWindow to file sco
p
e
commit
|
commitdiff
|
tree
2018-02-19
c
i
r
dan
Move GetSubsidyTi
l
e from S
u
bsid
y
Li
s
t
W
indow
to file
.
.
.
commit
|
commitdiff
|
tree
2018-02-18
cirdan
Inline one call to
G
et
S
crolledRowFromWidget
commit
|
commitdiff
|
tree
2018-02-18
cirdan
In
l
i
ne Window::GetRo
w
FromW
i
dget
commit
|
commitdiff
|
tree
2018-02-18
ci
r
dan
Add a
meth
o
d in NWidgetBase to
c
o
m
p
u
te t
h
e row for
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cirdan
O
f
fset Town
A
uthorityWi
n
dow
:
:GetNt
h
SetBit parameter
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
c
irdan
H
a
ndle the
h
eading in Town
A
uthorityWin
d
ow::OnClick
.
.
.
commit
|
commitdiff
|
tree
2018-02-17
cir
d
an
Sim
p
lify the ex
i
t checks i
n
Town
A
u
t
hority
W
indow::OnClick
commit
|
commitdiff
|
tree
2018-02-16
ci
r
dan
Fix comput
a
ti
o
n of DrawEng
i
neList argu
m
e
n
ts
commit
|
commitdiff
|
tree
2018-02-15
cirdan
Merge r
o
ad s
t
op removal c
a
ses in B
u
ildRoadToolbarWin
d
ow
commit
|
commitdiff
|
tree
2018-02-15
cirdan
Fact
o
r
out DoCommandP
c
all in BuildDocksToolbarWind
o
w
commit
|
commitdiff
|
tree
2018-02-14
c
i
rdan
Call OnPlaceMouseUp only for
valid
sele
c
t
ion endp
o
ints
commit
|
commitdiff
|
tree
2018-02-13
ci
r
da
n
Remove
e
num
E
ve
n
tSta
t
e
commit
|
commitdiff
|
tree
2018-02-13
cirdan
Le
t
HandleEditBox
K
e
y
re
t
urn
a
b
oolean
status
commit
|
commitdiff
|
tree
2018-02-12
cirdan
Factor out OnCli
c
k dispatchin
g
in W
i
ndow::
H
andleEditBoxKey
commit
|
commitdiff
|
tree
2018-02-12
ci
r
d
an
Share deselect
e
xit
p
a
th i
n
Window::Handl
e
EditBoxKey
commit
|
commitdiff
|
tree
2018-02-11
cirda
n
L
et Ha
n
dleVi
e
wp
o
rtS
c
roll return a boolean stat
u
s
commit
|
commitdiff
|
tree
2018-02-11
cird
a
n
L
et
H
andleScr
o
llba
r
S
crol
l
ing return a boo
l
ean s
t
a
t
us
commit
|
commitdiff
|
tree
2018-02-11
cirdan
L
e
t Handl
e
WindowDragging r
e
turn a boolean st
a
tu
s
commit
|
commitdiff
|
tree
2018-02-11
ci
r
dan
Let Handl
e
MouseDragDrop retu
r
n
a
b
o
olean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Le
t
Vp
H
and
l
eP
l
a
c
e
S
i
z
ingDrag
r
eturn a boo
l
ean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
L
et Win
d
ow::OnCTRLStateChange r
e
turn a
b
o
o
lean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Le
t
Window::OnKeyPress r
e
t
urn a boolean
s
tatus
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let the gl
o
bal hotkey handlers return a boolean s
t
atus
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let Window::
O
nHotkey
r
e
t
urn a boolean
s
tatus
commit
|
commitdiff
|
tree
2018-02-10
c
i
rdan
U
se
a
fo
r
ward list
f
o
r
hot
k
ey_lists
commit
|
commitdiff
|
tree
2018-02-09
cirdan
Mark ForwardList
B
ase
constructo
r
s
a
s const
e
x
p
r
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Hide th
e
close ai
r
por
t
b
u
t
t
on in oilrigs
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Allow
to
r
ename neutral
s
ta
t
ions
i
n
s
ing
l
e pla
y
er
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Re
d
e
f
ine en
u
m Sta
t
ion
N
a
ming values
commit
|
commitdiff
|
tree
2018-02-03
ci
r
dan
L
e
t the first CanVehicleUse
S
tatio
n
take an Engine
a
r
g
ument
commit
|
commitdiff
|
tree
2018-01-30
cirdan
Remove one SQConvert
:
:DefSQStat
i
cMethod
o
verload
commit
|
commitdiff
|
tree
2018-01-30
cirdan
Remov
e
one SQConve
r
t::DefS
Q
M
ethod overload
commit
|
commitdiff
|
tree
2018-01-28
cir
d
an
Compute the rail typ
e
info on entry in DrawTunnel
commit
|
commitdiff
|
tree
2018-01-28
cirdan
Check
track visibility in advance in DrawTra
i
nDepotSprite
commit
|
commitdiff
|
tree
2018-01-27
cirdan
F
a
ctor out ground depot foundati
o
n d
r
awi
n
g
commit
|
commitdiff
|
tree
2018-01-27
ci
r
dan
Factor out
DrawGroun
d
S
p
rite call in DrawTrainDepot
commit
|
commitdiff
|
tree
2018-01-27
c
irdan
Check track v
i
sib
i
lity in advance
in
D
rawT
r
ainDepot
commit
|
commitdiff
|
tree
2018-01-26
c
irdan
Fix catenary drawing in depots
commit
|
commitdiff
|
tree
2018-01-25
c
irdan
Facto
r
out DrawGro
u
n
dSprite c
a
ll in Dra
w
TrackBitsOver
l
a
y
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Simplify br
a
nching in DrawTrackBitsOve
r
lay
commit
|
commitdiff
|
tree
2018-01-24
cirdan
A
dd
a
help
e
r
f
unction to
c
heck r
e
s
erved cor
n
er
tra
c
k
s
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Let
D
r
awHalf
t
ileOverlay a
l
s
o
handle u
p
per halftiles
commit
|
commitdiff
|
tree
2018-01-23
ci
r
dan
In
l
ine Draw
T
rackSprite calls i
n
Dr
a
wUpperHal
f
tileOverlay
commit
|
commitdiff
|
tree
2018-01-23
cirda
n
Switch
o
n
c
orne
r
in Dra
w
UpperHalft
i
leOverlay
commit
|
commitdiff
|
tree
2018-01-22
cirdan
Simplify b
r
an
c
hing in Dra
w
TrackGround
commit
|
commitdiff
|
tree
2018-01-21
c
i
rdan
Rem
o
ve enum RailTrackBridg
e
Of
f
s
et
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Factor o
u
t A
d
dSort
a
b
leSp
r
i
t
eToDraw ca
l
l
in Dra
w
Tile_Track
commit
|
commitdiff
|
tree
2018-01-21
cir
d
an
Move
e
n
um Rai
l
F
enceOf
f
set t
o
rail_cmd
.
cpp
commit
|
commitdiff
|
tree
2018-01-20
cirdan
Remov
e
static variable _draw
t
ile_trac
k
_palette
commit
|
commitdiff
|
tree
2018-01-20
cirdan
Move rail fen
c
e
bounding box data into DrawTrackF
e
nce
commit
|
commitdiff
|
tree
2018-01-20
cirda
n
Remove st
r
uct Sp
r
i
te
G
r
oupData for track fenc
e
s
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Factor o
u
t
DrawTrackFence call in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-19
c
i
rdan
Inl
i
ne Draw
S
ideTrackFe
n
ce
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Inline
Dr
a
wCornerTrackFenc
e
commit
|
commitdiff
|
tree
2018-01-18
cirdan
Rew
o
r
k DrawTrackDetai
l
s
commit
|
commitdiff
|
tree
2018-01-17
ci
r
dan
M
erge
rail track side fence
dr
a
wing functions
commit
|
commitdiff
|
tree
2018-01-16
cirda
n
Facto
r
ou
t
ca
l
l to Get
R
ailTypeInfo in DrawTrackDetails
commit
|
commitdiff
|
tree
2018-01-15
cir
d
an
A
d
d
a h
e
lper function to get t
h
e ground for a
rai
l
.
.
.
commit
|
commitdiff
|
tree
2018-01-15
c
i
rdan
Use an
a
rray of rail ground typ
e
s in
TileLoop
_
Trac
k
commit
|
commitdiff
|
tree
2018-01-13
cir
d
a
n
Pass
c
o
ordinate parity as a bitmask to ChoosePylonP
o
s
iti
o
n
commit
|
commitdiff
|
tree
2018-01-13
cirdan
Keep coordinate parity
a
s a
b
itmask
i
n DrawRa
i
lC
a
tenary
commit
|
commitdiff
|
tree
2018-01-12
cirdan
Rework
Che
c
k
Pylo
n
Elisio
n
t
o
use a st
a
tic
d
ata
t
able
commit
|
commitdiff
|
tree
2018-01-11
c
i
rda
n
Purge
impos
s
ible py
l
o
n positi
o
n
s from ChoosePylonPosit
i
on
commit
|
commitdiff
|
tree
2018-01-10
cirdan
Inline o
n
e
Cho
o
se
P
y
l
o
nPosition variant
commit
|
commitdiff
|
tree
2018-01-09
cirdan
Rework pyl
o
n
o
rder storage i
n
ChooseP
y
lonPosition
commit
|
commitdiff
|
tree
2018-01-09
cirdan
Use a ma
c
ro
to
d
e
fine pylon order in C
h
oosePylon
P
o
sition
commit
|
commitdiff
|
tree
2018-01-08
cirdan
Use the simplifi
e
d Ch
o
osePy
l
onPosition in DrawRa
i
lCatenary
commit
|
commitdiff
|
tree
2018-01-08
cir
d
an
Clone
Choos
e
PylonPositi
o
n for tunnel
tiles
commit
|
commitdiff
|
tree
2018-01-07
c
i
rdan
Rework ChoosePyl
o
nPosition to
simplify th
e
lo
o
p
commit
|
commitdiff
|
tree
2018-01-06
cir
d
an
Skip pylon co
m
putat
i
on in Dr
a
w
Rail
C
a
t
en
a
ry unless needed
commit
|
commitdiff
|
tree
2018-01-05
cirdan
Have Chec
k
R
ailNeighbou
r
PC
P
check multi
p
ly-used pylons
commit
|
commitdiff
|
tree
2018-01-05
ci
r
d
an
Count the number
o
f inciding wire
s
in CheckCatena
r
ySide
commit
|
commitdiff
|
tree
2018-01-04
cirdan
Shortcut
the tunnel case
i
n C
h
e
c
kSidePCP
commit
|
commitdiff
|
tree
2018-01-03
cir
d
an
Rewo
r
k the final part of Chec
k
S
idePCP
commit
|
commitdiff
|
tree
2018-01-03
c
i
r
dan
Assert th
a
t PPPs a
l
ong t
h
e tile side are
a
lw
a
ys allowed
commit
|
commitdiff
|
tree
2018-01-02
ci
r
dan
I
n
line
C
hec
k
Cate
n
ar
y
S
i
de
A
xis
commit
|
commitdiff
|
tree
2018-01-01
cirdan
Inline Ca
n
StationTileHave{P
y
lons,Wires}
commit
|
commitdiff
|
tree
2017-12-30
ci
r
dan
Cach
e
the tile
d
i
f
ference in Statio
n
::Ge
t
P
latformLe
n
gth
commit
|
commitdiff
|
tree
2017-12-29
cirdan
Inline one Stati
o
n
:
:G
e
tPlatformL
e
ngth v
a
ri
a
nt
commit
|
commitdiff
|
tree
2017-12-28
cirda
n
Chan
g
e
G
etPlatformLength use in
GetDistanceT
o
StopLo
c
ation
commit
|
commitdiff
|
tree
2017-12-26
cirdan
T
w
e
ak r
e
alistic
acceler
a
t
i
on parameters
for sta
t
ions
commit
|
commitdiff
|
tree
2017-12-26
cirda
n
Chang
e
GetTrainStopLocatio
n
t
o Get
D
is
t
ance
T
oSt
o
pLoca
t
ion
commit
|
commitdiff
|
tree
2017-12-23
cirda
n
Remove
t
he other BaseSta
t
ion:
:
GetPlatfor
m
L
e
n
gth variant
commit
|
commitdiff
|
tree
2017-12-22
cirdan
R
emove o
n
e BaseStation::GetPlatformLen
g
th
v
a
r
iant
commit
|
commitdiff
|
tree
2017-12-20
cirdan
Do not ca
l
l get_closest
_
tile on empt
y
a
r
eas
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Remove B
a
seStation:
:
GetTil
e
Area
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Partially inline Ba
s
eStation::GetClose
s
tTile
commit
|
commitdiff
|
tree
2017-12-17
ci
r
dan
R
e
m
o
v
e
e
nu
m
Tri
g
gerArea
commit
|
commitdiff
|
tree
2017-12-17
cirdan
S
im
p
lify c
a
rgo check in Trigger
S
tationRandomisation
commit
|
commitdiff
|
tree
2017-12-16
cirdan
Remove
s
t
r
uct ETileArea
commit
|
commitdiff
|
tree
2017-12-15
cir
d
an
Use a
loop in MakePlatformArea
commit
|
commitdiff
|
tree
2017-12-15
ci
r
dan
Remo
v
e
r
edundant checks in
MakePlatfo
r
mArea
commit
|
commitdiff
|
tree
2017-12-14
cirdan
Ex
t
ract ETileAr
e
a
p
latform c
a
se into a helper function
commit
|
commitdiff
|
tree
2017-12-13
cir
d
an
Remove ETileArea
use in De
a
llo
c
ateSpecF
r
omStation
commit
|
commitdiff
|
tree
2017-12-13
cirdan
I
n
line G
e
tTil
e
A
r
e
a
i
n
t
o ETileArea
cons
t
ructor
commit
|
commitdiff
|
tree
2017-12-12
cirdan
Factor ou
t
GetCenterTile call
i
n WaypointWindow
:
:OnCl
i
ck
commit
|
commitdiff
|
tree
next