(svn r10914) [NewGRF_ports] -Fix: Dummy state machine positions modified.
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 2C 00 00 00
// Length of GRF in sprites
// if version of TTDPatch higher than X, skip two sprites
1 * 9 07 8B 04 \7> 02 0A D2 00 02
// bail out: version too low
2 * 20 0B 03 1F 00 "2.0.1r Alpha 22" 00
// fail safe when action 0B is not implemented, bail out
3 * 9 07 8B 04 \7< 02 0A DC 00 00
// check for newstations bit, if set, skip two sprites
4 * 6 07 85 01 \71 52 02
// bail out: newstation bit not set
5 * 19 0B 03 1F 02 "newstations on" 00
// fail safe when action 0B is not implemented, bail out
6 * 6 07 85 01 \70 52 00
// define GRF ID
7 * 51 08 07 "OAPD" "OpenTTD Basic Airports" 00 "Small, "
"City, Heliport" 00
// Define a sprite set for airports, one set, 4 views
8 * 4 01 0D 01 05
9 sprites/airportsbasic.pcx 178 8 09 8 18 0 0
10 sprites/airportsbasic.pcx 210 8 09 7 12 0 2
11 sprites/airportsbasic.pcx 242 8 09 64 96 0 0
12 sprites/airportsbasic.pcx 354 8 09 64 96 0 0
13 sprites/airportsbasic.pcx 458 8 09 64 96 0 0
// Define a graphics set ID (cargo ID = 0
14 * 7 02 0D 00
// Little/lots set
00 01
// Set to define the graphics for (set #0)
00 00
//----------------------------
// Small Airport
//----------------------------
// 11 properties to change, 1 station to change, station id = 0
15 * 656 00 0D 0B 01 00
// Class ID
08 "SMLL"
// Sprite layout, of 13 sprites
09 0D
// 00 Old Term Left
69 0A 00 00
80
// 01 Old Term Mid
6A 0A 00 00
80
// 02 Old Term Right
6B 0A 00 00
00 00 00 0F 0F 1F 6C 8A 00 80 // upper section
80
// 03 Old Hangar
4A 0A 00 00 //tarmac below
0E 00 00 02 10 1C 61 8A 00 80 // hangar front
00 00 00 02 10 1C 62 8A 00 80 // hangar side
80
// 04 Hangar exit
6D 0A 00 00
0F 00 00 01 10 06 67 8A 00 80 // fence west
80
// 05 grass mid-left
6E 0A 00 00
80
// 06 grass mid-right
6F 0A 00 00
80
// 07 windsock
70 0A 00 00
00 00 00 01 10 06 67 8A 00 80 // fence east
04 0B 00 01 01 14 74 8A 00 80 // windsock
80
// 08 Runway start with 04 number
71 0A 00 00
0A 02 00 00 00 00 2D 04 00 00 // 0 in NE direction
08 07 00 00 00 00 2E 04 00 00 // 4 in NE direction
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 09 Middle runway X
72 0A 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0A Runway mid right
72 0A 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0B Runway start
73 0A 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0C Small Airport mini pic
2F 04 00 08
80
//callback mask
0B 01 //has a station availability
// Define custom layouts
0E 01 //one layouts
01 //NE facing
04 03 0C // X, y, minipic ID
02 01 00 03
07 06 05 04
0B 0A 09 08
// Prop19 Vehicle Type
19 03 //Air
// Define Finite State Machine
1A 16 // positions 00-15
// Small Airport : Position 00
\w53 \w3 \w0 40 \wx0007 00
03
40 40 00 01
51 26 00 01
00 40 00 01
// Small Airport : Position 01
\w53 \w27 \w0 00 \wx0000 40
05
40 00 00 00
01 01 40 02
02 00 00 04
51 00 00 13
00 00 00 06
// Small Airport : Position 02
\w32 \w23 \w0 01 \wx000F 01
05
01 01 00 04
40 40 01 01
41 40 01 01
51 40 01 01
00 00 00 02
// Small Airport : Position 03
\w10 \w23 \w0 02 \wx000F 02
05
02 02 00 05
40 40 02 05
41 40 02 05
51 40 02 05
00 00 00 03
// Small Airport : Position 04
\w43 \w37 \w0 00 \wx0000 40
04
02 00 00 05
40 00 00 01
41 00 00 06
51 00 00 01
// Small Airport : Position 05
\w24 \w37 \w0 00 \wx0000 40
02
02 02 00 03
00 00 00 04
// Small Airport : Position 06
\w53 \w37 \w0 00 \wx0000 40
01
00 40 00 07
// Small Airport : Position 07
\w61 \w40 \w0 41 \wx0003 40
01
00 40 00 08
// Small Airport : Position 08
\w3 \w40 \w00 42 \wx0010 40
01
00 00 40 09
// Small Airport : Position 09
\wxFFB1 \w40 \w80 43 \wx0010 40
01
00 00 00 00
// Small Airport : Position 0A
\w137 \w40 \w80 7F \wx00B0 00
03
7F 00 00 0F
44 40 00 0B
54 40 00 14
// Small Airport : Position 0B
\w56 \w40 \w0 44 \wx0090 40
01
00 40 00 0C
// Small Airport : Position 0C
\w3 \w40 \w0 00 \wx00D0 40
01
00 40 00 0D
// Small Airport : Position 0D
\w7 \w40 \w0 45 \wx0000 40
03
45 40 00 0E
02 00 00 05
00 00 00 0E
// Small Airport : Position 0E
\w53 \w40 \w0 00 \wx0000 40
01
00 40 00 01
// Small Airport : Position 0F
\wxFFE1 \w193 \w80 00 \wx00B0 00
01
00 00 00 10
// Small Airport : Position 10
\w1 \w1 \w80 00 \wx00B0 00
01
00 00 00 11
// Small Airport : Position 11
\w257 \w1 \w80 00 \wx00B0 00
01
00 00 00 12
// Small Airport : Position 12
\w273 \w49 \w80 00 \wx00B0 00
01
00 00 00 0A
// Small Airport : Position 13
\w44 \w37 \w80 51 \wx0000 00
01
51 00 00 00
// Small Airport : Position 14
\w44 \w40 \w80 54 \wx0030 40
01
00 40 00 15
// Small Airport : Position 15
\w44 \w40 \w0 55 \wx0000 40
01
00 40 00 01
// Prop1C Vehicle Entry Points
1C 10 10 10 10
// Prop1D Hangar/Depot Locations
1D 01 03 00 01
// Prop1E Terminal Groups
1E 01 02
// Prop20 Port Subtype
20 07
// Prop22 Catchment Area
22 04
//------------------------------
// Large Airport
//------------------------------
// 11 properties to change, 1 airport to change, airport id = 1
16 * 1086 00 0D 0B 01 01
// Class ID
08 "LRGE"
// Sprite layout, of 34 sprites
09 22
// 23 = 0x17 :
4A 0A 00 00
00 03 00 10 0B 28 5E 8A 00 80
80
// 1 = 0x01 :
4A 0A 00 00
00 00 00 10 01 06 68 8A 00 80
80
// 25 = 0x19 :
4B 0A 00 00
07 0B 00 03 03 0E 63 0A 00 80
00 00 00 10 01 06 68 8A 00 80
80
// 24 = 0x18 :
4A 0A 00 00
0E 00 00 02 10 1C 5F 8A 00 80
00 00 00 02 10 1C 60 0A 00 80
80
// 19 = 0x13 :
4A 0A 00 00
02 00 00 0B 10 28 5A 8A 00 80
80
// 28 = 0x1C :
4A 0A 00 00
00 08 00 0E 03 0E 66 0A 00 80
80
// 21 = 0x15 :
4A 0A 00 00
00 01 00 0E 0E 1E 5C 8A 00 80
80
// 26 = 0x1A :
4B 0A 00 00
02 07 00 03 03 0E 64 0A 00 80
80
// 0 = 0x00 :
4A 0A 00 00
80
// 2 = 0x02 :
4A 0A 00 00
0F 00 00 01 10 06 67 8A 00 80
80
// 22 = 0x16 :
4A 0A 00 00
03 03 00 0A 0B 23 5D 8A 00 80
80
// 3 = 0x03 :
4B 0A 00 00
80
// 27 = 0x1B :
4A 0A 00 00
03 02 00 03 03 0E 65 0A 00 80
80
// 5 = 0x05 :
4D 0A 00 00
80
// 12 = 0x0C :
54 0A 00 00
80
// 13 = 0x0D :
53 0A 00 00
0F 00 00 01 10 06 67 8A 00 80
80
// 43 = 0x2B :
8D 0F 00 00
07 07 00 02 02 46 29 0A 00 80
00 00 00 01 10 06 67 8A 00 80
80
// 4 = 0x04 :
4C 0A 00 00
80
// 6 = 0x06 :
4E 0A 00 00
80
// 9 = 0x09 :
51 0A 00 00
80
// 11 = 0x0B :
53 0A 00 00
80
// 20 = 0x14 :
8D 0F 00 00
03 03 00 0A 0A 3C 5B 8A 00 80
0F 00 00 01 10 06 67 8A 00 80
80
// 30 = 0x1E :
8D 0F 00 00
00 00 00 01 10 06 67 8A 00 80
80
// 5 = 0x05 :
4D 0A 00 00
80
// 7 = 0x07 :
4F 0A 00 00
80
// 8 = 0x08 :
50 0A 00 00
80
// 10 = 0x0A :
52 0A 00 00
80
// 31 = 0x1F :
8D 0F 00 00
07 07 00 02 02 08 78 0A 00 80
0F 00 00 01 10 06 67 8A 00 80
80
// 18 = 0x12 :
59 0A 00 00
00 0F 00 10 01 06 68 8A 00 80
80
// 14 = 0x0E :
55 0A 00 00
00 0F 00 10 01 06 68 8A 00 80
80
// 15 = 0x0F :
56 0A 00 00
00 0F 00 10 01 06 68 8A 00 80
80
// 16 = 0x10 :
57 0A 00 00
00 0F 00 10 01 06 68 8A 00 80
80
// 17 = 0x11 :
58 0A 00 00
00 0F 00 10 01 06 68 8A 00 80
80
// 21 Large Airport mini pic
30 04 00 08
80
//callback mask
0B 01 //has a station availability
// Define custom layouts
0E 01
01
06 06 21
00 01 02 01 01 03
04 05 06 07 08 09
0A 0B 0C 0D 0E 0F
10 11 12 13 14 15
16 17 18 19 1A 1B
1C 1D 1E 1F 20 1C
// Prop19 Vehicle Type
19 03 //Air
// Define Finite State Machine
1A 1E // positions 00-1D
// Large Airport : Position 00
\w85 \w3 \w0 40 \wx0007 00 // HANGAR
03
40 42 00 01
41 7E 43 42 7F 00 01
00 42 00 01
// Large Airport : Position 01
\w85 \w27 \w0 00 \wx0000 42
04
40 00 42 00
02 42 00 06
03 42 00 06
00 42 00 07
// Large Airport : Position 02
\w26 \w41 \w0 01 \wx000B 01 // TERM1
04
01 01 00 07
41 7E 43 42 7F 01 07
51 7E 43 42 7F 01 07
40 42 00 07
// Large Airport : Position 03
\w56 \w20 \w0 02 \wx0007 02 // TERM2
04
02 02 00 05
41 7E 43 42 7F 02 05
51 7E 43 42 7F 02 05
40 42 00 05
// Large Airport : Position 04
\w38 \w8 \w0 03 \wx000B 03 // TERM3
04
03 03 00 05
41 7E 43 42 7F 03 05
51 7E 43 42 7F 03 05
40 42 00 05
// Large Airport : Position 05
\w65 \w6 \w0 00 \wx0000 42
03
02 02 42 03
03 03 42 04
00 42 00 06
// Large Airport : Position 06
\w80 \w27 \w0 00 \wx0000 42
04
02 42 00 05
03 42 00 05
40 42 00 01
00 42 00 07
// Large Airport : Position 07
\w44 \w63 \w0 00 \wx0000 42
05
01 01 42 02
41 43 42 08
51 00 00 16
40 42 00 01
00 42 00 06
// Large Airport : Position 08
\w58 \w71 \w0 00 \wx0000 43
01
00 40 43 09
// Large Airport : Position 09
\w72 \w85 \w0 00 \wx0000 40
01
00 40 00 0A
// Large Airport : Position 0A
\w89 \w85 \w0 41 \wx0003 40 // TAKEOFF
01
00 40 00 0B
// Large Airport : Position 0B
\w3 \w85 \w00 42 \wx0010 00 // STARTTAKEOFF
01
00 00 40 0C
// Large Airport : Position 0C
\wxFFB1 \w85 \w80 43 \wx0010 00 // ENDTAKEOFF
01
00 00 40 00
// Large Airport : Position 0D
\w177 \w87 \w80 7F \wx00A0 00 // FLYING
03
7F 00 00 12
44 7E 45 44 40 7F 00 0E
54 44 00 17
// Large Airport : Position 0E
\w89 \w87 \w00 44 \wx0080 40 // LANDING
02
00 44 00 0F
00 00 00 0A
// Large Airport : Position 0F
\w30 \w87 \w0 00 \wx0050 40
01
00 00 45 10
// Large Airport : Position 10
\w20 \w87 \w0 00 \wx0000 45
01
00 00 40 11
// Large Airport : Position 11
\w36 \w71 \w0 45 \wx0000 44 // ENDLANDING
01
00 42 44 07
// Large Airport : Position 12
\w160 \w87 \w80 00 \wx00A0 00
01
00 00 00 19
// Large Airport : Position 13
\w140 \w1 \w80 00 \wx00B0 00
01
00 00 00 14
// Large Airport : Position 14
\w257 \w1 \w80 00 \wx00A0 00
01
00 00 00 15
// Large Airport : Position 15
\w273 \w49 \w80 00 \wx00A0 00
01
00 00 00 0D
// Large Airport : Position 16
\w44 \w63 \w80 51 \wx0000 00 // HELITAKEOFF
01
00 00 42 00
// Large Airport : Position 17
\w28 \w74 \w80 54 \wx0030 44 // HELILANDING
01
00 44 00 18
// Large Airport : Position 18
\w28 \w74 \w0 55 \wx0000 44 // HELIENDLANDING
01
00 42 44 07
// Large Airport : Position 19
\w145 \w1 \w80 00 \wx00A0 00
01
00 00 00 14
// Large Airport : Position 1A
\wxFFE0 \w1 \w80 00 \wx00B0 00
01
00 00 00 13
// Large Airport : Position 1B
\w300 \wxFFD0 \w80 00 \wx00B0 00
01
00 00 00 1C
// Large Airport : Position 1C
\w140 \wxFFD0 \w80 00 \wx00B0 00
01
00 00 00 13
// Large Airport : Position 1D
\wxFFE0 \w120 \w80 00 \wx00B0 00
01
00 00 00 1A
// Prop1C Vehicle Entry Points
1C 1A 1D 1B 1C
// Prop1D Hangar/Depot Locations
1D 01 05 00 01
// Prop1E Terminal Groups
1E 01 03
// Prop20 Port Subtype
20 03
// Prop22 Catchment Area
22 05
//availability date varaction2
//small airport available from 1927 (1920+7) to 1964 (1920+44)
17 * 14 02 0D
02 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 07 2B //1927-1964
00 FF
//availability date varaction2
//large airport available from 1951 (1920+31) to 2175 (1920+255)
18 * 14 02 0D
03 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 1F FF //1951-2175
00 FF
19 * 14 02 0D
04 // ID
81 0C // Check variable 0C (callback id)
00 FF
01
02 00 13 13 // Jump to action 2 ID 02 if this is callback 13
00 00 // Otherwise return the real sprites
20 * 14 02 0D
05 // ID
81 0C // Check variable 0C (callback id)
00 FF
01
03 00 13 13 // Jump to action 2 ID 03 if this is callback 13
00 00 // Otherwise return the real sprites
// Use graphics ID (1 station, ID 0, 0 cargo specific graphics, default cargo = 0)
21 * 7 03 0D 01 00 00 04 00
// Use graphics ID (1 station, ID 1, 0 cargo specific graphics, default cargo = 0)
22 * 7 03 0D 01 01 00 05 00
//------------------------------
// Heliport
//------------------------------
// 10 properties to change, 1 airport to change, airport id = 2
23 * 204 00 0D 0A 01 02
// Class ID
08 "HELI"
//Sprite layout
09 02
// 58
// 58 = 0x3A :
8D 0F 00 00
00 00 00 10 10 3C 49 8A 00 80
80
// 21 heliport mini pic
31 04 00 08
80
// Prop0B Callbacks
0B 01 //Availability
// Define custom layouts
0E 01
01
01 01 01
00
// Prop19 Vehicle Type
19 03 //Air
// Define Finite State Machine
1A 09 // positions 00-08
// Heliport : Position 00
\w5 \w9 \w60 25 \wx0003 25 // HELIPAD1
02
25 25 00 01
51 00 00 01
// Heliport : Position 01
\w2 \w9 \w80 51 \wx0000 00 // HELITAKEOFF
01
00 00 7F 00
// Heliport : Position 02
\wxFFFD \w9 \w80 00 \wx0030 40
02
54 00 00 03
51 00 25 01
// Heliport : Position 03
\w5 \w9 \w80 54 \wx0000 40 // HELILANDING
01
00 00 00 04
// Heliport : Position 04
\w2 \w9 \w60 55 \wx0000 40 // HELIENDLANDING
01
25 00 00 00
// Heliport : Position 05
\wxFFE1 \w59 \w80 00 \wx0030 00
01
00 00 00 06
// Heliport : Position 06
\wxFFE1 \wxFFCF \w80 00 \wx0030 00
01
00 00 00 07
// Heliport : Position 07
\w49 \wxFFCF \w80 00 \wx0030 00
01
00 00 00 08
// Heliport : Position 08
\w70 \w9 \w80 7F \wx0030 00 // FLYING
02
7F 00 00 05
54 25 00 02
// Prop1C Vehicle Entry Points
1C 07 07 07 07
// Prop1F Helipad Groups
1F 01 01
// Prop20 Port Subtype
20 02
// Prop22 Catchment area
22 04
//availability date varaction2
//large airport available from 1975 (1920+55) to 2175 (1920+255)
24 * 14 02 0D
05 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 37 FF //1951-2175
00 FF
25 * 14 02 0D
06 // ID
81 0C // Check variable 0C (callback id)
00 FF
01
05 00 13 13 // Jump to action 2 ID 02 if this is callback 13
00 00 // Otherwise return the real sprites
// Use graphics ID (1 station, ID 0, 0 cargo specific graphics, default cargo = 0)
26 * 7 03 0D 01 02 00 06 00
//-------------------------
// Oilrig
//-------------------------
// 10 properties to change, 1 station to change, station id = 3
27 * 189 00 0D 09 01 03
// Class ID
08 "SYST"
// Prop0B Callbacks
0B 01 //Availability
// Define custom layouts
0E 01
01
00 00 00
// Prop19 Vehicle Type
19 03 //Air
// Define Finite State Machine
1A 09 // positions 00-08
// Oilrig : Position 00
\w32 \w9 \w54 25 \wx0003 25 // HELIPAD1
02
25 25 00 01
51 00 00 01
// Oilrig : Position 01
\w28 \w9 \w80 51 \wx0000 00 // HELITAKEOFF
01
00 00 25 00
// Oilrig : Position 02
\w28 \w9 \w80 00 \wx0030 00
02
54 00 00 03
51 00 00 01
// Oilrig : Position 03
\w28 \w9 \w80 54 \wx0000 00 // HELILANDING
01
00 00 00 04
// Oilrig : Position 04
\w28 \w9 \w54 55 \wx0000 00 // HELIENDLANDING
03
25 25 00 00
51 00 00 02
00 00 00 04
// Oilrig : Position 05
\wxFFE1 \w69 \w80 00 \wx00B0 00
01
00 00 00 06
// Oilrig : Position 06
\wxFFE1 \wxFFCF \w80 00 \wx00B0 00
01
00 00 00 07
// Oilrig : Position 07
\w69 \wxFFCF \w80 00 \wx00B0 00
01
00 00 00 08
// Oilrig : Position 08
\w69 \w9 \w80 7F \wx00B0 00 // FLYING
02
7F 00 00 05
54 25 00 02
// Prop1C Vehicle Entry Points
1C 07 07 07 07
// Prop1F Helipad Groups
1F 01 01
// Prop20 Port Subtype
20 02
// Prop22 Catchment Area
22 03
//availability date varaction2
//Oilrig available from 1920 (1920+00) to 2175 (1920+255)
28 * 14 02 0D
06 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 00 FF //1920-2175
00 FF
29 * 14 02 0D
07 // ID
81 0C // Check variable 0C (callback id)
00 FF
01
06 00 13 13 // Jump to action 2 ID 02 if this is callback 13
00 00 // Otherwise return the real sprites
// Use graphics ID (1 station, ID 0, 3 cargo specific graphics, default cargo = 0)
30 * 7 03 0D 01 03 00 07 00
//-------------------------
// Dummy holding stack
//-------------------------
// 10 properties to change, 1 station to change, station id = 4
31 * 87 00 0D 06 01 04
// Class ID
08 "SYST"
// Define custom layouts
0E 01
01
00 00 00
// Prop19 Vehicle Type
19 03 //Air
// Define Finite State Machine
1A 04 // positions 00-08
// dummy : Position 00
\wx0 \w0 \w80 00 \wx00B0 00
01
00 00 00 01
// dummy : Position 01
\wx0 \wx96 \w80 00 \wx00B0 00
01
00 00 00 02
// dummy : Position 02
\w96 \wx96 \w80 00 \wx00B0 00
01
00 00 00 03
// dummy : Position 03
\w96 \w0 \w80 7F \wx00B0 00 // FLYING
01
00 00 00 00
// Prop1C Vehicle Entry Points
1C 00 00 00 00
// Prop20 Port Subtype
20 0F
// Use graphics ID (1 station, ID 0, 3 cargo specific graphics, default cargo = 0)
32 * 7 03 0D 01 04 00 00 00
// Names
33 * 21 04 0D FF 01 00 CD "Small airports" 00
34 * 25 04 0D 9F 01 00 CD "Kleine vliegvelden" 00
35 * 20 04 0D FF 01 00 CE "Small Airport" 00
36 * 22 04 0D 9F 01 00 CE "Klein vliegveld" 00
37 * 21 04 0D FF 01 01 CD "Large airports" 00
38 * 24 04 0D 9F 01 01 CD "Grote vliegvelden" 00
39 * 19 04 0D FF 01 01 CE "City Airport" 00
40 * 21 04 0D 9F 01 01 CE "Stad vliegveld" 00
41 * 16 04 0D FF 01 02 CD "Heliports" 00
42 * 28 04 0D 9F 01 02 CD "Helikoptervliegvelden" 00
43 * 15 04 0D FF 01 02 CE "Heliport" 00
44 * 25 04 0D 9F 01 02 CE "Helikopter station" 00
// The Fence Layouts
// 0F 00 00 01 10 06 67 8A 00 80 // fence west
// 00 00 00 10 01 06 68 8A 00 80 // fence north
// 00 00 00 01 10 06 67 8A 00 80 // fence east
// 00 0F 00 10 01 06 68 8A 00 80 // fence south