diff options
| author | gingerBill <bill@gingerbill.org> | 2019-11-21 00:07:21 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-11-21 00:07:21 +0000 |
| commit | 2c5a84bb78b981b61c55e4a5afba303bfe2d8e01 (patch) | |
| tree | bd3fc46495a330ca9496e86eb546b84b9bd37286 /src/entity.cpp | |
| parent | e01d8a04a959e4cb1fa99cb5591b09a0d254a571 (diff) | |
`#soa[]Type` (Experimental)
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index bbea68e8b..c433d98cb 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -51,8 +51,10 @@ enum EntityFlag { EntityFlag_ImplicitReference = 1<<17, // NOTE(bill): equivalent to `const &` in C++ - EntityFlag_CVarArg = 1<<20, - EntityFlag_AutoCast = 1<<21, + EntityFlag_SoaPtrField = 1<<19, // to allow s.x[0] where `s.x` is a pointer rather than a slice + + EntityFlag_CVarArg = 1<<21, + EntityFlag_AutoCast = 1<<22, }; enum EntityState { |