Keep working on structs

This commit is contained in:
2026-07-05 18:01:09 +10:00
parent 338241519e
commit 05733c693c
9 changed files with 187 additions and 59 deletions

View File

@@ -105,12 +105,6 @@ struct GroundStruct {
GroundObjectField* fields;
};
struct GroundObjectField {
char name[2048];
GroundValue* value;
UT_hash_handle hh;
};
struct GroundObject {
GroundObjectField* fields;
GroundStruct* type;
@@ -159,6 +153,13 @@ struct GroundValue {
GroundType type;
};
struct GroundObjectField {
char name[2048];
GroundValue value;
GroundSize offset;
UT_hash_handle hh;
};
enum GroundArgType {
GroundArg_Value, GroundArg_ValueRef, GroundArg_DirectRef,