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

Added trivial fuzzy logic to handle creature banks estimation.

Check http://forum.vcmi.eu/viewtopic.php?p=6570#6570 for new library used.
This commit is contained in:
DjWarmonger
2012-03-03 10:08:01 +00:00
parent ebfbccdd0e
commit 998d8bf501
6 changed files with 231 additions and 79 deletions

View File

@@ -1309,6 +1309,7 @@ public:
std::vector<ui32> resVals; //default values of resources in gold
void loadObjects();
int bankObjToIndex (const CGObjectInstance * obj);
template <typename Handler> void serialize(Handler &h, const int version)
{