diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2022-02-17 23:15:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-17 23:15:38 +0000 |
| commit | 8f13724a4b9782d7ac8e6a8037d0a44cfd41e240 (patch) | |
| tree | aed1e727a6c53cc6704f927fe118f740bbdf4a29 /src/entity.cpp | |
| parent | 89b7a3f7ac1388ea9e8752f9445843aa58b157be (diff) | |
| parent | 746d5fc322a410625435fd05bb847481919a918f (diff) | |
Merge pull request #1504 from odin-lang/directx-packages
DirectX Package Support
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index df8ee3faa..f5720293f 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -74,6 +74,7 @@ enum EntityFlag : u64 { EntityFlag_Test = 1ull<<30, EntityFlag_Init = 1ull<<31, + EntityFlag_Subtype = 1ull<<32, EntityFlag_CustomLinkName = 1ull<<40, EntityFlag_CustomLinkage_Internal = 1ull<<41, @@ -86,6 +87,10 @@ enum EntityFlag : u64 { EntityFlag_Overridden = 1ull<<63, }; +enum : u64 { + EntityFlags_IsSubtype = EntityFlag_Using|EntityFlag_Subtype, +}; + enum EntityState : u32 { EntityState_Unresolved = 0, EntityState_InProgress = 1, |