/dports/games/barony/Barony-3.3.7/src/ |
H A D | actmonster.cpp | 3739 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 D | actitem.cpp | 167 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 D | actarrow.cpp | 620 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 D | actthrown.cpp | 884 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 D | entity.cpp | 121 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 D | entity_editor.cpp | 93 monsterAllyIndex(skill[42]), in Entity()
|
H A D | monster_sentrybot.cpp | 1029 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 D | mechanisms.cpp | 196 …achievementObserver.playerAchievements[monsterInteracting->monsterAllyIndex].checkPathBetweenObjec… in actSwitch()
|
H A D | paths.cpp | 333 if ( entity->behavior == &actPlayer && my->monsterAllyIndex >= 0 in generatePath()
|
H A D | entity.hpp | 191 …Sint32& monsterAllyIndex; //skill[42] If monster is an ally of a player, assign number 0-3 to it f… member in Entity
|
H A D | monster_goblin.cpp | 1090 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in goblinCanWieldItem()
|
H A D | item_tool.cpp | 1306 summon->monsterAllyIndex = parent->skill[2]; in applyTinkeringCreation()
|
H A D | actbeartrap.cpp | 710 tmp->applyLockpick(monsterInteracting->monsterAllyIndex, *my); in actBomb()
|
H A D | monster_automaton.cpp | 1348 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in automatonCanWieldItem()
|
H A D | actboulder.cpp | 385 steamAchievementClient(entity->monsterAllyIndex, "BARONY_ACH_GOODNIGHT_SWEET_PRINCE"); in boulderCheckAgainstEntity()
|
H A D | monster_goatman.cpp | 1589 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in goatmanCanWieldItem()
|
H A D | monster_human.cpp | 1719 …if ( monsterAllyIndex >= 0 && (monsterAllyClass != ALLY_CLASS_MIXED || item.interactNPCUid == getU… in humanCanWieldItem()
|
H A D | actplayer.cpp | 3129 if ( parent && parent->monsterAllyIndex == PLAYER_NUM ) in actPlayer() 3134 else if ( selectedEntity->monsterAllyIndex == PLAYER_NUM ) in actPlayer()
|
H A D | game.cpp | 1440 monster->monsterAllyIndex = c; in gameLogic()
|
H A D | item_usage_funcs.cpp | 3632 monster->monsterAllyIndex = player; in item_ScrollSummon()
|
H A D | menu.cpp | 9639 monster->monsterAllyIndex = c; in handleMainMenu()
|
/dports/games/barony/Barony-3.3.7/src/interface/ |
H A D | drawminimap.cpp | 200 if ( entity->behavior == &actMonster && entity->monsterAllyIndex < 0 ) in drawMinimap() 423 if ( entity->monsterAllyIndex >= 0 ) in drawMinimap() 425 drawMonsterAlly = entity->monsterAllyIndex; in drawMinimap()
|
H A D | drawstatus.cpp | 200 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 D | magic.cpp | 234 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 D | actmagic.cpp | 1039 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()
|