… | |
… | |
26 | |
26 | |
27 | use List::Util; |
27 | use List::Util; |
28 | |
28 | |
29 | # todo: gather dynamically |
29 | # todo: gather dynamically |
30 | my @kw = qw( |
30 | my @kw = qw( |
31 | no_pass |
|
|
32 | walk_on |
|
|
33 | walk_off |
|
|
34 | fly_on |
|
|
35 | fly_off |
|
|
36 | flying |
|
|
37 | |
|
|
38 | gender |
31 | gender |
39 | hintmode |
32 | hintmode |
40 | attack_skill |
33 | attack_skill |
41 | ranged_skill |
34 | ranged_skill |
42 | |
35 | |
… | |
… | |
136 | is_blind |
129 | is_blind |
137 | is_buildable |
130 | is_buildable |
138 | is_cauldron |
131 | is_cauldron |
139 | is_dust |
132 | is_dust |
140 | is_floor |
133 | is_floor |
|
|
134 | is_transparent_floor |
141 | is_hilly |
135 | is_hilly |
142 | is_lightable |
136 | is_lightable |
143 | is_thrown |
137 | is_thrown |
144 | is_turnable |
138 | is_turnable |
145 | is_used_up |
139 | is_used_up |
… | |
… | |
178 | name_pl |
172 | name_pl |
179 | neutral |
173 | neutral |
180 | no_attack |
174 | no_attack |
181 | no_damage |
175 | no_damage |
182 | no_drop |
176 | no_drop |
183 | no_fix_player |
|
|
184 | no_magic |
177 | no_magic |
185 | no_pick |
178 | no_pick |
186 | no_skill_ident |
179 | no_skill_ident |
187 | no_steal |
180 | no_steal |
188 | no_strength |
181 | no_strength |
… | |
… | |
202 | pick_up |
195 | pick_up |
203 | player_sold |
196 | player_sold |
204 | pow |
197 | pow |
205 | precious |
198 | precious |
206 | protected |
199 | protected |
|
|
200 | is_quad |
207 | race |
201 | race |
208 | random_move |
202 | random_move |
209 | random_movement |
203 | random_movement |
|
|
204 | random_speed |
210 | randomitems |
205 | randomitems |
211 | range |
206 | range |
212 | range_modifier |
207 | range_modifier |
213 | reflect_missile |
208 | reflect_missile |
214 | reflect_spell |
209 | reflect_spell |
… | |
… | |
251 | sound_destroy |
246 | sound_destroy |
252 | smoothlevel |
247 | smoothlevel |
253 | sp |
248 | sp |
254 | speed |
249 | speed |
255 | speed_left |
250 | speed_left |
|
|
251 | sl |
256 | splitting |
252 | splitting |
257 | stand_still |
253 | stand_still |
258 | startequip |
254 | startequip |
259 | state |
255 | state |
260 | stealth |
256 | stealth |
… | |
… | |
306 | outdoor |
302 | outdoor |
307 | tile_path_1 |
303 | tile_path_1 |
308 | tile_path_2 |
304 | tile_path_2 |
309 | tile_path_3 |
305 | tile_path_3 |
310 | tile_path_4 |
306 | tile_path_4 |
|
|
307 | tile_path_5 |
|
|
308 | tile_path_6 |
311 | |
309 | |
312 | file_format_version |
310 | file_format_version |
313 | |
|
|
314 | temp |
|
|
315 | pressure |
|
|
316 | humid |
|
|
317 | windspeed |
|
|
318 | winddir |
|
|
319 | sky |
|
|
320 | |
311 | |
321 | map |
312 | map |
322 | savebed_map |
313 | savebed_map |
323 | bed_x |
314 | bed_x |
324 | bed_y |
315 | bed_y |
… | |
… | |
348 | longname |
339 | longname |
349 | jail_map |
340 | jail_map |
350 | jail_x |
341 | jail_x |
351 | jail_y |
342 | jail_y |
352 | portal_map |
343 | portal_map |
353 | portal_x |
|
|
354 | portal_y |
|
|
355 | fallback |
344 | fallback |
356 | nomore |
345 | nomore |
357 | |
346 | |
358 | chance |
347 | chance |
359 | mods |
348 | mods |
… | |
… | |
389 | change_name |
378 | change_name |
390 | change_title |
379 | change_title |
391 | change_slaying |
380 | change_slaying |
392 | yes |
381 | yes |
393 | no |
382 | no |
|
|
383 | |
|
|
384 | max_level |
|
|
385 | |
|
|
386 | authour |
|
|
387 | size |
|
|
388 | index |
394 | ); |
389 | ); |
395 | |
390 | |
396 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
391 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
397 | or die "$ARGV{GPERF}: $!"; |
392 | or die "$ARGV{GPERF}: $!"; |
398 | |
393 | |