/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/ai/normal/ |
H A D | ai_normal.h | 27 namespace Battle 47 const Battle::Unit * unit = nullptr; 77 Battle::Actions planUnitTurn( Battle::Arena & arena, const Battle::Unit & currentUnit ); 78 void analyzeBattleState( Battle::Arena & arena, const Battle::Unit & currentUnit ); 81 bool isUnitFaster( const Battle::Unit & currentUnit, const Battle::Unit & target ) const; 88 … Battle::Actions berserkTurn( Battle::Arena & arena, const Battle::Unit & currentUnit ) const; 89 … Battle::Actions archerDecision( Battle::Arena & arena, const Battle::Unit & currentUnit ) const; 90 …BattleTargetPair meleeUnitOffense( Battle::Arena & arena, const Battle::Unit & currentUnit ) const; 91 …BattleTargetPair meleeUnitDefense( Battle::Arena & arena, const Battle::Unit & currentUnit ) const; 93 …ome spellDamageValue( const Spell & spell, Battle::Arena & arena, const Battle::Units & friendly, … [all …]
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/ |
H A D | battle_cell.cpp | 52 void Battle::Position::Swap( void ) in Swap() 58 Battle::Cell * Battle::Position::GetHead( void ) in GetHead() 63 Battle::Cell * Battle::Position::GetTail( void ) in GetTail() 68 const Battle::Cell * Battle::Position::GetHead( void ) const in GetHead() 73 const Battle::Cell * Battle::Position::GetTail( void ) const in GetTail() 86 Battle::Position Battle::Position::GetPositionWhenMoved( const Unit & unit, const int32_t dst ) in GetPositionWhenMoved() 113 Battle::Position Battle::Position::GetReachable( const Unit & currentUnit, const int32_t dst ) in GetReachable() 171 Battle::Cell::Cell( int32_t ii ) in Cell() 200 Battle::direction_t Battle::Cell::GetTriangleDirection( const fheroes2::Point & dst ) const in GetTriangleDirection() 267 const Battle::Unit * Battle::Cell::GetUnit( void ) const in GetUnit() [all …]
|
H A D | battle_arena.cpp | 50 namespace Battle namespace 130 Battle::Arena * Battle::GetArena( void ) in GetArena() 140 Battle::Bridge * Battle::Arena::GetBridge( void ) in GetBridge() 145 Battle::Board * Battle::Arena::GetBoard( void ) in GetBoard() 150 Battle::Graveyard * Battle::Arena::GetGraveyard( void ) in GetGraveyard() 155 Battle::Interface * Battle::Arena::GetInterface( void ) in GetInterface() 160 Battle::Tower * Battle::Arena::GetTower( int type ) in GetTower() 744 Battle::Unit * Battle::Arena::GetTroopUID( u32 uid ) in GetTroopUID() 1230 Battle::Force & Battle::Arena::GetForce1( void ) in GetForce1() 1235 Battle::Force & Battle::Arena::GetForce2( void ) in GetForce2() [all …]
|
H A D | battle_troop.cpp | 65 Battle::ModesAffected::ModesAffected() in ModesAffected() 133 Battle::Unit::~Unit() in ~Unit() 267 int Battle::Unit::GetMorale() const in GetMorale() 288 Battle::Unit * Battle::Unit::GetMirror() in GetMirror() 303 const Battle::Position & Battle::Unit::GetPosition( void ) const in GetPosition() 423 bool Battle::Unit::isIdling() const in isIdling() 428 bool Battle::Unit::checkIdleDelay() in checkIdleDelay() 433 void Battle::Unit::NewTurn( void ) in NewTurn() 1649 int Battle::Unit::M82Kill() const in M82Kill() 1654 int Battle::Unit::M82Move() const in M82Move() [all …]
|
H A D | battle_bridge.cpp | 31 Battle::Bridge::Bridge() in Bridge() 36 bool Battle::Bridge::isValid( void ) const in isValid() 41 bool Battle::Bridge::isDestroy( void ) const in isDestroy() 46 bool Battle::Bridge::isDown( void ) const in isDown() 51 void Battle::Bridge::SetDown( bool f ) in SetDown() 56 bool Battle::Bridge::AllowUp( void ) const in AllowUp() 62 bool Battle::Bridge::isBridgeOccupied( void ) const in isBridgeOccupied() 94 bool Battle::Bridge::isPassable( const Unit & b ) const in isPassable() 100 void Battle::Bridge::SetDestroy( void ) in SetDestroy() 107 void Battle::Bridge::SetPassable( const Unit & b ) const in SetPassable() [all …]
|
H A D | battle_army.cpp | 36 namespace Battle namespace 88 Battle::Units::Units() in Units() 102 void Battle::Units::SortSlowest() in SortSlowest() 107 void Battle::Units::SortFastest() in SortFastest() 112 void Battle::Units::SortArchers( void ) in SortArchers() 117 Battle::Unit * Battle::Units::FindUID( uint32_t pid ) const in FindUID() 124 Battle::Unit * Battle::Units::FindMode( uint32_t mod ) const in FindMode() 151 Battle::Force::~Force() in ~Force() 232 void Battle::Force::NewTurn( void ) in NewTurn() 325 bool Battle::Force::animateIdleUnits() in animateIdleUnits() [all …]
|
H A D | battle_tower.cpp | 32 Battle::Tower::Tower( const Castle & castle, int twr, const Rand::DeterministicRandomGenerator & ra… in Tower() 52 const char * Battle::Tower::GetName( void ) const in GetName() 67 bool Battle::Tower::isValid( void ) const in isValid() 72 u32 Battle::Tower::GetType( void ) const in GetType() 77 u32 Battle::Tower::GetBonus( void ) const in GetBonus() 82 u32 Battle::Tower::GetAttack( void ) const in GetAttack() 87 int Battle::Tower::GetColor( void ) const in GetColor() 92 fheroes2::Point Battle::Tower::GetPortPosition( void ) const in GetPortPosition() 109 void Battle::Tower::SetDestroy( void ) in SetDestroy() 124 std::string Battle::Tower::GetInfo( const Castle & cstl ) in GetInfo()
|
H A D | battle_board.cpp | 78 Battle::Board::Board() in Board() 91 void Battle::Board::Reset( void ) in Reset() 464 std::vector<Battle::Unit *> Battle::Board::GetNearestTroops( const Unit * startUnit, const std::vec… in GetNearestTroops() 483 std::vector<Battle::Unit *> units; in GetNearestTroops() 985 Battle::Cell * Battle::Board::GetCell( s32 position, int dir ) in GetCell() 1000 Battle::Indexes Battle::Board::GetMoveWideIndexes( s32 center, bool reflect ) in GetMoveWideIndexes() 1031 Battle::Indexes Battle::Board::GetAroundIndexes( s32 center, s32 ignore ) in GetAroundIndexes() 1046 Battle::Indexes Battle::Board::GetAroundIndexes( const Unit & b ) in GetAroundIndexes() 1051 Battle::Indexes Battle::Board::GetAroundIndexes( const Position & position ) in GetAroundIndexes() 1071 Battle::Indexes Battle::Board::GetDistanceIndexes( s32 center, u32 radius ) in GetDistanceIndexes() [all …]
|
H A D | battle_main.cpp | 42 namespace Battle namespace 143 if ( army & Battle::RESULT_SURRENDER ) in getBattleResult() 144 return Battle::RESULT_SURRENDER; in getBattleResult() 145 if ( army & Battle::RESULT_RETREAT ) in getBattleResult() 146 return Battle::RESULT_RETREAT; in getBattleResult() 147 if ( army & Battle::RESULT_LOSS ) in getBattleResult() 148 return Battle::RESULT_LOSS; in getBattleResult() 149 if ( army & Battle::RESULT_WINS ) in getBattleResult() 150 return Battle::RESULT_WINS; in getBattleResult() 156 Battle::Result Battle::Loader( Army & army1, Army & army2, s32 mapsindex ) in Loader() [all …]
|
H A D | battle_command.cpp | 26 Battle::Command::Command( const CommandType cmd ) in Command() 30 Battle::Command & Battle::Command::operator<<( const int val ) in operator <<() 36 Battle::Command & Battle::Command::operator>>( int & val ) in operator >>() 45 int Battle::Command::GetValue( void ) in GetValue() 52 Battle::Command::Command( const CommandType cmd, const int param1, const int param2 /* = -1 */, con… in Command()
|
H A D | battle_grave.cpp | 28 Battle::Indexes Battle::Graveyard::GetClosedCells( void ) const in GetClosedCells() 39 void Battle::Graveyard::AddTroop( const Unit & b ) in AddTroop() 49 void Battle::Graveyard::RemoveTroop( const Unit & b ) in RemoveTroop() 67 u32 Battle::Graveyard::GetLastTroopUID( s32 index ) const in GetLastTroopUID() 76 Battle::TroopUIDs Battle::Graveyard::GetTroopUIDs( const int32_t hexIndex ) const in GetTroopUIDs()
|
H A D | battle_action.cpp | 142 void Battle::Arena::ApplyAction( Command & cmd ) in ApplyAction() 243 Battle::Unit * b1 = GetTroopUID( uid1 ); in ApplyActionAttack() 244 Battle::Unit * b2 = GetTroopUID( uid2 ); in ApplyActionAttack() 297 Battle::Unit * b = GetTroopUID( uid ); in ApplyActionMove() 403 Battle::Unit * battle = GetTroopUID( uid ); in ApplyActionSkip() 463 Battle::Unit * b = GetTroopUID( uid ); in ApplyActionMorale() 547 Battle::TargetsInfo Battle::Arena::GetTargetsForDamage( const Unit & attacker, Unit & defender, s32… in GetTargetsForDamage() 632 std::vector<Battle::Unit *> Battle::Arena::FindChainLightningTargetIndexes( const HeroBase * hero, … in FindChainLightningTargetIndexes() 681 Battle::TargetsInfo Battle::Arena::TargetsForChainLightning( const HeroBase * hero, int32_t attacke… in TargetsForChainLightning() 836 Battle::Unit * b2 = GetTroopUID( uid ); in ApplyActionTower() [all …]
|
/dports/games/widelands/widelands-build21/src/logic/map_objects/tribes/ |
H A D | battle.cc | 40 const BattleDescr& Battle::descr() const { in descr() 44 Battle::Battle() in Battle() function in Widelands::Battle 55 Battle::Battle(Game& game, Soldier* first_soldier, Soldier* second_soldier) in Battle() function in Widelands::Battle 78 bool Battle::init(EditorGameBase& egbase) { in init() 85 if (Battle* battle = first_->get_battle()) { in init() 125 bool Battle::locked(Game& game) { in locked() 299 void Battle::calculate_round(Game& game) { in calculate_round() 341 void Battle::Loader::load(FileRead& fr) { in load() 344 Battle& battle = get<Battle>(); in load() 354 void Battle::Loader::load_pointers() { in load_pointers() [all …]
|
/dports/games/springlobby/springlobby-0.180/src/lsl/src/lsl/battle/ |
H A D | battle.cpp | 34 namespace Battle { namespace 36 Battle::Battle(IServerPtr serv, int id ) : in Battle() function in LSL::Battle::Battle 46 Battle::~Battle() in ~Battle() 71 void Battle::Leave() in Leave() 76 void Battle::OnRequestBattleStatus() in OnRequestBattleStatus() 90 void Battle::SendMyBattleStatus() in SendMyBattleStatus() 133 const CommonUserPtr Battle::GetMe() in GetMe() 138 void Battle::SaveMapDefaults() in SaveMapDefaults() 570 void Battle::StartHostedBattle() in StartHostedBattle() 622 void Battle::StartSpring() in StartSpring() [all …]
|
/dports/games/knavalbattle/knavalbattle-21.12.3/data/pictures/ |
H A D | default.desktop | 2 Name=Naval Battle Default 7 Name[da]=Standard for Naval Battle 8 Name[de]=Naval-Battle-Standard 10 Name[en_GB]=Naval Battle Default 18 Name[id]=Naval Battle Default 25 Name[nl]=Naval Battle standaard 31 Name[ru]=Naval Battle по умолчанию 33 Name[sl]=Privzeta za Naval Battle 41 Name[x-test]=xxNaval Battle Defaultxx 42 Name[zh_CN]=Naval Battle 默认 [all …]
|
/dports/games/valyriatear/ValyriaTear-1.1.0/data/story/mt_elbrus/ |
H A D | battle_with_dark_soldiers_script.lua | 6 local Battle = nil 23 Battle = battle_instance; 24 Script = Battle:GetScriptSupervisor(); 29 DialogueManager = Battle:GetDialogueSupervisor(); 78 if (Battle:GetState() == vt_battle.BattleMode.BATTLE_STATE_VICTORY 79 or Battle:GetState() == vt_battle.BattleMode.BATTLE_STATE_DEFEAT 80 or Battle:GetState() == vt_battle.BattleMode.BATTLE_STATE_EXITING) then 96 Battle:SetSceneMode(false); 100 Battle:SetSceneMode(true); 163 Battle:AddEnemy(9); [all …]
|
/dports/games/wesnoth/wesnoth-1.14.17/packaging/windows/ |
H A D | Wesnoth.nsi.in | 11 !define MULTIUSER_INSTALLMODE_INSTDIR "Battle for Wesnoth %version" 45 !define MUI_LANGDLL_REGISTRY_KEY "Software\Battle for Wesnoth\%version" 58 !define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Battle for Wesnoth\%version" 60 !define MUI_STARTMENUPAGE_DEFAULTFOLDER "Battle for Wesnoth %version" 89 Section "Battle for Wesnoth" BfWSection 113 WriteRegStr SHCTX "Software\Battle for Wesnoth\%version" "" $INSTDIR 119 …oftware\Microsoft\Windows\CurrentVersion\Uninstall\Battle for Wesnoth %version" "DisplayName" "Bat… 170 ${If} $StartMenuFolder == "Battle for Wesnoth %version" 225 Delete "$SMPROGRAMS\$StartMenuFolder\Battle for Wesnoth.lnk" 229 DeleteRegKey /ifempty SHCTX "Software\Battle for Wesnoth\%version" [all …]
|
/dports/games/springlobby/springlobby-0.180/src/ |
H A D | battle.cpp | 36 Battle::Battle( Server& serv, int id ) : in BEGIN_EVENT_TABLE() 49 Battle::~Battle() in ~Battle() 66 void Battle::Update() in Update() 85 void Battle::Leave() in Leave() 91 void Battle::OnRequestBattleStatus() in OnRequestBattleStatus() 106 void Battle::SendMyBattleStatus() in SendMyBattleStatus() 152 User& Battle::GetMe() in GetMe() 157 const User& Battle::GetMe() const in GetMe() 162 void Battle::SaveMapDefaults() in SaveMapDefaults() 649 void Battle::StartSpring() in StartSpring() [all …]
|
/dports/games/valyriatear/ValyriaTear-1.1.0/data/story/layna_village/battle_with_banesore/ |
H A D | battle_with_banesore_script.lua | 6 local Battle = nil 35 Battle = battle_instance; 36 Script = Battle:GetScriptSupervisor(); 122 bronann = Battle:GetCharacterActor(0); 199 Battle:SetSceneMode(false); 203 Battle:SetSceneMode(true); 227 Battle:SetSceneMode(true); 240 Battle:SetSceneMode(true); 246 Battle:SetSceneMode(true); 253 Battle:SetSceneMode(true); [all …]
|
/dports/games/valyriatear/ValyriaTear-1.1.0/data/battles/characters_animations/ |
H A D | all_use_escape_smoke.lua | 18 local Battle = nil 33 Battle = ModeManager:GetTop(); 34 Effects = Battle:GetEffectSupervisor(); 50 …Battle:GetIndicatorSupervisor():AddItemIndicator(character:GetXLocation() + (character:GetSpriteWi… 64 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/smoke.lua", 452, 424); 65 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/smoke.lua", 350, 550); 66 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/smoke.lua", 555, 560);
|
/dports/games/valyriatear/ValyriaTear-1.1.0/data/battles/enemies_ai/ |
H A D | andromalius_ai.lua | 65 local Battle = battle_instance; 67 local nb_enemies = Battle:GetNumberOfEnemies(); 68 local nb_heroes = Battle:GetNumberOfCharacters(); 73 local enemy = Battle:GetEnemyActor(index); 93 battle_actor:SetAction(10007, _GetHeroWithMostSP(Battle)); 97 battle_actor:SetAction(10100, _GetHeroWithLessHP(Battle)); 102 battle_actor:SetAction(1014, _GetHeroWithLessHP(Battle));
|
/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/dialog/ |
H A D | dialog_armyinfo.cpp | 91 case Battle::SP_SLOW: in modeToSpell() 400 case Battle::SP_BLESS: in GetModesSprite() 402 case Battle::SP_HASTE: in GetModesSprite() 414 case Battle::SP_CURSE: in GetModesSprite() 416 case Battle::SP_SLOW: in GetModesSprite() 422 case Battle::SP_BLIND: in GetModesSprite() 426 case Battle::SP_STONE: in GetModesSprite() 439 …const uint32_t modes[] = { Battle::SP_BLOODLUST, Battle::SP_BLESS, Battle::SP_HASTE, Ba… in DrawBattleStats() 440 …Battle::SP_DRAGONSLAYER, Battle::SP_STEELSKIN, Battle::SP_ANTIMAGIC, Battle::SP_CURSE, Battle::… in DrawBattleStats() 441 …Battle::SP_BERSERKER, Battle::SP_HYPNOTIZE, Battle::SP_BLIND, Battle::SP_PARALYZE, Battle::… in DrawBattleStats() [all …]
|
/dports/games/springlobby/springlobby-0.180/src/hosting/ |
H A D | mainjoinbattletab.h | 9 class Battle; variable 25 void HostBattle( Battle& battle ); 26 void JoinBattle( Battle& battle ); 31 Battle* GetCurrentBattle(); 48 BattleroomMMOptionsTab<Battle>& GetMMOptionsTab(); 58 BattleroomMMOptionsTab<Battle>* m_mm_opts_tab;
|
/dports/games/valyriatear/ValyriaTear-1.1.0/data/battles/enemies_animations/fenrir/ |
H A D | fenrir_death.lua | 16 local Battle = nil 38 Battle = battle; 40 Script = Battle:GetScriptSupervisor(); 41 Effects = Battle:GetEffectSupervisor(); 129 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/boss_death_particle.lua", 131 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/boss_death_particle.lua", 133 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/boss_death_particle.lua", 135 Battle:TriggerBattleParticleEffect("data/visuals/particle_effects/boss_death_particle.lua",
|
/dports/games/scourge/scourge/src/ |
H A D | battle.cpp | 36 char *Battle::sound[] = { 51 int Battle::potionSoundStart = 5; 65 Battle::Battle() { in Battle() function in Battle 71 Battle::Battle( Session *session, Creature *creature ) { in Battle() function in Battle 89 Battle::~Battle() { in ~Battle() 106 void Battle::setupBattles( Session *session, Battle *battle[], int count, vector<Battle *> *turns )… in setupBattles() 119 Battle *b = *e; in setupBattles() 162 bool Battle::fightTurn() { in fightTurn() 261 void Battle::endTurn() { in endTurn() 718 void Battle::useSkill() { in useSkill() [all …]
|