mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
#41 - Implemented Castle Gates
#375, #376 - fixed recruit window #362, #377 - fixed town window
This commit is contained in:
@@ -1238,6 +1238,21 @@ struct MoveHero : public CPackForServer
|
||||
}
|
||||
};
|
||||
|
||||
struct CastleTeleportHero : public CPackForServer
|
||||
{
|
||||
CastleTeleportHero(){};
|
||||
CastleTeleportHero(const si32 HID, si32 Dest, ui8 Source ) : dest(Dest), hid(HID), source(Source){};
|
||||
si32 dest;
|
||||
si32 hid;
|
||||
si8 source;//who give teleporting, 1=castle gate
|
||||
|
||||
bool applyGh(CGameHandler *gh);
|
||||
template <typename Handler> void serialize(Handler &h, const int version)
|
||||
{
|
||||
h & dest & hid;
|
||||
}
|
||||
};
|
||||
|
||||
struct ArrangeStacks : public CPackForServer
|
||||
{
|
||||
ArrangeStacks(){};
|
||||
|
||||
Reference in New Issue
Block a user