/dports/games/lordsawar/lordsawar-0.3.2/src/gui/ |
H A D | fight-order-dialog.cpp | 64 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 D | fight-order-dialog.h | 49 { add(image); add(name); add(army_type);} in ArmiesColumns() 53 Gtk::TreeModelColumn<guint32> army_type; variable 58 void addArmyType(guint32 army_type);
|
H A D | army-bonus-dialog.cpp | 52 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 D | report-dialog.cpp | 357 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 D | army-bonus-dialog.h | 54 void addArmyType(guint32 army_type);
|
/dports/games/lordsawar/lordsawar-0.3.2/src/ |
H A D | city.cpp | 429 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 D | stack.h | 228 bool killArmies(guint32 army_type); 266 bool hasArmyType(guint32 army_type) const;
|
H A D | stacklist.h | 186 std::list<Stack*> killArmies(guint32 army_type);
|
H A D | reward.cpp | 217 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 D | armyset.h | 184 ArmyProto * lookupArmyByType(guint32 army_type) const;
|
H A D | reward.h | 269 Reward_Allies(guint32 army_type, guint32 army_set, guint32 count);
|
H A D | stack.cpp | 1096 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 D | stacklist.cpp | 627 std::list<Stack*> Stacklist::killArmies(guint32 army_type) in killArmies() argument 632 if ((*it)->killArmies(army_type)) in killArmies()
|
H A D | game.cpp | 1334 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 D | player.cpp | 3918 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 D | fight-order-editor-dialog.cpp | 82 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 D | fight-order-editor-dialog.h | 48 { 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 D | select-army-dialog.cpp | 66 void SelectArmyDialog::preselect_army (guint32 army_type) in preselect_army() argument 69 if (selectable[i]->getId () == army_type) in preselect_army()
|
H A D | select-army-dialog.h | 73 void preselect_army (guint32 army_type);
|
H A D | armyset-window.h | 139 void addArmyType(guint32 army_type);
|
H A D | armyset-window.cpp | 836 void ArmySetWindow::addArmyType(guint32 army_type) in addArmyType() argument 840 a = d_armyset->lookupArmyByType(army_type); in addArmyType()
|