/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/heroes/ |
H A D | heroes.cpp | 130 Heroes::Heroes() in Heroes() function in Heroes 147 Heroes::Heroes( int heroID, int race, int initialLevel ) in Heroes() function in Heroes 158 Heroes::Heroes( int heroid, int rc ) in Heroes() function in Heroes 1756 for ( u32 hid = Heroes::ASTRA; hid <= Heroes::LUNA; ++hid ) in Init() 1768 for ( u32 hid = Heroes::ZOM; hid <= Heroes::CELIA; ++hid ) in Init() 1772 push_back( new Heroes( Heroes::ROLAND, Race::WZRD, 5 ) ); in Init() 1774 push_back( new Heroes( Heroes::ELIZA, Race::SORC, 5 ) ); in Init() 1776 push_back( new Heroes( Heroes::HALTON, Race::KNGT, 5 ) ); in Init() 1777 push_back( new Heroes( Heroes::BAX, Race::NECR, 5 ) ); in Init() 1783 push_back( new Heroes( Heroes::MOG, Race::NECR, 5 ) ); in Init() [all …]
|
H A D | heroes_recruits.cpp | 29 : std::pair<int, int>( Heroes::UNKNOWN, Heroes::UNKNOWN ) in Recruits() 34 first = Heroes::UNKNOWN; in Reset() 35 second = Heroes::UNKNOWN; in Reset() 48 Heroes * Recruits::GetHero1( void ) in GetHero1() 53 Heroes * Recruits::GetHero2( void ) in GetHero2() 58 void Recruits::SetHero1( const Heroes * hero ) in SetHero1() 60 first = hero ? hero->hid : Heroes::UNKNOWN; in SetHero1() 63 void Recruits::SetHero2( const Heroes * hero ) in SetHero2() 65 second = hero ? hero->hid : Heroes::UNKNOWN; in SetHero2()
|
H A D | heroes.h | 57 class Heroes : public HeroBase, public ColorBase 207 Heroes(); 208 Heroes( int heroid, int rc ); 291 void MeetingDialog( Heroes & ); 379 static void ScholarAction( Heroes &, Heroes & ); 470 struct VecHeroes : public std::vector<Heroes *> 472 Heroes * Get( int /* hero id */ ) const; 505 Heroes * GetGuest( const Castle & ) const; 506 Heroes * GetGuard( const Castle & ) const; 507 Heroes * GetFreeman( int race ) const; [all …]
|
H A D | heroes_indicator.h | 36 class Heroes; variable 41 explicit HeroesIndicator( const Heroes * h = nullptr ); 45 void SetHero( const Heroes * hero ); 48 const Heroes * hero; 57 explicit LuckIndicator( const Heroes * h = nullptr ); 69 explicit MoraleIndicator( const Heroes * h = nullptr ); 81 explicit ExperienceIndicator( const Heroes * h = nullptr ); 90 explicit SpellPointsIndicator( const Heroes * h = nullptr );
|
H A D | heroes_recruits.h | 28 class Heroes; variable 41 Heroes * GetHero1( void ); 42 Heroes * GetHero2( void ); 44 void SetHero1( const Heroes * ); 45 void SetHero2( const Heroes * );
|
H A D | heroes_spell.cpp | 62 bool ActionSpellViewAll( const Heroes & hero ); 66 bool ActionSpellTownGate( Heroes & hero ); 67 bool ActionSpellTownPortal( Heroes & hero ); 68 bool ActionSpellVisions( Heroes & hero ); 312 bool ActionSpellViewMines( const Heroes & ) in ActionSpellViewMines() argument 330 bool ActionSpellViewTowns( const Heroes & ) in ActionSpellViewTowns() argument 342 bool ActionSpellViewAll( const Heroes & ) in ActionSpellViewAll() argument 469 bool ActionSpellTownGate( Heroes & hero ) in ActionSpellTownGate() 492 bool ActionSpellTownPortal( Heroes & hero ) in ActionSpellTownPortal() 573 bool ActionSpellVisions( Heroes & hero ) in ActionSpellVisions() [all …]
|
H A D | heroes_action.cpp | 53 void ActionToCastle( Heroes & hero, s32 dst_index ); 54 void ActionToHeroes( Heroes & hero, s32 dst_index ); 56 void ActionToBoat( Heroes & hero, s32 dst_index ); 57 void ActionToCoast( Heroes & hero, s32 dst_index ); 58 void ActionToWagon( Heroes & hero, s32 dst_index ); 65 void ActionToShrine( Heroes & hero, s32 dst_index ); 71 void ActionToTradingPost( const Heroes & hero ); 90 void ActionToEvent( Heroes & hero, s32 dst_index ); 95 void ActionToAlchemistsTower( Heroes & hero ); 1460 void ActionToTradingPost( const Heroes & hero ) in ActionToTradingPost() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/castle/ |
H A D | castle_heroes.h | 32 class CastleHeroes : protected std::pair<Heroes *, Heroes *> 35 CastleHeroes( Heroes * guest, Heroes * guard ) in CastleHeroes() 36 : std::pair<Heroes *, Heroes *>( guest, guard ) in CastleHeroes() 39 Heroes * Guest( void ) in Guest() 44 Heroes * Guard( void ) in Guard() 49 const Heroes * Guest( void ) const in Guest() 54 const Heroes * Guard( void ) const in Guard() 59 Heroes * GuestFirst( void ) in GuestFirst() 64 Heroes * GuardFirst( void ) in GuardFirst() 69 bool operator==( const Heroes * hero ) const
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/agg/ |
H A D | icn.cpp | 730 case Heroes::TYRO: in PORTxxxx() 734 case Heroes::RUBY: in PORTxxxx() 768 case Heroes::GEM: in PORTxxxx() 774 case Heroes::LUNA: in PORTxxxx() 776 case Heroes::ARIE: in PORTxxxx() 788 case Heroes::AGAR: in PORTxxxx() 794 case Heroes::MYRA: in PORTxxxx() 812 case Heroes::ZOM: in PORTxxxx() 816 case Heroes::ZAM: in PORTxxxx() 840 case Heroes::BAX: in PORTxxxx() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/ |
H A D | ai.h | 33 class Heroes; variable 72 virtual void HeroTurn( Heroes & hero ); 80 virtual void HeroesAdd( const Heroes & hero ); 81 virtual void HeroesRemove( const Heroes & hero ); 84 virtual void HeroesPostLoad( Heroes & hero ); 85 virtual bool HeroesCanMove( const Heroes & hero ); 86 virtual bool HeroesGetTask( Heroes & hero ); 87 virtual void HeroesActionComplete( Heroes & hero ); 89 virtual void HeroesClearTask( const Heroes & hero ); 90 virtual void HeroesLevelUp( Heroes & hero ); [all …]
|
H A D | ai_hero_action.cpp | 102 void AIToWagon( Heroes & hero, s32 dst_index ); 118 void AIToEvent( Heroes & hero, s32 dst_index ); 127 void AIToSign( Heroes & hero, s32 dst_index ); 137 void AIToBoat( Heroes & hero, s32 dst_index ); 138 void AIToCoast( Heroes & hero, s32 dst_index ); 139 void AIMeeting( Heroes & hero1, Heroes & hero2 ); 143 void AIToAlchemistTower( Heroes & hero ); 245 hero.SetModes( Heroes::ACTION ); in HeroesAction() 1602 void AIMeeting( Heroes & left, Heroes & right ) in AIMeeting() 1623 void HeroesMove( Heroes & hero ) in HeroesMove() [all …]
|
H A D | ai_base.cpp | 92 void Base::HeroesAdd( const Heroes & ) in HeroesAdd() argument 97 void Base::HeroesRemove( const Heroes & ) in HeroesRemove() argument 112 void Base::HeroesActionNewPosition( Heroes & ) in HeroesActionNewPosition() argument 117 void Base::HeroesClearTask( const Heroes & ) in HeroesClearTask() argument 132 void Base::HeroesActionComplete( Heroes & ) in HeroesActionComplete() argument 137 void Base::HeroesLevelUp( Heroes & ) in HeroesLevelUp() argument 142 void Base::HeroesPostLoad( Heroes & ) in HeroesPostLoad() argument 147 bool Base::HeroesGetTask( Heroes & hero ) in HeroesGetTask() 159 void Base::HeroTurn( Heroes & hero ) in HeroTurn() 163 hero.ResetModes( Heroes::MOVED ); in HeroTurn() [all …]
|
/dports/games/heroes/heroes-0.21/tools/ |
H A D | readme.sed | 5 \ | Texinfo documentation to help you install Heroes. You should read |\ 12 * Overview of Heroes\ 14 - Getting Heroes\ 17 * Installation of Heroes\ 20 - configure options for Heroes\ 26 /^Getting Heroes/ { 37 /^Overview of Heroes/,/^Mailing lists/ { 42 /^Installation of Heroes/ { 50 documentation of Heroes for guidelines regarding bug reporting.\ 54 /^Installation of Heroes/,/^Running Heroes/ { [all …]
|
/dports/games/heroes/heroes-data-1.5/ |
H A D | NEWS | 1 Heroes-data 1.5 March 11, 2002 6 Heroes-data 1.4 December 12, 2001 10 Heroes-data 1.3 July 26, 2001 15 Heroes-data 1.2 July 25, 2001 23 Heroes-data 1.1 May 23, 2001 27 Heroes-data 1.0a May 8, 2001 33 Heroes-data 1.0 September 2, 2000
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/ |
H A D | ai_normal_kingdom.cpp | 45 heroes[0]->setAIRole( Heroes::Role::HUNTER ); in setHeroRoles() 50 std::vector<std::pair<double, Heroes *>> heroStrength; in setHeroRoles() 51 for ( Heroes * hero : heroes ) { in setHeroRoles() 56 …[]( const std::pair<double, Heroes *> & first, const std::pair<double, Heroes *> & second ) { retu… in setHeroRoles() 62 hero.second->setAIRole( Heroes::Role::FIGHTER ); in setHeroRoles() 65 hero.second->setAIRole( Heroes::Role::HUNTER ); in setHeroRoles() 125 const Heroes * hero = tile.GetHeroes(); in KingdomTurn() 218 for ( Heroes * hero : heroes ) { in KingdomTurn() 267 Heroes * recruit = nullptr; in KingdomTurn() 268 Heroes * firstRecruit = rec.GetHero1(); in KingdomTurn() [all …]
|
H A D | ai_normal_hero.cpp | 433 Heroes * hero = nullptr; 440 if ( hero->Modes( Heroes::PATROL ) ) { in addHeroToMove() 443 hero->SetModes( Heroes::MOVED ); in addHeroToMove() 448 hero->ResetModes( Heroes::WAITING | Heroes::MOVED | Heroes::SKIPPED_TURN ); in addHeroToMove() 450 hero->SetModes( Heroes::MOVED ); in addHeroToMove() 457 if ( hero->Modes( Heroes::PATROL ) ) { in addHeroToMove() 486 const Heroes & _hero; 516 const Heroes & _hero; 1048 case Heroes::Role::HUNTER: in getObjectValue() 1050 case Heroes::Role::FIGHTER: in getObjectValue() [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/game/ |
H A D | game_interface.h | 35 class Heroes; variable 71 Heroes * GetFocusHeroes( void ); 99 void SetFocus( Heroes * ); 141 static int GetCursorFocusHeroes( const Heroes &, const Maps::Tiles & ); 142 static int GetCursorFocusShipmaster( const Heroes &, const Maps::Tiles & ); 143 void CalculateHeroPath( Heroes * hero, s32 destinationIdx ) const; 149 void ShowPathOrStartMoveHero( Heroes *, s32 ); 150 void MoveHeroFromArrowKeys( Heroes & hero, int direct );
|
/dports/games/heroes/heroes-0.21/ |
H A D | README | 10 * Overview of Heroes 12 - Getting Heroes 15 * Installation of Heroes 18 - configure options for Heroes 22 Overview of Heroes 57 Getting Heroes 117 Installation of Heroes 174 configure options for Heroes 201 configure Heroes accordingly. 302 Heroes binary. Because Heroes uses only paths relative to PREFIX, the [all …]
|
H A D | NEWS | 1 Heroes 0.21 March 30, 2002 10 Heroes 0.20 February 7, 2002 20 Heroes 0.19 January 28, 2002 24 Heroes 0.18b January 23, 2002 31 Heroes 0.18a January 9, 2002 173 Heroes 0.11 May 23, 2001 199 Heroes 0.10a May 8, 2001 205 Heroes 0.10 May 7, 2001 216 Heroes 0.9b May 2, 2001 551 Heroes 0.4 July 3, 2000 [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/world/ |
H A D | world.h | 200 const Heroes * GetHeroes( int id ) const; 201 Heroes * GetHeroes( int id ); 203 const Heroes * GetHeroes( const fheroes2::Point & ) const; 204 Heroes * GetHeroes( const fheroes2::Point & ); 206 Heroes * FromJailHeroes( s32 ); 207 Heroes * GetFreemanHeroes( int race = 0 ) const; 208 Heroes * GetFreemanHeroesSpecial( int heroID ) const; 210 const Heroes * GetHeroesCondWins( void ) const; 211 const Heroes * GetHeroesCondLoss( void ) const; 326 int heroes_cond_wins = Heroes::UNKNOWN; [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/kingdom/ |
H A D | kingdom.cpp | 50 bool HeroesStrongestArmy( const Heroes * h1, const Heroes * h2 ) in HeroesStrongestArmy() 132 Heroes * hero = heroes.back(); in LossPostActions() 221 void Kingdom::AddHeroes( Heroes * hero ) in AddHeroes() 338 for ( const Heroes * hero : heroes ) in GetCountArtifacts() 441 …const bool preferNative = recruits.GetID1() == Heroes::UNKNOWN && recruits.GetID2() == Heroes::UNK… in GetRecruits() 478 …const bool preferNative = recruits.GetID1() == Heroes::UNKNOWN && recruits.GetID2() == Heroes::UNK… in UpdateRecruits() 600 for ( const Heroes * hero : heroes ) { in GetIncome() 621 Heroes * Kingdom::GetBestHero() in GetBestHero() 629 for ( const Heroes * hero : heroes ) { in GetStrongestMonster() 737 lost_hero.id = Heroes::UNKNOWN; in ResetLastLostHero() [all …]
|
H A D | kingdom.h | 36 : id( Heroes::UNKNOWN ) in LastLoseHero() 73 void SetLastLostHero( const Heroes & ); 76 void SetLastBattleWinHero( const Heroes & hero ); 78 Heroes * GetLastLostHero( void ) const; 79 Heroes * GetLastBattleWinHero() const; 81 Heroes * GetBestHero(); 130 void AddHeroes( Heroes * ); 131 void RemoveHeroes( const Heroes * );
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/dialog/ |
H A D | dialog.h | 41 class Heroes; variable 92 …void QuickInfo( const Heroes & hero, const fheroes2::Rect & activeArea, const fheroes2::Point & po… 95 …std::string &, const std::string &, const Skill::Secondary &, const Skill::Secondary &, Heroes & ); 96 …ol SelectGoldOrExp( const std::string &, const std::string &, u32 gold, u32 expr, const Heroes & ); 99 …void SecondarySkillInfo( const Skill::Secondary &, const Heroes & hero, const bool ok_button = tru… 100 …onst std::string &, const std::string &, const Skill::Secondary &, const Heroes & hero, const bool… 110 bool SetGuardian( Heroes &, Troop &, CapturedObject &, bool readonly ); 112 int ArmyJoinFree( const Troop &, Heroes & ); 113 int ArmyJoinWithCost( const Troop &, u32 join, u32 gold, Heroes & );
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/gui/ |
H A D | interface_events.cpp | 47 if ( ( hero == nullptr ) || hero->Modes( Heroes::GUARDIAN ) ) in CalculateHeroPath() 73 if ( !hero || hero->Modes( Heroes::GUARDIAN ) ) in ShowPathOrStartMoveHero() 91 void Interface::Basic::MoveHeroFromArrowKeys( Heroes & hero, int direct ) in MoveHeroFromArrowKeys() 140 for ( Heroes * hero : myHeroes ) { in EventNextHero() 153 Heroes * hero = GetFocusHeroes(); in EventContinueMovement() 170 Heroes * hero = GetFocusHeroes(); in EventCastSpell() 338 Heroes * hero = GetFocusHeroes(); in EventSwitchHeroSleeping() 341 …hero->Modes( Heroes::SLEEPER ) ? hero->ResetModes( Heroes::SLEEPER ) : hero->SetModes( Heroes::SLE… in EventSwitchHeroSleeping() 350 Heroes * hero = GetFocusHeroes(); in EventDigArtifact() 391 Heroes * hero = GetFocusHeroes(); in EventDefaultAction() [all …]
|
H A D | skill_bar.h | 25 class Heroes; variable 34 PrimarySkillsBar( const Heroes * hero, bool mini ); 47 const Heroes * _hero; 58 SecondarySkillsBar( const Heroes & hero, bool mini = true, bool change = false ); 74 const Heroes & _hero;
|