Home
last modified time | relevance | path

Searched refs:GetMaxHeroes (Results 1 – 5 of 5) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/
H A Dkingdom.h162 static u32 GetMaxHeroes( void );
H A Dkingdom.cpp71 heroes.reserve( GetMaxHeroes() ); in Init()
507 …return ( heroes.size() < GetMaxHeroes() ) && ( !check_payment || AllowPayment( PaymentConditions::… in AllowRecruitHero()
557 u32 Kingdom::GetMaxHeroes( void ) in GetMaxHeroes() function in Kingdom
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/
H A Dai_normal_hero.cpp403 return hero.GetKingdom().GetHeroes().size() < Kingdom::GetMaxHeroes(); in HeroesValidObject()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/
H A Dai_hero_action.cpp1753 if ( kingdom.GetHeroes().size() < Kingdom::GetMaxHeroes() ) { in AIToJail()
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/heroes/
H A Dheroes_action.cpp3053 StringReplace( str, "%{count}", Kingdom::GetMaxHeroes() ); in ActionToJail()