mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 21:02:50 +00:00
c73e4efcb7
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).
29 lines
584 B
Objective-C
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
|