static COMMAND_FUNC( do_lvlspercomp ) { int n; n=(int)how_many("number of levels per component"); set_lvls_per_comp(n); }
void set_bits_per_comp(int n) { int nl=1; while(n--) nl *= 2; set_lvls_per_comp(nl); }