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 |
… | |
… | |
183 | precious |
204 | precious |
184 | protected |
205 | protected |
185 | race |
206 | race |
186 | random_move |
207 | random_move |
187 | random_movement |
208 | random_movement |
|
|
209 | random_speed |
188 | randomitems |
210 | randomitems |
189 | range |
211 | range |
190 | range_modifier |
212 | range_modifier |
191 | reflect_missile |
213 | reflect_missile |
192 | reflect_spell |
214 | reflect_spell |
… | |
… | |
229 | sound_destroy |
251 | sound_destroy |
230 | smoothlevel |
252 | smoothlevel |
231 | sp |
253 | sp |
232 | speed |
254 | speed |
233 | speed_left |
255 | speed_left |
|
|
256 | sl |
234 | splitting |
257 | splitting |
235 | stand_still |
258 | stand_still |
236 | startequip |
259 | startequip |
237 | state |
260 | state |
238 | stealth |
261 | stealth |
239 | str |
262 | str |
240 | subtype |
263 | subtype |
241 | tag |
264 | tag |
242 | tear_down |
265 | tear_down |
243 | title |
266 | title |
244 | tooltype |
|
|
245 | treasure_env |
267 | treasure_env |
246 | type |
268 | type |
247 | unaggressive |
269 | unaggressive |
248 | undead |
270 | undead |
249 | unique |
271 | unique |
… | |
… | |
288 | tile_path_3 |
310 | tile_path_3 |
289 | tile_path_4 |
311 | tile_path_4 |
290 | |
312 | |
291 | file_format_version |
313 | file_format_version |
292 | |
314 | |
293 | temp |
|
|
294 | pressure |
|
|
295 | humid |
|
|
296 | windspeed |
|
|
297 | winddir |
|
|
298 | sky |
|
|
299 | |
|
|
300 | map |
315 | map |
301 | savebed_map |
316 | savebed_map |
302 | bed_x |
317 | bed_x |
303 | bed_y |
318 | bed_y |
304 | password |
319 | password |
… | |
… | |
327 | longname |
342 | longname |
328 | jail_map |
343 | jail_map |
329 | jail_x |
344 | jail_x |
330 | jail_y |
345 | jail_y |
331 | portal_map |
346 | portal_map |
332 | portal_x |
|
|
333 | portal_y |
|
|
334 | fallback |
347 | fallback |
335 | nomore |
348 | nomore |
336 | |
349 | |
337 | chance |
350 | chance |
338 | mods |
351 | mods |
… | |
… | |
368 | change_name |
381 | change_name |
369 | change_title |
382 | change_title |
370 | change_slaying |
383 | change_slaying |
371 | yes |
384 | yes |
372 | no |
385 | no |
|
|
386 | |
|
|
387 | max_level |
|
|
388 | |
|
|
389 | authour |
|
|
390 | size |
|
|
391 | index |
373 | ); |
392 | ); |
374 | |
393 | |
375 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
394 | open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" |
376 | or die "$ARGV{GPERF}: $!"; |
395 | or die "$ARGV{GPERF}: $!"; |
377 | |
396 | |