src/visualiser.c
static void init_algorithm(RunState type) {
  // Initialise remaining to non-zero value
  remaining = 1;

  // Reset visualiser for generation algorithms
  if (type != DIJKSTRAS) {
    init_visualiser();
  }

  if (init_functions[type]) {
    (*init_functions[type])(tiles, player);
  }
}
/** Initialises the visualiser for the given algorithm. */
Initialises the visualiser for the given algorithm.
Initialises the visualiser for the given algorithm .
static void init_algorithm(RunState type) {
  remaining = 1;
  if (type != DIJKSTRAS) {
    init_visualiser();
  }
  if (init_functions[type]) {
    (*init_functions[type])(tiles, player);
  }
}
static void init_algorithm ( RunState type ) { remaining = 1 ; if ( type != DIJKSTRAS ) { init_visualiser ( ) ; } if ( init_functions [ type ] ) { ( * init_functions [ type ] ) ( tiles , player ) ; } }
Initialises the visualiser for the given algorithm.
Initialises the visualiser for the given algorithm .
// Initialise remaining to non-zero value // Reset visualiser for generation algorithms