2016-09-10 02:28:11 +02:00
|
|
|
/*
|
|
|
|
* BinaryDeserializer.cpp, part of VCMI engine
|
|
|
|
*
|
|
|
|
* Authors: listed in file AUTHORS in main folder
|
|
|
|
*
|
|
|
|
* License: GNU General Public License v2.0 or later
|
|
|
|
* Full text of license available in license.txt file, in main folder
|
|
|
|
*
|
|
|
|
*/
|
2017-07-13 10:26:03 +02:00
|
|
|
#include "StdInc.h"
|
|
|
|
#include "BinaryDeserializer.h"
|
|
|
|
#include "../registerTypes/RegisterTypes.h"
|
2016-09-10 02:28:11 +02:00
|
|
|
|
2022-07-26 15:07:42 +02:00
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
|
2023-11-11 00:39:08 +02:00
|
|
|
BinaryDeserializer::BinaryDeserializer(IBinaryReader * r): CLoaderBase(r)
|
2016-09-10 02:28:11 +02:00
|
|
|
{
|
2023-11-11 00:39:08 +02:00
|
|
|
saving = false;
|
2024-01-20 20:34:51 +02:00
|
|
|
version = Version::NONE;
|
2023-11-11 00:39:08 +02:00
|
|
|
smartPointerSerialization = true;
|
2024-03-28 04:03:44 +02:00
|
|
|
reverseEndianness = false;
|
2016-09-10 02:28:11 +02:00
|
|
|
|
2023-11-11 00:39:08 +02:00
|
|
|
registerTypes(*this);
|
2016-09-10 02:28:11 +02:00
|
|
|
}
|
2022-07-26 15:07:42 +02:00
|
|
|
|
|
|
|
VCMI_LIB_NAMESPACE_END
|