ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/genkeywords
(Generate patch)

Comparing deliantra/server/include/genkeywords (file contents):
Revision 1.10 by root, Mon Sep 8 11:27:25 2008 UTC vs.
Revision 1.20 by root, Sat May 7 17:14:41 2011 UTC

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
3my %ARG = @ARGV; 25my %ARG = @ARGV;
4 26
5use List::Util; 27use List::Util;
6 28
7# todo: gather dynamically 29# todo: gather dynamically
8my @kw = qw( 30my @kw = qw(
9 no_pass
10 walk_on
11 walk_off
12 fly_on
13 fly_off
14 flying
15
16 gender 31 gender
17 hintmode 32 hintmode
18 attack_skill 33 attack_skill
19 ranged_skill 34 ranged_skill
20 35
156 name_pl 171 name_pl
157 neutral 172 neutral
158 no_attack 173 no_attack
159 no_damage 174 no_damage
160 no_drop 175 no_drop
161 no_fix_player
162 no_magic 176 no_magic
163 no_pick 177 no_pick
164 no_skill_ident 178 no_skill_ident
165 no_steal 179 no_steal
166 no_strength 180 no_strength
180 pick_up 194 pick_up
181 player_sold 195 player_sold
182 pow 196 pow
183 precious 197 precious
184 protected 198 protected
199 is_quad
185 race 200 race
186 random_move 201 random_move
187 random_movement 202 random_movement
203 random_speed
188 randomitems 204 randomitems
189 range 205 range
190 range_modifier 206 range_modifier
191 reflect_missile 207 reflect_missile
192 reflect_spell 208 reflect_spell
229 sound_destroy 245 sound_destroy
230 smoothlevel 246 smoothlevel
231 sp 247 sp
232 speed 248 speed
233 speed_left 249 speed_left
250 sl
234 splitting 251 splitting
235 stand_still 252 stand_still
236 startequip 253 startequip
237 state 254 state
238 stealth 255 stealth
239 str 256 str
240 subtype 257 subtype
241 tag 258 tag
242 tear_down 259 tear_down
243 title 260 title
244 tooltype
245 treasure_env 261 treasure_env
246 type 262 type
247 unaggressive 263 unaggressive
248 undead 264 undead
249 unique 265 unique
285 outdoor 301 outdoor
286 tile_path_1 302 tile_path_1
287 tile_path_2 303 tile_path_2
288 tile_path_3 304 tile_path_3
289 tile_path_4 305 tile_path_4
306 tile_path_5
307 tile_path_6
290 308
291 file_format_version 309 file_format_version
292
293 temp
294 pressure
295 humid
296 windspeed
297 winddir
298 sky
299 310
300 map 311 map
301 savebed_map 312 savebed_map
302 bed_x 313 bed_x
303 bed_y 314 bed_y
327 longname 338 longname
328 jail_map 339 jail_map
329 jail_x 340 jail_x
330 jail_y 341 jail_y
331 portal_map 342 portal_map
332 portal_x
333 portal_y
334 fallback 343 fallback
335 nomore 344 nomore
336 345
337 chance 346 chance
338 mods 347 mods
368 change_name 377 change_name
369 change_title 378 change_title
370 change_slaying 379 change_slaying
371 yes 380 yes
372 no 381 no
382
383 max_level
384
385 authour
386 size
387 index
373); 388);
374 389
375open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" 390open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h"
376 or die "$ARGV{GPERF}: $!"; 391 or die "$ARGV{GPERF}: $!";
377 392

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines