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

Comparing deliantra/server/include/preprocess (file contents):
Revision 1.4 by root, Sun Sep 3 22:45:56 2006 UTC vs.
Revision 1.7 by root, Thu Sep 21 00:05:25 2006 UTC

92 has_ready_rod 92 has_ready_rod
93 has_ready_scroll 93 has_ready_scroll
94 has_ready_skill 94 has_ready_skill
95 has_ready_wand 95 has_ready_wand
96 has_ready_weapon 96 has_ready_weapon
97 has_ready_range
97 hitback 98 hitback
98 hp 99 hp
99 identified 100 identified
100 immune 101 immune
101 int 102 int
103 invisible 104 invisible
104 is_animated 105 is_animated
105 is_blind 106 is_blind
106 is_buildable 107 is_buildable
107 is_cauldron 108 is_cauldron
109 is_dust
108 is_floor 110 is_floor
109 is_hilly 111 is_hilly
110 is_lightable 112 is_lightable
111 is_thrown 113 is_thrown
112 is_turnable 114 is_turnable
164 path_attuned 166 path_attuned
165 path_denied 167 path_denied
166 path_repelled 168 path_repelled
167 perm_exp 169 perm_exp
168 pick_up 170 pick_up
171 player_sold
169 pow 172 pow
170 protected 173 protected
171 race 174 race
172 random_move 175 random_move
173 random_movement 176 random_movement
230 unaggressive 233 unaggressive
231 undead 234 undead
232 unique 235 unique
233 unpaid 236 unpaid
234 use_content_on_gen 237 use_content_on_gen
238 uuid
235 value 239 value
236 vulnerable 240 vulnerable
237 was_wiz 241 was_wiz
238 wc 242 wc
239 weapontype 243 weapontype
242 wis 246 wis
243 wiz 247 wiz
244 x 248 x
245 xrays 249 xrays
246 y 250 y
251
252 Object
253 Str
254 Dex
255 Con
256 Wis
257 Cha
258 Int
259 Pow
260 More
247); 261);
248 262
249open GPERF, "|-", "gperf -m50 >kw_hash.h" 263open GPERF, "|-", "gperf -m50 >kw_hash.h"
250 or die "gperf: $!"; 264 or die "gperf: $!";
251 265
254%enum 268%enum
255%define class-name kw_lex 269%define class-name kw_lex
256%define lookup-function-name match 270%define lookup-function-name match
257%struct-type 271%struct-type
258%compare-strncmp 272%compare-strncmp
259%ignore-case
260%delimiters=, 273%delimiters=,
261struct keyword_idx { const char *name; enum keyword index; }; 274struct keyword_idx { const char *name; enum keyword index; };
262%% 275%%
263EOF 276EOF
264 277
287print KW <<EOF; 300print KW <<EOF;
288#ifndef KW_H__ 301#ifndef KW_H__
289#define KW_H__ 302#define KW_H__
290 303
291enum keyword { 304enum keyword {
292 KW_EOF, KW_ERROR, 305 KW_NULL = 0,
306 KW_EOF = 0,
307 KW_ERROR,
293EOF 308EOF
294 309
295for (@kw) { 310for (@kw) {
296 printf KW " %s,\n", "KW_$_", 311 printf KW " %s,\n", "KW_$_",
297} 312}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines