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
Simplify the exit checks in TownAuthorityWindow::OnClick
2018-02-17
cirdan
Simplify
t
he exit
ch
e
cks in TownAu
t
horityWindo
w
::OnClick
commit
|
commitdiff
|
tree
2018-02-16
c
i
r
dan
F
i
x com
p
utation
o
f DrawEngineList arguments
commit
|
commitdiff
|
tree
2018-02-15
ci
r
da
n
Mer
g
e road st
o
p removal ca
s
es in BuildRoadToolbarW
i
ndo
w
commit
|
commitdiff
|
tree
2018-02-15
cirdan
Fa
c
to
r
out
D
oC
o
mmandP call in
BuildDock
s
ToolbarWindow
commit
|
commitdiff
|
tree
2018-02-14
c
i
rdan
Ca
l
l OnPl
a
ceMous
e
Up only
for valid selection endpo
i
nts
commit
|
commitdiff
|
tree
2018-02-13
cirdan
Remove en
u
m E
v
entSta
t
e
commit
|
commitdiff
|
tree
2018-02-13
cirdan
L
et Handle
E
ditBoxKe
y
return a boo
l
ean status
commit
|
commitdiff
|
tree
2018-02-12
cird
a
n
Fa
c
t
o
r out OnClick dispatching
in Window
:
:HandleEd
i
tBoxKey
commit
|
commitdiff
|
tree
2018-02-12
c
i
r
dan
Share
deselect exit pa
t
h
in Window::HandleEd
i
tBoxKey
commit
|
commitdiff
|
tree
2018-02-11
ci
r
da
n
Let Ha
n
dle
V
iewportScroll return
a
boolean st
a
tus
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let HandleScrollbarScrolling return a
b
oolean
status
commit
|
commitdiff
|
tree
2018-02-11
ci
r
dan
Let HandleWindowDragging return a
b
oolean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let HandleMouseDr
a
g
Drop return a bo
o
l
e
an status
commit
|
commitdiff
|
tree
2018-02-11
cir
d
an
Let VpHandlePla
c
e
SizingDrag return a bool
e
an status
commit
|
commitdiff
|
tree
2018-02-11
c
i
r
dan
L
e
t Window::OnCTRLSt
a
te
C
h
ange return a boolean status
commit
|
commitdiff
|
tree
2018-02-11
cir
d
an
Let
W
indow::OnKeyP
r
ess return a b
o
olean status
commit
|
commitdiff
|
tree
2018-02-11
c
ird
a
n
L
e
t the glob
a
l
h
otk
e
y handlers return
a
bo
o
lean status
commit
|
commitdiff
|
tree
2018-02-11
cirdan
Let
Window::OnHotkey r
e
turn a
boolean status
commit
|
commitdiff
|
tree
2018-02-10
cirdan
U
s
e a for
w
a
r
d li
s
t for h
o
tkey_lists
commit
|
commitdiff
|
tree
2018-02-09
cird
a
n
Mark Forwa
r
dList
B
a
se constructors
as
c
onstexpr
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Hide the close ai
r
port button in oilrig
s
commit
|
commitdiff
|
tree
2018-02-04
cirdan
Allow t
o
r
e
n
ame neutra
l
s
t
ations
i
n si
n
gle
player
commit
|
commitdiff
|
tree
2018-02-04
ci
r
dan
Redefine e
n
um Statio
n
Naming values
commit
|
commitdiff
|
tree
2018-02-03
cirdan
Let the
first CanVehicleUseStation take an
E
ngine
a
rgument
commit
|
commitdiff
|
tree
2018-01-30
c
i
rdan
Re
m
ove one SQCon
v
ert::
D
ef
S
QStaticMe
t
h
o
d overlo
a
d
commit
|
commitdiff
|
tree
2018-01-30
cir
d
an
Remove
o
ne SQCon
v
ert:
:
DefSQMethod overload
commit
|
commitdiff
|
tree
2018-01-28
cirdan
Comput
e
the ra
i
l type info on
entry
i
n DrawTu
n
n
el
commit
|
commitdiff
|
tree
2018-01-28
cirdan
Check track vis
i
bility in advance in DrawTr
a
inDepotSprite
commit
|
commitdiff
|
tree
2018-01-27
cirdan
F
a
ctor
o
ut g
r
ound depot foundation drawing
commit
|
commitdiff
|
tree
2018-01-27
cirdan
Factor out DrawGroundSprite cal
l
in D
r
awTrainDepot
commit
|
commitdiff
|
tree
2018-01-27
c
ir
d
an
C
h
eck tr
a
ck visibility in advance in DrawTrainD
e
pot
commit
|
commitdiff
|
tree
2018-01-26
cirdan
Fix
catenary drawing in depots
commit
|
commitdiff
|
tree
2018-01-25
cirdan
Fac
t
o
r
out DrawGroundSprit
e
c
a
ll in DrawTrackBitsOver
l
ay
commit
|
commitdiff
|
tree
2018-01-25
ci
r
dan
S
i
mplify branchi
n
g in DrawTrackBi
t
sOverlay
commit
|
commitdiff
|
tree
2018-01-24
cird
a
n
Add a
helper funct
i
on to check
r
eserved corner tracks
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Let
Dr
a
wHalft
i
le
O
verla
y
al
s
o hand
l
e upper halftile
s
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Inl
i
n
e
DrawT
r
a
c
k
Sprite calls in DrawUp
p
erHalft
i
leOverlay
commit
|
commitdiff
|
tree
2018-01-23
cirdan
Switch on corner in Dr
a
wU
p
perH
a
lftileOverlay
commit
|
commitdiff
|
tree
2018-01-22
c
irdan
Simplify branching in
D
r
awTrackGround
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Re
m
ove en
u
m
RailTrackBridgeOffset
commit
|
commitdiff
|
tree
2018-01-21
c
i
rdan
F
a
ctor out Ad
d
SortableSpriteToDraw call in DrawTile_Tra
c
k
commit
|
commitdiff
|
tree
2018-01-21
cirdan
Move
enum Rail
F
enceOffset to rail_cmd
.
cpp
commit
|
commitdiff
|
tree
2018-01-20
c
i
r
dan
R
emove stati
c
variable _drawtile_tr
a
ck_pa
l
e
tte
commit
|
commitdiff
|
tree
2018-01-20
c
irdan
M
ove rail
fence b
o
unding box data into
D
rawT
r
ackFence
commit
|
commitdiff
|
tree
2018-01-20
cirda
n
Remov
e
struct Sprite
G
roupData for
t
rack fences
commit
|
commitdiff
|
tree
2018-01-19
cirdan
Factor out Dra
w
Tr
a
ckF
e
nc
e
call in DrawTrackDetai
l
s
commit
|
commitdiff
|
tree
2018-01-19
c
i
rda
n
Inline DrawSideTrack
F
ence
commit
|
commitdiff
|
tree
2018-01-19
cirdan
I
nline D
r
awCornerTrack
F
ence
commit
|
commitdiff
|
tree
2018-01-18
cird
a
n
Rew
o
rk DrawTr
a
ckD
e
tails
commit
|
commitdiff
|
tree
2018-01-17
cirdan
Merge rail tr
a
ck side fence drawing
functions
commit
|
commitdiff
|
tree
2018-01-16
cirdan
Fa
c
tor out call to GetRailTypeInfo in DrawT
r
ackDet
a
i
l
s
commit
|
commitdiff
|
tree
2018-01-15
cirdan
A
d
d
a he
l
per function
t
o g
e
t
t
he ground
f
o
r
a rail
.
.
.
commit
|
commitdiff
|
tree
2018-01-15
cird
a
n
U
s
e
an
a
rray
of
r
ail g
r
o
u
n
d types in TileLoo
p
_Track
commit
|
commitdiff
|
tree
2018-01-13
cir
d
an
Pass co
o
rdinate
parit
y
as
a
bit
m
a
sk to
C
hoosePylonPositi
o
n
commit
|
commitdiff
|
tree
2018-01-13
c
i
rdan
Keep coordi
n
a
t
e parity
as a bitmask i
n
D
rawRailCa
t
enary
commit
|
commitdiff
|
tree
2018-01-12
c
i
r
d
a
n
Rework Che
c
kPylonElision to use a static data table
commit
|
commitdiff
|
tree
2018-01-11
cir
d
a
n
Purge impossible pylon p
o
sitions from ChoosePylonPos
i
tion
commit
|
commitdiff
|
tree
2018-01-10
ci
r
dan
I
n
line one Choos
e
P
ylonP
o
sition variant
commit
|
commitdiff
|
tree
2018-01-09
c
i
rdan
Rework pylon or
d
er stor
a
g
e in Ch
o
osePylon
P
osition
commit
|
commitdiff
|
tree
2018-01-09
cirdan
Use a macro to define pylon order i
n
ChoosePylonPosition
commit
|
commitdiff
|
tree
2018-01-08
cirdan
Use the simp
l
ified Choo
s
ePylonPositi
o
n i
n
DrawRailCa
t
e
n
ar
y
commit
|
commitdiff
|
tree
2018-01-08
cirda
n
Clone
C
hoosePylonPosition for tunnel tiles
commit
|
commitdiff
|
tree
2018-01-07
c
i
rdan
Rewo
r
k
C
hoosePylon
P
osit
i
on to
s
implify the
loo
p
commit
|
commitdiff
|
tree
2018-01-06
cirdan
Skip
p
ylon comp
u
t
a
tion in DrawRailCatenary unl
e
ss needed
commit
|
commitdiff
|
tree
2018-01-05
c
irdan
Hav
e
CheckRailNeig
h
bourP
C
P ch
e
ck multiply-used pyl
o
ns
commit
|
commitdiff
|
tree
2018-01-05
cirdan
Count t
h
e nu
m
ber of inciding wires in
CheckCatenar
y
S
i
de
commit
|
commitdiff
|
tree
2018-01-04
c
irdan
Shortcut the tunnel ca
s
e in Ch
e
ckSidePCP
commit
|
commitdiff
|
tree
2018-01-03
cirdan
Re
w
ork the fi
n
al part
o
f
Chec
k
SidePCP
commit
|
commitdiff
|
tree
2018-01-03
cir
d
an
Assert that PPP
s
alon
g
the
t
ile side
are a
l
ways allowed
commit
|
commitdiff
|
tree
2018-01-02
c
ir
d
an
Inline CheckCatenar
y
SideAxis
commit
|
commitdiff
|
tree
2018-01-01
c
i
rdan
Inline
C
a
nStatio
n
TileHave{P
y
l
ons,Wir
e
s}
commit
|
commitdiff
|
tree
2017-12-30
c
i
rdan
Cache the til
e
difference in Sta
t
ion::GetPlatform
L
e
n
g
th
commit
|
commitdiff
|
tree
2017-12-29
cirda
n
Inli
n
e one Station::GetPlatform
L
e
n
gth vari
a
nt
commit
|
commitdiff
|
tree
2017-12-28
c
i
r
dan
Cha
n
g
e
GetPlatformLength use in GetD
i
stanceToStopL
o
c
a
tion
commit
|
commitdiff
|
tree
2017-12-26
cirdan
Tweak realistic a
c
cele
r
ation param
e
ters for stat
i
ons
commit
|
commitdiff
|
tree
2017-12-26
cirdan
Change Ge
t
T
rainStopLocation to GetDistan
c
e
T
oSt
o
pLocation
commit
|
commitdiff
|
tree
2017-12-23
cirdan
Remove
the other Bas
e
Station::GetPlatformL
e
ngth
variant
commit
|
commitdiff
|
tree
2017-12-22
c
irdan
Remove one
B
as
e
Station::GetPlatformLength variant
commit
|
commitdiff
|
tree
2017-12-20
c
i
rdan
Do not call
g
et_closest_tile on empty areas
commit
|
commitdiff
|
tree
2017-12-19
cirdan
R
emove BaseStation::
G
etTileArea
commit
|
commitdiff
|
tree
2017-12-19
cirdan
Partially i
n
line
B
a
seStation::GetC
l
osestTile
commit
|
commitdiff
|
tree
2017-12-17
cirdan
Remo
v
e enum T
r
iggerA
r
ea
commit
|
commitdiff
|
tree
2017-12-17
ci
r
d
a
n
Simplify cargo ch
e
ck in
T
ri
g
gerStati
o
nRandomisation
commit
|
commitdiff
|
tree
2017-12-16
c
irdan
Re
m
ove str
u
ct ETi
l
e
A
r
e
a
commit
|
commitdiff
|
tree
2017-12-15
cir
d
an
Use a
l
o
op in MakePlatformA
r
ea
commit
|
commitdiff
|
tree
2017-12-15
cirdan
Remove re
d
undant ch
e
ck
s
i
n
Make
P
latformA
r
ea
commit
|
commitdiff
|
tree
2017-12-14
cirdan
Extract ETileArea pla
t
for
m
c
a
se into
a he
l
per function
commit
|
commitdiff
|
tree
2017-12-13
c
i
r
dan
Remov
e
ETi
l
eArea use in DeallocateSp
e
c
F
romSta
t
ion
commit
|
commitdiff
|
tree
2017-12-13
cirdan
I
n
line GetTileArea into ET
i
leArea const
r
uctor
commit
|
commitdiff
|
tree
2017-12-12
cirdan
Fact
o
r
ou
t
G
etCen
t
er
T
ile call in W
a
ypointWind
o
w
:
:OnClick
commit
|
commitdiff
|
tree
2017-12-12
cirda
n
Inline Get
T
il
e
Area into
WaypointWindow
:
:GetCenterT
i
l
e
commit
|
commitdiff
|
tree
2017-12-09
cirdan
Rework air
p
ort la
y
ou
t
rotati
o
n storage
commit
|
commitdiff
|
tree
2017-12-07
ci
r
dan
Simp
l
i
fy sp
r
itegroup field in GRFFileProps
commit
|
commitdiff
|
tree
2017-12-07
cirdan
Remov
e
s
prit
e
group array from
GRFFilePropsBase
commit
|
commitdiff
|
tree
2017-12-06
ci
r
dan
Inline
a
n
d remove Get
V
ehiclePosOnBuild
commit
|
commitdiff
|
tree
2017-12-05
ci
r
da
n
U
se Ai
r
port::GetHangarDataByTile in mor
e
pla
c
e
s
commit
|
commitdiff
|
tree
2017-12-05
c
irda
n
L
e
t
Airport:
:
GetRotatedHangarTile retu
r
n the of
f
set
commit
|
commitdiff
|
tree
2017-12-04
c
i
rdan
In
l
ine and
r
e
m
ove GetAirpor
t
commit
|
commitdiff
|
tree
2017-12-04
cirdan
Def
i
ne onl
y
a finite state machine for the dummy airport
commit
|
commitdiff
|
tree
2017-12-03
ci
r
dan
Remove Airport::
G
etHangarNu
m
commit
|
commitdiff
|
tree
next