mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-05 12:40:35 +00:00
16 lines
165 B
R
16 lines
165 B
R
|
#include "cvar.h"
|
||
|
|
||
|
#include "CvarToggle.h"
|
||
|
|
||
|
@implementation CvarToggle
|
||
|
-(void)toggle
|
||
|
{
|
||
|
Cvar_Toggle (name);
|
||
|
}
|
||
|
|
||
|
-(BOOL)value
|
||
|
{
|
||
|
return Cvar_GetInteger (name);
|
||
|
}
|
||
|
@end
|