quakeforge/ruamoko/cl_menu/CvarToggle.r

16 lines
165 B
R
Raw Normal View History

#include "cvar.h"
#include "CvarToggle.h"
@implementation CvarToggle
-(void)toggle
{
Cvar_Toggle (name);
}
-(BOOL)value
{
return Cvar_GetInteger (name);
}
@end