1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

* improvements in recruitment window (slider won't allow to select more creatres than we can afford)

This commit is contained in:
Michał W. Urbańczyk
2008-05-12 05:46:04 +00:00
parent 2f2169b71f
commit 5b077531cd
7 changed files with 33 additions and 6 deletions

View File

@@ -462,6 +462,7 @@ public:
CCreatureAnimation *anim;
std::vector<std::pair<int,int> > res; //res_id - cost_per_unit
};
std::vector<int> amounts; //how many creatures we can afford
std::vector<creinfo> creatures;
IRecruit *rec;
CSlider<CRecrutationWindow> *slider;