mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Redid stack artifacts. Broken save compatibility. Added serializer support for boost::variant and sending CStackInstace* over network by implicitly passing IDs. Moved seeds and checksum to StartInfo. Various minor changes.
This commit is contained in:
@ -56,6 +56,8 @@ void CConnection::init()
|
||||
{
|
||||
CISer<CConnection>::smartPointerSerialization = false;
|
||||
COSer<CConnection>::smartPointerSerialization = false;
|
||||
CISer<CConnection>::sendStackInstanceByIds = true;
|
||||
COSer<CConnection>::sendStackInstanceByIds = true;
|
||||
registerTypes(static_cast<CISer<CConnection>&>(*this));
|
||||
registerTypes(static_cast<COSer<CConnection>&>(*this));
|
||||
#ifdef LIL_ENDIAN
|
||||
@ -382,6 +384,7 @@ CSerializer::~CSerializer()
|
||||
CSerializer::CSerializer()
|
||||
{
|
||||
smartVectorMembersSerialization = false;
|
||||
sendStackInstanceByIds = false;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user