bin/data/sprites/airportsextended.nfo
author richk
Sat, 11 Aug 2007 23:48:46 +0000
branchNewGRF_ports
changeset 6788 b750e5514a72
parent 6786 875182f493eb
child 6792 5dacbc63db85
permissions -rw-r--r--
(svn r10860) [NewGRF_ports] -Fix: Pointed airportsextended.nfo and seaplaneport.nfo to their respective graphics files, not rb_airport2.grf.
-Change: Updates to spec now reflected in .nfo. No trailing 00 00 in Prop 0E. Prop 19 now identifies which hangar each coordinate is for. (allows multi-tile depots).
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
    0 * 4	 70 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 61
    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 344 09 64 96 0 0

// Define a graphics set ID (cargo ID = 0
  106 * 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
  107 * 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)
  108 * 14	 02 0D
		02 // ID
		81 01 // Variable 01 (current date)
		00 FF
		01
		01 FF 3E FF  //1951-2175
		00 FF

  109 * 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)
  110 * 7	 03 0D 01 00 00 03 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.
  111 * 21	 04 0D FF 01 00 CD "Small airports" 00
  112 * 23	 04 0D FF 01 00 CE "Commuter airport" 00
//	116 * 21	 04 0D FF 01 01 CD "Large airports" 00
//	117 * 29	 04 0D FF 01 02 CD "International airports" 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