Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Filter:
Right now
Last 7 days
Last 30 days
Last 365 days
All time
Paste #pmfujrgil
Show paste
function
InitializePath
(
source
,
goal
)
{
this
.
_pathfinder
.
InitializePath
(
[
source
,
0xFF
]
,
goal
)
;
if
(
this
.
_search_range
!=
0
)
{
local
source_x
=
AIMap
.
GetTileX
(
source
)
;
local
source_y
=
AIMap
.
GetTileY
(
source
)
;
Paste #pqbqzlwvt
Show paste
Index: script_config.cpp
===================================================================
--- script_config.cpp
(
revision 27582
)
+++ script_config.cpp
(
working copy
)
@@ -23,6 +23,7 @@
Paste #pye3rjafc
Show paste
+/**
+ * Gets the maximum allowed height while generating a map based on
+ * mapsize, terraintype, and the maximum height level.
+ * @return The maximum height for the map generation.
+ */
Paste #ppdpvgd51
Show paste
D:\developpement\GitHub\glx22\nml\examples\road_vehicle [master ≡ +2 ~1 -0 !]> nmlc .\example_road_vehicle.nml [Knmlc ERROR: nmlc: An internal error has occurred:
nmlc-version: 2019-10-19-g58a34844M
Error: (AttributeError) "module 'time' has no attribute 'clock'".
Command: ['D:\\developpement\\GitHub\\glx22\\nml\\build\\exe.win-amd64-3.8\\nmlc.exe', '.\\example_road_vehicle.nml']
Location: File "D:\developpement\GitHub\glx22\nml\nml\generic.py", line 332, in print_progress
Paste #pbfgp0usz
Show paste
switch (FEAT_TRAINS, SELF, ${vehicle.id}_switch_visual_effect_and_powered, [STORE_TEMP(VISUAL_EFFECT_DIESEL, 1), current_railtype]) {
ELRL: return visual_effect_and_powered(VISUAL_EFFECT_ELECTRIC, 0, DISABLE_WAGON_POWER);
return visual_effect_and_powered(LOAD_TEMP(1), 0, DISABLE_WAGON_POWER);
}
Paste #phgyjhwi3
Show paste
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index fa56f70cbd..7364ccd
8a4
100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -410,8 +410,7 @@ static Order GetOrderCmdFromTile
(
const Vehicle *v, TileIndex tile
)
template
Show paste
template template_32bpp_engine8(x) {
//[left_x, upper_y, width, height, offset_x, offset_y]
[ 128, 128*x, 128, 128, -64, -64]
[ 256, 128*x, 128, 128, -64, -64]
[ 384, 128*x, 128, 128, -64, -64]
Paste #pg0vfaabx
Show paste
Index: src/saveload/engine_sl.cpp
===================================================================
--- src/saveload/engine_sl.cpp (revision 26810)
+++ src/saveload/engine_sl.cpp (working copy)
@@ -13,7 +13,7 @@
Paste #p6fnc80yo
Show paste
root@jenkins:/# cat /etc/apt/sources.list
deb http://ftp.debian.org/debian wheezy main contrib non-free
deb http://security.debian.org wheezy/updates main contrib non-free
Paste #pqmoli0zw
Show paste
switch
(
FEAT_TRAINS
,
SELF
,
$
{
vehicle.
id
}
_switch_cargo_capacity_by_cargo_$
{
param_value
}
,
cargo_classes
)
{
bitmask
(
CC_PASSENGERS
)
:
return
$
{
vehicle.
capacities_pax
[
param_value
]
}
;
bitmask
(
CC_MAIL
)
:
return
$
{
vehicle.
capacities_mail
[
param_value
]
}
;
return
100
;
<!
--
!
$
{
vehicle.
capacities_freight
[
param_value
]
}
;
--
>
}
Paste #pqvoezwke
Show paste
spriteset(spriteset1x) { ...
}
spriteset(spriteset1y) { ...
}
spriteset(spriteset2x) { ...
Paste #p6unubyjl
Show paste
grf
{
grfid
:
"RS
\0
1
\0
1"
;
name
:
string
(
STR_GRF_NAME
)
;
desc
:
string
(
STR_GRF_DESCRIPTION
)
;
version
:
0
;
Paste #pxayqseo7
Show paste
make
echo
"[Bundle] bundle/BusyBee-v5489-he7d4f79d1c29.tar"
[
Bundle
]
bundle/BusyBee-v5489-he7d4f79d1c29.
tar
python3 check_lang_compatibility.
py
lang/english.
txt
info.
nut
** Comparing
file
lang/english.
txt
,
current version
and
at revision 06b75370997d **
Terraform Rivers testing
Show paste
Index: src/water_cmd.cpp
===================================================================
--- src/water_cmd.cpp
(
revision 27198
)
+++ src/water_cmd.cpp
(
working copy
)
@@ -491,7 +491,9 @@
Paste #picxbfxyv
Show paste
Index: script_tilelist.hpp
===================================================================
--- script_tilelist.hpp
(
revision 27284
)
+++ script_tilelist.hpp
(
working copy
)
@@ -65,7 +65,7 @@
«
1
2
...
4
5
6
7
8
9
10
...
133
134
»