1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-23 00:28:08 +02:00

* added "Next hero" button functionality

* minor improvement for prison (hero appears at proper tile)
* only one spell can be casted per turn
* minor changes
This commit is contained in:
Michał W. Urbańczyk
2009-02-20 10:36:15 +00:00
parent c1109452d6
commit 6a3bfbee46
11 changed files with 93 additions and 17 deletions

View File

@ -206,6 +206,20 @@ struct GiveBonus : public CPack<GiveBonus> //115
}
};
struct ChangeObjPos : public CPack<ChangeObjPos> //116
{
ChangeObjPos(){type = 116;};
ui32 objid;
int3 nPos;
ui8 flags; //bit flags: 1 - redraw
template <typename Handler> void serialize(Handler &h, const int version)
{
h & objid & nPos & flags;
}
};
struct RemoveObject : public CPack<RemoveObject> //500
{
RemoveObject(){type = 500;};