- removed MS SourceSafe junk
[genesis3d.git] / GBSPLib / PORTALS.H
1 /****************************************************************************************/\r
2 /*  Portals.h                                                                           */\r
3 /*                                                                                      */\r
4 /*  Author: John Pollard                                                                */\r
5 /*  Description: Creates and manages portals (passages from leaf-to-leaf)               */\r
6 /*                                                                                      */\r
7 /*  The contents of this file are subject to the Genesis3D Public License               */\r
8 /*  Version 1.01 (the "License"); you may not use this file except in                   */\r
9 /*  compliance with the License. You may obtain a copy of the License at                */\r
10 /*  http://www.genesis3d.com                                                            */\r
11 /*                                                                                      */\r
12 /*  Software distributed under the License is distributed on an "AS IS"                 */\r
13 /*  basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.  See                */\r
14 /*  the License for the specific language governing rights and limitations              */\r
15 /*  under the License.                                                                  */\r
16 /*                                                                                      */\r
17 /*  The Original Code is Genesis3D, released March 25, 1999.                            */\r
18 /*  Genesis3D Version 1.1 released November 15, 1999                                 */\r
19 /*  Copyright (C) 1999 WildTangent, Inc. All Rights Reserved           */\r
20 /*                                                                                      */\r
21 /****************************************************************************************/\r
22 #ifndef PORTALS_H\r
23 #define PORTALS_H\r
24 \r
25 #include <Windows.h>\r
26 \r
27 #include "BSP.h"\r
28 \r
29 extern GBSP_Node        *OutsideNode;                           // Current outside node being used\r
30 \r
31 geBoolean CreatePortals(GBSP_Node *RootNode, GBSP_Model *Model, geBoolean Vis);\r
32 geBoolean FreePortals(GBSP_Node *RootNode);\r
33 \r
34 geBoolean GetLeafBBoxFromPortals(GBSP_Node *Node, geVec3d *Mins, geVec3d *Maxs);\r
35 \r
36 geBoolean PartitionPortals_r(GBSP_Node *Node);\r
37 \r
38 // This function actually lives in PortFile.cpp\r
39 geBoolean SavePortalFile(GBSP_Model *Model, char *FileName);\r
40 \r
41 #endif\r