Home
last modified time | relevance | path

Searched refs:thisFaction (Results 1 – 8 of 8) sorted by relevance

/dports/games/glest/glest_source_3.2.2/source/glest_game/type_instances/
H A Dfaction.h70 bool thisFaction; variable
75 int factionIndex, int teamIndex, int startLocationIndex, bool thisFaction, bool giveResources);
H A Dfaction.cpp35 int factionIndex, int teamIndex, int startLocationIndex, bool thisFaction, bool giveResources) in init() argument
42 this->thisFaction= thisFaction; in init()
288 if(sound!=NULL && thisFaction){ in applyCostsOnInterval()
/dports/games/glest/glest_source_3.2.2/source/glest_game/gui/
H A Dgui.cpp401 const Faction* thisFaction= world->getThisFaction(); in selectInterestingUnit() local
419 for(int i= 0; i<thisFaction->getUnitCount(); ++i){ in selectInterestingUnit()
420 Unit* unit= thisFaction->getUnit(i); in selectInterestingUnit()
437 for(int i= 0; i<thisFaction->getUnitCount(); ++i){ in selectInterestingUnit()
438 Unit* unit= thisFaction->getUnit(i); in selectInterestingUnit()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/type_instances/
H A Dfaction.h156 bool thisFaction; variable
254 int factionIndex, int teamIndex, int startLocationIndex, bool thisFaction,
302 inline bool getThisFaction() const {return thisFaction;} in getThisFaction()
H A Dfaction.cpp492 thisFaction=false; in init()
705 int factionIndex, int teamIndex, int startLocationIndex, bool thisFaction, bool giveResources, in init() argument
717 this->thisFaction= thisFaction; in init()
1239 (thisFaction == true || world->showWorldForPlayer(world->getThisTeamIndex()) == true)) { in applyCostsOnInterval()
2223 result += "thisFaction = " + intToStr(this->thisFaction) + "\n"; in toString()
2288 factionNode->addAttribute("thisFaction",intToStr(thisFaction), mapTagReplacements); in saveGame()
2386 thisFaction = factionNode->getAttribute("thisFaction")->getIntValue() != 0; in loadGame()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/gui/
H A Dgui.cpp577 const Faction *thisFaction = world->getThisFaction(); in selectInterestingUnit() local
595 for(int index = 0; index < thisFaction->getUnitCount(); ++index){ in selectInterestingUnit()
596 Unit* unit = thisFaction->getUnit(index); in selectInterestingUnit()
613 for(int index = 0; index < thisFaction->getUnitCount(); ++index) { in selectInterestingUnit()
614 Unit* unit = thisFaction->getUnit(index); in selectInterestingUnit()
1355 const Faction* thisFaction= world->getThisFaction(); in saveGame() local
1357 …guiNode->addAttribute("choosenBuildingTypeFactionIndex",intToStr(thisFaction->getIndex()), mapTagR… in saveGame()
/dports/games/glest/glest_source_3.2.2/source/glest_game/graphics/
H A Drenderer.cpp673 const Faction *thisFaction= world->getFaction(world->getThisFactionIndex()); in renderResourceStatus() local
682 const Resource *r= thisFaction->getResource(rt); in renderResourceStatus()
686 for(int k=0; k<thisFaction->getType()->getUnitTypeCount(); ++k){ in renderResourceStatus()
687 const UnitType *ut= thisFaction->getType()->getUnitType(k); in renderResourceStatus()
703 str+= "/" + intToStr(thisFaction->getStoreAmount(rt)); in renderResourceStatus()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/graphics/
H A Drenderer.cpp2410 const Faction *thisFaction = world->getFaction(world->getThisFactionIndex()); in renderResourceStatus() local
2467 bool showResource = world->showResourceTypeForTeam(rt, thisFaction->getTeam()); in renderResourceStatus()
2469 rowsRendered = renderResource(thisFaction, in renderResourceStatus()
2482 const Faction *factionForResourceView = thisFaction; in renderResourceStatus()
2514 const Faction *factionForResourceView = thisFaction; in renderResourceStatus()
2522 if(selectedUnit != NULL && selectedUnit->getFaction()->isAlly(thisFaction) == true) { in renderResourceStatus()