File: example_object.nfo

package info (click to toggle)
nml 0.7.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,792 kB
  • sloc: python: 18,398; ansic: 109; makefile: 69
file content (194 lines) | stat: -rw-r--r-- 5,431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
// Automatically generated by GRFCODEC. Do not modify!
// (Info version 32)
// Escapes: 2+ 2- 2< 2> 2u< 2u> 2/ 2% 2u/ 2u% 2* 2& 2| 2^ 2sto = 2s 2rst = 2r 2psto 2ror = 2rot 2cmp 2ucmp 2<< 2u>> 2>>
// Escapes: 71 70 7= 7! 7< 7> 7G 7g 7gG 7GG 7gg 7c 7C
// Escapes: D= = DR D+ = DF D- = DC Du* = DM D* = DnF Du<< = DnC D<< = DO D& D| Du/ D/ Du% D%
// Format: spritenum imagefile depth xpos ypos xsize ysize xrel yrel zoom flags

0 * 4 \d39

1 * 54 14 "C" "INFO"
"B" "VRSN" \w4 \dx00000001
"B" "MINV" \w4 \dx00000001
"B" "NPAR" \w1 00
"B" "PALS" \w1 "D"
"B" "BLTR" \w1 "8"
00
00
2 * 292 08 08 "NML\01" "NML Example NewGRF: Object" 00 "\8ENML Example NewGRF: Object\0D\98This NewGRF is intended to provide a coding example for the high-level NewGRF-coding language NML.\0DOriginal graphics by \89planetmaker, \98coding by \89planetmaker.\0D\98This NewGRF defines a tile which can act as company-land replacement." 00
3 * 34 04 0F FF 02 \wxD000 "Infrastructure" 00 "Company land" 00

4 * 19 04 00 FF 01 \wxD002 "Company land" 00

// param[126] = param[161]
5 * 5 0D 7E \D= A1 00

// param[127] = (param[126] - 302012611)
6 * 9 0D 7F \D- 7E FF \dx120058C3

// param[127] = (param[127] << -31)
7 * 9 0D 7F \Du<< 7F FF \dxFFFFFFE1

8 * 9 09 7F 04 \7= \dx00000000 01

9 * 19 0B 03 7F 06 "1.2.0 (r22723)" 00

10 * 6 01 0F \b1 FF \wx0013

11 cc_grid.png 8bpp 1 1 64 31 -31 0 normal
12 cc_grid.png 8bpp 81 1 64 31 -31 0 normal
13 cc_grid.png 8bpp 161 1 64 23 -31 0 normal
14 cc_grid.png 8bpp 241 1 64 23 -31 0 normal
15 cc_grid.png 8bpp 321 1 64 31 -31 0 normal
16 cc_grid.png 8bpp 399 1 64 31 -31 0 normal
17 cc_grid.png 8bpp 479 1 64 23 -31 0 normal
18 cc_grid.png 8bpp 559 1 64 23 -31 0 normal
19 cc_grid.png 8bpp 639 1 64 39 -31 -8 normal
20 cc_grid.png 8bpp 719 1 64 39 -31 -8 normal
21 cc_grid.png 8bpp 799 1 64 31 -31 -8 normal
22 cc_grid.png 8bpp 879 1 64 31 -31 -8 normal
23 cc_grid.png 8bpp 959 1 64 39 -31 -8 normal
24 cc_grid.png 8bpp 1039 1 64 39 -31 -8 normal
25 cc_grid.png 8bpp 1119 1 64 31 -31 -8 normal
26 cc_grid.png 8bpp 1197 1 64 47 -31 -16 normal
27 cc_grid.png 8bpp 1277 1 64 15 -31 0 normal
28 cc_grid.png 8bpp 1357 1 64 31 -31 -8 normal
29 cc_grid.png 8bpp 1437 1 64 31 -31 -8 normal

// Name: company_land_layout - feature 0F
30 * 31 02 0F FF \b66 \dx00000000 \wx0002 80
\dxC0008000 \wx0002 \b0 \b0 80 00
\dx00000000 \wx0002 \b0 \b0 80 81

// Name: company_land_layout@registers - feature 0F
31 * 62 02 0F FF 89
7D 00 20 \dxFFFFFFFF
\2+ 7D 01 20 \dxFFFFFFFF
\2sto 1A 20 \dx00000080
\2r 7D 00 20 \dxFFFFFFFF
\2+ 7D 01 20 \dxFFFFFFFF
\2sto 1A 00 \dx00000081
\b1
\wx00FF \dx00000000 \dx00000000
\wx00FF //

