Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Filter:
Right now
Last 7 days
Last 30 days
Last 365 days
All time
Paste #pfpykjift
Show paste
diff --git a/check_lang_compatibility.py b/check_lang_compatibility.py
--- a/check_lang_compatibility.py
+++ b/check_lang_compatibility.py
@@ -58,8 +58,12 @@ def get_langfile_rev
(
name, rev
)
:
@return: Lines wit string names.
Paste #pgncfvpdb
Show paste
//
buy menu spriteset template
template spriteset_template_purchase_vehicle_transporter_car_pony_gen_5C
(
y
)
{
//
[
left_x, upper_y, width, height, offset_x, offset_y
]
[
60
,
10
,
1
,
1
,
0
,
0
]
[
60
,
10
,
1
,
1
,
0
,
0
]
Paste #ptsc0jchk
Show paste
$
make
clean
[
CLEAN PNML
]
[
CLEAN NML
]
[
CLEAN LNG
]
[
CLEAN GRF
]
Paste #prycxpydp
Show paste
//
graphics chain
for
containers
random_switch
(
FEAT_TRAINS, SELF, express_intermodal_car_pony_gen_5B_switch_graphics_containers_random_reefer_DFLT, bitmask
(
TRIGGER_VEHICLE_NEW_LOAD
)
)
{
1
:
return
switch_intermodal_containers_default_reefer_DFLT_24px_0;
}
random_switch
(
FEAT_TRAINS, SELF, express_intermodal_car_pony_gen_5B_switch_graphics_containers_random_box_DFLT, bitmask
(
TRIGGER_VEHICLE_NEW_LOAD
)
)
{
Paste #psmpbbtt2
Show paste
static
const
Depot
*
FindClosestShipDepot
(
const
Vehicle
*
v, uint max_distance
)
{
/* Find the closest depot */
const
Depot
*
depot
;
const
Depot
*
best_depot
=
NULL
;
Paste #p4vxlnqap
Show paste
input nml:
spriteset(stationset1, "src/gfx/cc_grid.png") { tmpl_groundsprites(1, 1) }
spritegroup spritegroup1 {
Paste #pykf4fbxg
Show paste
tim@tim-deb:~$ nslookup hg.openttdcoop.org
Server: 192.168.11.1
Address: 192.168.11.1#53
Non-authoritative answer:
Paste #pidxg1mfb
Show paste
function
MainClass
::
IsTownGrowing
(
)
{
local
townList
=
GSTownList
(
)
;
for
(
local
town
=
townList
.
Begin
(
)
;
!
townList
.
IsEnd
(
)
; town
=
townList
.
Next
(
)
)
{
local
cargoList
=
GSCargoList
(
)
;
Paste #pduokh7wn
Show paste
Index: src/gfx.cpp
===================================================================
--- src/gfx.cpp
(
revision 27171
)
+++ src/gfx.cpp
(
working copy
)
@@ -1636,8 +1636,11 @@
Paste #phzmwstgs
Show paste
Index: src/settings_gui.cpp
===================================================================
--- src/settings_gui.cpp
(
revision 27364
)
+++ src/settings_gui.cpp
(
working copy
)
@@ -1883,13 +1883,13 @@
Paste #pd2bmlgjz
Show paste
ogfx-ind$ make
[CPP] ogfx-industries.nml
[LNG] custom_tags.txt
[NML] ogfx-industries.grf
nmlc info: 142 sprites, 0 cached, 0 orphaned, 7 duplicates, 135 newly encoded
Paste #puyzaw735
Show paste
grf {
grfid: "frVS";
name: string(STR_GRF_NAME);
desc: string(STR_GRF_DESC);
version: 1;
Paste #pxkm81kif
Show paste
Index: src/station_gui.cpp
===================================================================
--- src/station_gui.cpp
(
revision 27062
)
+++ src/station_gui.cpp
(
working copy
)
@@ -19,6 +19,7 @@
Paste #p29unkvwv
Show paste
/*
* Create an array of targets from industries on the map that accept or produce
* the predefined cargo for this schema.
*/
function Schema::GetIndustryTargets
(
)
{
Paste #pystey9tu
Show paste
switch
(
FEAT_TRAINS
,
SELF
,
VEH_ID
(
height_switch
)
,
(
(
var
[
0x62
,
24
,
0x000000FF
,
-
1
-
(
SLICE
)
]
- var
[
0x62
,
24
,
0x000000FF
,
-
0
-
(
SLICE
)
]
)
&
0xFF
)
<<
8
|
(
(
var
[
0x62
,
24
,
0x000000FF
,
-
0
-
(
SLICE
)
]
- var
[
0x62
,
24
,
0x000000FF
,
1
-
(
SLICE
)
]
)
&
0xFF
)
)
{
0
: VEH_ID
(
slice_group
)
;
#if SLICE == 0
VEH_ID
(
group
)
;
#else
«
1
2
...
11
12
13
14
15
16
17
...
133
134
»