Home
last modified time | relevance | path

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

12

/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/zaproxy/zap/view/
H A DTechnologyTreePanel.java53 private final JCheckBoxTree techTree; field in TechnologyTreePanel
62 techTree = in TechnologyTreePanel()
80 scrollPane.setViewportView(techTree); in TechnologyTreePanel()
112 techTree.setModel(new DefaultTreeModel(root)); in refresh()
113 techTree.expandAll(); in refresh()
114 techTree.setCheckBoxEnabled(new TreePath(root), false); in refresh()
132 techTree.check(tp, containsAnyOfTopLevelTech(includedTech, tech)); in setTechSet()
134 techTree.check(tp, techSet.includes(tech)); in setTechSet()
153 if (techTree.isSelectedFully(tp)) { in getTechSet()
164 techTree.checkSubTree(techTree.getPathForRow(0), true); in reset()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/global/
H A Dlang.cpp298 if(folderExists(techPath + techTree) == true) { in loadTechTreeStrings()
305 string techTreeFolder = currentPath + techTree + "/"; in loadTechTreeStrings()
324 techNameLoaded = techTree; in loadTechTreeStrings()
327 techTree != techNameLoaded) { in loadTechTreeStrings()
328 techNameLoaded = techTree; in loadTechTreeStrings()
348 techNameLoaded = techTree; in loadTechTreeStrings()
351 techTree != techNameLoaded) { in loadTechTreeStrings()
352 techNameLoaded = techTree; in loadTechTreeStrings()
368 techNameLoaded = techTree; in loadTechTreeStrings()
371 techTree != techNameLoaded) { in loadTechTreeStrings()
[all …]
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Player/
H A DProvidesPrerequisite.cs45 TechTree techTree; field in OpenRA.Mods.Common.Traits.ProvidesPrerequisite
78 techTree = playerActor.Trait<TechTree>(); in Created()
87 techTree = newOwner.PlayerActor.Trait<TechTree>(); in OnOwnerChanged()
105 enabled = techTree.HasPrerequisites(Info.RequiresPrerequisites); in Update()
111 techTree.ActorChanged(self); in TraitEnabled()
117 techTree.ActorChanged(self); in TraitDisabled()
H A DGrantConditionOnPrerequisiteManager.cs29 readonly TechTree techTree; field in OpenRA.Mods.Common.Traits.GrantConditionOnPrerequisiteManager
34 techTree = self.Trait<TechTree>(); in GrantConditionOnPrerequisiteManager()
48 techTree.Add(key, prerequisites, 0, this); in Register()
54 u.PrerequisitesUpdated(actor, techTree.HasPrerequisites(prerequisites)); in Register()
66 techTree.Remove(key); in Unregister()
H A DProductionQueue.cs117 protected TechTree techTree; field in OpenRA.Mods.Common.Traits.ProductionQueue
153 techTree = playerActor.Trait<TechTree>(); in INotifyCreated.Created()
174 techTree = newOwner.PlayerActor.Trait<TechTree>(); in INotifyOwnerChanged.OnOwnerChanged()
185 techTree.Update(); in INotifyOwnerChanged.OnOwnerChanged()
207 techTree.Add(a.Name, bi.Prerequisites, bi.BuildLimit, this); in CacheProducibles()
454 .Select(t => t.GetProductionTimeModifier(techTree, Info.Type)) in GetBuildTime()
468 .Select(t => t.GetProductionCostModifier(techTree, Info.Type)); in GetProductionCost()
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Cnc/Traits/SupportPowers/
H A DGrantPrerequisiteChargeDrainPower.cs48 TechTree techTree; field in OpenRA.Mods.Cnc.Traits.GrantPrerequisiteChargeDrainPower
65 techTree = playerActor.Trait<TechTree>(); in Created()
72 techTree = newOwner.PlayerActor.Trait<TechTree>(); in INotifyOwnerChanged.OnOwnerChanged()
84 techTree.ActorChanged(self); in Activate()
90 techTree.ActorChanged(self); in Deactivate()
/dports/games/glest/glest_source_3.2.2/source/glest_game/types/
H A Dfaction_type.cpp37 void FactionType::load(const string &dir, const TechTree *techTree, Checksum* checksum){ in load() argument
67 unitTypes[i].load(i, str, techTree, this, checksum); in load()
78 upgradeTypes[i].load(str, techTree, this, checksum); in load()
102 startingResources[i].init(techTree->getResourceType(name), amount); in load()
H A Dunit_type.cpp85 void UnitType::load(int id,const string &dir, const TechTree *techTree, const FactionType *factionT… in load() argument
130 armorType= techTree->getArmorType(armorTypeName); in load()
234 costs[i].init(techTree->getResourceType(name), amount); in load()
244 storedResources[i].init(techTree->getResourceType(name), amount); in load()
299 skillType->load(sn, dir, techTree, factionType); in load()
311 commandType->load(i, commandNode, dir, techTree, factionType, *this); in load()
H A Dupgrade_type.cpp50 void UpgradeType::load(const string &dir, const TechTree *techTree, const FactionType *factionType,… in load() argument
101 costs[i].init(techTree->getResourceType(name), amount); in load()
H A Dupgrade_type.h62 …void load(const string &dir, const TechTree *techTree, const FactionType *factionType, Checksum* c…
H A Dfaction_type.h48 void load(const string &dir, const TechTree *techTree, Checksum* checksum);
H A Delement_type.h110 void checkCostStrings(TechTree *techTree);
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/Traits/Multipliers/
H A DProductionCostMultiplier.cs31 int IProductionCostModifierInfo.GetProductionCostModifier(TechTree techTree, string queue) in IProductionCostModifierInfo.GetProductionCostModifier() argument
33 …if ((!Queue.Any() || Queue.Contains(queue)) && (!Prerequisites.Any() || techTree.HasPrerequisites(… in IProductionCostModifierInfo.GetProductionCostModifier()
H A DProductionTimeMultiplier.cs31 int IProductionTimeModifierInfo.GetProductionTimeModifier(TechTree techTree, string queue) in IProductionTimeModifierInfo.GetProductionTimeModifier() argument
33 …if ((!Queue.Any() || Queue.Contains(queue)) && (!Prerequisites.Any() || techTree.HasPrerequisites(… in IProductionTimeModifierInfo.GetProductionTimeModifier()
/dports/games/glest/glest_source_3.2.2/source/glest_game/world/
H A Dworld.cpp91 techTree.load(dir, checksum); in loadTech()
97 map.load(path, &techTree, &tileset); in loadMap()
138 for(int i=0; i<techTree.getResourceTypeCount(); ++i){ in update()
139 const ResourceType *rt= techTree.getResourceType(i); in update()
177 for(int i=0; i<techTree.getResourceTypeCount(); ++i){ in tick()
178 const ResourceType *rt= techTree.getResourceType(i); in tick()
331 const ResourceType* rt= techTree.getResourceType(resourceName); in giveResource()
401 const ResourceType* rt= techTree.getResourceType(resourceName); in getResourceAmount()
537 const FactionType *ft= techTree.getType(gs->getFactionTypeName(i)); in initFactionTypes()
539 ft, gs->getFactionControl(i), &techTree, i, gs->getTeam(i), in initFactionTypes()
H A Dworld.h66 TechTree techTree; variable
103 const TechTree *getTechTree() const {return &techTree;} in getTechTree()
/dports/games/glest/glest_source_3.2.2/source/glest_game/type_instances/
H A Dfaction.cpp34 const FactionType *factionType, ControlType control, TechTree *techTree, in init() argument
44 resources.resize(techTree->getResourceTypeCount()); in init()
45 store.resize(techTree->getResourceTypeCount()); in init()
46 for(int i=0; i<techTree->getResourceTypeCount(); ++i){ in init()
47 const ResourceType *rt= techTree->getResourceType(i); in init()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/type_instances/
H A Dresource.cpp119 void Resource::loadGame(const XmlNode *rootNode, int index,const TechTree *techTree) { in loadGame() argument
126 type = techTree->getResourceType(resourceNode->getAttribute("type")->getValue()); in loadGame()
H A Dfaction.h179 TechTree *techTree; variable
253 FactionType *factionType, ControlType control, TechTree *techTree, Game *game,
271 inline TechTree * getTechTree() const { return techTree; } in getTechTree()
H A Dresource.h67 void loadGame(const XmlNode *rootNode, int index,const TechTree *techTree);
H A Dobject.cpp276 void Object::loadGame(const XmlNode *rootNode,const TechTree *techTree) { in loadGame() argument
294 resource->loadGame(objectNode,0,techTree); in loadGame()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/types/
H A Dunit_type.cpp183 void UnitType::loaddd(int id,const string &dir, const TechTree *techTree, in loaddd() argument
352 armorType= techTree->getArmorType(armorTypeName); in loaddd()
463 techTree->getPath()); in loaddd()
606 costs[index].init(techTree->getResourceType(iterMap->first), iterMap->second); in loaddd()
648 storedResources[index].init(techTree->getResourceType(iterMap->first), iterMap->second); in loaddd()
672 resource.setResourceType(techTree->getResourceType(name)); in loaddd()
846 skillType->load(sn, attackBoostsNode, dir, techTree, factionType, loadedFileList,sourceXMLFile); in loaddd()
870 commandType->load(i, commandNode, dir, techTree, factionType, *this, in loaddd()
H A Dfaction_type.cpp50 void FactionType::load(const string &factionName, const TechTree *techTree, Checksum* checksum, in load() argument
57 string techTreePath = techTree->getPath(); in load()
58 string techTreeName=techTree->getNameUntranslated(); in load()
98 string linkedTechTreePath=techTree->findPath(linkedTechTreeName); in load()
179 unitTypes[i].loaddd(i, str, techTree,techTreePath, this, checksum,techtreeChecksum, in load()
181 …sBaseValue+(int)((((double)i + 1.0) / (double)unitTypes.size()) * 100.0/techTree->getTypeCount())); in load()
209 upgradeTypes[i].load(str, techTree, this, checksum, in load()
251 startingResources[i].init(techTree->getResourceType(name), amount); in load()
/dports/security/zaproxy/zaproxy-2.11.1/zap/src/main/java/org/zaproxy/zap/extension/ascan/
H A DCustomScanDialog.java128 private TechnologyTreePanel techTree; field in CustomScanDialog
448 techTree.setTechSet(techSet); in setTechSet()
450 techTree.reset(); in setTechSet()
654 if (techTree == null) { in getTechTree()
655 techTree = in getTechTree()
659 return techTree; in getTechTree()
/dports/games/megaglest/megaglest-source-3.13.0/source/glest_game/world/
H A Dworld.cpp60 techTree = NULL; in World()
118 delete techTree; in cleanup()
119 techTree = NULL; in cleanup()
471 techTree = new TechTree(pathList); in loadTech()
478 return techTree->validateFactionTypes(); in validateFactionTypes()
482 return techTree->validateResourceTypes(); in validateResourceTypes()
491 mapChecksum = map.load(path, techTree, &tileset); in loadMap()
811 const ResourceType *rt = techTree->getResourceType(i); in updateAllFactionConsumableCosts()
3045 if(techTree != NULL) { in saveGame()
3046 techTree->saveGame(worldNode); in saveGame()
[all …]

12