void conf(int c) { if ((c >= 1) && (c <= 4)) { switch (c) { case 1: config.inativo.half.letra = get_cor(); break; case 2: config.ativo.half.letra = get_cor(); break; case 3: config.inativo.half.fundo = get_cor(); break; case 4: config.ativo.half.fundo = get_cor(); break; } } }
void vm_pars(int ac, char **av, t_cycles *cycles, t_champ **champs) { int i; i = 1; while (i < ac) { i = dump_opt(i, ac, av, cycles); i = a_opt(i, ac, av, champs); i = n_opt(i, ac, av, champs); i = get_cor(i, ac, av, champs); i++; } }