// Name: @CB_FAILED_LAYOUT0F
32 * 17 02 0F FE \b0 \dx00000000
\dx00000000 \b0 \b0 \b0 \b0 \b0
// Name: @CB_FAILED0F
33 * 23 02 0F FE 89
0C 00 \dx0000FFFF
\b1
\wx8000 \dx00000000 \dx00000000 	// graphics callback -> return 0
\wx00FE // Non-graphics callback, return graphics result

// Name: company_land_terrain_switch
34 * 470 02 0F FD 89
41 28 \dx0000001F
\2cmp 1A 20 \dx0000001E
\2& 1A 20 \dx00000001
\2* 1A 20 \dx00000012
\2sto 1A 20 \dx00000080
\2r 41 28 \dx0000001F
\2cmp 1A 20 \dx0000001D
\2& 1A 20 \dx00000001
\2* 1A 20 \dx0000000F
\2sto 1A 20 \dx00000081
\2r 41 28 \dx0000001F
\2cmp 1A 20 \dx0000001B
\2& 1A 20 \dx00000001
\2* 1A 20 \dx00000011
\2sto 1A 20 \dx00000082
\2r 41 28 \dx0000001F
\2cmp 1A 20 \dx00000017
\2& 1A 20 \dx00000001
\2* 1A 20 \dx00000010
\2sto 1A 20 \dx00000083
\2r 41 28 \dx0000001F
\2cmp 1A 20 \dx00000000
\2< 1A 20 \dx00000001
\2sto 1A 20 \dx00000084
\2r 41 28 \dx0000001F
\2cmp 1A 20 \dx0000000E
\2^ 1A 20 \dx00000002
\2< 1A 20 \dx00000001
\2& 7D 84 20 \dxFFFFFFFF
\2* 41 28 \dx0000001F
\2+ 7D 83 20 \dxFFFFFFFF
\2+ 7D 82 20 \dxFFFFFFFF
\2+ 7D 81 20 \dxFFFFFFFF
\2+ 7D 80 20 \dxFFFFFFFF
\2sto 1A 20 \dx00000000
\2r 1A 20 \dx00000F8D
\2sto 1A 20 \dx00000001
\2r 41 20 \dx00000007
\2cmp 1A 20 \dx00000001
\2& 1A 20 \dx00000001
\2sto 1A 20 \dx00000085 	// guard
\2^ 1A 20 \dx00000001
\2sto 1A 20 \dx00000086 	// !guard
\2r 7D 01 20 \dxFFFFFFFF
\2* 7D 86 20 \dxFFFFFFFF
\2sto 1A 20 \dx00000087
\2r 7D 85 20 \dxFFFFFFFF
\2* 1A 20 \dx000011C6
\2+ 7D 87 20 \dxFFFFFFFF
\2sto 1A 20 \dx00000001
\2r 41 20 \dx00000007
\2cmp 1A 20 \dx00000004
\2& 1A 20 \dx00000001
\2sto 1A 20 \dx00000088 	// guard
\2^ 1A 20 \dx00000001
\2sto 1A 20 \dx00000089 	// !guard
\2r 7D 01 20 \dxFFFFFFFF
\2* 7D 89 20 \dxFFFFFFFF
\2sto 1A 20 \dx0000008A
\2r 7D 88 20 \dxFFFFFFFF
\2* 1A 20 \dx000011C6
\2+ 7D 8A 20 \dxFFFFFFFF
\2sto 1A 00 \dx00000001
\b1
\wx00FE \dx00000001 \dx00000000 	// Bogus range to avoid nvar == 0
\wx00FF // default: company_land_layout;

// Name: company_land_purchase_switch
35 * 51 02 0F FF 89
1A 20 \dx00000000
\2sto 1A 20 \dx00000000
\2r 1A 20 \dx00000F8D
\2sto 1A 20 \dx00000001
\2r 1A 00 \dx00000001
\b1
\wx00FE \dx00000001 \dx00000000 	// Bogus range to avoid nvar == 0
\wx00FF // default: company_land_layout;

36 * 43 00 0F \b12 01 FF \wx0000
08 "INFR"
09 \wxD000
0A \wxD001
0B 0F
0C 11
0D 01
14 01
0E \dx0000016E
0F \dx0037BB49
10 \wx0834
16 00
17 01

37 * 10 00 0F \b1 01 FF \wx0000
15 \wx0011

// Name: @action3_0
38 * 43 02 0F FF 89
0C 00 \dx0000FFFF
\b3
\wx00FF \dx00000000 \dx00000000 	// company_land_purchase_switch;
\wx8400 \dx00000157 \dx00000157 	// return 1024;
\wx8002 \dx0000015C \dx0000015C 	// return string(STR_NAME_COMPANY_LAND);
\wx00FD // company_land_terrain_switch;

39 * 10 03 0F 01 00 \b1
FF \wx00FF 	// @action3_0;
\wx00FD 	// company_land_terrain_switch;