(svn r10847) [NewGRF_ports] -Fix: Airports were set to temperate only. Removed. Also NFOrenum both .nfos.
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 19 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 06 "OAPDOpenTTD Basic Airports" 00 "Small, "
"City, Heliport" 00
// Define a sprite set for airports, one set, 4 views
8 * 4 01 0D 01 04
9 data\sprites/airportsbasic.pcx 178 8 09 8 18 0 0
10 data\sprites/airportsbasic.pcx 210 8 09 7 12 0 2
11 data\sprites/airportsbasic.pcx 242 8 09 64 96 0 0
12 data\sprites/airportsbasic.pcx 354 8 09 64 96 0 0
// Define a graphics set ID (cargo ID = 0
13 * 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
14 * 657 00 0D 0C 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
00 00
// 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
// 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
15 * 1066 00 0D 0C 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
00 00
// 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
03
01 01 00 07
41 7E 43 42 7F 01 07
40 42 00 07
// Large Airport : Position 03
\w56 \w20 \w0 02 \wx0007 02 // TERM2
03
02 02 42 05
41 7E 43 42 7F 02 05
40 42 00 05
// Large Airport : Position 04
\w38 \w8 \w0 03 \wx000B 03 // TERM3
03
03 03 42 05
41 7E 43 42 7F 03 05
40 42 00 05
// Large Airport : Position 05
\w65 \w6 \w0 00 \wx0000 42
03
02 02 00 03
03 03 00 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 42 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 00 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 \wx0030 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
51 00 00 00
// Large Airport : Position 17
\w28 \w74 \w80 54 \wx0030 44 // HELILANDING
01
54 44 00 18
// Large Airport : Position 18
\w28 \w74 \w0 55 \wx0000 44 // HELIENDLANDING
01
55 44 00 11
// Large Airport : Position 19
\w145 \w1 \w80 00 \wx00A0 00
01
00 00 00 14
// Large Airport : Position 1A
\wxFFE0 \w1 \w80 00 \wx0030 00
01
00 00 00 13
// Large Airport : Position 1B
\w300 \wxFFD0 \w80 00 \wx0030 00
01
00 00 00 1C
// Large Airport : Position 1C
\w140 \wxFFD0 \w80 00 \wx0030 00
01
00 00 00 13
// Large Airport : Position 1D
\wxFFE0 \w120 \w80 00 \wx0030 00
01
00 00 00 1A
// Prop1C Vehicle Entry Points
1C 1A 1D 1B 1C
// Prop1D Hangar/Depot Locations
1D 01 05 00
// 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)
16 * 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)
17 * 14 02 0D
03 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 1F FF //1951-2175
00 FF
18 * 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
19 * 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)
20 * 7 03 0D 01 00 00 04 00
// Use graphics ID (1 station, ID 1, 0 cargo specific graphics, default cargo = 0)
21 * 7 03 0D 01 01 00 05 00
// Name
// Set the name of the station; all languages, 1 string, offset of CD 00, because 'generic strings' flag is set it's a word.
22 * 21 04 0D 9F 01 00 CD "Small airports" 00
23 * 20 04 0D 9F 01 00 CE "Small Airport" 00
24 * 21 04 0D 9F 01 01 CD "Large airports" 00
25 * 19 04 0D 9F 01 01 CE "City Airport" 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