The FIELD_BOOLEAN type is currently saved as an array of integers. Save it as an array of bytes instead. This saves space in the save game, but more importantly prepares for the switch from the 4 byte BOOL type to the implementation-defined size[^1] bool type.
[^1]: See C++ Standard, section 5.3.3: expr.sizeof
The
FIELD_BOOLEAN
type is currently saved as an array of integers. Save it as an array of bytes instead. This saves space in the save game, but more importantly prepares for the switch from the 4 byteBOOL
type to the implementation-defined size[^1]bool
type.[^1]: See C++ Standard, section
5.3.3: expr.sizeof