… | |
… | |
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 | */ |
252 | void |
252 | static void |
253 | new_info_map_except2 (int color, maptile * map, object *op1, object *op2, const char *str) |
253 | new_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 | */ |
370 | void |
370 | static void |
371 | magic_mapping_mark (object *pl, char *map_mark, int strength) |
371 | magic_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++) |