1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-15 01:24:45 +02:00

* battle settings will be remembered between battles

* call-ins for serializing client and playerinterfaces (not used really yet)
This commit is contained in:
Michał W. Urbańczyk
2009-03-28 18:46:20 +00:00
parent 42773e67f2
commit fca28fab10
12 changed files with 166 additions and 47 deletions

View File

@ -82,6 +82,7 @@ void registerTypes2(Serializer &s)
s.template registerType<SetStackEffect>();
s.template registerType<ShowInInfobox>();
s.template registerType<SaveGame>();
s.template registerType<SetSelection>();
s.template registerType<PlayerMessage>();
}
@ -89,7 +90,6 @@ void registerTypes2(Serializer &s)
template<typename Serializer> DLL_EXPORT
void registerTypes3(Serializer &s)
{
s.template registerType<SaveGame>();
s.template registerType<CloseServer>();
s.template registerType<EndTurn>();
s.template registerType<DismissHero>();
@ -109,6 +109,7 @@ void registerTypes3(Serializer &s)
s.template registerType<MakeAction>();
s.template registerType<MakeCustomAction>();
s.template registerType<SaveGame>();
s.template registerType<SetSelection>();
s.template registerType<PlayerMessage>();
}