quakeforge/libs/video/renderer/vulkan/vkgen/vkfielddef.h
Bill Currie c73e4efcb7 [vkgen] Don't queue types for fields with custom parsers
This ensures that unused parser blocks do not get emitted. In the
testing of the upcoming support for fixed arrays, the blend color
constants were being double emitted (both as custom and normal parser)
due to being an array. gcc did not like that (what with all those
warning flags).
2021-12-24 06:45:12 +09:00

29 lines
584 B
Objective-C

#ifndef __renderer_vulkan_vkgen_vkfielddef_h
#define __renderer_vulkan_vkgen_vkfielddef_h
#include <types.h>
#include <Object.h>
@class PLItem;
@class Struct;
@class Type;
@interface FieldDef: Object
{
int line;
qfot_var_t *field;
string struct_name;
string field_name;
string value_field;
string size_field;
}
+fielddef:(PLItem *)item struct:(Struct *)strct field:(string)fname;
-init:(PLItem *)item struct:(Struct *)strct field:(string)fname;
-writeParseData;
-writeField;
-writeSymbol;
-(string) name;
-(int) searchType;
@end
#endif//__renderer_vulkan_vkgen_vkfielddef_h