Mercurial > public > algo-animator
diff src/utils.h @ 31:61104b22a25d
I think it is working now...
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Thu, 29 Jun 2023 18:05:22 +0100 |
parents | f945bcc3571f |
children | f60144ebce23 |
line wrap: on
line diff
--- a/src/utils.h Thu Jun 29 17:48:36 2023 +0100 +++ b/src/utils.h Thu Jun 29 18:05:22 2023 +0100 @@ -43,7 +43,7 @@ void randomize_array(struct Element *arr, int arr_size); bool array_sorted(struct Element *arr, int arr_size); void algorithm_selector(struct Algo *algos, int algos_size, int direction, int *selected_algo); -void change_speed(struct AlgoArgs *algo_args, int change); +void change_delay(struct AlgoArgs *algo_args, int change); void control_flow(useconds_t delay, bool sequentially, bool *pause); void reset_state(struct AlgoArgs *algo_args, struct ThreadState *thread_state); void run(struct AlgoArgs *algo_args, struct Algo *algos, int selected_algo,