Searched refs:uiSectorId (Results 1 – 6 of 6) sorted by relevance
1241 if ((INT32)i->uiSectorId == sector && in GetNumSafeSectorsInPath()1243 …ction(g, GET_X_FROM_STRATEGIC_INDEX(i->pNext->uiSectorId), GET_Y_FROM_STRATEGIC_INDEX(i->pNext->ui… in GetNumSafeSectorsInPath()1250 if (StrategicMap[i->uiSectorId].fEnemyAirControlled) continue; in GetNumSafeSectorsInPath()1263 (INT32)i->uiSectorId == sector && in GetNumSafeSectorsInPath()1265 …ction(g, GET_X_FROM_STRATEGIC_INDEX(i->pNext->uiSectorId), GET_Y_FROM_STRATEGIC_INDEX(i->pNext->ui… in GetNumSafeSectorsInPath()1274 if (StrategicMap[i->uiSectorId].fEnemyAirControlled) continue; in GetNumSafeSectorsInPath()1304 if ( ( ( INT32 ) pNode->uiSectorId == iHeliSector ) && ( pNode->pNext != NULL ) && in GetNumUnSafeSectorsInPath()1305 …X_FROM_STRATEGIC_INDEX( pNode->pNext->uiSectorId ), ( UINT8 ) GET_Y_FROM_STRATEGIC_INDEX( pNode->p… in GetNumUnSafeSectorsInPath()1312 uiLocation = pNode -> uiSectorId; in GetNumUnSafeSectorsInPath()1330 if ( ( ( ( INT32 ) pNode->uiSectorId == iHeliSector ) && ( pNode->pNext != NULL ) && in GetNumUnSafeSectorsInPath()[all …]
449 head->uiSectorId = start_sector; in BuildAStrategicPath()475 n->uiSectorId = cur_sector; in BuildAStrategicPath()511 if( pNode -> uiSectorId == pNewSection -> uiSectorId ) in AppendStrategicPath()584 sCurrentSector = ( INT16 )pNode -> uiSectorId; in ClearStrategicPathListAfterThisSector()596 sCurrentSector = ( INT16 )pNode -> uiSectorId; in ClearStrategicPathListAfterThisSector()763 sLastSector = ( INT16 ) ( pNode -> uiSectorId ); in GetLastSectorIdInCharactersPath()776 head->uiSectorId = src->uiSectorId; in CopyPaths()789 p->uiSectorId = src->uiSectorId; in CopyPaths()886 iDelta = pNode->pNext->uiSectorId - pNode->uiSectorId; in RebuildWayPointsForGroupPath()895 AddWaypointStrategicIDToPGroup(&g, pNode->uiSectorId); in RebuildWayPointsForGroupPath()[all …]
1260 if (prev->uiSectorId == next->uiSectorId) in TracePathRoute()1262 if (prev->uiSectorId + WORLD_MAP_X == node->uiSectorId) in TracePathRoute()1269 else if (prev->uiSectorId - WORLD_MAP_X == node->uiSectorId) in TracePathRoute()1276 else if (prev->uiSectorId + 1 == node->uiSectorId) in TracePathRoute()1625 iDeltaA=(INT16)pNode->uiSectorId-(INT16)pPastNode->uiSectorId; in TraceCharAnimatedRoute()1626 iDeltaB=(INT16)pNode->uiSectorId-(INT16)pNextNode->uiSectorId; in TraceCharAnimatedRoute()1642 iDeltaB1=pNextNode->uiSectorId-pNextNode->pNext->uiSectorId; in TraceCharAnimatedRoute()1680 if (pPastNode->uiSectorId==pNextNode->uiSectorId) in TraceCharAnimatedRoute()1682 if (pPastNode->uiSectorId + WORLD_MAP_X == pNode->uiSectorId) in TraceCharAnimatedRoute()1693 else if(pPastNode->uiSectorId-WORLD_MAP_X==pNode->uiSectorId) in TraceCharAnimatedRoute()[all …]
1030 pCurrent.x = ( UINT8 )( pPath->uiSectorId % MAP_WORLD_X ); in GetPathTravelTimeDuringPlotting()1031 pCurrent.y = ( UINT8 )( pPath->uiSectorId / MAP_WORLD_X ); in GetPathTravelTimeDuringPlotting()1034 pNext.x = ( UINT8 )( pPath->pNext->uiSectorId % MAP_WORLD_X ); in GetPathTravelTimeDuringPlotting()1035 pNext.y = ( UINT8 )( pPath->pNext->uiSectorId / MAP_WORLD_X ); in GetPathTravelTimeDuringPlotting()
217 UINT32 uiSectorId; member
1668 INJ_U32(d, p->uiSectorId) in SaveMercPath()1693 EXTR_U32(d, n->uiSectorId) in LoadMercPath()