Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
ABAP
ActionScript
ActionScript 3
Ada
AIMMS3
ALGOL 68
Apache configuration
AppleScript
Apt sources
ARM ASSEMBLER
ASM
ASP
asymptote
Autoconf
Autohotkey
AutoIt
AviSynth
awk
BASCOM AVR
Bash
Basic4GL
BibTeX
BlitzBasic
bnf
Boo
Brainfuck
C
C#
C (LoadRunner)
C (Mac)
C (WinAPI)
C++
C++ (Qt)
C++ (WinAPI)
CAD DCL
CAD Lisp
CFDG
ChaiScript
Chapel
CIL
Clojure
CMake
COBOL
CoffeeScript
ColdFusion
CSS
Cuesheet
D
Dart
DCL
DCPU-16 Assembly
DCS
Delphi
Diff
DIV
DOS
dot
E
ECMAScript
Eiffel
eMail (mbox)
EPC
Erlang
Euphoria
EZT
F#
Falcon
FO (abas-ERP)
Formula One
Fortran
FreeBasic
FreeSWITCH
GADV 4CS
GAMBAS
GDB
genero
Genie
glSlang
GML
GNU/Octave
GNU Gettext
GNU make
Gnuplot
Go
Groovy
GwBasic
Haskell
Haxe
HicEst
HQ9+
HTML
HTML5
Icon
INI
Inno
INTERCAL
Io
ISPF Panel
J
Java
Java(TM) 2 Platform Standard Edition 5.0
Javascript
JCL
jQuery
KiXtart
KLone C
KLone C++
LaTeX
LDIF
Liberty BASIC
Lisp
LLVM Intermediate Representation
Locomotive Basic
Logtalk
LOLcode
Lotus Notes @Formulas
LotusScript
LScript
LSL2
Lua
MagikSF
MapBasic
Matlab M
Microchip Assembler
Microsoft Registry
mIRC Scripting
MMIX
Modula-2
Modula-3
MOS 6502 (6510) ACME Cross Assembler format
MOS 6502 (6510) Kick Assembler format
MOS 6502 (6510) TASM/64TASS 1.46 Assembler format
Motorola 68000 - HiSoft Devpac ST 2 Assembler format
Motorola 68000 Assembler
MXML
MySQL
Nagios
NetRexx
newlisp
nginx
Nimrod
NML NewGRF Meta Language
NSIS
Oberon-2
Objeck Programming Language
Objective-C
OCaml
OCaml (brief)
ooRexx
OpenBSD Packet Filter
OpenOffice.org Basic
Oracle 8 SQL
Oracle 11 SQL
Oxygene
OZ
ParaSail
PARI/GP
Pascal
PCRE
per
Perl
Perl 6
PHP
PHP (brief)
PIC16
Pike
Pixel Bender 1.0
PL/I
PL/SQL
PostgreSQL
PostScript
POVRAY
PowerBuilder
PowerShell
ProFTPd configuration
Progress
Prolog
PROPERTIES
ProvideX
Puppet
PureBasic
Python
Python for S60
q/kdb+
QBasic/QuickBASIC
QML
R / S+
Racket
Rails
RBScript
REBOL
rexx
robots.txt
RPM Specification File
Ruby
Rust
SAS
Scala
Scheme
SciLab
SCL
sdlBasic
Smalltalk
Smarty
SPARK
SPARQL
SQL
Squirrel Script
Squirrel Script with OpenTTD AI/GS
StandardML
StoneScript
SystemVerilog
T-SQL
TCL
Tera Term Macro
Text
thinBasic
TypoScript
Unicon (Unified Extended Dialect of Icon)
Uno Idl
Unreal Script
UPC
Urbi
Vala
vb.net
VBScript
Vedit macro language
Verilog
VHDL
Vim Script
Visual Basic
Visual Fox Pro
Visual Prolog
Whitespace
Whois (RPSL format)
Winbatch
X++
XBasic
XML
Xorg configuration
YAML
ZiLOG Z80 Assembler
ZXBasic
template overlay(){ [0, 0, 64, 31, -31, 0] [65, 0, 64, 31, -31, 0] [130, 0, 64, 31, -31, 0] [195, 0, 64, 31, -31, 0] [260, 0, 64, 31, -31, 0] [0, 32, 64, 31, -31, 0] [65, 32, 64, 39, -31, -8] [130, 32, 64, 23, -32, 0] [195, 32, 64, 23, -31, 0] [260, 32, 64, 39, -29, -8] } template bridge_surfaces(x){ [x+0, 72, 64, 31, -31, 0] [x+65, 72, 64, 31, -31, 0] [x+130, 72, 64, 39, -31, -8] [x+195, 72, 64, 23, -31, 0] [x+260, 72, 64, 23, -33, -1] [x+325, 72, 64, 39, -29, -9] } template underlay(){ [0, 112, 64, 31, -31, 0] [65, 112, 64, 31, -31, 0] [130, 112, 64, 31, -31, 0] [195, 112, 64, 31, -31, 0] [260, 112, 64, 31, -31, 0] [0, 144, 64, 31, -31, 0] [65, 144, 64, 39, -31, -8] [130, 144, 65, 23, -32, 0] [196, 144, 64, 23, -31, 0] [261, 144, 64, 39, -31, -8] [0, 184, 64, 31, -31, 0] //X [0, 216, 64, 31, -31, 0] [65, 216, 64, 31, -31, 0] [130, 216, 64, 31, -31, 0] [195, 216, 64, 31, -31, 0] [260, 216, 64, 31, -31, 0] } template tunnels(x){ [260*x+340, 0, 64, 59, -31, -28] [260*x+405, 0, 64, 59, -31, -28] [260*x+470, 0, 64, 59, -31, -28] [260*x+535, 0, 64, 59, -31, -28] } template road_crossing(){ [0, 248, 64, 31, -31, 0] [65, 248, 64, 31, -31, 0] [0, 280, 5, 12, 0, 0] [6, 280, 19, 19, 0, 0] [26,280, 23, 17, 0, 0] [50,280, 5, 12, 0, 0] [56,280, 25, 14, 0, 0] [82,280, 5, 12, 0, 0] [88,280, 5, 12, 0, 0] [94,280, 19, 14, 0, 0] } template signals(x,y){ [x+0, 25*y, 24, 24, -5, -19] [x+25, 25*y, 24, 24, -20, -13] [x+50, 25*y, 24, 24, -4, -13] [x+75, 25*y, 24, 24, -17, -20] [x+100, 25*y, 24, 24, -13, -18] [x+125, 25*y, 24, 24, -12, -17] [x+150, 25*y, 24, 24, -9, -17] [x+175, 25*y, 24, 24, -12, -12] } spriteset(canalrails_overlays, "gfx/_canalrails.png") {overlay()} spriteset(canalrails_underlays, "gfx/_canalrails.png") {underlay()} spriteset(canalrails_tunnels, "gfx/_canalrails.png") {tunnels(0)} spriteset(canalrails_tunnels_bk, "gfx/_canalrails.png") {tunnels(1)} spriteset(canalrails_road_crossing, "gfx/_canalrails.png") {road_crossing()} spriteset(canalrails_signals_block_green, "gfx/_signals.png") {signals(0,0)} spriteset(canalrails_signals_block_red, "gfx/_signals.png") {signals(0,1)} spriteset(canalrails_signals_entry_green, "gfx/_signals.png") {signals(0,2)} spriteset(canalrails_signals_entry_red, "gfx/_signals.png") {signals(0,3)} spriteset(canalrails_signals_exit_green, "gfx/_signals.png") {signals(0,4)} spriteset(canalrails_signals_exit_red, "gfx/_signals.png") {signals(0,5)} spriteset(canalrails_signals_combo_green, "gfx/_signals.png") {signals(0,6)} spriteset(canalrails_signals_combo_red, "gfx/_signals.png") {signals(0,7)} spriteset(canalrails_signals_2wayPBS_green, "gfx/_signals.png") {signals(0,8)} spriteset(canalrails_signals_2wayPBS_red, "gfx/_signals.png") {signals(0,9)} spriteset(canalrails_signals_1wayPBS_green, "gfx/_signals.png") {signals(0,10)} spriteset(canalrails_signals_1wayPBS_red, "gfx/_signals.png") {signals(0,11)} spriteset(canalrails_bridge_surfaces_original, "gfx/_canalrails.png") {bridge_surfaces(0)} spriteset(canalrails_bridge_surfaces_newbridges, "gfx/_canalrails.png") {bridge_surfaces(400)} spriteset(signals_block_green, "gfx/_signals.png") {signals(300,0)} spriteset(signals_block_red, "gfx/_signals.png") {signals(300,1)} spriteset(signals_entry_green, "gfx/_signals.png") {signals(300,2)} spriteset(signals_entry_red, "gfx/_signals.png") {signals(300,3)} spriteset(signals_exit_green, "gfx/_signals.png") {signals(300,4)} spriteset(signals_exit_red, "gfx/_signals.png") {signals(300,5)} spriteset(signals_combo_green, "gfx/_signals.png") {signals(300,6)} spriteset(signals_combo_red, "gfx/_signals.png") {signals(300,7)} spriteset(signals_2wayPBS_green, "gfx/_signals.png") {signals(300,8)} spriteset(signals_2wayPBS_red, "gfx/_signals.png") {signals(300,9)} spriteset(signals_1wayPBS_green, "gfx/_signals.png") {signals(300,10)} spriteset(signals_1wayPBS_red, "gfx/_signals.png") {signals(300,11)} bridge_overlay_stuff = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff = 1; } tunnel_stuff = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff = 1; } switch(FEAT_RAILTYPES, SELF, bridge_overlay_switch, bridge_overlay_stuff) { 1: canalrails_bridge_surfaces_newbridges; canalrails_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, tunnels_switch, tunnel_stuff) { 1: canalrails_tunnels_bk; canalrails_tunnels; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_block, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_block_red; 1: canalrails_signals_block_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_entry, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_entry_red; 1: canalrails_signals_entry_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_exit, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_exit_red; 1: canalrails_signals_exit_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_combo, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_combo_red; 1: canalrails_signals_combo_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_2wayPBS, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_2wayPBS_red; 1: canalrails_signals_2wayPBS_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_1wayPBS, (extra_callback_info2 & 0x000000FF)) { 0: canalrails_signals_1wayPBS_red; 1: canalrails_signals_1wayPBS_green; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_type, (extra_callback_info2 & 0x00FF0000) >> 16) { 0: canalrails_signal_switch_block; 1: canalrails_signal_switch_entry; 2: canalrails_signal_switch_exit; 3: canalrails_signal_switch_combo; 4: canalrails_signal_switch_2wayPBS; 5: canalrails_signal_switch_1wayPBS; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch, (extra_callback_info2 & 0x0000FF00) >> 8) { 1: canalrails_signal_switch_type; //semaphore 0: canalrails_signal_switch_type; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_nosemaphore, (extra_callback_info2 & 0x0000FF00) >> 8) { 0: canalrails_signal_switch_type; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_nomodern, (extra_callback_info2 & 0x0000FF00) >> 8) { 1: canalrails_signal_switch_type; } switch(FEAT_RAILTYPES, SELF, canalrails_signal_switch_none, (extra_callback_info2 & 0x0000FF00) >> 8) { } switch(FEAT_RAILTYPES, SELF, signal_switch_block, (extra_callback_info2 & 0x000000FF)) { 0: signals_block_red; 1: signals_block_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_entry, (extra_callback_info2 & 0x000000FF)) { 0: signals_entry_red; 1: signals_entry_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_exit, (extra_callback_info2 & 0x000000FF)) { 0: signals_exit_red; 1: signals_exit_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_combo, (extra_callback_info2 & 0x000000FF)) { 0: signals_combo_red; 1: signals_combo_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_2wayPBS, (extra_callback_info2 & 0x000000FF)) { 0: signals_2wayPBS_red; 1: signals_2wayPBS_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_1wayPBS, (extra_callback_info2 & 0x000000FF)) { 0: signals_1wayPBS_red; 1: signals_1wayPBS_green; } switch(FEAT_RAILTYPES, SELF, signal_switch_type, (extra_callback_info2 & 0x00FF0000) >> 16) { 0: signal_switch_block; 1: signal_switch_entry; 2: signal_switch_exit; 3: signal_switch_combo; 4: signal_switch_2wayPBS; 5: signal_switch_1wayPBS; } switch(FEAT_RAILTYPES, SELF, signal_switch, (extra_callback_info2 & 0x0000FF00) >> 8) { 1: signal_switch_type; //semaphore } semaphore_signal_stuff = 1; if (param_signals == 0){ if (grf_future_status("\56\42\05\05")) { semaphore_signal_stuff = 0; } } if (param_signals == 1){ semaphore_signal_stuff = 0; } electric_wetr_signal_stuff = 1; if (param_wetr_signals == 0){ if (grf_future_status("\56\42\05\05")) { electric_wetr_signal_stuff = 0; } } if (param_wetr_signals == 1){ electric_wetr_signal_stuff = 0; } //RAILTYPES item (FEAT_RAILTYPES, rail, 1){ property{ label: "RAIL"; introduction_date: date(1920,01,01); name: string(STR_RAIL); toolbar_caption: string(STR_RAIL); menu_text: string(STR_RAIL); build_window_caption: string(STR_RAIL); autoreplace_text: string(STR_RAIL); new_engine_text: string(STR_RAIL); compatible_railtype_list: ["UNIV", "RAIL", "ELRL","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; /*curve_speed_multiplier: 1; station_graphics: RAILTYPE_STATION_NORMAL; speed_limit: 0km/h; acceleration_model: ACC_MODEL_RAIL;*/ sort_order: 07; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, rail, 1){ graphics{ signals: signal_switch; } } } item (FEAT_RAILTYPES, elrl, 2){ property{ label: "ELRL"; introduction_date: date(1920,01,01); name: string(STR_ELRL); toolbar_caption: string(STR_ELRL); menu_text: string(STR_ELRL); build_window_caption: string(STR_ELRL); autoreplace_text: string(STR_ELRL); new_engine_text: string(STR_ELRL); compatible_railtype_list: ["UNIV", "RAIL", "ELRL","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "ELRL","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; /*curve_speed_multiplier: 1; station_graphics: RAILTYPE_STATION_NORMAL; speed_limit: 0km/h; acceleration_model: ACC_MODEL_RAIL;*/ sort_order: 17; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, elrl, 2){ graphics{ signals: signal_switch; } } } item (FEAT_RAILTYPES, mono, 3){ property{ label: "MONO"; introduction_date: date(1987,01,01); name: string(STR_MONO); toolbar_caption: string(STR_MONO); menu_text: string(STR_MONO); build_window_caption: string(STR_MONO); autoreplace_text: string(STR_MONO); new_engine_text: string(STR_MONO); compatible_railtype_list: ["UNIV", "MONO","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "MONO","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; /*station_graphics: RAILTYPE_STATION_MONORAIL; speed_limit: 0km/h; acceleration_model: ACC_MODEL_RAIL;*/ sort_order: 27; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, mono, 3){ graphics{ signals: signal_switch; } } } item (FEAT_RAILTYPES, mglv, 4){ property{ label: "MGLV"; introduction_date: date(1997,01,01); name: string(STR_MGLV); toolbar_caption: string(STR_MGLV); menu_text: string(STR_MGLV); build_window_caption: string(STR_MGLV); autoreplace_text: string(STR_MGLV); new_engine_text: string(STR_MGLV); compatible_railtype_list: ["UNIV", "MGLV","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "MGLV", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; sort_order: 37; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, mglv, 4){ graphics{ signals: signal_switch; } } } /* item (FEAT_RAILTYPES, universalrail, 15){ property{ label: "UNIV"; introduction_date: date(1950,01,01); name: string(STR_UNIV); toolbar_caption: string(STR_UNIV); menu_text: string(STR_UNIV); build_window_caption: string(STR_UNIV); autoreplace_text: string(STR_UNIV); new_engine_text: string(STR_UNIV); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR","UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 255; construction_cost: 200; } } */ item (FEAT_RAILTYPES, wetrails, 12){ property{ label: "WETR"; introduction_date: date(1950,01,01); name: string(STR_WETR); toolbar_caption: string(STR_WETR); menu_text: string(STR_WETR); build_window_caption: string(STR_WETR); autoreplace_text: string(STR_WETR); new_engine_text: string(STR_WETR); compatible_railtype_list: ["WETR", "UNIV", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["WETR", "UNIV", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; sort_order: 47; speed_limit: 121 km/h; } graphics{ track_overlay: canalrails_overlays; underlay: canalrails_underlays; tunnels: tunnels_switch; bridge_surfaces: bridge_overlay_switch; level_crossings: canalrails_road_crossing; signals: canalrails_signal_switch_none; } } if (semaphore_signal_stuff == 1) { if (electric_wetr_signal_stuff == 0){ item (FEAT_RAILTYPES, wetrails, 12){ graphics{ signals: canalrails_signal_switch_nomodern; } } } } if (semaphore_signal_stuff == 0) { if (electric_wetr_signal_stuff == 1){ item (FEAT_RAILTYPES, wetrails, 12){ graphics{ signals: canalrails_signal_switch_nosemaphore; } } } } if (semaphore_signal_stuff == 1) { if (electric_wetr_signal_stuff == 1){ item (FEAT_RAILTYPES, wetrails, 12){ graphics{ signals: canalrails_signal_switch; } } } } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ spriteset(univrail1_overlays, "gfx/_univrail1.png") {overlay()} spriteset(univrail1_underlays, "gfx/_univrail1.png") {underlay()} spriteset(univrail1_tunnels, "gfx/_univrail1.png") {tunnels(0)} spriteset(univrail1_tunnels_bk, "gfx/_univrail1.png") {tunnels(1)} spriteset(univrail1_road_crossing, "gfx/_univrail1.png") {road_crossing()} spriteset(univrail1_bridge_surfaces_original, "gfx/_univrail1.png") {bridge_surfaces(0)} spriteset(univrail1_bridge_surfaces_newbridges, "gfx/_univrail1.png") {bridge_surfaces(400)} bridge_overlay_stuff1 = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff1 = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff1 = 1; } tunnel_stuff1 = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff1 = 1; } switch(FEAT_RAILTYPES, SELF, univrail1_bridge_overlay_switch, bridge_overlay_stuff1) { 1: univrail1_bridge_surfaces_newbridges; univrail1_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, univrail1_tunnels_switch, tunnel_stuff1) { 1: univrail1_tunnels_bk; univrail1_tunnels; } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ spriteset(univrail2_overlays, "gfx/_univrail2.png") {overlay()} spriteset(univrail2_underlays, "gfx/_univrail2.png") {underlay()} spriteset(univrail2_tunnels, "gfx/_univrail2.png") {tunnels(0)} spriteset(univrail2_tunnels_bk, "gfx/_univrail2.png") {tunnels(1)} spriteset(univrail2_road_crossing, "gfx/_univrail2.png") {road_crossing()} spriteset(univrail2_bridge_surfaces_original, "gfx/_univrail2.png") {bridge_surfaces(0)} spriteset(univrail2_bridge_surfaces_newbridges, "gfx/_univrail2.png") {bridge_surfaces(400)} bridge_overlay_stuff2 = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff2 = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff2 = 1; } tunnel_stuff2 = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff2 = 1; } switch(FEAT_RAILTYPES, SELF, univrail2_bridge_overlay_switch, bridge_overlay_stuff2) { 1: univrail2_bridge_surfaces_newbridges; univrail2_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, univrail2_tunnels_switch, tunnel_stuff2) { 1: univrail2_tunnels_bk; univrail2_tunnels; } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ spriteset(univrail3_overlays, "gfx/_univrail3.png") {overlay()} spriteset(univrail3_underlays, "gfx/_univrail3.png") {underlay()} spriteset(univrail3_tunnels, "gfx/_univrail3.png") {tunnels(0)} spriteset(univrail3_tunnels_bk, "gfx/_univrail3.png") {tunnels(1)} spriteset(univrail3_road_crossing, "gfx/_univrail3.png") {road_crossing()} spriteset(univrail3_bridge_surfaces_original, "gfx/_univrail3.png") {bridge_surfaces(0)} spriteset(univrail3_bridge_surfaces_newbridges, "gfx/_univrail3.png") {bridge_surfaces(400)} bridge_overlay_stuff3 = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff3 = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff3 = 1; } tunnel_stuff3 = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff3 = 1; } switch(FEAT_RAILTYPES, SELF, univrail3_bridge_overlay_switch, bridge_overlay_stuff3) { 1: univrail3_bridge_surfaces_newbridges; univrail3_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, univrail3_tunnels_switch, tunnel_stuff3) { 1: univrail3_tunnels_bk; univrail3_tunnels; } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ spriteset(univrail4_overlays, "gfx/_univrail4.png") {overlay()} spriteset(univrail4_underlays, "gfx/_univrail4.png") {underlay()} spriteset(univrail4_tunnels, "gfx/_univrail4.png") {tunnels(0)} spriteset(univrail4_tunnels_bk, "gfx/_univrail4.png") {tunnels(1)} spriteset(univrail4_road_crossing, "gfx/_univrail4.png") {road_crossing()} spriteset(univrail4_bridge_surfaces_original, "gfx/_univrail4.png") {bridge_surfaces(0)} spriteset(univrail4_bridge_surfaces_newbridges, "gfx/_univrail4.png") {bridge_surfaces(400)} bridge_overlay_stuff4 = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff4 = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff4 = 1; } tunnel_stuff4 = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff4 = 1; } switch(FEAT_RAILTYPES, SELF, univrail4_bridge_overlay_switch, bridge_overlay_stuff4) { 1: univrail4_bridge_surfaces_newbridges; univrail4_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, univrail4_tunnels_switch, tunnel_stuff4) { 1: univrail4_tunnels_bk; univrail4_tunnels; } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ spriteset(univrail5_overlays, "gfx/_univrail5.png") {overlay()} spriteset(univrail5_underlays, "gfx/_univrail5.png") {underlay()} spriteset(univrail5_tunnels, "gfx/_univrail5.png") {tunnels(0)} spriteset(univrail5_tunnels_bk, "gfx/_univrail5.png") {tunnels(1)} spriteset(univrail5_road_crossing, "gfx/_univrail5.png") {road_crossing()} spriteset(univrail5_bridge_surfaces_original, "gfx/_univrail5.png") {bridge_surfaces(0)} spriteset(univrail5_bridge_surfaces_newbridges, "gfx/_univrail5.png") {bridge_surfaces(400)} bridge_overlay_stuff5 = 0; if (grf_future_status("\53\5A\05\01")) { bridge_overlay_stuff5 = 1; } if (grf_future_status("\74\67\74\62")) { bridge_overlay_stuff5= 1; } tunnel_stuff5 = 0; if (grf_future_status("\42\4B\54\62")) { tunnel_stuff5 = 1; } switch(FEAT_RAILTYPES, SELF, univrail5_bridge_overlay_switch, bridge_overlay_stuff5) { 1: univrail5_bridge_surfaces_newbridges; univrail5_bridge_surfaces_original; } switch(FEAT_RAILTYPES, SELF, univrail5_tunnels_switch, tunnel_stuff5) { 1: univrail5_tunnels_bk; univrail5_tunnels; } //------------------------------------------------------------------------------------------------------------------------------------------------ // //------------------------------------------------------------------------------------------------------------------------------------------------ //CLEAN item (FEAT_RAILTYPES, univrail1, 6){ property{ label: "UNI1"; introduction_date: date(0,01,01); name: string(STR_UNI1); toolbar_caption: string(STR_UNI1); menu_text: string(STR_UNI1); build_window_caption: string(STR_UNI1); autoreplace_text: string(STR_UNI1); new_engine_text: string(STR_UNI1); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 200; construction_cost: 20; station_graphics: RAILTYPE_STATION_NORMAL; } graphics{ track_overlay: univrail1_overlays; underlay: univrail1_underlays; tunnels: univrail1_tunnels_switch; bridge_surfaces: univrail1_bridge_overlay_switch; level_crossings: univrail1_road_crossing; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, univrail1, 6){ graphics{ signals: signal_switch; } } } //YELLOW item (FEAT_RAILTYPES, univrail2, 7){ property{ label: "UNI2"; introduction_date: date(0,01,01); name: string(STR_UNI2); toolbar_caption: string(STR_UNI2); menu_text: string(STR_UNI2); build_window_caption: string(STR_UNI2); autoreplace_text: string(STR_UNI2); new_engine_text: string(STR_UNI2); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 201; construction_cost: 35; station_graphics: RAILTYPE_STATION_NORMAL; } graphics{ track_overlay: univrail2_overlays; underlay: univrail2_underlays; tunnels: univrail2_tunnels_switch; bridge_surfaces: univrail2_bridge_overlay_switch; level_crossings: univrail2_road_crossing; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, univrail2, 7){ graphics{ signals: signal_switch; } } } //RED item (FEAT_RAILTYPES, univrail3, 8){ property{ label: "UNI3"; introduction_date: date(0,01,01); name: string(STR_UNI3); toolbar_caption: string(STR_UNI3); menu_text: string(STR_UNI3); build_window_caption: string(STR_UNI3); autoreplace_text: string(STR_UNI3); new_engine_text: string(STR_UNI3); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 202; construction_cost: 35; station_graphics: RAILTYPE_STATION_NORMAL; } graphics{ track_overlay: univrail3_overlays; underlay: univrail3_underlays; tunnels: univrail3_tunnels_switch; bridge_surfaces: univrail3_bridge_overlay_switch; level_crossings: univrail3_road_crossing; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, univrail3, 8){ graphics{ signals: signal_switch; } } } //BLUE item (FEAT_RAILTYPES, univrail4, 9){ property{ label: "UNI4"; introduction_date: date(0,01,01); name: string(STR_UNI4); toolbar_caption: string(STR_UNI4); menu_text: string(STR_UNI4); build_window_caption: string(STR_UNI4); autoreplace_text: string(STR_UNI4); new_engine_text: string(STR_UNI4); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 203; construction_cost: 35; station_graphics: RAILTYPE_STATION_NORMAL; } graphics{ track_overlay: univrail4_overlays; underlay: univrail4_underlays; tunnels: univrail4_tunnels_switch; bridge_surfaces: univrail4_bridge_overlay_switch; level_crossings: univrail4_road_crossing; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, univrail4, 9){ graphics{ signals: signal_switch; } } } //GREEN item (FEAT_RAILTYPES, univrail5, 10){ property{ label: "UNI5"; introduction_date: date(0,01,01); name: string(STR_UNI5); toolbar_caption: string(STR_UNI5); menu_text: string(STR_UNI5); build_window_caption: string(STR_UNI5); autoreplace_text: string(STR_UNI5); new_engine_text: string(STR_UNI5); compatible_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; powered_railtype_list: ["UNIV", "RAIL", "ELRL", "MONO", "MGLV", "WETR", "UNI1", "UNI2","UNI3","UNI4","UNI5","UNI6","UNI7","UNI8"]; curve_speed_multiplier: 0; sort_order: 204; construction_cost: 35; station_graphics: RAILTYPE_STATION_NORMAL; } graphics{ track_overlay: univrail5_overlays; underlay: univrail5_underlays; tunnels: univrail5_tunnels_switch; bridge_surfaces: univrail5_bridge_overlay_switch; level_crossings: univrail5_road_crossing; } } if (semaphore_signal_stuff == 1) { item (FEAT_RAILTYPES, univrail5, 10){ graphics{ signals: signal_switch; } } }
Mark as private
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
forever