/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake3/q3map2/ |
H A D | vis.c | 115 for (i=0 ; i<numportals*2 ; i++) in SortPortals() 435 int i, j, k, n, numportals; in TryMergeLeaves() local 478 numportals = 0; in TryMergeLeaves() 488 portals[numportals++] = p1; in TryMergeLeaves() 498 portals[numportals++] = p2; in TryMergeLeaves() 504 l2->numportals = numportals; in TryMergeLeaves() 728 if (k < leaf->numportals) in MergeLeafPortals() 938 l->numportals++; in LoadPortals() 954 l->numportals++; in LoadPortals() 1009 l->numportals++; in LoadPortals() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake3/q3map2/ |
H A D | vis.c | 461 int i, j, k, n, numportals; in TryMergeLeaves() local 512 numportals = 0; in TryMergeLeaves() 521 portals[numportals++] = p1; in TryMergeLeaves() 530 portals[numportals++] = p2; in TryMergeLeaves() 536 l2->numportals = numportals; in TryMergeLeaves() 771 if ( k < leaf->numportals ) { in MergeLeafPortals() 1000 l->portals[l->numportals] = p; in LoadPortals() 1001 l->numportals++; in LoadPortals() 1019 l->numportals++; in LoadPortals() 1079 l->numportals++; in LoadPortals() [all …]
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/q2map/ |
H A D | qvis.c | 27 int numportals; variable 106 for ( i = 0 ; i < l->numportals ; i++ ) in prl() 137 for ( i = 0 ; i < numportals * 2 ; i++ ) in SortPortals() 160 for ( i = 0 ; i < numportals * 2 ; i++ ) in LeafVectorFromPortalVector() 196 for ( i = 0 ; i < leaf->numportals ; i++ ) in ClusterMerge() 252 for ( i = 0 ; i < numportals * 2 ; i++ ) in CalcPortalVis() 355 Sys_Printf( "%4i numportals\n", numportals ); in LoadPortals() 422 l->portals[l->numportals] = p; in LoadPortals() 423 l->numportals++; in LoadPortals() 437 l->portals[l->numportals] = p; in LoadPortals() [all …]
|
/dports/games/gtkradiant/GPL/GtkRadiant/tools/quake2/q2map/ |
H A D | qvis.c | 27 int numportals; variable 108 for (i=0 ; i<l->numportals ; i++) in prl() 139 for (i=0 ; i<numportals*2 ; i++) in SortPortals() 162 for (i=0 ; i<numportals*2 ; i++) in LeafVectorFromPortalVector() 200 for (i=0 ; i<leaf->numportals ; i++) in ClusterMerge() 255 for (i=0 ; i<numportals*2 ; i++) in CalcPortalVis() 362 portalbytes = ((numportals*2+63)&~63)>>3; in LoadPortals() 418 l->portals[l->numportals] = p; in LoadPortals() 419 l->numportals++; in LoadPortals() 432 l->portals[l->numportals] = p; in LoadPortals() [all …]
|
H A D | flow.c | 407 for (i=0 ; i<leaf->numportals ; i++) in RecursiveLeafFlow() 552 c_might = CountBits (p->portalflood, numportals*2); in PortalFlow() 566 c_can = CountBits (p->portalvis, numportals*2); in PortalFlow() 633 for (i=0 ; i<leaf->numportals ; i++) in SimpleFlood() 672 for (j=0, tp = portals ; j<numportals*2 ; j++, tp++) in BasePortalVis() 703 p->nummightsee = CountBits (p->portalflood, numportals*2); in BasePortalVis() 742 for (i=0 ; i<leaf->numportals ; i++) in RecursiveLeafBitFlow() 783 p->nummightsee = CountBits (p->portalvis, numportals*2); in BetterPortalVis()
|
/dports/games/gtkradiant/GPL/Q2Tools/bsp/qvis3/ |
H A D | qvis3.c | 27 int numportals; variable 108 for (i=0 ; i<l->numportals ; i++) in prl() 139 for (i=0 ; i<numportals*2 ; i++) in SortPortals() 162 for (i=0 ; i<numportals*2 ; i++) in LeafVectorFromPortalVector() 200 for (i=0 ; i<leaf->numportals ; i++) in ClusterMerge() 255 for (i=0 ; i<numportals*2 ; i++) in CalcPortalVis() 356 printf ("%4i numportals\n", numportals); in LoadPortals() 418 l->portals[l->numportals] = p; in LoadPortals() 419 l->numportals++; in LoadPortals() 432 l->portals[l->numportals] = p; in LoadPortals() [all …]
|
H A D | flow.c | 408 for (i=0 ; i<leaf->numportals ; i++) in RecursiveLeafFlow() 553 c_might = CountBits (p->portalflood, numportals*2); in PortalFlow() 567 c_can = CountBits (p->portalvis, numportals*2); in PortalFlow() 634 for (i=0 ; i<leaf->numportals ; i++) in SimpleFlood() 673 for (j=0, tp = portals ; j<numportals*2 ; j++, tp++) in BasePortalVis() 704 p->nummightsee = CountBits (p->portalflood, numportals*2); in BasePortalVis() 743 for (i=0 ; i<leaf->numportals ; i++) in RecursiveLeafBitFlow() 784 p->nummightsee = CountBits (p->portalvis, numportals*2); in BetterPortalVis()
|
/dports/games/netradiant/netradiant-20150621-src/tools/quake2/extra/bsp/qvis3/ |
H A D | qvis3.c | 27 int numportals; variable 108 for (i=0 ; i<l->numportals ; i++) in prl() 139 for (i=0 ; i<numportals*2 ; i++) in SortPortals() 162 for (i=0 ; i<numportals*2 ; i++) in LeafVectorFromPortalVector() 200 for (i=0 ; i<leaf->numportals ; i++) in ClusterMerge() 255 for (i=0 ; i<numportals*2 ; i++) in CalcPortalVis() 356 printf ("%4i numportals\n", numportals); in LoadPortals() 418 l->portals[l->numportals] = p; in LoadPortals() 419 l->numportals++; in LoadPortals() 432 l->portals[l->numportals] = p; in LoadPortals() [all …]
|
/dports/games/vavoom/vavoom-1.33/utils/glvis/ |
H A D | flow.cpp | 73 for (i = 0; i < leaf->numportals; i++) in SimpleFlood() 98 portalsee = new vuint8[numportals]; in BasePortalVis() 99 for (i = 0, p = portals; i < numportals; i++, p++) in BasePortalVis() 101 Owner.DisplayBaseVisProgress(i, numportals); in BasePortalVis() 107 memset(portalsee, 0, numportals); in BasePortalVis() 142 Owner.DisplayBaseVisProgress(numportals, numportals); in BasePortalVis() 402 for (i = 0; i < leaf->numportals; i++) in RecursiveLeafFlow() 596 for (i = 0; i < numportals; i++) in CalcPortalVis() 609 Owner.DisplayPortalVisProgress(i, numportals); in CalcPortalVis() 621 Owner.DisplayPortalVisProgress(numportals, numportals); in CalcPortalVis() [all …]
|
H A D | level.cpp | 96 numportals(0), portals(NULL), in TVisBuilder() 323 numportals = 0; in LoadSegs() 353 numportals++; in LoadSegs() 379 numportals = 0; in LoadSegs() 409 numportals++; in LoadSegs() 429 portals = new portal_t[numportals]; in LoadSegs() 545 numportals--; in CreatePortals() 550 if (sub->numportals == MAX_PORTALS_ON_LEAF) in CreatePortals() 552 sub->portals[sub->numportals] = p; in CreatePortals() 553 sub->numportals++; in CreatePortals() [all …]
|
/dports/games/quakeforge/quakeforge-0.7.2/tools/qfvis/source/ |
H A D | qfvis.c | 81 int numportals; variable 409 for (i = 0; i < cluster->numportals; i++) { in ClusterFlow() 447 for (i = 0; i < numportals * 2; i++) { in CalcPortalVis() 657 for (j = 0; j < leaf->numportals; j++) { 659 for (k = 0; k < leaf->numportals; k++) { 749 printf ("%4i numportals\n", numportals); in LoadPortals() 817 if (cluster->numportals == MAX_PORTALS_ON_CLUSTER) in LoadPortals() 819 cluster->portals[cluster->numportals] = portal; in LoadPortals() 820 cluster->numportals++; in LoadPortals() 832 cluster->portals[cluster->numportals] = portal; in LoadPortals() [all …]
|
H A D | base-vis.c | 81 for (i = 0; i < cluster->numportals; i++) { in SimpleFlood() 97 for (i = 0, portal = portals; i < numportals * 2; i++, portal++) { in BasePortalVis() 100 memset (portalsee, 0, numportals * 2); in BasePortalVis() 102 for (j = 0, tp = portals; j < numportals * 2; j++, tp++) { in BasePortalVis()
|
/dports/games/uhexen2/hexen2source-1.5.9/utils/vis/ |
H A D | vis.c | 38 int numportals, portalleafs; variable 172 for (i = 0 ; i < l->numportals ; i++) 325 const int num2 = numportals * 2; in GetNextPortal() 438 for (i = 0 ; i < leaf->numportals ; i++) in LeafFlow() 497 for (i = 0 ; i < numportals*2 ; i++) in CalcPortalVis() 725 printf ("%4i numportals\n", numportals); in LoadPortals() 765 if (l->numportals == MAX_PORTALS_ON_LEAF) in LoadPortals() 767 l->portals[l->numportals] = p; in LoadPortals() 768 l->numportals++; in LoadPortals() 780 l->portals[l->numportals] = p; in LoadPortals() [all …]
|
/dports/games/zhlt/zhlt-3.4/hlvis/ |
H A D | flow.cpp | 709 for(l = 0; l < leaf->numportals; l++) in BlockVis() 760 if(k < leaf2->numportals) in GetSplitPortal() 813 if(k < leaf2->numportals) in MakeSplitPortalList() 849 for(int k = 0; k < l->numportals; k++) in DisjointLeafVis() 978 for(i = 0; i < leaf->numportals; i++) in GenerateWindingList() 1021 for(i = 0; i < leaf1->numportals; i++) in GetShortestDistance() 1041 for(i = 0; i < leaf2->numportals; i++) in GetShortestDistance() 1348 for(a = 0; a < l->numportals; a++) 1350 for(b = 0; b < tl->numportals; b++) 1371 for(k = 0; k < l->numportals; k++) [all …]
|
H A D | vis.cpp | 299 const unsigned numportals = g_numportals * 2; in AllPortalsDone() local 303 for (j = 0, tp = g_portals; j < numportals; j++, tp++) in AllPortalsDone() 591 for (i = 0; i < leaf->numportals; i++) 844 for(q = 0, p = leaf->portals[0]; q < leaf->numportals; q++, p++) 859 if(q != leaf->numportals) 1123 l->portals[l->numportals] = p; 1124 l->numportals++; 1135 l->portals[l->numportals] = p; 1136 l->numportals++; 1185 UINT32 numportals = g_numportals * 2; local [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/botlib/ |
H A D | be_aas_cluster.c | 130 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 168 cluster->numportals++; in AAS_UpdatePortal() 295 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 338 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 368 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 419 cluster->numportals = 0; in AAS_FindClusters() 449 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 458 aasworld.numportals++; in AAS_CreatePortals() 1377 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1501 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/botlib/ |
H A D | be_aas_cluster.c | 130 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 168 cluster->numportals++; in AAS_UpdatePortal() 295 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 338 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 368 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 419 cluster->numportals = 0; in AAS_FindClusters() 449 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 458 aasworld.numportals++; in AAS_CreatePortals() 1377 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1501 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/botlib/ |
H A D | be_aas_cluster.c | 132 if ( portalnum == ( *aasworld ).numportals ) { in AAS_UpdatePortal() 170 cluster->numportals++; in AAS_UpdatePortal() 303 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterPortals() 348 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterAreas() 383 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterAreas() 435 cluster->numportals = 0; in AAS_FindClusters() 465 if ( ( *aasworld ).numportals >= AAS_MAX_PORTALS ) { in AAS_CreatePortals() 474 ( *aasworld ).numportals++; in AAS_CreatePortals() 1466 for ( i = 1; i < ( *aasworld ).numportals; i++ ) in AAS_TestPortals() 1591 ( *aasworld ).numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/botlib/ |
H A D | be_aas_cluster.c | 132 if ( portalnum == ( *aasworld ).numportals ) { in AAS_UpdatePortal() 170 cluster->numportals++; in AAS_UpdatePortal() 303 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterPortals() 348 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterAreas() 383 for ( i = 0; i < cluster->numportals; i++ ) in AAS_NumberClusterAreas() 435 cluster->numportals = 0; in AAS_FindClusters() 465 if ( ( *aasworld ).numportals >= AAS_MAX_PORTALS ) { in AAS_CreatePortals() 474 ( *aasworld ).numportals++; in AAS_CreatePortals() 1466 for ( i = 1; i < ( *aasworld ).numportals; i++ ) in AAS_TestPortals() 1591 ( *aasworld ).numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/evq3/evq3/code/botlib/ |
H A D | be_aas_cluster.c | 130 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 168 cluster->numportals++; in AAS_UpdatePortal() 295 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 338 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 368 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 419 cluster->numportals = 0; in AAS_FindClusters() 449 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 458 aasworld.numportals++; in AAS_CreatePortals() 1377 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1501 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/botlib/ |
H A D | be_aas_cluster.c | 131 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 169 cluster->numportals++; in AAS_UpdatePortal() 296 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 339 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 369 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 420 cluster->numportals = 0; in AAS_FindClusters() 450 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 459 aasworld.numportals++; in AAS_CreatePortals() 1378 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1502 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/botlib/ |
H A D | be_aas_cluster.c | 130 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 168 cluster->numportals++; in AAS_UpdatePortal() 295 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 338 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 368 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 419 cluster->numportals = 0; in AAS_FindClusters() 449 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 458 aasworld.numportals++; in AAS_CreatePortals() 1377 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1501 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/openjk/OpenJK-07675e2/codemp/botlib/ |
H A D | be_aas_cluster.cpp | 135 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 173 cluster->numportals++; in AAS_UpdatePortal() 300 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 343 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 373 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 424 cluster->numportals = 0; in AAS_FindClusters() 454 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 463 aasworld.numportals++; in AAS_CreatePortals() 1382 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1506 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/botlib/ |
H A D | be_aas_cluster.c | 131 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 169 cluster->numportals++; in AAS_UpdatePortal() 296 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 339 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 369 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 420 cluster->numportals = 0; in AAS_FindClusters() 450 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 459 aasworld.numportals++; in AAS_CreatePortals() 1378 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1502 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|
/dports/games/openarena/openarena-engine-source-0.8.8/code/botlib/ |
H A D | be_aas_cluster.c | 131 if (portalnum == aasworld.numportals) in AAS_UpdatePortal() 169 cluster->numportals++; in AAS_UpdatePortal() 296 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterPortals() 339 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 369 for (i = 0; i < cluster->numportals; i++) in AAS_NumberClusterAreas() 420 cluster->numportals = 0; in AAS_FindClusters() 450 if (aasworld.numportals >= AAS_MAX_PORTALS) in AAS_CreatePortals() 459 aasworld.numportals++; in AAS_CreatePortals() 1378 for (i = 1; i < aasworld.numportals; i++) in AAS_TestPortals() 1502 aasworld.numportals = 1; //portal 0 is a dummy in AAS_InitClustering() [all …]
|