mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-15 01:11:27 +00:00
017d2c1f44
The addition of data an then string support made keeping track of things in struct's writeTable a nightmare.
28 lines
565 B
Objective-C
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
|