Functions | |
int | sim_speed_calc (int percent) |
calculate simulation speed based on percentage at 100(%) the usleep time will be 1ms at 1(%) the usleep time will be 100ms | |
void | color_to_ansi (Color *c) |
convert r,g,c from Color to ansi escape sequence | |
int | active_rows () |
if show_stats is true we decrement 1 from rows to make room for stats we do this when iterating through the rows | |
int active_rows | ( | ) |
if show_stats is true we decrement 1 from rows to make room for stats we do this when iterating through the rows
int sim_speed_calc | ( | int | percent | ) |
calculate simulation speed based on percentage at 100(%) the usleep time will be 1ms at 1(%) the usleep time will be 100ms