1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

* resource bar

* function in CCallback for getting onfo about res
* giving resources at the beginning of game
* moved several txt files to /config subfolder
* minor changes
This commit is contained in:
Michał W. Urbańczyk
2007-09-16 17:21:23 +00:00
parent 3ce6c4bf70
commit 7d4aa0c803
17 changed files with 119 additions and 8 deletions

View File

@ -72,4 +72,8 @@ const CHeroInstance * CCallback::getHeroInfo(int player, int val, bool mode) //m
}
}
return NULL;
}
int CCallback::getResourceAmount(int type)
{
return gs->players[gs->currentPlayer].resources[type];
}