1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Reorganized types registration code

This commit is contained in:
Ivan Savenko
2023-11-11 00:39:08 +02:00
parent 4a7fa9bf8c
commit 5c810df36f
32 changed files with 681 additions and 881 deletions

View File

@@ -10,8 +10,7 @@
#include "StdInc.h"
#include "Connection.h"
#include "../registerTypes/RegisterTypes.h"
#include "../mapping/CMapHeader.h"
#include "../networkPacks/NetPacksBase.h"
#include <boost/asio.hpp>
@@ -45,8 +44,6 @@ void CConnection::init()
enableSmartPointerSerialization();
disableStackSendingByID();
registerTypes(iser);
registerTypes(oser);
#ifndef VCMI_ENDIAN_BIG
myEndianess = true;
#else