ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/random_maps/special.C
(Generate patch)

Comparing deliantra/server/random_maps/special.C (file contents):
Revision 1.2 by root, Tue Aug 29 08:01:36 2006 UTC vs.
Revision 1.3 by root, Sun Sep 3 00:18:41 2006 UTC

1/* 1/*
2 * static char *rcsid_special_c = 2 * static char *rcsid_special_c =
3 * "$Id: special.C,v 1.2 2006/08/29 08:01:36 root Exp $"; 3 * "$Id: special.C,v 1.3 2006/09/03 00:18:41 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
157 ix += freearr_x[i]; 157 ix += freearr_x[i];
158 iy += freearr_y[i]; 158 iy += freearr_y[i];
159 potion->face=fountain->face; 159 potion->face=fountain->face;
160 SET_FLAG(potion,FLAG_NO_PICK); 160 SET_FLAG(potion,FLAG_NO_PICK);
161 SET_FLAG(potion,FLAG_IDENTIFIED); 161 SET_FLAG(potion,FLAG_IDENTIFIED);
162 potion->name=add_string("fountain"); 162 potion->name = potion->name_pl = "fountain";
163 potion->name_pl=add_string("fountain");
164 potion->x = ix; 163 potion->x = ix;
165 potion->y = iy; 164 potion->y = iy;
166 potion->material=M_ADAMANT; 165 potion->material=M_ADAMANT;
167 fountain->x = ix; 166 fountain->x = ix;
168 fountain->y = iy; 167 fountain->y = iy;
240 239
241 write_parameters_to_string(buf, g_xsize, g_ysize,RP->wallstyle,RP->floorstyle,mon, 240 write_parameters_to_string(buf, g_xsize, g_ysize,RP->wallstyle,RP->floorstyle,mon,
242 "none",style,decor,"none",RP->exitstyle,0,0,0, 241 "none",style,decor,"none",RP->exitstyle,0,0,0,
243 OPT_WALLS_ONLY,0,0,1,RP->dungeon_level,RP->dungeon_level, 242 OPT_WALLS_ONLY,0,0,1,RP->dungeon_level,RP->dungeon_level,
244 RP->difficulty,RP->difficulty,-1,1,0,0,0,0, RP->difficulty_increase); 243 RP->difficulty,RP->difficulty,-1,1,0,0,0,0, RP->difficulty_increase);
245 the_exit->slaying = add_string("/!"); 244 the_exit->slaying = "/!";
246 the_exit->msg = add_string(buf); 245 the_exit->msg = buf;
247 246
248 insert_ob_in_map(the_exit,map,NULL,0); 247 insert_ob_in_map(the_exit,map,NULL,0);
249} 248}
250 249
251 250

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines