bin/data/sprites/airportsextended.nfo
author richk
Wed, 15 Aug 2007 23:55:57 +0000
branchNewGRF_ports
changeset 6831 3ea8f3858427
parent 6828 8de7a4609b33
child 6833 40ae45d56c69
permissions -rw-r--r--
(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	 82 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 * 112	 08 07 "OAPX" "OpenTTD Extended Airports" 00 "Commuter, Metropolitan, International, Intercontinental, Helistation, Helidepot" 00

// Define a sprite set for stations, one set, 95 views
    8 * 4	 01 0D 01 65
    9 sprites/airportsextended.pcx 194 8 09 31 64 -31 0
   10 sprites/airportsextended.pcx 274 8 09 31 64 -31 0
   11 sprites/airportsextended.pcx 354 8 09 31 64 -31 0
   12 sprites/airportsextended.pcx 434 8 09 31 64 -31 0
   13 sprites/airportsextended.pcx 514 8 09 31 64 -31 0
   14 sprites/airportsextended.pcx 594 8 09 31 64 -31 0
   15 sprites/airportsextended.pcx 674 8 09 55 64 -2 -38
   16 sprites/airportsextended.pcx 754 8 09 17 18 16 -1
   17 sprites/airportsextended.pcx 2 88 09 55 64 -2 -38
   18 sprites/airportsextended.pcx 82 88 09 17 18 -30 1
   19 sprites/airportsextended.pcx 114 88 09 55 64 -2 -38
   20 sprites/airportsextended.pcx 194 88 09 55 64 -2 -38
   21 sprites/airportsextended.pcx 274 88 09 14 24 -11 8
   22 sprites/airportsextended.pcx 306 88 09 31 64 -31 0
   23 sprites/airportsextended.pcx 386 88 09 31 64 -31 0
   24 sprites/airportsextended.pcx 466 88 09 31 64 -31 0
   25 sprites/airportsextended.pcx 546 88 09 31 64 -31 0
   26 sprites/airportsextended.pcx 626 88 09 8 18 0 0
   27 sprites/airportsextended.pcx 658 88 09 7 14 4 1
   28 sprites/airportsextended.pcx 690 88 09 8 12 0 0
   29 sprites/airportsextended.pcx 722 88 09 8 18 0 0
   30 sprites/airportsextended.pcx 754 88 09 5 12 4 2
   31 sprites/airportsextended.pcx 2 168 09 8 18 0 0
   32 sprites/airportsextended.pcx 34 168 09 8 18 0 0
   33 sprites/airportsextended.pcx 66 168 09 7 12 0 2
   34 sprites/airportsextended.pcx 98 168 09 8 18 0 0
   35 sprites/airportsextended.pcx 130 168 09 7 18 0 1
   36 sprites/airportsextended.pcx 162 168 09 6 16 2 0
   37 sprites/airportsextended.pcx 194 168 09 8 18 0 0
   38 sprites/airportsextended.pcx 226 168 09 8 16 2 0
   39 sprites/airportsextended.pcx 258 168 09 8 18 0 0
   40 sprites/airportsextended.pcx 290 168 09 7 14 0 0
   41 sprites/airportsextended.pcx 322 168 09 8 12 6 0
   42 sprites/airportsextended.pcx 354 168 09 8 18 0 0
   43 sprites/airportsextended.pcx 386 168 09 5 12 2 1
   44 sprites/airportsextended.pcx 418 168 09 8 18 0 0
   45 sprites/airportsextended.pcx 450 168 09 8 18 0 0
   46 sprites/airportsextended.pcx 482 168 09 7 12 6 -1
   47 sprites/airportsextended.pcx 514 168 09 8 18 0 0
   48 sprites/airportsextended.pcx 546 168 09 7 18 0 0
   49 sprites/airportsextended.pcx 578 168 09 6 16 0 2
   50 sprites/airportsextended.pcx 610 168 09 8 18 0 0
   51 sprites/airportsextended.pcx 642 168 09 8 16 0 0
   52 sprites/airportsextended.pcx 674 168 09 8 17 0 0
   53 sprites/airportsextended.pcx 706 168 09 7 15 3 0
   54 sprites/airportsextended.pcx 738 168 09 5 18 0 3
   55 sprites/airportsextended.pcx 770 168 09 8 18 0 0
   56 sprites/airportsextended.pcx 2 200 09 5 12 4 1
   57 sprites/airportsextended.pcx 34 200 09 8 18 0 0
   58 sprites/airportsextended.pcx 66 200 09 8 18 0 0
   59 sprites/airportsextended.pcx 98 200 09 7 13 5 1
   60 sprites/airportsextended.pcx 130 200 09 8 18 0 0
   61 sprites/airportsextended.pcx 162 200 09 8 15 3 0
   62 sprites/airportsextended.pcx 194 200 09 8 12 0 0
   63 sprites/airportsextended.pcx 226 200 09 8 18 0 0
   64 sprites/airportsextended.pcx 258 200 09 7 16 0 0
   65 sprites/airportsextended.pcx 290 200 09 8 17 1 0
   66 sprites/airportsextended.pcx 322 200 09 7 15 0 1
   67 sprites/airportsextended.pcx 354 200 09 5 18 0 0
   68 sprites/airportsextended.pcx 386 200 09 8 18 0 0
   69 sprites/airportsextended.pcx 418 200 09 5 12 2 2
   70 sprites/airportsextended.pcx 450 200 09 8 18 0 0
   71 sprites/airportsextended.pcx 482 200 09 8 18 0 0
   72 sprites/airportsextended.pcx 514 200 09 7 13 0 0
   73 sprites/airportsextended.pcx 546 200 09 8 18 0 0
   74 sprites/airportsextended.pcx 578 200 09 8 15 0 0
   75 sprites/airportsextended.pcx 610 200 09 8 12 6 0
   76 sprites/airportsextended.pcx 642 200 09 8 18 0 0
   77 sprites/airportsextended.pcx 674 200 09 7 16 2 1
   78 sprites/airportsextended.pcx 706 200 09 31 64 -31 0
   79 sprites/airportsextended.pcx 2 248 09 31 64 -31 0
   80 sprites/airportsextended.pcx 82 248 09 31 64 -31 0
   81 sprites/airportsextended.pcx 162 248 09 31 64 -31 0
   82 sprites/airportsextended.pcx 242 248 09 31 64 -31 0
   83 sprites/airportsextended.pcx 322 248 09 31 64 -31 0
   84 sprites/airportsextended.pcx 402 248 09 20 64 -31 0
   85 sprites/airportsextended.pcx 482 248 09 20 64 -31 11
   86 sprites/airportsextended.pcx 562 248 09 31 36 -3 0
   87 sprites/airportsextended.pcx 610 248 09 31 36 -31 0
   88 sprites/airportsextended.pcx 658 248 09 4 63 -30 12
   89 sprites/airportsextended.pcx 738 248 09 32 1 1 -1
   90 sprites/airportsextended.pcx 2 296 09 31 64 -31 0
   91 sprites/airportsextended.pcx 82 296 09 31 64 -31 0
   92 sprites/airportsextended.pcx 162 296 09 31 64 -31 0
   93 sprites/airportsextended.pcx 242 296 09 31 64 -31 0
   94 sprites/airportsextended.pcx 322 296 09 31 64 -31 0
   95 sprites/airportsextended.pcx 402 296 09 31 64 -31 0
   96 sprites/airportsextended.pcx 482 296 09 31 64 -31 0
   97 sprites/airportsextended.pcx 562 296 09 31 64 -31 0
   98 sprites/airportsextended.pcx 642 296 09 31 64 -31 0
   99 sprites/airportsextended.pcx 722 296 09 31 64 -31 0
  100 sprites/airportsextended.pcx 2 344 09 31 64 -31 0
  101 sprites/airportsextended.pcx 82 344 09 31 64 -31 0
  102 sprites/airportsextended.pcx 162 344 09 31 64 -31 0
  103 sprites/airportsextended.pcx 242 344 09 31 64 -31 0
  104 sprites/airportsextended.pcx 402 344 09 64 96 0 0
  105 sprites/airportsextended.pcx 510 343 09 64 96 0 0
  106 sprites/airportsextended.pcx 618 343 09 64 96 0 0
  107 sprites/airportsextended.pcx 7 384 09 64 96 0 0
  108 sprites/airportsextended.pcx 114 384 09 64 96 0 0
  109 sprites/airportsextended.pcx 221 383 09 64 96 0 0

// Define a graphics set ID (cargo ID = 0
//!!Error (58): Action 2 declaring no loaded sets.
  110 * 7	 02 0D 00
// Little/lots set
		00 01
// Set to define the graphics for (set #0)
		00 00


//Commuter Airport

// 10 properties to change, 1 station to change, station id = 0
  111 * 1182	 00 0D 0A 01 00
// Class ID
	08 "SMLL"
// Sprite layout, of 22 sprites
		09 16
// Hangar X
			4A 0A 00 00
					0E 00 00 02 10 1C 5F 8A 00 80 // Hangar part 1
					00 00 00 02 10 1C 60 8A 00 80 // Hangar part 2
				80
// Hangar Y
			4A 0A 00 00
					0E 00 00 02 10 1C 35 84 00 00 // Hangar part 1
					00 00 00 02 10 1C 36 84 00 00 // Hangar part 2
				80
// Term X
			4B 0A 00 00
				80
// Term Y
			4B 0A 00 00
				80
// Terminal B X
			4A 0A 00 00
					03 03 00 0A 0B 23 5D 8A 00 80 // Terminal B
				80
// Terminal B Y
			4A 0A 00 00
					03 03 00 0A 0B 23 5D 8A 00 80 // Terminal B
				80
// Tower X
			4A 0A 00 00
					03 03 00 0A 0A 3C 5B 8A 00 80 // Tower
				80
// Tower Y
			4A 0A 00 00
					03 03 00 0A 0A 3C 5B 8A 00 80 // Tower
				80
// Empty ground sprite X
			4A 0A 00 00
				80
// Empty ground sprite Y
			2D 04 00 80
				80
// Runway 'entry'/'exit' X
			59 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80 // fence south
				80
// Runway 'entry'/'exit' Y
			32 04 00 80
					0F 00 00 01 10 06 67 8A 00 80 // fence west
				80
// Middle runway X
			58 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80 // fence south
				80
// Middle runway Y
			30 04 00 80
					0F 00 00 01 10 06 67 8A 00 80 // fence west
				80
// Empty ground sprite X
			4A 0A 00 00
					00 00 00 01 10 06 67 8A 00 80 // fence east
				80
// Empty ground sprite Y
			4A 0A 00 00
					00 00 00 10 01 06 68 8A 00 80 // fence north
				80
// Empty ground sprite X
			4A 0A 00 00
					0F 00 00 01 10 06 67 8A 00 80 // fence west
				80
// Empty ground sprite Y
			4A 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80 // fence south
				80
// Helipad X
			4A 0A 00 00
					0A 06 00 00 00 00 22 97 00 80 // helipad
					00 00 00 10 01 06 68 8A 00 80 // fence north
				80
// Helipad Y
			4A 0A 00 00
					0A 06 00 00 00 00 22 97 00 80 // helipad
					00 00 00 01 10 06 67 8A 00 80 // fence east
				80
// Middle runway X with 04 number
			58 0A 00 00
					0E 00 00 00 00 00 41 04 00 00 // 0 in NE direction
					0C 07 00 00 00 00 45 04 00 00 // 4 in NE direction
					00 0F 00 10 01 06 68 8A 00 80 // fence south
				80
// Commuter Airport mini pic
			8C 04 00 08
				80

//callback mask
		0B 01 //has a station availability

// Define custom layouts
		0E 02   //two layouts
			01  //NE facing
			05 04 15  // X, y, minipic ID
				06 04 12 12 00
				0E 08 08 08 10
				0E 02 02 02 10
				0A 0C 0C 14 0A
			03  //SE facing
			04 05 15
				01 0F 0F 0B
				13 08 02 0D
				13 08 02 0D
				05 08 02 0D
				07 11 11 0B
//			07  //NW facing
//			04 05
//				0B 08 08 07
//				0D 02 08 05
//				0D 02 08 13
//				0D 02 08 13
//				0B 08 08 01

// Define Finite State Machine
		1A 25  // positions 00-24

	// Commuter Airport : Position 00
	\w69 \w3 \w0 40 \wx0007 00
		03
			40 42 00 01
			51 26 00 01
			00 42 00 01

	// Commuter Airport : Position 01
	\w72 \w22 \w0 00 \wx0000 42
		08
			40 00 42 00
			41 43 42 0B
			01 42 00 0A
			02 42 00 0A
			03 42 00 0A
			25 42 00 0A
			26 42 00 0A
			51 42 00 0A

	// Commuter Airport : Position 02
	\w8 \w22 \w0 00 \wx000B 45
		08
			40 42 45 08
			01 42 45 08
			02 42 45 08
			03 42 45 08
			25 42 45 08
			26 42 45 08
			51 42 45 08
			00 00 00 02

	// Commuter Airport : Position 03
	\w24 \w36 \w0 01 \wx0007 01
		04
			01 01 00 08
			40 42 01 08
			41 42 01 08
			00 00 00 03

	// Commuter Airport : Position 04
	\w40 \w36 \w0 02 \wx0007 02
		04
			02 02 00 09
			40 42 02 09
			41 42 02 09
			00 00 00 04

	// Commuter Airport : Position 05
	\w56 \w36 \w0 03 \wx0007 03
		04
			03 03 00 0A
			40 42 03 0A
			41 42 03 0A
			00 00 00 05

	// Commuter Airport : Position 06
	\w40 \w8 \w0 25 \wx0003 25
		03
			25 25 00 06
			40 42 25 09
			51 00 00 23

	// Commuter Airport : Position 07
	\w56 \w8 \w0 26 \wx0003 26
		03
			26 26 00 07
			40 42 26 0A
			51 00 00 24

	// Commuter Airport : Position 08
	\w24 \w22 \w0 00 \wx0000 42
		04
			41 42 00 09
			40 42 00 09
			01 01 42 03
			00 42 00 09

	// Commuter Airport : Position 09
	\w40 \w22 \w0 00 \wx0000 42
		08
			41 42 00 0A
			40 42 00 0A
			02 02 42 04
			03 42 00 0A
			25 25 42 06
			51 25 42 06
			01 42 00 08
			00 42 00 0A

	// Commuter Airport : Position 0A
	\w56 \w22 \w0 00 \wx0000 42
		07
			03 03 42 05
			25 42 00 09
			26 26 42 07
			51 26 42 07
			41 42 00 01
			40 42 00 01
			00 42 00 09

	// Commuter Airport : Position 0B
	\w72 \w40 \w0 00 \wx0000 43
		01
			00 40 43 0C

	// Commuter Airport : Position 0C
	\w72 \w54 \w0 41 \wx0003 40
		01
			00 40 00 0D

	// Commuter Airport : Position 0D
	\w7 \w54 \w0 00 \wx0010 40
		01
			00 40 00 0E

	// Commuter Airport : Position 0E
	\w5 \w54 \w80 42 \wx0010 40
		01
			00 40 00 0F

	// Commuter Airport : Position 0F
	\wxFFB1 \w54 \w80 43 \wx0010 00
		01
			00 00 40 00

	// Commuter Airport : Position 10
	\w185 \w54 \w80 7F \wx00B0 00
		03
			7F 00 00 15
			44 7E 44 40 7F 00 11  //reserve both inway and runway
			54 00 00 19

	// Commuter Airport : Position 11
	\w73 \w54 \w0 44 \wx0090 40
		01
			00 00 00 12

	// Commuter Airport : Position 12
	\w12 \w54 \w0 00 \wx00D0 40
		01
			00 00 00 13

	// Commuter Airport : Position 13
	\w10 \w54 \w0 00 \wx0080 40
		01
			00 00 40 14

	// Commuter Airport : Position 14
	\w8 \w32 \w0 45 \wx0000 44
		01
			00 45 44 02

	// Commuter Airport : Position 15
	\wxFFE1 \w149 \w80 00 \wx00B0 00
		01
			00 00 00 16

	// Commuter Airport : Position 16
	\w1 \w6 \w80 00 \wx00B0 00
		01
			00 00 00 17

	// Commuter Airport : Position 17
	\w193 \w6 \w80 00 \wx00B0 00
		01
			00 00 00 18

	// Commuter Airport : Position 18
	\w225 \w81 \w80 00 \wx00B0 00
		01
			00 00 00 10

	// Commuter Airport : Position 19
	\w80 \w0 \w80 54 \wx0030 4D
		01
			00 4D 00 1A

	// Commuter Airport : Position 1A
	\w80 \w0 \w80 55 \wx0030 4D
		04
			55 4D 00 1A
			25 25 4D 1B
			26 26 4D 1C
			40 00 00 21

	// Commuter Airport : Position 1B
	\w32 \w8 \w80 00 \wx0030 00
		01
			00 00 00 1D

	// Commuter Airport : Position 1C
	\w48 \w8 \w80 00 \wx0030 00
		01
			00 00 00 1E

	// Commuter Airport : Position 1D
	\w40 \w8 \w0 00 \wx0000 00
		01
			00 25 00 06

	// Commuter Airport : Position 1E
	\w56 \w8 \w0 00 \wx0000 00
		01
			00 26 00 07

	// Commuter Airport : Position 1F
	\w40 \w8 \w64 51 \wx0000 00
		01
			00 00 25 00

	// Commuter Airport : Position 20
	\w56 \w8 \w64 51 \wx0000 00
		01
			00 00 26 00

	// Commuter Airport : Position 21
	\w64 \w26 \w80 00 \wx0030 42
		01
			00 42 00 22

	// Commuter Airport : Position 22
	\w64 \w22 \w0 00 \wx0000 42
		01
			00 42 00 01

	// Commuter Airport : Position 23
	\w40 \w8 \w0 00 \wx0001 25
		01
			00 25 00 1F

	// Commuter Airport : Position 24
	\w56 \w8 \w0 00 \wx0001 26
		01
			00 26 00 20

// Prop1C Vehicle Entry Points
		1C 15 15 15 15

// Prop1D Hangar/Depot Locations
		1D 01 04 00 01

// Prop1E Terminal Groups
		1E 01 03

// Prop1F Helipad Groups
		1F 01 02

// Prop22 Catchment Area
		22 04

//availability date varaction2
//commuter airport available from 1981 (1920+61) to 2175 (1920+255)
  112 * 14	 02 0D
		02 // ID
		81 01 // Variable 01 (current date)
		00 FF
		01
		01 FF 3E FF  //1951-2175
		00 FF

//!!Error (164): Offset 10: 13 is not a valid callback for this feature.
  113 * 14	 02 0D
		03 // 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

// Use graphics ID (1 station, ID 0, 0 cargo specific graphics, default cargo = 0)
  114 * 7	 03 0D 01 00 00 03 00


//-------------------------
// Metropolitan Airport
//-------------------------

// 10 properties to change, 1 station to change, station id = 01
  115 * 927	 00 0D 0B 01 01

// Class ID
	08 "LRGE"

 //Sprite layout
		09 17
// tilelayout:00   was 31 = 0x1F :
			4A 0A 00 00
					00 03 00 10 0B 28 5E 8A 00 80
				80

// tilelayout:01   was 9 = 0x09 :
			4A 0A 00 00
					00 00 00 10 01 06 68 8A 00 80
				80

// tilelayout:02   was 33 = 0x21 :
			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

// tilelayout:03   was 32 = 0x20 :
			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

// tilelayout:04   was 27 = 0x1B :
			4A 0A 00 00
					02 00 00 0B 10 28 5A 8A 00 80
				80

// tilelayout:05   was 36 = 0x24 :
			4A 0A 00 00
					00 08 00 0E 03 0E 66 0A 00 80
				80

// tilelayout:06   was 29 = 0x1D :
			4A 0A 00 00
					00 01 00 0E 0E 1E 5C 8A 00 80
				80

// tilelayout:07   was 34 = 0x22 :
			4B 0A 00 00
					02 07 00 03 03 0E 64 0A 00 80
				80

// tilelayout:08   was 8 = 0x08 :
			4A 0A 00 00
				80

// tilelayout:09   was 10 = 0x0A :
			4A 0A 00 00
					0F 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:0A   was 30 = 0x1E :
			4A 0A 00 00
					03 03 00 0A 0B 23 5D 8A 00 80
				80

// tilelayout:0B   was 11 = 0x0B :
			4B 0A 00 00
				80

// tilelayout:0C   was 35 = 0x23 :
			4A 0A 00 00
					03 02 00 03 03 0E 65 0A 00 80
				80

// tilelayout:0D   was 13 = 0x0D :
			4D 0A 00 00
				80

// tilelayout:0E   was 20 = 0x14 :
			54 0A 00 00
				80

// tilelayout:0F   was 21 = 0x15 :
			53 0A 00 00
					0F 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:10   was 102 = 0x66 :
			4A 0A 00 00
					07 07 00 02 02 08 78 0A 00 80
					00 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:11   was 28 = 0x1C :
			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

// tilelayout:12   was 83 = 0x53 :
			59 0A 00 00
				80

// tilelayout:13   was 84 = 0x54 :
			56 0A 00 00
				80

// tilelayout:14   was 26 = 0x1A :
			59 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80
				80

// tilelayout:15   was 23 = 0x17 :
			56 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80
				80

// Metropolitan Airport mini pic
			8D 04 00 08
				80

// Prop0B Callbacks
		0B 01 //Availability

// Define custom layouts
		0E 01
			01
			06 06 16
				  00 01 02 01 01 03
				  04 05 06 07 08 09
				  0A 0B 0C 0D 08 0F
				  10 08 08 08 08 11
				  12 13 13 13 13 12
				  14 15 15 15 15 14

// Prop19 Vehicle Type
		19 03 //Air

// Define Finite State Machine
		1A 1B  // positions 00-1A

	// Metropolitan 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

	// Metropolitan Airport : Position 01
	\w85 \w27 \w0 00 \wx0000 42
		05
			40 00 00 00
			02 42 00 06
			03 42 00 06
			41 42 00 06
			00 42 00 07

	// Metropolitan Airport : Position 02
	\w26 \w41 \w0 01 \wx000B 00  // TERM1
		04
			01 01 00 07
			41 7E 43 42 7F 01 07
			51 7E 43 42 7F 01 07
			40 42 00 07

	// Metropolitan Airport : Position 03
	\w56 \w20 \w0 02 \wx0007 02  // TERM2
		04
			02 02 00 06
			41 7E 43 42 7F 02 06
			51 7E 43 42 7F 02 06
			40 42 00 06

	// Metropolitan 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

	// Metropolitan Airport : Position 05
	\w72 \w6 \w0 00 \wx0000 42
		03
			02 02 42 03
			03 03 42 04
			00 42 00 06

	// Metropolitan Airport : Position 06
	\w72 \w33 \w0 00 \wx0000 42
		05
			02 42 00 05
			03 42 00 05
			40 42 00 01
			41 00 42 08
			00 42 00 07

	// Metropolitan Airport : Position 07
	\w44 \w57 \w0 00 \wx0000 42
		05
			01 01 42 02
			41 43 42 08
			51 00 00 17
			40 42 00 01
			00 42 00 06

	// Metropolitan Airport : Position 08
	\w72 \w57 \w0 00 \wx0000 43
		01
			00 41 00 09

	// Metropolitan Airport : Position 09
	\w72 \w71 \w0 00 \wx0000 41
		01
			00 7E 46 41 7F 43 0A  //wait for runway and crossing

	// Metropolitan Airport : Position 0A
	\w89 \w71 \w0 41 \wx0003 41  // TAKEOFF
		01
			00 41 00 0B

	// Metropolitan Airport : Position 0B
	\w3 \w71 \w00 42 \wx0010 00  // STARTTAKEOFF
		01
			00 00 7E 41 46 7F 0C  //release crossing and runway

	// Metropolitan Airport : Position 0C
	\wxFFB1 \w71 \w80 43 \wx0010 00  // ENDTAKEOFF
		01
			00 00 00 00

	// Metropolitan Airport : Position 0D
	\w177 \w88 \w80 7F \wx00B0 00  // FLYING
		03
			7F 00 00 13
			44 40 00 0E
			54 44 00 19

	// Metropolitan Airport : Position 0E
	\w89 \w88 \w00 44 \wx0090 40  // LANDING
		01
			00 00 00 0F

	// Metropolitan Airport : Position 0F
	\w3 \w88 \w0 00 \wx0050 40
		01
			00 00 00 10

	// Metropolitan Airport : Position 10
	\w21 \w88 \w0 00 \wx000E 40
		01
			00 7E 44 46 7F 40 11  //leave landing runway for crossing

	// Metropolitan Airport : Position 11
	\w21 \w71 \w0 00 \wx0000 46
		01
			00 00 46 12  //leave outbound runway for inbound hold

	// Metropolitan Airport : Position 12
	\w21 \w57 \w0 45 \wx000B 44  // ENDLANDING. inbound hold position
		01
			00 42 44 07

	// Metropolitan Airport : Position 13
	\wxFFE1 \w193 \w80 00 \wx00B0 00
		01
			00 00 00 14

	// Metropolitan Airport : Position 14
	\w1 \w1 \w80 00 \wx00B0 00
		01
			00 00 00 15

	// Metropolitan Airport : Position 15
	\w257 \w1 \w80 00 \wx00B0 00
		01
			00 00 00 16

	// Metropolitan Airport : Position 16
	\w273 \w49 \w80 00 \wx00B0 00
		01
			00 00 00 0D

	// Metropolitan Airport : Position 17
	\w44 \w57 \w0 00 \wx0000 00
		01
			00 00 00 18

	// Metropolitan Airport : Position 18
	\w44 \w63 \w80 51 \wx0000 00  // HELITAKEOFF
		01
			00 00 00 00

	// Metropolitan Airport : Position 19
	\w15 \w57 \w80 54 \wx0030 44  // HELILANDING
		01
			00 44 00 1A

	// Metropolitan Airport : Position 1A
	\w15 \w57 \w0 55 \wx0000 44  // HELIENDLANDING
		01
			00 00 00 12

// Prop1C Vehicle Entry Points
		1C 14 14 14 14

// Prop1D Hangar/Depot Locations
		1D 01 05 00 01

// Prop1E Terminal Groups
		1E 01 03

// Prop20 Port Subtype
		20 03

// Prop22 Catchment Area
		22 06

//availability date varaction2
//Metropolitan Airport available from 1980 (1920+60) to 2175 (1920+255)
  116 * 14	 02 0D
		05 // ID
		81 01 // Variable 01 (current date)
		00 FF
		01
		01 FF 3C FF  //1980-2175
		00 FF

//!!Error (164): Offset 10: 13 is not a valid callback for this feature.
  117 * 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)
  118 * 7	 03 0D 01 01 00 06 00


//-------------------------
// International Airport
//-------------------------

// 12 properties to change, 1 station to change, station id = 02
  119 * 1356	 00 0D 0C 01 02

// Class ID
	08 "INTL"
 //Sprite layout
		09 10
// tilelayout:00   was 88 = 0x58 :
			59 0A 00 00
					00 00 00 10 01 06 68 8A 00 80
				80

// tilelayout:01   was 89 = 0x59 :
			56 0A 00 00
					00 00 00 10 01 06 68 8A 00 80
				80

// tilelayout:02   was 51 = 0x33 :
			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

// tilelayout:03   was 8 = 0x08 :
			4A 0A 00 00
				80

// tilelayout:04   was 32 = 0x20 :
			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

// tilelayout:05   was 30 = 0x1E :
			4A 0A 00 00
					03 03 00 0A 0B 23 5D 8A 00 80
				80

// tilelayout:06   was 11 = 0x0B :
			4B 0A 00 00
				80

// tilelayout:07   was 27 = 0x1B :
			4A 0A 00 00
					02 00 00 0B 10 28 5A 8A 00 80
				80

// tilelayout:08   was 10 = 0x0A :
			4A 0A 00 00
					0F 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:09   was 114 = 0x72 :
			4A 0A 00 00
					0A 06 00 00 00 00 22 17 00 80
					0F 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:0A   was 87 = 0x57 :
			4A 0A 00 00
					00 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:0B   was 85 = 0x55 :
			4A 0A 00 00
					03 03 00 0A 0A 3C 5B 8A 00 80
				80

// tilelayout:0C   was 90 = 0x5A :
			4A 0A 00 00
					07 07 00 02 02 08 78 0A 00 80
					0F 00 00 01 10 06 67 8A 00 80
				80

// tilelayout:0D   was 26 = 0x1A :
			59 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80
				80

// tilelayout:0E   was 23 = 0x17 :
			56 0A 00 00
					00 0F 00 10 01 06 68 8A 00 80
				80

// 0F International Airport mini pic
			8E 04 00 08
				80

// 0F sprites defined
// Prop0B Callbacks
		0B 01 //Availability

// Define custom layouts
		0E 01
			01
			07 07 0F
				  00 01 01 01 01 01 00
				  02 03 03 03 03 03 04
				  05 03 06 07 06 03 08
				  04 03 06 07 06 03 09
				  0A 03 06 0B 06 03 09
				  0A 03 03 03 03 03 0C
				  0D 0E 0E 0E 0E 0E 0D

// Prop19 Vehicle Type
		19 03 //Air

// Define Finite State Machine
		1A 33  // positions 00-32

	// International Airport : Position 00
	\w7 \w55 \w0 40 \wx0007 00  // HANGAR
		05
			40 45 00 02
			7E 00 46 00 02
			7E 01 49 00 02
			51 25 00 02
			41 46 00 02

	// International Airport : Position 01
	\w100 \w21 \w0 40 \wx0007 00  // HANGAR
		05
			40 48 00 03
			7E 01 48 00 03
			7E 00 48 00 03
			51 7E 26 48 7F 00 03
			41 48 00 03

	// International Airport : Position 02
	\w7 \w70 \w0 00 \wx0000 45
		08
			40 00 00 00
			04 00 00 0C
			05 00 00 0C
			06 00 00 0C
			25 00 00 0C
			26 00 00 0C
			51 00 00 0C
			00 00 00 17

	// International Airport : Position 03
	\w100 \w36 \w0 00 \wx0000 48
		02
			40 00 00 01
			00 00 00 12

	// International Airport : Position 04
	\w38 \w70 \w0 01 \wx000B 00  // TERM1
		03
			01 00 00 17
			40 45 00 17
			00 00 00 17

	// International Airport : Position 05
	\w38 \w54 \w0 02 \wx000B 02  // TERM2
		03
			02 02 00 18
			40 45 00 18
			00 00 00 18

	// International Airport : Position 06
	\w38 \w38 \w0 03 \wx000B 03  // TERM3
		03
			03 03 00 19
			40 45 00 19
			00 00 00 19

	// International Airport : Position 07
	\w70 \w70 \w0 04 \wx0003 04  // TERM4
		03
			04 04 00 10
			40 48 00 10
			00 00 00 10

	// International Airport : Position 08
	\w70 \w54 \w0 05 \wx0003 05  // TERM5
		03
			05 05 00 11
			40 48 00 11
			00 00 00 11

	// International Airport : Position 09
	\w70 \w38 \w0 06 \wx0003 06  // TERM6
		03
			06 06 00 12
			40 48 00 12
			00 00 00 12

	// International Airport : Position 0A
	\w104 \w71 \w0 25 \wx0003 25  // HELIPAD1
		03
			25 25 00 0A
			40 48 00 10
			51 00 00 2F

	// International Airport : Position 0B
	\w104 \w55 \w0 26 \wx0003 26  // HELIPAD2
		03
			26 26 00 0B
			40 48 00 11
			51 00 00 30

	// International Airport : Position 0C
	\w22 \w87 \w0 00 \wx0000 49
		01
			00 49 00 0D

	// International Airport : Position 0D
	\w60 \w87 \w0 00 \wx0000 49
		01
			00 49 00 0E

	// International Airport : Position 0E
	\w66 \w87 \w0 00 \wx0000 4A
		01
			00 4A 00 0F

	// International Airport : Position 0F
	\w86 \w87 \w0 00 \wx000F 4A
		01
			00 4A 00 10

	// International Airport : Position 10
	\w86 \w70 \w0 00 \wx0000 47
		04
			04 04 00 07
			25 25 00 0A
			51 25 00 0A
			00 00 00 11

	// International Airport : Position 11
	\w86 \w54 \w0 00 \wx0000 47
		06
			05 05 00 08
			04 00 00 10
			25 00 00 10
			26 26 00 0B
			51 26 00 0B
			00 00 00 12

	// International Airport : Position 12
	\w86 \w38 \w0 00 \wx0000 47
		04
			06 06 00 09
			41 00 00 13
			40 48 00 03
			00 00 00 11

	// International Airport : Position 13
	\w86 \w22 \w0 00 \wx0000 4B
		01
			00 4B 00 14

	// International Airport : Position 14
	\w66 \w22 \w0 00 \wx0000 4B
		01
			00 4B 00 15

	// International Airport : Position 15
	\w60 \w22 \w0 00 \wx0000 4C
		01
			00 4C 00 16

	// International Airport : Position 16
	\w38 \w22 \w0 00 \wx0000 4C
		01
			00 4C 00 1A

	// International Airport : Position 17
	\w22 \w70 \w0 00 \wx0000 46
		03
			01 00 00 04
			40 45 00 02
			00 00 00 18

	// International Airport : Position 18
	\w22 \w58 \w0 00 \wx0000 46
		04
			02 02 00 05
			01 00 00 17
			40 00 00 17
			00 00 00 19

	// International Airport : Position 19
	\w22 \w38 \w0 00 \wx0000 46
		03
			03 03 00 06
			41 00 00 1A
			00 00 00 18

	// International Airport : Position 1A
	\w22 \w22 \w0 00 \wx000F 42
		02
			41 00 00 1B
			00 00 00 19

	// International Airport : Position 1B
	\w22 \w6 \w0 00 \wx0000 43
		01
			00 43 00 1C

	// International Airport : Position 1C
	\w3 \w6 \w0 41 \wx000B 43  // TAKEOFF
		01
			00 43 00 1D

	// International Airport : Position 1D
	\w60 \w6 \w0 00 \wx0010 41
		01
			00 41 00 1E

	// International Airport : Position 1E
	\w105 \w6 \w0 42 \wx0010 00  // STARTTAKEOFF
		01
			00 00 00 1F

	// International Airport : Position 1F
	\w190 \w6 \w80 43 \wx0010 00  // ENDTAKEOFF
		01
			00 00 00 00

	// International Airport : Position 20
	\w193 \w104 \w80 7F \wx0030 00  // FLYING
		03
			7F 00 00 25
			44 40 00 21
			54 00 00 29

	// International Airport : Position 21
	\w105 \w104 \w0 44 \wx0010 40  // LANDING
		01
			00 40 00 22

	// International Airport : Position 22
	\w3 \w104 \w0 00 \wx0050 40
		01
			00 40 00 23

	// International Airport : Position 23
	\w12 \w104 \w0 00 \wx0020 40
		01
			00 40 40 24

	// International Airport : Position 24
	\w7 \w84 \w0 45 \wx0000 44  // ENDLANDING
		07
			45 44 00 24
			7E 00 46 00 0C
			7E 01 49 00 0C
			04 00 00 0C
			05 00 00 0C
			06 00 00 0C
			00 00 00 02

	// International Airport : Position 25
	\wxFFE1 \w209 \w80 00 \wx0030 00
		01
			00 00 00 26

	// International Airport : Position 26
	\w1 \w6 \w80 00 \wx0030 00
		01
			00 00 00 27

	// International Airport : Position 27
	\w273 \w6 \w80 00 \wx0030 00
		01
			00 00 00 28

	// International Airport : Position 28
	\w305 \w81 \w80 00 \wx0030 00
		01
			00 00 00 20

	// International Airport : Position 29
	\w128 \w80 \w0 54 \wx0030 4D  // HELILANDING
		01
			54 4D 00 2A

	// International Airport : Position 2A
	\w128 \w80 \w0 55 \wx0030 4D  // HELIENDLANDING
		04
			55 4D 00 2A
			25 00 00 2B
			26 00 00 2C
			40 00 00 31

	// International Airport : Position 2B
	\w96 \w71 \w0 00 \wx0030 00
		01
			00 00 00 2D

	// International Airport : Position 2C
	\w96 \w55 \w0 00 \wx0030 00
		01
			00 00 00 2E

	// International Airport : Position 2D
	\w96 \w71 \w0 00 \wx0000 00
		01
			25 25 00 0A

	// International Airport : Position 2E
	\w96 \w55 \w0 00 \wx0000 00
		01
			26 26 00 0B

	// International Airport : Position 2F
	\w104 \w71 \w80 51 \wx0000 00  // HELITAKEOFF
		01
			51 00 00 00

	// International Airport : Position 30
	\w104 \w55 \w80 51 \wx0000 00  // HELITAKEOFF
		01
			51 00 00 00

	// International Airport : Position 31
	\w104 \w32 \w0 00 \wx0030 48
		01
			00 48 00 32

	// International Airport : Position 32
	\w104 \w32 \w0 00 \wx0000 48
		01
			00 48 00 03

// Prop1C Vehicle Entry Points
		1C 25 25 25 25

// Prop1D Hangar/Depot Locations
		1D 02 00 03 01 06 01 02

// Prop1E Terminal Groups
		1E 02 03 03

// Prop1F Helipad Groups
		1F 01 02

// Prop20 Port Subtype
		20 03

// Prop22 Catchment Area
		22 08

//availability date varaction2
//International Airport available from 1994 (1920+74) to 2175 (1920+255)
  120 * 14	 02 0D
		06 // ID
		81 01 // Variable 01 (current date)
		00 FF
		01
		01 FF 4A FF  //1951-2175
		00 FF

//!!Error (164): Offset 10: 13 is not a valid callback for this feature.
  121 * 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 2, 0 cargo specific graphics, default cargo = 0)
  122 * 7	 03 0D 01 02 00 07 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.
  123 * 21	 04 0D FF 01 00 CD "Small airports" 00
  124 * 25	 04 0D 9F 01 00 CD "Kleine vliegvelden" 00
  125 * 23	 04 0D FF 01 00 CE "Commuter airport" 00
  126 * 22	 04 0D 9F 01 00 CE "Pendelvliegveld" 00
  127 * 21	 04 0D FF 01 01 CD "Large airports" 00
  128 * 27	 04 0D FF 01 01 CE "Metropolitan Airport" 00
  129 * 29	 04 0D FF 01 02 CD "International airports" 00
  130 * 28	 04 0D FF 01 02 CE "International Airport" 00
//	118 * 16	 04 0D FF 01 03 CD "Heliports" 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