(svn r10891) [NewGRF_ports] -Change: Added ramp and 2 jetties to seaplaneport.grf. (Thanks to 0004tom).
-Change: modified movement to move around jetties, and FSM for better block handling.
-Change: Modified prop 20 (temporarily) to allow all small aircraft, for testing.
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 7)
// Format: spritenum pcxfile xpos ypos compression ysize xsize xrel yrel
0 * 4 73 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
// if not in temperate, bail out
7 * 6 07 83 01 \7! 00 00
// define GRF ID
8 * 53 08 07 C0 DE D0 0D "Seaplane Airport" 00 "Adds a Small Seaplane Airport" 00
// 13 properties to change, 1 station to change, station id = 0
9 * 673 00 0D 0C 01 00
// Small Seaplane Airport
// uses normal small airport state machine. Runway moved to lower position
// Class ID
08 "SEAP"
// 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
00 00 00 02 10 1D 8E 84 00 00 // hangar side + ramp
0E 00 00 02 10 1C 61 8A 00 80 // hangar front
80
// 04 Hangar exit
DD 0F 00 00
0F 00 00 01 10 06 67 8A 00 80 // fence west
80
// 05 grass mid-left
DD 0F 00 00
80
// 06 grass mid-right
DD 0F 00 00
08 00 00 00 00 00 8F 84 00 00 // jetty
80
// 07 windsock
DD 0F 00 00
00 00 00 00 00 00 8F 84 00 00 // jetty
04 0B 00 01 01 14 74 8A 00 80 // windsock
80
// 08 Runway start with 04 number
DD 0F 00 00
0A 02 00 00 00 00 41 04 00 00 // 0 in NE direction
08 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
// 09 Middle runway X
DD 0F 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0A Runway mid right
DD 0F 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0B Runway start
DD 0F 00 00
00 0F 00 10 01 06 68 8A 00 80 // fence south
80
// 0C Small Airport mini pic (use commuter to prove its using different graphic set)
8C 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
05
40 40 00 01
51 26 00 01
01 7E 01 40 7F 00 01
02 7E 41 40 7F 00 01
41 7E 41 40 7F 00 01
// Small Airport : Position 01
\w53 \w27 \wxFFF8 00 \wx0000 40
06
40 00 40 00
01 01 40 02
02 41 40 04
51 00 00 13
41 41 00 06
00 41 00 06
// Small Airport : Position 02
\w37 \w23 \wxFFF8 01 \wx000F 01 //TERM1
05
01 01 00 02
40 40 01 01
41 7E 41 40 7F 01 01
51 40 01 01
00 00 00 02
// Small Airport : Position 03
\w14 \w23 \wxFFF8 02 \wx000F 02 //TERM2
05
02 02 00 05
40 7E 41 40 7F 02 05
41 41 02 05
51 7E 41 40 7F 02 05
00 00 00 03
// Small Airport : Position 04
\w53 \w37 \wxFFF8 00 \wx0000 41
04
02 02 00 05
40 40 41 01
41 41 00 06
51 40 41 01
// Small Airport : Position 05
\w14 \w37 \wxFFF8 00 \wx0000 40
02
02 02 41 03
00 00 00 04
// Small Airport : Position 06
\w53 \w37 \wxFFF8 00 \wx0000 41
01
00 41 00 07
// Small Airport : Position 07
\w61 \w40 \wxFFF8 41 \wx0003 41
01
00 41 00 08
// Small Airport : Position 08
\w3 \w40 \wxFFF8 42 \wx0010 41
01
00 00 41 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 41 00 0B
54 41 00 14
// Small Airport : Position 0B
\w56 \w40 \wxFFF8 44 \wx0090 41
01
00 41 00 0C
// Small Airport : Position 0C
\w3 \w40 \wxFFF8 00 \wx00D0 41
01
00 41 00 0D
// Small Airport : Position 0D
\w7 \w40 \wxFFF8 45 \wx0000 41
03
45 41 00 0E
02 00 00 05
00 00 00 0E
// Small Airport : Position 0E
\w53 \w40 \wxFFF8 00 \wx0000 41
01
00 40 41 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 \wxFFF8 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
// Define placement layout mask
// similar format to custom layout, but gives tile info for placement checks
// set order must match custom layout order and orientations.
// custom layout x&y used for x&y info
23 01 //one layouts
01 //NE facing
04 03
01 01 01 01
80 80 80 80
80 80 80 80
// Define a sprite set for stations, one set, 95 views
10 * 4 01 0D 01 63
11 sprites/seaplaneport.pcx 194 8 09 31 64 -31 0
12 sprites/seaplaneport.pcx 274 8 09 31 64 -31 0
13 sprites/seaplaneport.pcx 354 8 09 31 64 -31 0
14 sprites/seaplaneport.pcx 434 8 09 31 64 -31 0
15 sprites/seaplaneport.pcx 514 8 09 31 64 -31 0
16 sprites/seaplaneport.pcx 594 8 09 31 64 -31 0
17 sprites/seaplaneport.pcx 674 8 09 55 64 -2 -38
18 sprites/seaplaneport.pcx 754 8 09 17 18 16 -1
19 sprites/seaplaneport.pcx 2 88 09 55 64 -2 -38
20 sprites/seaplaneport.pcx 82 88 09 17 18 -30 1
21 sprites/seaplaneport.pcx 114 88 09 55 64 -2 -38
22 sprites/seaplaneport.pcx 194 88 09 55 64 -2 -38
23 sprites/seaplaneport.pcx 274 88 09 14 24 -11 8
24 sprites/seaplaneport.pcx 306 88 09 31 64 -31 0
25 sprites/seaplaneport.pcx 386 88 09 31 64 -31 0
26 sprites/seaplaneport.pcx 466 88 09 31 64 -31 0
27 sprites/seaplaneport.pcx 546 88 09 31 64 -31 0
28 sprites/seaplaneport.pcx 626 88 09 8 18 0 0
29 sprites/seaplaneport.pcx 658 88 09 7 14 4 1
30 sprites/seaplaneport.pcx 690 88 09 8 12 0 0
31 sprites/seaplaneport.pcx 722 88 09 8 18 0 0
32 sprites/seaplaneport.pcx 754 88 09 5 12 4 2
33 sprites/seaplaneport.pcx 2 168 09 8 18 0 0
34 sprites/seaplaneport.pcx 34 168 09 8 18 0 0
35 sprites/seaplaneport.pcx 66 168 09 7 12 0 2
36 sprites/seaplaneport.pcx 98 168 09 8 18 0 0
37 sprites/seaplaneport.pcx 130 168 09 7 18 0 1
38 sprites/seaplaneport.pcx 162 168 09 6 16 2 0
39 sprites/seaplaneport.pcx 194 168 09 8 18 0 0
40 sprites/seaplaneport.pcx 226 168 09 8 16 2 0
41 sprites/seaplaneport.pcx 258 168 09 8 18 0 0
42 sprites/seaplaneport.pcx 290 168 09 7 14 0 0
43 sprites/seaplaneport.pcx 322 168 09 8 12 6 0
44 sprites/seaplaneport.pcx 354 168 09 8 18 0 0
45 sprites/seaplaneport.pcx 386 168 09 5 12 2 1
46 sprites/seaplaneport.pcx 418 168 09 8 18 0 0
47 sprites/seaplaneport.pcx 450 168 09 8 18 0 0
48 sprites/seaplaneport.pcx 482 168 09 7 12 6 -1
49 sprites/seaplaneport.pcx 514 168 09 8 18 0 0
50 sprites/seaplaneport.pcx 546 168 09 7 18 0 0
51 sprites/seaplaneport.pcx 578 168 09 6 16 0 2
52 sprites/seaplaneport.pcx 610 168 09 8 18 0 0
53 sprites/seaplaneport.pcx 642 168 09 8 16 0 0
54 sprites/seaplaneport.pcx 674 168 09 8 17 0 0
55 sprites/seaplaneport.pcx 706 168 09 7 15 3 0
56 sprites/seaplaneport.pcx 738 168 09 5 18 0 3
57 sprites/seaplaneport.pcx 770 168 09 8 18 0 0
58 sprites/seaplaneport.pcx 2 200 09 5 12 4 1
59 sprites/seaplaneport.pcx 34 200 09 8 18 0 0
60 sprites/seaplaneport.pcx 66 200 09 8 18 0 0
61 sprites/seaplaneport.pcx 98 200 09 7 13 5 1
62 sprites/seaplaneport.pcx 130 200 09 8 18 0 0
63 sprites/seaplaneport.pcx 162 200 09 8 15 3 0
64 sprites/seaplaneport.pcx 194 200 09 8 12 0 0
65 sprites/seaplaneport.pcx 226 200 09 8 18 0 0
66 sprites/seaplaneport.pcx 258 200 09 7 16 0 0
67 sprites/seaplaneport.pcx 290 200 09 8 17 1 0
68 sprites/seaplaneport.pcx 322 200 09 7 15 0 1
69 sprites/seaplaneport.pcx 354 200 09 5 18 0 0
70 sprites/seaplaneport.pcx 386 200 09 8 18 0 0
71 sprites/seaplaneport.pcx 418 200 09 5 12 2 2
72 sprites/seaplaneport.pcx 450 200 09 8 18 0 0
73 sprites/seaplaneport.pcx 482 200 09 8 18 0 0
74 sprites/seaplaneport.pcx 514 200 09 7 13 0 0
75 sprites/seaplaneport.pcx 546 200 09 8 18 0 0
76 sprites/seaplaneport.pcx 578 200 09 8 15 0 0
77 sprites/seaplaneport.pcx 610 200 09 8 12 6 0
78 sprites/seaplaneport.pcx 642 200 09 8 18 0 0
79 sprites/seaplaneport.pcx 674 200 09 7 16 2 1
80 sprites/seaplaneport.pcx 706 200 09 31 64 -31 0
81 sprites/seaplaneport.pcx 2 248 09 31 64 -31 0
82 sprites/seaplaneport.pcx 82 248 09 31 64 -31 0
83 sprites/seaplaneport.pcx 162 248 09 31 64 -31 0
84 sprites/seaplaneport.pcx 242 248 09 31 64 -31 0
85 sprites/seaplaneport.pcx 322 248 09 31 64 -31 0
86 sprites/seaplaneport.pcx 402 248 09 20 64 -31 0
87 sprites/seaplaneport.pcx 482 248 09 20 64 -31 11
88 sprites/seaplaneport.pcx 562 248 09 31 36 -3 0
89 sprites/seaplaneport.pcx 610 248 09 31 36 -31 0
90 sprites/seaplaneport.pcx 658 248 09 4 63 -30 12
91 sprites/seaplaneport.pcx 738 248 09 32 1 1 -1
92 sprites/seaplaneport.pcx 2 296 09 31 64 -31 0
93 sprites/seaplaneport.pcx 82 296 09 31 64 -31 0
94 sprites/seaplaneport.pcx 162 296 09 31 64 -31 0
95 sprites/seaplaneport.pcx 242 296 09 31 64 -31 0
96 sprites/seaplaneport.pcx 322 296 09 31 64 -31 0
97 sprites/seaplaneport.pcx 402 296 09 31 64 -31 0
98 sprites/seaplaneport.pcx 482 296 09 31 64 -31 0
99 sprites/seaplaneport.pcx 562 296 09 31 64 -31 0
100 sprites/seaplaneport.pcx 642 296 09 31 64 -31 0
101 sprites/seaplaneport.pcx 722 296 09 31 64 -31 0
102 sprites/seaplaneport.pcx 2 344 09 31 64 -31 0
103 sprites/seaplaneport.pcx 82 344 09 31 64 -31 0
104 sprites/seaplaneport.pcx 162 344 09 31 64 -31 0
105 sprites/seaplaneport.pcx 242 344 09 31 64 -31 0
106 sprites/seaplaneport.pcx 402 344 09 64 96 0 0
107 sprites/seaplaneport.pcx 510 344 09 64 96 0 0
108 sprites/seaplaneport.pcx 642 343 09 43 34 0 0
109 sprites/seaplaneport.pcx 690 343 09 32 41 -10 -10
// 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
//availability date varaction2
//seaplane airport available from 1925 (1920+05) to 2175 (1920+255)
111 * 14 02 0D
02 // ID
81 01 // Variable 01 (current date)
00 FF
01
01 FF 05 FF //1925-2175
00 FF
//!!Error (164): Offset 10: 13 is not a valid callback for this feature.
112 * 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, 3 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 * 24 04 0D FF 01 00 CD "Seaplane airports" 00
115 * 29 04 0D FF 01 00 CE "Small Seaplane 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