Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Paste #peze0kbvt
Show paste
(
bin3
)
andy
@
pdq2s-MacBook-Pro-
2
iron-horse default-r1084
(
tip
)
~
/Documents/OTTD_graphics/Iron_Horse/iron-horse $ make pw
=
1
[
GENERATE
]
[
BUILD
]
build_iron_horse.
py
[
RENDER GRAPHICS
]
render_graphics.
py
[
IMPORT VEHICLES
]
iron_horse.
py
Paste #puljoogty
Show paste
/**
* Builds a lock.
* @param tile Central tile of the lock.
* @param dir Uphill direction.
* @param flags Operation to perform.
Paste #pg2zecifk
Show paste
0000000: 4354 4847 0102 Header + version
0100 0000 One animation
0100 0000 One frame
0100
0000010: 0000 One sprite element
Paste #psiivpgdr
Show paste
static
CommandCost DoBuildLock
(
TileIndex tile, DiagDirection dir, DoCommandFlag flags
)
{
CommandCost cost
(
EXPENSES_CONSTRUCTION
)
;
int
delta
=
TileOffsByDiagDir
(
dir
)
;
Paste #pkba8rj3l
Show paste
diff --git a/pixa/__init__.py b/pixa/__init__.py
--- a/pixa/__init__.py
+++ b/pixa/__init__.py
@@ -1,1 +1,1 @@
-from pixa import *
Paste #piy9msgw1
Show paste
static
CommandCost DoBuildLock
(
TileIndex tile, DiagDirection dir, DoCommandFlag flags
)
{
CommandCost cost
(
EXPENSES_CONSTRUCTION
)
;
int
delta
=
TileOffsByDiagDir
(
dir
)
;
Paste #pd1xc7wzz
Show paste
git fetch upstream
git branch --list -a
git merge upstream/master
git push origin
Paste #prugkdgjq
Show paste
static
CommandCost DoBuildLock
(
TileIndex tile, DiagDirection dir, DoCommandFlag flags
)
{
CommandCost cost
(
EXPENSES_CONSTRUCTION
)
;
int
delta
=
TileOffsByDiagDir
(
dir
)
;
Paste #p0fosxr56
Show paste
static
CommandCost DoBuildLock
(
TileIndex tile, DiagDirection dir, DoCommandFlag flags
)
{
CommandCost cost
(
EXPENSES_CONSTRUCTION
)
;
int
delta
=
TileOffsByDiagDir
(
dir
)
;
alignment create SE gui
Show paste
EndContainer(),
/* Flat map height. */
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_TEXT, COLOUR_ORANGE),
- SetDataTip(STR_SE_MAPGEN_FLAT_WORLD_HEIGHT, STR_NULL), SetPadding(1, 0, 0, 0),
Paste #pjsb52s6w
Show paste
# new new 2
years
=
set
(
)
for
variant
in
self
.
model_variants
:
years.
add
(
variant.
intro_date
)
years.
add
(
variant.
end_date
)
Paste #pnnxdykq8
Show paste
# new new new
years
=
sorted
(
set
(
(
variant.
intro_date
,
variant.
end_date
)
for
variant
in
self
.
model_variants
)
)
# new new
years
=
set
(
)
Paste #p0bkppph9
Show paste
# new new new
years
=
sorted
(
(
variant.
intro_date
,
variant.
end_date
)
for
variant
in
self
.
model_variants
)
# new new
years
=
set
(
)
Paste #pswphv1ib
Show paste
#new
years
=
set
(
)
for
dates
in
[
(
variant.
intro_date
,
variant.
end_date
)
for
variant
in
self
.
model_variants
]
:
years
=
years.
union
(
dates
)
years
=
sorted
(
years
)
FiX for FS#6208
Show paste
@@ -1138,8 +1138,6 @@
TileType tile_type;
TileInfo tile_info;
_cur_ti = &tile_info;
- tile_info.x = tilecoord.x * TILE_SIZE; // FIXME tile_info should use signed integers
«
1
2
...
110
111
112
113
114
115
116
...
133
134
»