-protected critical portal data from getting written to by user code.

This data is game critical and may only be altered by code that knows what is allowed and what not. It must never be altered by any user code ever.
However, since the SkyViewpoint actors need to set up some relations between themselves and the default sky portals the previously purely internal 'internal' flag has been exported as a new keyword.
This commit is contained in:
Christoph Oelckers 2018-04-15 12:12:29 +02:00
commit cf8447d19c
9 changed files with 10 additions and 4 deletions

View file

@ -149,6 +149,7 @@ static void InitTokenMap()
TOKENDEF (TK_Deprecated, ZCC_DEPRECATED);
TOKENDEF (TK_Version, ZCC_VERSION);
TOKENDEF (TK_ReadOnly, ZCC_READONLY);
TOKENDEF (TK_Internal, ZCC_INTERNAL);
TOKENDEF ('{', ZCC_LBRACE);
TOKENDEF ('}', ZCC_RBRACE);
TOKENDEF (TK_Struct, ZCC_STRUCT);