Home
last modified time | relevance | path

Searched refs:monsterAllyIndex (Results 1 – 25 of 25) sorted by relevance

/dports/games/barony/Barony-3.3.7/src/
H A Dactmonster.cpp3739 if ( my->monsterAllyIndex > 0 && my->monsterAllyIndex < MAXPLAYERS ) in actMonster()
3993 if ( my->monsterAllyIndex > 0 && my->monsterAllyIndex < MAXPLAYERS ) in actMonster()
5086 if ( my->monsterAllyIndex > 0 && my->monsterAllyIndex < MAXPLAYERS ) in actMonster()
5094 if ( my->monsterAllyIndex > 0 && my->monsterAllyIndex < MAXPLAYERS ) in actMonster()
7116 if ( my->monsterAllyIndex > 0 && my->monsterAllyIndex < MAXPLAYERS ) in actMonster()
8909 if ( stats[monsterAllyIndex] && stats[monsterAllyIndex]->MP == 0 ) in monsterAllySendCommand()
9389 if ( players[monsterAllyIndex] && players[monsterAllyIndex]->entity in monsterAllySendCommand()
9562 if ( monsterAllyIndex < 0 || monsterAllyIndex >= MAXPLAYERS ) in handleNPCInteractDialogue()
9975 if ( stats[monsterAllyIndex] && players[monsterAllyIndex] && players[monsterAllyIndex]->entity ) in shouldMonsterDefend()
10236 if ( monsterAllyIndex >= 0 && monsterAllyIndex < MAXPLAYERS ) in monsterAllyGetPlayerLeader()
[all …]
H A Dactitem.cpp167 messagePlayer(monsterInteracting->monsterAllyIndex, language[3637]); in actItem()
199 messagePlayer(monsterInteracting->monsterAllyIndex, language[3637]); in actItem()
207 …achievementObserver.playerAchievements[monsterInteracting->monsterAllyIndex].checkPathBetweenObjec… in actItem()
H A Dactarrow.cpp620 if ( parent->behavior == &actMonster && parent->monsterAllyIndex != -1 ) in actArrow()
622 if ( hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1 ) in actArrow()
635 if ( parent->behavior == &actPlayer || parent->monsterAllyIndex != -1 ) in actArrow()
637 …vior == &actPlayer || (hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1) ) in actArrow()
H A Dactthrown.cpp884 hit.entity->monsterAllyIndex = parent->skill[2]; in actThrown()
1250 if ( parent->behavior == &actMonster && parent->monsterAllyIndex != -1 ) in actThrown()
1252 if ( hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1 ) in actThrown()
1287 if ( parent->behavior == &actPlayer || parent->monsterAllyIndex != -1 ) in actThrown()
1289 …vior == &actPlayer || (hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1) ) in actThrown()
H A Dentity.cpp121 monsterAllyIndex(skill[42]), in Entity()
2179 if ( this->monsterAllyIndex >= 1 && this->monsterAllyIndex < MAXPLAYERS ) in setHP()
4972 if ( stats[my->monsterAllyIndex] ) in statGetDEX()
6027 if ( behavior == &actMonster && monsterAllyIndex != -1 ) in attack()
6901 if ( behavior == &actMonster && monsterAllyIndex != -1 && hit.entity->monsterAllyIndex != -1 ) in attack()
14397 if ( monsterAllyIndex > 0 && monsterAllyIndex < MAXPLAYERS ) in monsterAcquireAttackTarget()
14439 if ( monsterAllyIndex > 0 && monsterAllyIndex < MAXPLAYERS ) in monsterReleaseAttackTarget()
14755 if ( monsterAllyIndex >= 0 && monsterAllyIndex < MAXPLAYERS ) in monsterAddNearbyItemToInventory()
14757 if ( players[monsterAllyIndex] && players[monsterAllyIndex]->entity ) in monsterAddNearbyItemToInventory()
14920 if ( monsterAllyIndex >= 0 ) in shouldMonsterEquipThisWeapon()
[all …]
H A Dentity_editor.cpp93 monsterAllyIndex(skill[42]), in Entity()
H A Dmonster_sentrybot.cpp1029 int leader = my->monsterAllyIndex; in gyroBotAnimate()
1040 if ( my->ticks % (detectDuration) == 0 && my->monsterAllyIndex == clientnum ) in gyroBotAnimate()
1064 if ( ent->behavior == &actMonster && ent->monsterAllyIndex < 0 ) in gyroBotAnimate()
H A Dmechanisms.cpp196 …achievementObserver.playerAchievements[monsterInteracting->monsterAllyIndex].checkPathBetweenObjec… in actSwitch()
H A Dpaths.cpp333 if ( entity->behavior == &actPlayer && my->monsterAllyIndex >= 0 in generatePath()
H A Dentity.hpp191 …Sint32& monsterAllyIndex; //skill[42] If monster is an ally of a player, assign number 0-3 to it f… member in Entity
H A Dmonster_goblin.cpp1090 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in goblinCanWieldItem()
H A Ditem_tool.cpp1306 summon->monsterAllyIndex = parent->skill[2]; in applyTinkeringCreation()
H A Dactbeartrap.cpp710 tmp->applyLockpick(monsterInteracting->monsterAllyIndex, *my); in actBomb()
H A Dmonster_automaton.cpp1348 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in automatonCanWieldItem()
H A Dactboulder.cpp385 steamAchievementClient(entity->monsterAllyIndex, "BARONY_ACH_GOODNIGHT_SWEET_PRINCE"); in boulderCheckAgainstEntity()
H A Dmonster_goatman.cpp1589 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in goatmanCanWieldItem()
H A Dmonster_human.cpp1719 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in humanCanWieldItem()
H A Dactplayer.cpp3129 if ( parent && parent->monsterAllyIndex == PLAYER_NUM ) in actPlayer()
3134 else if ( selectedEntity->monsterAllyIndex == PLAYER_NUM ) in actPlayer()
H A Dgame.cpp1440 monster->monsterAllyIndex = c; in gameLogic()
H A Ditem_usage_funcs.cpp3632 monster->monsterAllyIndex = player; in item_ScrollSummon()
H A Dmenu.cpp9639 monster->monsterAllyIndex = c; in handleMainMenu()
/dports/games/barony/Barony-3.3.7/src/interface/
H A Ddrawminimap.cpp200 if ( entity->behavior == &actMonster && entity->monsterAllyIndex < 0 ) in drawMinimap()
423 if ( entity->monsterAllyIndex >= 0 ) in drawMinimap()
425 drawMonsterAlly = entity->monsterAllyIndex; in drawMinimap()
H A Ddrawstatus.cpp200 player = source->monsterAllyIndex; // don't update enemy bar if attacking leader. in updateEnemyBar()
216 player = source->monsterAllyIndex; // don't update enemy bar if attacking leader. in updateEnemyBar()
/dports/games/barony/Barony-3.3.7/src/magic/
H A Dmagic.cpp234 monster->monsterAllyIndex = player; in spell_summonFamiliar()
357 hit.entity->monsterAllyIndex = parent->skill[2]; in spellEffectDominate()
1476 hit.entity->monsterAllyIndex = whoToFollow->skill[2]; in spellEffectCharmMonster()
1516 if ( hit.entity->monsterAllyIndex != -1 ) in spellEffectCharmMonster()
1518 hit.entity->monsterAllyIndex = -1; in spellEffectCharmMonster()
1851 if ( target->monsterAllyIndex != -1 ) in spellEffectPolymorph()
1894 summonedEntity->monsterAllyIndex = leader->skill[2]; in spellEffectPolymorph()
H A Dactmagic.cpp1039 if ( parent->behavior == &actMonster && parent->monsterAllyIndex != -1 ) in actMagicMissile()
1041 if ( hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1 ) in actMagicMissile()
1067 if ( parent->behavior == &actPlayer || parent->monsterAllyIndex != -1 ) in actMagicMissile()
1069 …vior == &actPlayer || (hit.entity->behavior == &actMonster && hit.entity->monsterAllyIndex != -1) ) in actMagicMissile()
4424 monster->monsterAllyIndex = caster->skill[2]; in actParticleSapCenter()
4480 monster->monsterAllyIndex = caster->skill[2]; in actParticleSapCenter()