/dports/games/py-fife/fifengine-0.4.2/tests/swig_tests/ |
H A D | location_tests.py | 57 pt = self.loc1.getLayerCoordinates() 63 pt = self.loc1.getLayerCoordinates(self.layer2) 72 pt = self.loc1.getLayerCoordinates(self.layer2) 126 self.assert_(self.loc1.getLayerCoordinates() == P(-2, 0)) 132 self.assert_(self.loc1.getLayerCoordinates() == P(0, 0)) 135 self.assert_(self.loc1.getLayerCoordinates() == P(1, 0)) 138 self.assert_(self.loc1.getLayerCoordinates() == P(2, 0)) 151 self.assert_(self.loc1.getLayerCoordinates() == P(0, 1)) 168 self.assert_(self.loc1.getLayerCoordinates() == P(0, 1)) 172 self.assert_(self.loc1.getLayerCoordinates() == P(0, 0)) [all …]
|
H A D | action_tests.py | 82 self.inst.getLocation().getLayerCoordinates() 83 self.target.getLayerCoordinates() 84 if self.inst.getLocation().getLayerCoordinates() == self.target.getLayerCoordinates():
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/pathfinder/routepather/ |
H A D | routepather.cpp | 51 const ModelCoordinate a_coord = a.getLayerCoordinates(); in locationsEqual() 52 const ModelCoordinate b_coord = b.getLayerCoordinates(); in locationsEqual() 158 Cell* startCell = startCache->getCell(start.getLayerCoordinates()); in solveRoute() 159 Cell* endCell = endCache->getCell(end.getLayerCoordinates()); in solveRoute() 289 oldCoords.push_back(current.getLayerCoordinates()); in followRoute() 294 newCoords.push_back(currentNode.getLayerCoordinates()); in followRoute() 335 Cell* tmpCell = nodeCache->getCell(currentNode.getLayerCoordinates()); in followRoute() 359 tmpCell = prevCache->getCell(prevNode.getLayerCoordinates()); in followRoute() 361 prevPos.z = tmpCell->getLayerCoordinates().z + prevGrid->getZShift(); in followRoute() 393 Cell* cell = cache->getCell(nextLocation.getLayerCoordinates()); in followRoute() [all …]
|
H A D | singlelayersearch.cpp | 46 m_startCoordInt(m_cellCache->convertCoordToInt(m_from.getLayerCoordinates())), in SingleLayerSearch() 47 m_destCoordInt(m_cellCache->convertCoordToInt(m_to.getLayerCoordinates())), in SingleLayerSearch() 78 ModelCoordinate destCoord = m_to.getLayerCoordinates(); in updateSearch() 85 int32_t cellZ = nextCell->getLayerCoordinates().z; in updateSearch() 102 if (zLimited && ABS(cellZ-(*i)->getLayerCoordinates().z) > maxZ) { in updateSearch() 106 ModelCoordinate adjacentCoord = (*i)->getLayerCoordinates(); in updateSearch() 118 currentLoc.setLayerCoordinates(nextCell->getLayerCoordinates()); in updateSearch() 120 adjacentLoc.setLayerCoordinates((*i)->getLayerCoordinates()); in updateSearch() 123 …std::vector<ModelCoordinate> coords = grid->toMultiCoordinates(adjacentLoc.getLayerCoordinates(), … in updateSearch() 200 newnode.setExactLayerCoordinates(FIFE::intPt2doublePt(m_to.getLayerCoordinates())); in calcPath()
|
H A D | multilayersearch.cpp | 50 m_endZone(m_endCache->getCell(m_to.getLayerCoordinates())->getZone()), in MultiLayerSearch() 60 Cell* endcell = m_endCache->getCell(m_to.getLayerCoordinates()); in MultiLayerSearch() 73 Cell* startCell = m_startCache->getCell(m_from.getLayerCoordinates()); in MultiLayerSearch() 182 int32_t cellZ = nextCell->getLayerCoordinates().z; in updateSearch() 202 if (zLimited && ABS(cellZ-(*i)->getLayerCoordinates().z) > maxZ) { in updateSearch() 206 ModelCoordinate adjacentCoord = (*i)->getLayerCoordinates(); in updateSearch() 221 currentLoc.setLayerCoordinates(nextCell->getLayerCoordinates()); in updateSearch() 223 adjacentLoc.setLayerCoordinates((*i)->getLayerCoordinates()); in updateSearch() 364 loc.setLayerCoordinates((*it)->getLayerCoordinates()); in searchBetweenTargetsNeighbor() 369 temp.setLayerCoordinates((*it)->getLayerCoordinates()); in searchBetweenTargetsNeighbor() [all …]
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/view/renderers/ |
H A D | cellselectionrenderer.cpp | 81 if ((*it).getLayerCoordinates() == loc->getLayerCoordinates()) { in selectLocation() 94 if ((*it).getLayerCoordinates() == loc->getLayerCoordinates()) { in deselectLocation() 121 cg->getVertices(vertices, loc.getLayerCoordinates()); in render()
|
H A D | blockinginforenderer.cpp | 90 ExactModelCoordinate emc = FIFE::intPt2doublePt((*cit)->getLayerCoordinates()); in render() 99 cg->getVertices(vertices, (*cit)->getLayerCoordinates()); in render() 130 cg->getVertices(vertices, instance->getLocationRef().getLayerCoordinates()); in render()
|
H A D | cellrenderer.cpp | 113 cg->getVertices(vertices, (*cit)->getLayerCoordinates()); in render() 156 loc.setLayerCoordinates((*cit)->getLayerCoordinates()); in render() 195 cg->getVertices(vertices, (*pit).getLayerCoordinates()); in render()
|
H A D | gridrenderer.cpp | 158 cg->getVertices(vertices, instance->getLocationRef().getLayerCoordinates()); in render()
|
H A D | coordinaterenderer.cpp | 88 ModelCoordinate c = m_tmploc.getLayerCoordinates(); in adjustLayerArea()
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/model/structures/ |
H A D | location.cpp | 113 ModelCoordinate Location::getLayerCoordinates() const { in getLayerCoordinates() function in FIFE::Location 143 ModelCoordinate Location::getLayerCoordinates(const Layer* layer) const { in getLayerCoordinates() function in FIFE::Location 149 return getLayerCoordinates(); in getLayerCoordinates() 181 ModelCoordinate current = getLayerCoordinates(); in getLayerDistanceTo() 182 ModelCoordinate target = location.getLayerCoordinates(m_layer); in getLayerDistanceTo()
|
H A D | instance.cpp | 147 if (m_location.getLayerCoordinates() != source.m_location.getLayerCoordinates()) { in update() 149 m_oldLocation.setLayerCoordinates(m_location.getLayerCoordinates()); in update() 301 if (m_location.getLayerCoordinates() != loc.getLayerCoordinates()) { in setLocation() 457 … if (m_activity->m_actionInfo->m_target->getLayerCoordinates() == target.getLayerCoordinates() && in move() 482 …toMultiCoordinates(m_location.getLayerCoordinates(), m_object->getMultiObjectCoordinates(m_rotatio… in move() 512 …toMultiCoordinates(m_location.getLayerCoordinates(), m_object->getMultiObjectCoordinates(m_rotatio… in follow() 633 …toMultiCoordinates(m_location.getLayerCoordinates(), m_object->getMultiObjectCoordinates(m_rotatio… in processMovement() 642 } else if (route->getEndNode().getLayerCoordinates() != target.getLayerCoordinates()) { in processMovement() 648 …toMultiCoordinates(m_location.getLayerCoordinates(), m_object->getMultiObjectCoordinates(m_rotatio… in processMovement() 709 if (route->getEndNode().getLayerCoordinates() != m_location.getLayerCoordinates()) { in processMovement() [all …]
|
H A D | instancetree.cpp | 49 ModelCoordinate coords = instance->getLocationRef().getLayerCoordinates(); in addInstance() 90 ModelCoordinate coords = (*it)->getLocationRef().getLayerCoordinates(); in visit() 109 ModelCoordinate coords = (*it)->getLocationRef().getLayerCoordinates(); in findInstances()
|
H A D | location.h | 138 ModelCoordinate getLayerCoordinates() const; 143 ModelCoordinate getLayerCoordinates(const Layer* layer) const;
|
H A D | location.i | 60 ModelCoordinate getLayerCoordinates() const; 61 ModelCoordinate getLayerCoordinates(const Layer* layer) const;
|
H A D | triggercontroller.cpp | 105 trigger->assign(loc.getLayer(), loc.getLayerCoordinates()); in createTriggerOnLocation() 112 trigger->assign((*it).getLayer(), (*it).getLayerCoordinates()); in createTriggerOnLocations() 186 it->second->remove(loc.getLayer(), loc.getLayerCoordinates()); in removeTriggerFromLocation() 194 it->second->remove((*cit).getLayer(), (*cit).getLayerCoordinates()); in removeTriggerFromLocations()
|
H A D | layer.cpp | 271 if ((*it)->getLocationRef().getLayerCoordinates() == loc.getLayerCoordinates()) { in getInstancesAt() 371 …ngle = getAngleBetween(exactCenter, intPt2doublePt((*it)->getLocationRef().getLayerCoordinates())); in getInstancesInCircleSegment() 394 min = m_instances.front()->getLocationRef().getLayerCoordinates(layer); in getMinMaxCoordinates() 398 ModelCoordinate coord = (*i)->getLocationRef().getLayerCoordinates(layer); in getMinMaxCoordinates() 473 if((*j)->isBlocking() && (*j)->getLocationRef().getLayerCoordinates() == cellCoordinate) { in cellContainsBlockingInstance() 498 if((*j)->isBlocking() && (*j)->getLocationRef().getLayerCoordinates() == cellCoordinate) { in getBlockingInstances()
|
H A D | cellcache.cpp | 80 oldmc = (*i)->getOldLocationRef().getLayerCoordinates(); in onLayerChanged() 81 newmc = (*i)->getLocationRef().getLayerCoordinates(); in onLayerChanged() 141 mc = (*i)->getLocationRef().getLayerCoordinates(); in onLayerChanged() 155 oldmc = (*i)->getOldLocationRef().getLayerCoordinates(); in onLayerChanged() 156 newmc = (*i)->getLocationRef().getLayerCoordinates(); in onLayerChanged() 182 mc = instance->getLocationRef().getLayerCoordinates(); in onInstanceCreate() 224 mc = instance->getLocationRef().getLayerCoordinates(); in onInstanceDelete() 564 int32_t cellZ = (*cit)->getLayerCoordinates().z; in resize() 691 ModelCoordinate mc = cell->getLayerCoordinates(); in addCell() 824 int32_t x = location.getLayerCoordinates().x - m_size.x; in isInCellCache() [all …]
|
H A D | cell.cpp | 172 …if (m_coordinate.z < (*it)->getLocationRef().getLayerCoordinates().z && (*it)->getObject()->isStat… in updateCellBlockingInfo() 173 m_coordinate.z = (*it)->getLocationRef().getLayerCoordinates().z; in updateCellBlockingInfo() 310 const ModelCoordinate Cell::getLayerCoordinates() const { in getLayerCoordinates() function in FIFE::Cell
|
H A D | trigger.cpp | 311 ModelCoordinate newPos = m_attached->getLocationRef().getLayerCoordinates(); in move() 312 ModelCoordinate oldPos = m_attached->getOldLocationRef().getLayerCoordinates(); in move() 323 ModelCoordinate coord = (*it)->getLayerCoordinates(); in moveTo()
|
H A D | cell.i | 72 const ModelCoordinate getLayerCoordinates() const;
|
H A D | cell.h | 268 const ModelCoordinate getLayerCoordinates() const;
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/view/ |
H A D | camera.cpp | 333 mapView.x = loc.getLayerCoordinates().x; in getLayerViewPort() 334 mapView.y = loc.getLayerCoordinates().y; in getLayerViewPort() 336 mapView.w = ABS(loc.getLayerCoordinates().x - mapView.x); in getLayerViewPort() 337 mapView.h = ABS(loc.getLayerCoordinates().y - mapView.y); in getLayerViewPort() 662 if (i->getLocationRef().getLayerCoordinates() == loc.getLayerCoordinates()) { in getMatchingInstances()
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/savers/native/map/ |
H A D | mapsaver.cpp | 305 ModelCoordinate cellCoord = cell->getLayerCoordinates(); in save() 390 cellElement->SetAttribute("x", (*citer)->getLayerCoordinates().x); in save() 391 cellElement->SetAttribute("y", (*citer)->getLayerCoordinates().y); in save()
|
/dports/games/py-fife/fifengine-0.4.2/engine/core/pathfinder/ |
H A D | route.cpp | 307 if (layer->cellContainsBlockingInstance((*it).getLayerCoordinates())) { in getBlockingPathLocations()
|