Home
last modified time | relevance | path

Searched refs:AllowBuyHero (Results 1 – 3 of 3) sorted by relevance

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/
H A Dcastle_town.cpp114 if ( !AllowBuyHero( *hero ) ) { in DialogBuyHero()
367 const bool allow_buy_hero1 = hero1 ? AllowBuyHero( *hero1, &not_allow1_msg ) : false; in openConstructionDialog()
368 const bool allow_buy_hero2 = hero2 ? AllowBuyHero( *hero2, &not_allow2_msg ) : false; in openConstructionDialog()
H A Dcastle.h133 bool AllowBuyHero( const Heroes &, std::string * = nullptr ) const;
H A Dcastle.cpp702 bool Castle::AllowBuyHero( const Heroes & hero, std::string * msg ) const in AllowBuyHero() function in Castle
740 if ( !hero || !AllowBuyHero( *hero ) ) in RecruitHero()