1 | #!/opt/bin/perl |
1 | #!/opt/bin/perl |
|
|
2 | |
|
|
3 | # |
|
|
4 | # This file is part of Deliantra, the Roguelike Realtime MMORPG. |
|
|
5 | # |
|
|
6 | # Copyright (©) 2005,2006,2007,2008,2009 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
|
|
7 | # |
|
|
8 | # Deliantra is free software: you can redistribute it and/or modify it under |
|
|
9 | # the terms of the Affero GNU General Public License as published by the |
|
|
10 | # Free Software Foundation, either version 3 of the License, or (at your |
|
|
11 | # option) any later version. |
|
|
12 | # |
|
|
13 | # This program is distributed in the hope that it will be useful, |
|
|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
16 | # GNU General Public License for more details. |
|
|
17 | # |
|
|
18 | # You should have received a copy of the Affero GNU General Public License |
|
|
19 | # and the GNU General Public License along with this program. If not, see |
|
|
20 | # <http://www.gnu.org/licenses/>. |
|
|
21 | # |
|
|
22 | # The authors can be reached via e-mail to <support@deliantra.net> |
|
|
23 | # |
2 | |
24 | |
3 | my %ARG = @ARGV; |
25 | my %ARG = @ARGV; |
4 | |
26 | |
5 | use List::Util; |
27 | use List::Util; |
6 | |
28 | |
… | |
… | |
156 | name_pl |
178 | name_pl |
157 | neutral |
179 | neutral |
158 | no_attack |
180 | no_attack |
159 | no_damage |
181 | no_damage |
160 | no_drop |
182 | no_drop |
161 | no_fix_player |
|
|
162 | no_magic |
183 | no_magic |
163 | no_pick |
184 | no_pick |
164 | no_skill_ident |
185 | no_skill_ident |
165 | no_steal |
186 | no_steal |
166 | no_strength |
187 | no_strength |
… | |
… | |
180 | pick_up |
201 | pick_up |
181 | player_sold |
202 | player_sold |
182 | pow |
203 | pow |
183 | precious |
204 | precious |
184 | protected |
205 | protected |
|
|
206 | is_quad |
185 | race |
207 | race |
186 | random_move |
208 | random_move |
187 | random_movement |
209 | random_movement |
|
|
210 | random_speed |
188 | randomitems |
211 | randomitems |
189 | range |
212 | range |
190 | range_modifier |
213 | range_modifier |
191 | reflect_missile |
214 | reflect_missile |
192 | reflect_spell |
215 | reflect_spell |
… | |
… | |
229 | sound_destroy |
252 | sound_destroy |
230 | smoothlevel |
253 | smoothlevel |
231 | sp |
254 | sp |
232 | speed |
255 | speed |
233 | speed_left |
256 | speed_left |
|
|
257 | sl |
234 | splitting |
258 | splitting |
235 | stand_still |
259 | stand_still |
236 | startequip |
260 | startequip |
237 | state |
261 | state |
238 | stealth |
262 | stealth |
239 | str |
263 | str |
240 | subtype |
264 | subtype |
241 | tag |
265 | tag |
242 | tear_down |
266 | tear_down |
243 | title |
267 | title |
244 | tooltype |
|
|
245 | treasure_env |
268 | treasure_env |
246 | type |
269 | type |
247 | unaggressive |
270 | unaggressive |
248 | undead |
271 | undead |
249 | unique |
272 | unique |
… | |
… | |
285 | outdoor |
308 | outdoor |
286 | tile_path_1 |
309 | tile_path_1 |
287 | tile_path_2 |
310 | tile_path_2 |
288 | tile_path_3 |
311 | tile_path_3 |
289 | tile_path_4 |
312 | tile_path_4 |
|
|
313 | tile_path_5 |
|
|
314 | tile_path_6 |
290 | |
315 | |
291 | file_format_version |
316 | file_format_version |
292 | |
|
|
293 | temp |
|
|
294 | pressure |
|
|
295 | humid |
|
|
296 | windspeed |
|
|
297 | winddir |
|
|
298 | sky |
|
|
299 | |
317 | |
300 | map |
318 | map |
301 | savebed_map |
319 | savebed_map |
302 | bed_x |
320 | bed_x |
303 | bed_y |
321 | bed_y |
… | |
… | |
327 | longname |
345 | longname |
328 | jail_map |
346 | jail_map |
329 | jail_x |
347 | jail_x |
330 | jail_y |
348 | jail_y |
331 | portal_map |
349 | portal_map |
332 | portal_x |
|
|
333 | portal_y |
|
|
334 | fallback |
350 | fallback |
335 | nomore |
351 | nomore |
336 | |
352 | |
337 | chance |
353 | chance |
338 | mods |
354 | mods |
… | |
… | |
368 | change_name |
384 | change_name |
369 | change_title |
385 | change_title |
370 | change_slaying |
386 | change_slaying |
371 | yes |
387 | yes |
372 | no |
388 | no |
|
|
389 | |
|
|
390 | max_level |
|
|
391 | |
|
|
392 | authour |
|
|
393 | size |
|
|
394 | index |
373 | ); |
395 | ); |
374 | |
396 | |
375 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
397 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
376 | or die "$ARGV{GPERF}: $!"; |
398 | or die "$ARGV{GPERF}: $!"; |
377 | |
399 | |