Home
last modified time | relevance | path

Searched refs:nextAdjModule (Results 1 – 3 of 3) sorted by relevance

/dports/games/avp/avp-20170505/src/avp/
H A Dbh_far.c1091 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in FarNPC_GetTargetAIModuleForWander() local
1096 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()
H A Dbh_ais.c1034 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in NPCFindTargetEP() local
1035 if (AIModuleIsVisible(nextAdjModule)) in NPCFindTargetEP()
1047 bestModule = nextAdjModule; in NPCFindTargetEP()
1836 AIMODULE *nextAdjModule = *AdjModuleRefPtr; in NPC_FindAIWanderTarget() local
1837 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 …]
H A Dbh_marin.c13770 AIMODULE *nextAdjModule = *AdjModuleRefPtr; local
13771 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;