- allow defining native fields through scripts. Internally this only requires exporting the address, but not the entire field.
- added new VARF_Transient flag so that the decision whether to serialize a field does not depend solely on its native status. It may actually make a lot of sense to use the auto-serializer for native fields, too, as this would eliminate a lot of maintenance code. - defined (u)int8/16 as aliases to the byte and short types (Can't we not just get rid of this naming convention already...?) - exporting the fields of Actor revealed a few name clashes between them and some global types, so Actor.Sector was renamed to CurSector and Actor.Inventory was renamed to Actor.Inv.
This commit is contained in:
parent
ab5c11064a
commit
980c986305
22 changed files with 520 additions and 202 deletions
|
|
@ -137,6 +137,10 @@ static void InitTokenMap()
|
|||
TOKENDEF2(TK_Byte, ZCC_BYTE, NAME_Byte);
|
||||
TOKENDEF2(TK_Short, ZCC_SHORT, NAME_Short);
|
||||
TOKENDEF2(TK_UShort, ZCC_USHORT, NAME_uShort);
|
||||
TOKENDEF2(TK_Int8, ZCC_SBYTE, NAME_int8);
|
||||
TOKENDEF2(TK_UInt8, ZCC_BYTE, NAME_uint8);
|
||||
TOKENDEF2(TK_Int16, ZCC_SHORT, NAME_int16);
|
||||
TOKENDEF2(TK_UInt16, ZCC_USHORT, NAME_uint16);
|
||||
TOKENDEF2(TK_Int, ZCC_INT, NAME_Int);
|
||||
TOKENDEF2(TK_UInt, ZCC_UINT, NAME_uInt);
|
||||
TOKENDEF2(TK_Bool, ZCC_BOOL, NAME_Bool);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue