quakeforge/ruamoko/cl_menu/CvarString.r
Bill Currie 30bd1c0134 Create classes for inputing cvar strings and script the network menu.
Hitting enter after inputting text is currently broken, but that's because
support for it was never put in the inputline wrapper code.
2011-03-25 18:26:10 +09:00

15 lines
191 B
R

#include "cvar.h"
#include "CvarString.h"
@implementation CvarString
-(void)setString: (string) str
{
Cvar_SetString (name, str);
}
-(string)value
{
return Cvar_GetString (name);
}
@end