Home
last modified time | relevance | path

Searched refs:map_leafs (Results 1 – 13 of 13) sorted by relevance

/dports/games/mvdsv/mvdsv-0.34/src/
H A Dcmodel.c63 static cleaf_t *map_leafs; variable
386 return leaf - map_leafs; in CM_Leafnum()
424 if (leaf == map_leafs) in CM_LeafPVS()
427 return map_pvs + (leaf - 1 - map_leafs) * map_vis_rowbytes; in CM_LeafPVS()
436 if (leaf == map_leafs) in CM_LeafPHS()
443 return map_phs + (leaf - 1 - map_leafs) * map_vis_rowbytes; in CM_LeafPHS()
543 leafs_list[leafs_count++] = leaf - map_leafs; in FindTouchedLeafs_r()
806 map_leafs = out; in CM_LoadLeafs()
832 map_leafs = out; in CM_LoadLeafs29a()
860 map_leafs = out; in CM_LoadLeafsBSP2()
[all …]
/dports/games/qwdtools/mvdsv-0.34/src/
H A Dcmodel.c63 static cleaf_t *map_leafs; variable
386 return leaf - map_leafs; in CM_Leafnum()
424 if (leaf == map_leafs) in CM_LeafPVS()
427 return map_pvs + (leaf - 1 - map_leafs) * map_vis_rowbytes; in CM_LeafPVS()
436 if (leaf == map_leafs) in CM_LeafPHS()
443 return map_phs + (leaf - 1 - map_leafs) * map_vis_rowbytes; in CM_LeafPHS()
543 leafs_list[leafs_count++] = leaf - map_leafs; in FindTouchedLeafs_r()
806 map_leafs = out; in CM_LoadLeafs()
832 map_leafs = out; in CM_LoadLeafs29a()
860 map_leafs = out; in CM_LoadLeafsBSP2()
[all …]
/dports/games/quake2lnx/quake2-r0.16.2/src/qcommon/
H A Dcmodel.c78 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
298 out = map_leafs; in CMod_LoadLeafs()
320 if (!map_leafs[i].contents) in CMod_LoadLeafs()
671 return map_leafs[leafnum].contents; in CM_LeafContents()
678 return map_leafs[leafnum].cluster; in CM_LeafCluster()
685 return map_leafs[leafnum].area; in CM_LeafArea()
726 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
926 return map_leafs[l].contents; in CM_PointContents()
961 return map_leafs[l].contents; in CM_TransformedPointContents()
1165 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/quake2max/Quake2maX_0.45-src_unix/qcommon/
H A Dcmodel.c78 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
298 out = map_leafs; in CMod_LoadLeafs()
320 if (!map_leafs[i].contents) in CMod_LoadLeafs()
671 return map_leafs[leafnum].contents; in CM_LeafContents()
678 return map_leafs[leafnum].cluster; in CM_LeafCluster()
685 return map_leafs[leafnum].area; in CM_LeafArea()
726 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
926 return map_leafs[l].contents; in CM_PointContents()
961 return map_leafs[l].contents; in CM_TransformedPointContents()
1176 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/quake2-source/quake2-r0.16.2/src/qcommon/
H A Dcmodel.c78 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
298 out = map_leafs; in CMod_LoadLeafs()
320 if (!map_leafs[i].contents) in CMod_LoadLeafs()
671 return map_leafs[leafnum].contents; in CM_LeafContents()
678 return map_leafs[leafnum].cluster; in CM_LeafCluster()
685 return map_leafs[leafnum].area; in CM_LeafArea()
726 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
926 return map_leafs[l].contents; in CM_PointContents()
961 return map_leafs[l].contents; in CM_TransformedPointContents()
1165 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/qudos/QuDos-0.40.1-src/src/qcommon/
H A Dcmodel.c73 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
289 out = map_leafs; in CMod_LoadLeafs()
309 if (!map_leafs[i].contents) { in CMod_LoadLeafs()
665 return map_leafs[leafnum].contents; in CM_LeafContents()
673 return map_leafs[leafnum].cluster; in CM_LeafCluster()
681 return map_leafs[leafnum].area; in CM_LeafArea()
722 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
920 return map_leafs[l].contents; in CM_PointContents()
952 return map_leafs[l].contents; in CM_TransformedPointContents()
1143 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/quetoo/quetoo-0.6.1/src/
H A Dcmodel.c73 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
270 out = map_leafs; in CMod_LoadLeafs()
290 if(!map_leafs[i].contents){ in CMod_LoadLeafs()
598 return map_leafs[leafnum].contents; in CM_LeafContents()
604 return map_leafs[leafnum].cluster; in CM_LeafCluster()
610 return map_leafs[leafnum].area; in CM_LeafArea()
647 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
823 return map_leafs[l].contents; in CM_PointContents()
854 return map_leafs[l].contents; in CM_TransformedPointContents()
1033 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/q2p/Q2P-0.2-2006-12-31/qcommon/
H A Dcmodel.c297 out = map_leafs; in CMod_LoadLeafs()
313 if (map_leafs[0].contents != CONTENTS_SOLID) in CMod_LoadLeafs()
658 return map_leafs[leafnum].contents; in CM_LeafContents()
665 return map_leafs[leafnum].cluster; in CM_LeafCluster()
672 return map_leafs[leafnum].area; in CM_LeafArea()
713 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
912 return map_leafs[l].contents; in CM_PointContents()
947 return map_leafs[l].contents; in CM_TransformedPointContents()
1145 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
1179 leaf = &map_leafs[leafnum]; in CM_TestInLeaf()
[all …]
/dports/games/alienarena/alienarena-7.66/source/qcommon/
H A Dcmodel.c82 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
348 out = map_leafs; in CMod_LoadLeafs()
370 if (!map_leafs[i].contents) in CMod_LoadLeafs()
831 return map_leafs[leafnum].contents; in CM_LeafContents()
841 return map_leafs[leafnum].cluster; in CM_LeafCluster()
848 return map_leafs[leafnum].area; in CM_LeafArea()
889 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
1089 return map_leafs[l].contents; in CM_PointContents()
1124 return map_leafs[l].contents; in CM_TransformedPointContents()
1383 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/alienarena-data/alienarena-7.66/source/qcommon/
H A Dcmodel.c82 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
348 out = map_leafs; in CMod_LoadLeafs()
370 if (!map_leafs[i].contents) in CMod_LoadLeafs()
831 return map_leafs[leafnum].contents; in CM_LeafContents()
841 return map_leafs[leafnum].cluster; in CM_LeafCluster()
848 return map_leafs[leafnum].area; in CM_LeafArea()
889 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
1089 return map_leafs[l].contents; in CM_PointContents()
1124 return map_leafs[l].contents; in CM_TransformedPointContents()
1383 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
[all …]
/dports/games/r1q2/r1q2-8012_5/qcommon/
H A Dcmodel.c71 cleaf_t map_leafs[MAX_MAP_LEAFS]; variable
296 out = map_leafs; in CMod_LoadLeafs()
312 if (map_leafs[0].contents != CONTENTS_SOLID) in CMod_LoadLeafs()
319 if (!map_leafs[i].contents) in CMod_LoadLeafs()
915 box_leaf = &map_leafs[numleafs]; in CM_InitBoxHull()
1126 return map_leafs[CM_PointLeafnum_r (p, headnode)].contents; in CM_PointContents()
1161 return map_leafs[l].contents; in CM_TransformedPointContents()
1372 leaf = &map_leafs[leafnum]; in CM_TraceToLeaf()
1406 leaf = &map_leafs[leafnum]; in CM_TestInLeaf()
1993 cluster = map_leafs[leafnum].cluster; in CM_HeadnodeVisible()
H A Dqcommon.h913 extern cleaf_t map_leafs[MAX_MAP_LEAFS];
917 #define CM_LeafCluster(x) (map_leafs[x].cluster)
918 #define CM_LeafArea(x) (map_leafs[x].area)
/dports/databases/couchdb3/apache-couchdb-3.2.1/src/couch/src/
H A Dcouch_key_tree.erl60 map_leafs/2, function
454 map_leafs(_Fun, []) -> function
456 map_leafs(Fun, [{Pos, Tree}|Rest]) -> function
458 [{Pos, NewTree} | map_leafs(Fun, Rest)].