diff options
| author | gingerBill <bill@gingerbill.org> | 2021-10-03 11:53:32 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-10-03 11:53:32 +0100 |
| commit | 2bdae52fed2ac0845ebb24348f3834dbc63f6d34 (patch) | |
| tree | 02b05813607d403681bbf41443eafcaa510e430b /src/entity.cpp | |
| parent | b3a66b3950283853ce99a7da71ad8f1850fba0d8 (diff) | |
Add @(init) attribute for procedures, allowing for procedures to be called at startup
These procedures will be called after global variables have been initialized as normal
Diffstat (limited to 'src/entity.cpp')
| -rw-r--r-- | src/entity.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp index b79a38a1a..86fefcf89 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -73,6 +73,7 @@ enum EntityFlag : u64 { EntityFlag_SwitchValue = 1ull<<29, EntityFlag_Test = 1ull<<30, + EntityFlag_Init = 1ull<<31, EntityFlag_Overridden = 1ull<<63, |