Searched refs:nextAdjModule (Results 1 – 3 of 3) sorted by relevance
1091 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in FarNPC_GetTargetAIModuleForWander() local1096 moduleDirn.vx = nextAdjModule->m_world.vx - sbPtr->containingModule->m_world.vx; in FarNPC_GetTargetAIModuleForWander()1097 moduleDirn.vz = nextAdjModule->m_world.vz - sbPtr->containingModule->m_world.vz; in FarNPC_GetTargetAIModuleForWander()1102 if( (thisDirn>bestDirn) && (exception!=nextAdjModule)) in FarNPC_GetTargetAIModuleForWander()1104 targetModule = nextAdjModule; in FarNPC_GetTargetAIModuleForWander()
1034 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in NPCFindTargetEP() local1035 if (AIModuleIsVisible(nextAdjModule)) in NPCFindTargetEP()1047 bestModule = nextAdjModule; in NPCFindTargetEP()1836 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in NPC_FindAIWanderTarget() local1837 if ((AIModuleIsVisible(nextAdjModule))&& in NPC_FindAIWanderTarget()1838 (((*(nextAdjModule->m_module_ptrs))->m_flags&MODULEFLAG_AIRDUCT)==0) in NPC_FindAIWanderTarget()1839 &&(nextAdjModule!=moveData->lastModule)) in NPC_FindAIWanderTarget()1850 thisEpWorld.vx += nextAdjModule->m_world.vx; in NPC_FindAIWanderTarget()1851 thisEpWorld.vy += nextAdjModule->m_world.vy; in NPC_FindAIWanderTarget()1868 worstModule = nextAdjModule; in NPC_FindAIWanderTarget()[all …]
13770 AIMODULE *nextAdjModule = *AdjModuleRefPtr; local13771 if (((*(nextAdjModule->m_module_ptrs))->m_flags&MODULEFLAG_AIRDUCT)==0)13774 FARENTRYPOINT *thisEp = GetAIModuleEP(nextAdjModule, sbPtr->containingModule->m_aimodule);13781 thisEpWorld.vx += nextAdjModule->m_world.vx;13782 thisEpWorld.vy += nextAdjModule->m_world.vy;13783 thisEpWorld.vz += nextAdjModule->m_world.vz; 13789 chosenModule = nextAdjModule;