mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 21:21:14 +00:00
I had forgotten about this, and ironically it's just one field in all of vkparse, but adding support for bool to vkgen was easier than expected.
22 lines
215 B
R
22 lines
215 B
R
#include <string.h>
|
|
|
|
#include "vkbool.h"
|
|
#include "vkgen.h"
|
|
|
|
@implementation Bool
|
|
|
|
-(string) name
|
|
{
|
|
return "bool";
|
|
}
|
|
|
|
-(string) cexprType
|
|
{
|
|
return "cexpr_bool";
|
|
}
|
|
|
|
-(string) parseType
|
|
{
|
|
return "QFString";
|
|
}
|
|
@end
|