]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/q3map2.h
another experimental change: better handle leaky maps
[xonotic/netradiant.git] / tools / quake3 / q3map2 / q3map2.h
index 17b711b38216529aa9d42b4fc129d0678acedcb4..abde6c8573ce2d022e3cc6bbb9fc7a60a0a98df5 100644 (file)
@@ -1599,7 +1599,10 @@ void                                             SplitNodePortals( node_t *node );
 
 qboolean                                       PortalPassable( portal_t *p );
 
-qboolean                                       FloodEntities( tree_t *tree );
+#define FLOODENTITIES_LEAKED 1
+#define FLOODENTITIES_GOOD 0
+#define FLOODENTITIES_EMPTY -1
+int                                            FloodEntities( tree_t *tree );
 void                                           FillOutside( node_t *headnode);
 void                                           FloodAreas( tree_t *tree);
 face_t                                         *VisibleFaces( entity_t *e, tree_t *tree );
@@ -2226,6 +2229,7 @@ Q_EXTERN qboolean                 debugDeluxemap Q_ASSIGN( qfalse );
 Q_EXTERN int                           deluxemode Q_ASSIGN( 0 );       /* deluxemap format (0 - modelspace, 1 - tangentspace with renormalization, 2 - tangentspace without renormalization) */
 
 Q_EXTERN qboolean                      fast Q_ASSIGN( qfalse );
+Q_EXTERN qboolean                      fastpoint Q_ASSIGN( qtrue );
 Q_EXTERN qboolean                      faster Q_ASSIGN( qfalse );
 Q_EXTERN qboolean                      fastgrid Q_ASSIGN( qfalse );
 Q_EXTERN qboolean                      fastbounce Q_ASSIGN( qfalse );