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

Merge branch 'develop' into SpellsRefactoring8

This commit is contained in:
AlexVinS
2016-09-11 18:34:18 +03:00
32 changed files with 174 additions and 87 deletions

View File

@@ -535,6 +535,20 @@ struct UpdateCastleEvents : public CPackForClient //125
}
};
struct ChangeFormation : public CPackForClient //126
{
ChangeFormation(){type = 126;}
ObjectInstanceID hid;
ui8 formation;
DLL_LINKAGE void applyGs(CGameState *gs);
template <typename Handler> void serialize(Handler &h, const int version)
{
h & hid & formation;
}
};
struct RemoveObject : public CPackForClient //500
{
RemoveObject(){type = 500;};