quakeforge/libs/video/renderer/vulkan/vkgen/vkfielddef.h
Bill Currie 017d2c1f44 [vulkan] Refactor vkgen struct generation
The addition of data an then string support made keeping track of things
in struct's writeTable a nightmare.
2020-12-23 22:13:50 +09:00

28 lines
565 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;
@end
#endif//__renderer_vulkan_vkgen_vkfielddef_h