1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

[c::b] update projects, fix compilation

This commit is contained in:
alexvins 2013-02-23 16:05:32 +00:00
parent 74ac44662c
commit 5a135b9f42
2 changed files with 9 additions and 1 deletions

View File

@ -256,10 +256,17 @@ void registerTypes4(Serializer &s)
}
template<typename Serializer>
void DLL_LINKAGE registerTypes(Serializer &s)
void registerTypes(Serializer &s)
{
registerTypes1(s);
registerTypes2(s);
registerTypes3(s);
registerTypes4(s);
}
extern template DLL_LINKAGE void registerTypes<CISer<CConnection>>(CISer<CConnection>& s);
extern template DLL_LINKAGE void registerTypes<COSer<CConnection>>(COSer<CConnection>& s);
extern template DLL_LINKAGE void registerTypes<CSaveFile>(CSaveFile & s);
extern template DLL_LINKAGE void registerTypes<CLoadFile>(CLoadFile & s);
extern template DLL_LINKAGE void registerTypes<CTypeList>(CTypeList & s);
extern template DLL_LINKAGE void registerTypes<CLoadIntegrityValidator>(CLoadIntegrityValidator & s);

View File

@ -160,6 +160,7 @@
<Unit filename="RMG/CMapGenOptions.h" />
<Unit filename="RMG/CMapGenerator.cpp" />
<Unit filename="RMG/CMapGenerator.h" />
<Unit filename="RegisterTypes.cpp" />
<Unit filename="RegisterTypes.h" />
<Unit filename="ResourceSet.cpp" />
<Unit filename="ResourceSet.h" />