… | |
… | |
349 | /** |
349 | /** |
350 | * Writes to everyone on the map *except* op. This is useful for emotions. |
350 | * Writes to everyone on the map *except* op. This is useful for emotions. |
351 | */ |
351 | */ |
352 | |
352 | |
353 | void |
353 | void |
354 | new_info_map_except (int color, mapstruct *map, object *op, const char *str) |
354 | new_info_map_except (int color, maptile *map, object *op, const char *str) |
355 | { |
355 | { |
356 | player *pl; |
356 | player *pl; |
357 | |
357 | |
358 | for (pl = first_player; pl != NULL; pl = pl->next) |
358 | for (pl = first_player; pl != NULL; pl = pl->next) |
359 | if (pl->ob != NULL && pl->ob->map == map && pl->ob != op) |
359 | if (pl->ob != NULL && pl->ob->map == map && pl->ob != op) |
… | |
… | |
365 | /** |
365 | /** |
366 | * Writes to everyone on the map except op1 and op2 |
366 | * Writes to everyone on the map except op1 and op2 |
367 | */ |
367 | */ |
368 | |
368 | |
369 | void |
369 | void |
370 | new_info_map_except2 (int color, mapstruct *map, object *op1, object *op2, const char *str) |
370 | new_info_map_except2 (int color, maptile *map, object *op1, object *op2, const char *str) |
371 | { |
371 | { |
372 | player *pl; |
372 | player *pl; |
373 | |
373 | |
374 | for (pl = first_player; pl != NULL; pl = pl->next) |
374 | for (pl = first_player; pl != NULL; pl = pl->next) |
375 | if (pl->ob != NULL && pl->ob->map == map && pl->ob != op1 && pl->ob != op2) |
375 | if (pl->ob != NULL && pl->ob->map == map && pl->ob != op1 && pl->ob != op2) |
… | |
… | |
381 | /** |
381 | /** |
382 | * Writes to everyone on the specified map |
382 | * Writes to everyone on the specified map |
383 | */ |
383 | */ |
384 | |
384 | |
385 | void |
385 | void |
386 | new_info_map (int color, mapstruct *map, const char *str) |
386 | new_info_map (int color, maptile *map, const char *str) |
387 | { |
387 | { |
388 | player *pl; |
388 | player *pl; |
389 | |
389 | |
390 | for (pl = first_player; pl != NULL; pl = pl->next) |
390 | for (pl = first_player; pl != NULL; pl = pl->next) |
391 | if (pl->ob != NULL && pl->ob->map == map) |
391 | if (pl->ob != NULL && pl->ob->map == map) |
… | |
… | |
506 | static void |
506 | static void |
507 | magic_mapping_mark_recursive (object *pl, char *map_mark, int px, int py) |
507 | magic_mapping_mark_recursive (object *pl, char *map_mark, int px, int py) |
508 | { |
508 | { |
509 | int x, y, dx, dy, mflags; |
509 | int x, y, dx, dy, mflags; |
510 | sint16 nx, ny; |
510 | sint16 nx, ny; |
511 | mapstruct *mp; |
511 | maptile *mp; |
512 | New_Face *f; |
512 | New_Face *f; |
513 | |
513 | |
514 | for (dx = -1; dx <= 1; dx++) |
514 | for (dx = -1; dx <= 1; dx++) |
515 | { |
515 | { |
516 | for (dy = -1; dy <= 1; dy++) |
516 | for (dy = -1; dy <= 1; dy++) |
… | |
… | |
572 | void |
572 | void |
573 | magic_mapping_mark (object *pl, char *map_mark, int strength) |
573 | magic_mapping_mark (object *pl, char *map_mark, int strength) |
574 | { |
574 | { |
575 | int x, y, mflags; |
575 | int x, y, mflags; |
576 | sint16 nx, ny; |
576 | sint16 nx, ny; |
577 | mapstruct *mp; |
577 | maptile *mp; |
578 | New_Face *f; |
578 | New_Face *f; |
579 | |
579 | |
580 | for (x = -strength; x < strength; x++) |
580 | for (x = -strength; x < strength; x++) |
581 | { |
581 | { |
582 | for (y = -strength; y < strength; y++) |
582 | for (y = -strength; y < strength; y++) |