* shieldeff() * * Put magic shield pyrotechnics at the given location. This *could* be * pulled into a platform dependent routine for fancier graphics if desired. */
| 1107 | * pulled into a platform dependent routine for fancier graphics if desired. |
| 1108 | */ |
| 1109 | void |
| 1110 | shieldeff(coordxy x, coordxy y) |
| 1111 | { |
| 1112 | int i; |
| 1113 | |
| 1114 | if (!flags.sparkle) |
| 1115 | return; |
| 1116 | if (cansee(x, y)) { /* Don't see anything if can't see the location */ |
| 1117 | for (i = 0; i < SHIELD_COUNT; i++) { |
| 1118 | show_glyph(x, y, cmap_to_glyph(shield_static[i])); |
| 1119 | flush_screen(1); /* make sure the glyph shows up */ |
| 1120 | nh_delay_output(); |
| 1121 | } |
| 1122 | newsym(x, y); /* restore the old information */ |
| 1123 | } |
| 1124 | } |
| 1125 | |
| 1126 | staticfn int |
| 1127 | tether_glyph(coordxy x, coordxy y) |
no test coverage detected