- hack_text_1 (state, &x, &y, s,
- typing_delay, transmit_delay, long_delay,
- visible_cursor, False);
- }
+ "\002Warning: Disabling nodes 21-40 will disconnect sector 11 "
+ "(27 nodes)\n"
+ "\n"
+ "\002 ARE YOU SURE? (y/n) ",
+
+ "\001\010\010y\n",
+ "\n"
+ };
+
+ int nblocks = countof(blocks);
+ int y = state->grid_height - 2;
+ int x, j;
+
+ visible_cursor = True;
+ x = 0;
+ zero_cells (state);
+ for (j = 0; j < nblocks; j++)
+ {
+ const char *s = blocks[j];
+ typing_delay = (*s == '\001');
+ if (typing_delay) s++;
+
+ long_delay = False;
+ hack_text_1 (state, &x, &y, s,
+ typing_delay, transmit_delay, long_delay,
+ visible_cursor, True);
+ }
+
+ typing_delay = False;
+ long_delay = False;
+ for (j = 21; j <= 40; j++)
+ {
+ char buf[100];
+ sprintf (buf, "\002Grid Node %d offline...\n", j);
+ hack_text_1 (state, &x, &y, buf,
+ typing_delay, transmit_delay, -1,
+ visible_cursor, True);
+
+ }
+ long_delay = True;
+ hack_text_1 (state, &x, &y, "\nRRF-CONTROL> ",
+ typing_delay, transmit_delay, long_delay,
+ visible_cursor, True);
+
+ /* De-glow all cells before draining them... */
+ for (j = 0; j < state->grid_height * state->grid_width; j++)
+ {
+ m_cell *cell = &state->cells[j];
+ cell->changed = (cell->glow != 0);
+ cell->glow = 0;
+ }
+ }
+ break;
+
+ default:
+ abort();
+ break;
+ }