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.2 by root, Thu Jun 7 19:12:22 2007 UTC vs.
Revision 1.21 by root, Sat May 7 20:03:28 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 31 gender
10 walk_on 32 hintmode
11 walk_off
12 fly_on
13 fly_off
14 flying
15
16 attack_skill 33 attack_skill
17 ranged_skill 34 ranged_skill
18 35
19 ac 36 ac
20 activate_on_push 37 activate_on_push
112 is_blind 129 is_blind
113 is_buildable 130 is_buildable
114 is_cauldron 131 is_cauldron
115 is_dust 132 is_dust
116 is_floor 133 is_floor
134 is_transparent_floor
117 is_hilly 135 is_hilly
118 is_lightable 136 is_lightable
119 is_thrown 137 is_thrown
120 is_turnable 138 is_turnable
121 is_used_up 139 is_used_up
154 name_pl 172 name_pl
155 neutral 173 neutral
156 no_attack 174 no_attack
157 no_damage 175 no_damage
158 no_drop 176 no_drop
159 no_fix_player
160 no_magic 177 no_magic
161 no_pick 178 no_pick
162 no_skill_ident 179 no_skill_ident
163 no_steal 180 no_steal
164 no_strength 181 no_strength
168 oid 185 oid
169 one_hit 186 one_hit
170 only_attack 187 only_attack
171 other_arch 188 other_arch
172 overlay_floor 189 overlay_floor
190 owner
173 path_attuned 191 path_attuned
174 path_denied 192 path_denied
175 path_repelled 193 path_repelled
176 perm_exp 194 perm_exp
177 pick_up 195 pick_up
178 player_sold 196 player_sold
179 pow 197 pow
180 precious 198 precious
181 protected 199 protected
200 is_quad
182 race 201 race
183 random_move 202 random_move
184 random_movement 203 random_movement
204 random_speed
185 randomitems 205 randomitems
186 range 206 range
187 range_modifier 207 range_modifier
188 reflect_missile 208 reflect_missile
189 reflect_spell 209 reflect_spell
220 see_invisible 240 see_invisible
221 skill 241 skill
222 slaying 242 slaying
223 sleep 243 sleep
224 slow_move 244 slow_move
245 sound
246 sound_destroy
225 smoothlevel 247 smoothlevel
226 sp 248 sp
227 speed 249 speed
228 speed_left 250 speed_left
251 sl
229 splitting 252 splitting
230 stand_still 253 stand_still
231 startequip 254 startequip
232 state 255 state
233 stealth 256 stealth
234 str 257 str
235 subtype 258 subtype
259 tag
236 tear_down 260 tear_down
237 title 261 title
238 tooltype
239 treasure_env 262 treasure_env
240 type 263 type
241 unaggressive 264 unaggressive
242 undead 265 undead
243 unique 266 unique
279 outdoor 302 outdoor
280 tile_path_1 303 tile_path_1
281 tile_path_2 304 tile_path_2
282 tile_path_3 305 tile_path_3
283 tile_path_4 306 tile_path_4
307 tile_path_5
308 tile_path_6
284 309
285 file_format_version 310 file_format_version
286
287 temp
288 pressure
289 humid
290 windspeed
291 winddir
292 sky
293 311
294 map 312 map
295 savebed_map 313 savebed_map
296 bed_x 314 bed_x
297 bed_y 315 bed_y
315 endplst 333 endplst
316 334
317 visibility 335 visibility
318 magicmap 336 magicmap
319 337
320 match
321 parent 338 parent
322 longname 339 longname
323 jail_map 340 jail_map
324 jail_x 341 jail_x
325 jail_y 342 jail_y
326 portal_map 343 portal_map
327 portal_x
328 portal_y
329 fallback 344 fallback
330 nomore 345 nomore
331 346
332 chance 347 chance
333 mods 348 mods
363 change_name 378 change_name
364 change_title 379 change_title
365 change_slaying 380 change_slaying
366 yes 381 yes
367 no 382 no
383
384 max_level
385
386 authour
387 size
388 index
368); 389);
369 390
370open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h" 391open GPERF, "|-", "exec $ARG{GPERF} -m50 >kw_hash.h"
371 or die "$ARGV{GPERF}: $!"; 392 or die "$ARGV{GPERF}: $!";
372 393

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines