Tuesday, March 16, 2010

Cvar Aliasing is done!

I got round to doing it after all.

What this means for me is that I can now refer to a cvar by more than 1 name.

What this means for you is that I can take a cvar where I've given it a non-standard name (r_lerporient, for example), keep the non-standard name as an alias, but revert back to the standard name as it's correct name.

So what that really means is that both r_lerporient and gl_interpolate_frame (or whatever it was called) both refer to the same cvar. So it doesn't matter which you have in your config. So I can start standardising my cvar names better and gain better compatibility with other engines while at the same time not lose compatibility with old versions of DirectQ. Which is nice.

0 comments: