Monday, December 1, 2008

Fun with Cvars!

I'm migrating cvars over to a proper C++ class-based setup. Base code is done, including a self-managing sorted linked list, so now it's down to the gruntwork of tracking down all those declarations and Cvar_RegisterVariable calls and modifying them. Ugh.

At the same time, I'm going to bring commands under the same framework; this will result in a fairly huge cleanup of my autocompletion code, and an even huger cleanup of my resolution switching code (having the cvars available before anything else starts up is a very very very nice thing indeed...)

0 comments: