(svn r10831) [NewGRF_ports] -Feature: Split OTTD airports into basic and extended sets. Created 2 new .grfs.
Added City Airport to airportsbasic.grf.
Correction to availability callback (thanks Maedhros).
Binary file bin/data/airportsbasic.grf has changed
Binary file bin/data/airportsextended.grf has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/data/sprites/airportsbasic.nfo Thu Aug 09 02:53:36 2007 +0000
@@ -0,0 +1,705 @@
+// Automatically generated by GRFCODEC. Do not modify!
+// (Info version 7)
+// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
+
+// Length of GRF in sprites
+ 0 * 4 1A 00 00 00
+// 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
+// if not in temperate, bail out
+ 7 * 6 07 83 01 \7! 00 00
+
+// define GRF ID
+ 8 * 51 08 06 "OAPDOpenTTD Basic Airports" 00 "Small, "
+ "City, Heliport" 00
+
+// Define a sprite set for airports, one set, 4 views
+ 9 * 4 01 0D 01 04
+ 10 data\sprites/airportsbasic.pcx 178 8 09 8 18 0 0
+ 11 data\sprites/airportsbasic.pcx 210 8 09 7 12 0 2
+ 12 data\sprites/airportsbasic.pcx 242 8 09 64 96 0 0
+ 13 data\sprites/airportsbasic.pcx 354 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 * 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
+ 16 * 1058 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)
+ 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
+
+// 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.
+ 23 * 21 04 0D 9F 01 00 CD "Small airports" 00
+ 24 * 20 04 0D 9F 01 00 CE "Small Airport" 00
+ 25 * 21 04 0D 9F 01 01 CD "Large airports" 00
+ 26 * 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
Binary file bin/data/sprites/airportsbasic.pcx has changed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/data/sprites/airportsextended.nfo Thu Aug 09 02:53:36 2007 +0000
@@ -0,0 +1,521 @@
+// Automatically generated by GRFCODEC. Do not modify!
+// (Info version 7)
+// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
+
+// Length of GRF in sprites
+ 0 * 4 74 00 00 00
+// 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
+// if not in temperate, bail out
+ 7 * 6 07 83 01 \7! 00 00
+// define GRF ID
+ 8 * 68 08 06 "OAPX" "OpenTTD Extended Airports" 00 "Commuter, Metropolitan, International, Intercontinental, Helistation, Helidepot" 00
+
+// Define a sprite set for stations, one set, 95 views
+ 10 * 4 01 0D 01 61
+ 11 data\sprites/rb_airport2.pcx 194 8 09 31 64 -31 0
+ 12 data\sprites/rb_airport2.pcx 274 8 09 31 64 -31 0
+ 13 data\sprites/rb_airport2.pcx 354 8 09 31 64 -31 0
+ 14 data\sprites/rb_airport2.pcx 434 8 09 31 64 -31 0
+ 15 data\sprites/rb_airport2.pcx 514 8 09 31 64 -31 0
+ 16 data\sprites/rb_airport2.pcx 594 8 09 31 64 -31 0
+ 17 data\sprites/rb_airport2.pcx 674 8 09 55 64 -2 -38
+ 18 data\sprites/rb_airport2.pcx 754 8 09 17 18 16 -1
+ 19 data\sprites/rb_airport2.pcx 2 88 09 55 64 -2 -38
+ 20 data\sprites/rb_airport2.pcx 82 88 09 17 18 -30 1
+ 21 data\sprites/rb_airport2.pcx 114 88 09 55 64 -2 -38
+ 22 data\sprites/rb_airport2.pcx 194 88 09 55 64 -2 -38
+ 23 data\sprites/rb_airport2.pcx 274 88 09 14 24 -11 8
+ 24 data\sprites/rb_airport2.pcx 306 88 09 31 64 -31 0
+ 25 data\sprites/rb_airport2.pcx 386 88 09 31 64 -31 0
+ 26 data\sprites/rb_airport2.pcx 466 88 09 31 64 -31 0
+ 27 data\sprites/rb_airport2.pcx 546 88 09 31 64 -31 0
+ 28 data\sprites/rb_airport2.pcx 626 88 09 8 18 0 0
+ 29 data\sprites/rb_airport2.pcx 658 88 09 7 14 4 1
+ 30 data\sprites/rb_airport2.pcx 690 88 09 8 12 0 0
+ 31 data\sprites/rb_airport2.pcx 722 88 09 8 18 0 0
+ 32 data\sprites/rb_airport2.pcx 754 88 09 5 12 4 2
+ 33 data\sprites/rb_airport2.pcx 2 168 09 8 18 0 0
+ 34 data\sprites/rb_airport2.pcx 34 168 09 8 18 0 0
+ 35 data\sprites/rb_airport2.pcx 66 168 09 7 12 0 2
+ 36 data\sprites/rb_airport2.pcx 98 168 09 8 18 0 0
+ 37 data\sprites/rb_airport2.pcx 130 168 09 7 18 0 1
+ 38 data\sprites/rb_airport2.pcx 162 168 09 6 16 2 0
+ 39 data\sprites/rb_airport2.pcx 194 168 09 8 18 0 0
+ 40 data\sprites/rb_airport2.pcx 226 168 09 8 16 2 0
+ 41 data\sprites/rb_airport2.pcx 258 168 09 8 18 0 0
+ 42 data\sprites/rb_airport2.pcx 290 168 09 7 14 0 0
+ 43 data\sprites/rb_airport2.pcx 322 168 09 8 12 6 0
+ 44 data\sprites/rb_airport2.pcx 354 168 09 8 18 0 0
+ 45 data\sprites/rb_airport2.pcx 386 168 09 5 12 2 1
+ 46 data\sprites/rb_airport2.pcx 418 168 09 8 18 0 0
+ 47 data\sprites/rb_airport2.pcx 450 168 09 8 18 0 0
+ 48 data\sprites/rb_airport2.pcx 482 168 09 7 12 6 -1
+ 49 data\sprites/rb_airport2.pcx 514 168 09 8 18 0 0
+ 50 data\sprites/rb_airport2.pcx 546 168 09 7 18 0 0
+ 51 data\sprites/rb_airport2.pcx 578 168 09 6 16 0 2
+ 52 data\sprites/rb_airport2.pcx 610 168 09 8 18 0 0
+ 53 data\sprites/rb_airport2.pcx 642 168 09 8 16 0 0
+ 54 data\sprites/rb_airport2.pcx 674 168 09 8 17 0 0
+ 55 data\sprites/rb_airport2.pcx 706 168 09 7 15 3 0
+ 56 data\sprites/rb_airport2.pcx 738 168 09 5 18 0 3
+ 57 data\sprites/rb_airport2.pcx 770 168 09 8 18 0 0
+ 58 data\sprites/rb_airport2.pcx 2 200 09 5 12 4 1
+ 59 data\sprites/rb_airport2.pcx 34 200 09 8 18 0 0
+ 60 data\sprites/rb_airport2.pcx 66 200 09 8 18 0 0
+ 61 data\sprites/rb_airport2.pcx 98 200 09 7 13 5 1
+ 62 data\sprites/rb_airport2.pcx 130 200 09 8 18 0 0
+ 63 data\sprites/rb_airport2.pcx 162 200 09 8 15 3 0
+ 64 data\sprites/rb_airport2.pcx 194 200 09 8 12 0 0
+ 65 data\sprites/rb_airport2.pcx 226 200 09 8 18 0 0
+ 66 data\sprites/rb_airport2.pcx 258 200 09 7 16 0 0
+ 67 data\sprites/rb_airport2.pcx 290 200 09 8 17 1 0
+ 68 data\sprites/rb_airport2.pcx 322 200 09 7 15 0 1
+ 69 data\sprites/rb_airport2.pcx 354 200 09 5 18 0 0
+ 70 data\sprites/rb_airport2.pcx 386 200 09 8 18 0 0
+ 71 data\sprites/rb_airport2.pcx 418 200 09 5 12 2 2
+ 72 data\sprites/rb_airport2.pcx 450 200 09 8 18 0 0
+ 73 data\sprites/rb_airport2.pcx 482 200 09 8 18 0 0
+ 74 data\sprites/rb_airport2.pcx 514 200 09 7 13 0 0
+ 75 data\sprites/rb_airport2.pcx 546 200 09 8 18 0 0
+ 76 data\sprites/rb_airport2.pcx 578 200 09 8 15 0 0
+ 77 data\sprites/rb_airport2.pcx 610 200 09 8 12 6 0
+ 78 data\sprites/rb_airport2.pcx 642 200 09 8 18 0 0
+ 79 data\sprites/rb_airport2.pcx 674 200 09 7 16 2 1
+ 80 data\sprites/rb_airport2.pcx 706 200 09 31 64 -31 0
+ 81 data\sprites/rb_airport2.pcx 2 248 09 31 64 -31 0
+ 82 data\sprites/rb_airport2.pcx 82 248 09 31 64 -31 0
+ 83 data\sprites/rb_airport2.pcx 162 248 09 31 64 -31 0
+ 84 data\sprites/rb_airport2.pcx 242 248 09 31 64 -31 0
+ 85 data\sprites/rb_airport2.pcx 322 248 09 31 64 -31 0
+ 86 data\sprites/rb_airport2.pcx 402 248 09 20 64 -31 0
+ 87 data\sprites/rb_airport2.pcx 482 248 09 20 64 -31 11
+ 88 data\sprites/rb_airport2.pcx 562 248 09 31 36 -3 0
+ 89 data\sprites/rb_airport2.pcx 610 248 09 31 36 -31 0
+ 90 data\sprites/rb_airport2.pcx 658 248 09 4 63 -30 12
+ 91 data\sprites/rb_airport2.pcx 738 248 09 32 1 1 -1
+ 92 data\sprites/rb_airport2.pcx 2 296 09 31 64 -31 0
+ 93 data\sprites/rb_airport2.pcx 82 296 09 31 64 -31 0
+ 94 data\sprites/rb_airport2.pcx 162 296 09 31 64 -31 0
+ 95 data\sprites/rb_airport2.pcx 242 296 09 31 64 -31 0
+ 96 data\sprites/rb_airport2.pcx 322 296 09 31 64 -31 0
+ 97 data\sprites/rb_airport2.pcx 402 296 09 31 64 -31 0
+ 98 data\sprites/rb_airport2.pcx 482 296 09 31 64 -31 0
+ 99 data\sprites/rb_airport2.pcx 562 296 09 31 64 -31 0
+ 100 data\sprites/rb_airport2.pcx 642 296 09 31 64 -31 0
+ 101 data\sprites/rb_airport2.pcx 722 296 09 31 64 -31 0
+ 102 data\sprites/rb_airport2.pcx 2 344 09 31 64 -31 0
+ 103 data\sprites/rb_airport2.pcx 82 344 09 31 64 -31 0
+ 104 data\sprites/rb_airport2.pcx 162 344 09 31 64 -31 0
+ 105 data\sprites/rb_airport2.pcx 242 344 09 31 64 -31 0
+ 106 data\sprites/rb_airport2.pcx 402 344 09 64 96 0 0
+ 107 data\sprites/rb_airport2.pcx 510 344 09 64 96 0 0
+
+//Commuter Airport
+
+// 10 properties to change, 1 station to change, station id = 0
+ 109 * 1183 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
+ 00 00
+
+// 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
+
+// Prop1E Terminal Groups
+ 1E 01 03
+
+// Prop1F Helipad Groups
+ 1F 01 02
+
+// Prop22 Catchment Area
+ 22 04
+
+//availability date varaction2
+//commuter airport available from 1971 (1920+51) to 2175 (1920+255)
+ 111 * 14 02 0D 03 81 01 00 FF 01 00 00 33 FF 00 FF
+
+// Use graphics ID (1 station, ID 0, 0 cargo specific graphics, default cargo = 0)
+ 113 * 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.
+ 114 * 21 04 0D 9F 01 00 CD "Small airports" 00
+ 116 * 23 04 0D 9F 01 00 CE "Commuter airport" 00
+// 116 * 21 04 0D 9F 01 01 CD "Large airports" 00
+// 117 * 29 04 0D 9F 01 02 CD "International airports" 00
+// 118 * 16 04 0D 9F 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
Binary file bin/data/sprites/airportsextended.pcx has changed