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

Comparing deliantra/server/socket/info.C (file contents):
Revision 1.55 by root, Fri Nov 6 12:49:19 2009 UTC vs.
Revision 1.56 by root, Fri Nov 6 13:07:28 2009 UTC

247} 247}
248 248
249/** 249/**
250 * Writes to everyone on the map except op1 and op2 250 * Writes to everyone on the map except op1 and op2
251 */ 251 */
252void 252static void
253new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str) 253new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str)
254{ 254{
255 for_all_players (pl) 255 for_all_players (pl)
256 if (pl->ob->map == map && pl->ob != op1 && pl->ob != op2) 256 if (pl->ob->map == map && pl->ob != op1 && pl->ob != op2)
257 new_draw_info (color, 0, pl->ob, str); 257 new_draw_info (color, 0, pl->ob, str);
365 * is for open spaces. map_mark should already have been initialised 365 * is for open spaces. map_mark should already have been initialised
366 * to zero before this is called. 366 * to zero before this is called.
367 * strength is an initial strength*2 rectangular area that we automatically 367 * strength is an initial strength*2 rectangular area that we automatically
368 * see in/penetrate through. 368 * see in/penetrate through.
369 */ 369 */
370void 370static void
371magic_mapping_mark (object *pl, char *map_mark, int strength) 371magic_mapping_mark (object *pl, char *map_mark, int strength)
372{ 372{
373 for (int x = -strength; x < strength; x++) 373 for (int x = -strength; x < strength; x++)
374 { 374 {
375 for (int y = -strength; y < strength; y++) 375 for (int y = -strength; y < strength; y++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines