1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

post-merge fixes

This commit is contained in:
AlexVinS 2015-12-05 13:56:38 +03:00
parent 947edc0693
commit f33bcee84c
7 changed files with 11 additions and 8 deletions

View File

@ -80,7 +80,7 @@ public:
h & static_cast<CBonusSystemNode&>(*this);
h & name & description & eventText & image & large & advMapDef & iconIndex &
price & possibleSlots & constituents & constituentOf & aClass & id;
if(version>=755)
if(version>=756)
{
h & identifier;
}

View File

@ -138,7 +138,7 @@ public:
h & idNumber & faction & sounds & animation;
h & doubleWide & special;
if(version>=755)
if(version>=756)
{
h & identifier;
}

View File

@ -92,7 +92,7 @@ public:
h & ID & imageIndex & initialArmy & heroClass & secSkillsInit & spec & specialty & spells & haveSpellBook & sex & special;
h & name & biography & specName & specDescr & specTooltip;
h & iconSpecSmall & iconSpecLarge & portraitSmall & portraitLarge;
if(version>=755)
if(version>=756)
{
h & identifier;
}

View File

@ -27,7 +27,7 @@
#include "mapping/CCampaignHandler.h" //for CCampaignState
#include "rmg/CMapGenerator.h" // for CMapGenOptions
const ui32 version = 755;
const ui32 version = 756;
const ui32 minSupportedVersion = 753;
class CISer;

View File

@ -159,7 +159,7 @@ public:
template <typename Handler> void serialize(Handler &h, const int version)
{
h & type & subtype & templates & rmgInfo & objectName;
if(version >= 755)
if(version >= 756)
{
h & typeName & subTypeName;
}
@ -186,7 +186,7 @@ class DLL_LINKAGE CObjectClassesHandler : public IHandlerBase
template <typename Handler> void serialize(Handler &h, const int version)
{
h & name & handlerName & base & subObjects;
if(version >= 755)
if(version >= 756)
{
h & identifier & subIds;
}

View File

@ -179,7 +179,7 @@ public:
h & pos & ID & subID & id & tempOwner & blockVisit & appearance;
//definfo is handled by map serializer
if(version >= 755)
if(version >= 756)
{
h & typeName & subTypeName;
}

View File

@ -21,6 +21,9 @@
#include "../mapObjects/ObjectTemplate.h"
#include "../mapObjects/CObjectHandler.h"
#include "../mapObjects/CObjectClassesHandler.h"
#include "../mapObjects/CGHeroInstance.h"
#include "../mapObjects/CGTownInstance.h"
#include "../StringConstants.h"
namespace TriggeredEventsDetail