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:
@ -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];
|
||||
}
|
Reference in New Issue
Block a user