Home
last modified time | relevance | path

Searched refs:army_type (Results 1 – 21 of 21) sorted by relevance

/dports/games/lordsawar/lordsawar-0.3.2/src/gui/
H A Dfight-order-dialog.cpp64 fight_order.push_back((*i)[armies_columns.army_type]); in run()
69 void FightOrderDialog::addArmyType(guint32 army_type) in addArmyType() argument
73 const ArmyProto *a = alist->getArmy(player->getArmyset(), army_type); in addArmyType()
76 ()->getCircledArmyPic(player->getArmyset(), army_type, player, NULL, in addArmyType()
79 (*i)[armies_columns.army_type] = a->getId(); in addArmyType()
100 if (i == (kids[j])[armies_columns.army_type]) in on_reset_button_clicked()
H A Dfight-order-dialog.h49 { add(image); add(name); add(army_type);} in ArmiesColumns()
53 Gtk::TreeModelColumn<guint32> army_type; variable
58 void addArmyType(guint32 army_type);
H A Darmy-bonus-dialog.cpp52 void ArmyBonusDialog::addArmyType(guint32 army_type) in addArmyType() argument
57 Armysetlist::getInstance()->getArmy(p->getArmyset(), army_type); in addArmyType()
63 gc->getCircledArmyPic(p->getArmyset(), army_type, p, NULL, false, in addArmyType()
H A Dreport-dialog.cpp357 int army_type = 0; in addProduction() local
365 army_type = act->getArmy()->getTypeId(); in addProduction()
381 army_type = act->getArmy()->getTypeId(); in addProduction()
395 army_type = act->getArmyType(); in addProduction()
403 gc->getCircledArmyPic(p->getArmyset(), army_type, p, NULL, false, in addProduction()
H A Darmy-bonus-dialog.h54 void addArmyType(guint32 army_type);
/dports/games/lordsawar/lordsawar-0.3.2/src/
H A Dcity.cpp429 int army_type; in setRandomArmytypes() local
432 army_type = 1; in setRandomArmytypes()
434 army_type = 0; in setRandomArmytypes()
436 army_type = 1 + likely + (Rnd::rand () % 11); in setRandomArmytypes()
456 army_type += 1 + (Rnd::rand() % (2 + (produce_allies ? 2 : 0))); in setRandomArmytypes()
457 template_army = Armysetlist::getInstance()->getArmy(set, army_type); in setRandomArmytypes()
476 if (army_type < 5) in setRandomArmytypes()
477 army_type += 1 + (Rnd::rand() % (7 + (produce_allies ? 2 : 0))); in setRandomArmytypes()
479 army_type += 1 + (Rnd::rand() % (2 + (produce_allies ? 2 : 0))); in setRandomArmytypes()
480 template_army = Armysetlist::getInstance()->getArmy(set, army_type); in setRandomArmytypes()
[all …]
H A Dstack.h228 bool killArmies(guint32 army_type);
266 bool hasArmyType(guint32 army_type) const;
H A Dstacklist.h186 std::list<Stack*> killArmies(guint32 army_type);
H A Dreward.cpp217 Reward_Allies::Reward_Allies(guint32 army_type, guint32 army_set, guint32 count) in Reward_Allies() argument
220 d_army_type = army_type; in Reward_Allies()
222 d_army = Armysetlist::getInstance()->getArmy (army_set, army_type); in Reward_Allies()
H A Darmyset.h184 ArmyProto * lookupArmyByType(guint32 army_type) const;
H A Dreward.h269 Reward_Allies(guint32 army_type, guint32 army_set, guint32 count);
H A Dstack.cpp1096 bool Stack::hasArmyType(guint32 army_type) const in hasArmyType()
1100 if ((*it)->getTypeId() == army_type) in hasArmyType()
1279 bool Stack::killArmies(guint32 army_type) in killArmies() argument
1284 if ((*it)->getTypeId() == army_type) in killArmies()
H A Dstacklist.cpp627 std::list<Stack*> Stacklist::killArmies(guint32 army_type) in killArmies() argument
632 if ((*it)->killArmies(army_type)) in killArmies()
H A Dgame.cpp1334 int army_type = o->getStrongestArmy()->getTypeId(); in on_city_fight_finished() local
1337 if (city->getArmytype(i) == army_type) in on_city_fight_finished()
H A Dplayer.cpp3918 guint32 army_type = q->getArmytypeToKill(); in AI_getQuestDestination() local
3923 if ((*i)->hasArmyType(army_type) == true) in AI_getQuestDestination()
/dports/games/lordsawar/lordsawar-0.3.2/src/editor/
H A Dfight-order-editor-dialog.cpp82 void FightOrderEditorDialog::addArmyType(guint32 army_type, Player *player) in addArmyType() argument
87 const ArmyProto *a = alist->getArmy(player->getArmyset(), army_type); in addArmyType()
90 gc->getCircledArmyPic(player->getArmyset(), army_type, player, NULL, in addArmyType()
93 (*i)[armies_columns.army_type] = a->getId(); in addArmyType()
142 fight_order.push_back((*i)[armies_columns.army_type]); in on_army_reordered()
H A Dfight-order-editor-dialog.h48 { add(image); add(name); add(army_type);} in ArmiesColumns()
52 Gtk::TreeModelColumn<guint32> army_type; variable
58 void addArmyType(guint32 army_type, Player *player);
H A Dselect-army-dialog.cpp66 void SelectArmyDialog::preselect_army (guint32 army_type) in preselect_army() argument
69 if (selectable[i]->getId () == army_type) in preselect_army()
H A Dselect-army-dialog.h73 void preselect_army (guint32 army_type);
H A Darmyset-window.h139 void addArmyType(guint32 army_type);
H A Darmyset-window.cpp836 void ArmySetWindow::addArmyType(guint32 army_type) in addArmyType() argument
840 a = d_armyset->lookupArmyByType(army_type); in addArmyType()