[Bug 3591] function for toggling cvars between list of values

bugzilla-daemon at icculus.org bugzilla-daemon at icculus.org
Sat Aug 16 07:59:38 EDT 2008


http://bugzilla.icculus.org/show_bug.cgi?id=3591





------- Comment #2 from bugzilla at benmachine.co.uk  2008-08-16 07:59 EDT -------
Created an attachment (id=1821)
 --> (http://bugzilla.icculus.org/attachment.cgi?id=1821&action=view)
my alternative implementation

This seems like a good idea, but in my opinion it's redundant to add a new
command: it's always possible to tell which syntax we want by the number of
arguments we have.

Here's my take on it then: an addition to the existing Cvar_Toggle_f
I also think my way of doing it is a little simpler than yours.


-- 
Configure bugmail: http://bugzilla.icculus.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.



More information about the quake3-bugzilla mailing list