Decided not to convert everything to C++, finally fixed Cvars.