anyone know a cheap n cheerful and ghetto way
CString str = seta si_alternativeFire "1";
str.Trimleft( 5 );
TRACE( str ); //str = si_alternativeFire "1"
so then need either a cvar array or struct array or something
array[1].cvar = si_alternativeFire;
array[1].val = 1;
CString str.tokenize( " " )l can be used because tokens are returned 1 by 1, and need some crap junk bit of code to make an array from a whole config file
CString str = seta si_alternativeFire "1";
str.Trimleft( 5 );
TRACE( str ); //str = si_alternativeFire "1"
so then need either a cvar array or struct array or something
array[1].cvar = si_alternativeFire;
array[1].val = 1;
CString str.tokenize( " " )l can be used because tokens are returned 1 by 1, and need some crap junk bit of code to make an array from a whole config file
3836 Hits