Add variable std::vector save type
commitfc060ebbe50db422b6364aa7293a926110f46871
authorkeldorkatarn <schmitta79@gmail.com>
Mon, 9 Apr 2018 15:54:08 +0000 (9 17:54 +0200)
committerkeldorkatarn <schmitta79@gmail.com>
Mon, 9 Apr 2018 15:55:10 +0000 (9 17:55 +0200)
tree4050081eeb18137aa6810c4c3112eacbef04a7a2
parentc43d17a1cc9a58ac075018c50cfd1ed654a9dd64
Add variable std::vector save type

SL_VEC in the game currenty only support SlRefType, not VarType. This add another save type, SL_VARVEC, to support saving std::vector with POD type. It supports all integer type.
src/saveload/saveload.cpp
src/saveload/saveload.h