From 2bdae52fed2ac0845ebb24348f3834dbc63f6d34 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 3 Oct 2021 11:53:32 +0100 Subject: 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 --- src/entity.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/entity.cpp') 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, -- cgit v1.2.3