#include <bsp.h>
Public Methods | |
BSP_node::BSP_node () | |
BSP_node::~BSP_node () | |
int | Compare (const BSP_node &Node) |
int | GetMyPosition () const |
void | SetMyPosition (int newPosition) |
Public Attributes | |
int | linkPosition |
int | nodeid |
bool | visible |
POLYGON | partition |
BSP_node * | backnode |
BSP_node * | frontnode |
bool | leaf |
int | numpolys |
POLYGON * | nodepolylist |
Lightmap * | nodelightmaplist |
int | numportals |
LinkedList< PORTAL > | portallist |
int | numdecals |
LinkedList< DECAL > | decallist |
|
Definition at line 17 of file bsp.h.
00017 {}; |
|
Definition at line 16 of file bsp.h. References BSP_node::BSP_node(). Referenced by BSP_node::BSP_node().
00016 {}; |
|
Definition at line 31 of file bsp.cpp. References bigger, linkPosition, same, and smaller.
00032 { 00033 if (linkPosition < Node.linkPosition) 00034 return smaller; 00035 if (linkPosition > Node.linkPosition) 00036 return bigger; 00037 else 00038 return same; 00039 } |
|
Definition at line 20 of file bsp.h.
00020 {return linkPosition;} |
|
Definition at line 21 of file bsp.h.
00021 {linkPosition = newPosition;} |
|
Definition at line 27 of file bsp.h. Referenced by AddPortal(), BuildBSP(), CheckForSinglePortals(), CreateBSPLightmaps(), DeleteBSP(), FindCurrentLeaf(), FindTruePortals(), LoadBSPLightmaps(), MakeNodeLists(), and RenderBSP(). |
|
Definition at line 36 of file bsp.h. Referenced by RenderBSP(), and UpdateBullets(). |
|
Definition at line 28 of file bsp.h. Referenced by AddPortal(), BuildBSP(), CheckForSinglePortals(), CreateBSPLightmaps(), DeleteBSP(), FindCurrentLeaf(), FindTruePortals(), LoadBSPLightmaps(), MakeNodeLists(), and RenderBSP(). |
|
Definition at line 29 of file bsp.h. Referenced by AddPortal(), BuildBSP(), CheckForSinglePortals(), CreateBSPLightmaps(), DeleteBSP(), FindCurrentLeaf(), FindTruePortals(), InitGL(), LoadBSPLightmaps(), MakeNodeLists(), and RenderBSP(). |
|
Definition at line 22 of file bsp.h. Referenced by Compare(), and MakeNodeLists(). |
|
Definition at line 24 of file bsp.h. Referenced by BuildBSP(), CheckForSinglePortals(), FindCurrentLeaf(), FindVisibleLeaves(), InitGL(), InvertPortals(), MakeNodeLists(), and RenderBSP(). |
|
Definition at line 32 of file bsp.h. Referenced by CreateBSPLightmaps(), DeleteBSP(), InitGL(), LoadBSPLightmaps(), and RenderBSP(). |
|
Definition at line 31 of file bsp.h. Referenced by BuildBSP(), CheckForParticleCollision(), ClipPortalToBackLeaf(), ClipPortalToFrontLeaf(), CreateBSPLightmaps(), DeleteBSP(), InitGL(), InvertPortals(), RemoveExtraPortals(), RenderBSP(), and UpdateBullets(). |
|
Definition at line 35 of file bsp.h. Referenced by BuildBSP(), InitGL(), RenderBSP(), and UpdateBullets(). |
|
Definition at line 30 of file bsp.h. Referenced by BuildBSP(), CheckForParticleCollision(), ClipPortalToBackLeaf(), ClipPortalToFrontLeaf(), CreateBSPLightmaps(), InitGL(), InvertPortals(), LoadBSPLightmaps(), RemoveExtraPortals(), RenderBSP(), and UpdateBullets(). |
|
Definition at line 33 of file bsp.h. Referenced by AddPortal(), BuildBSP(), CalculatePVS(), CheckForSinglePortals(), DeleteBSP(), FindCurrentLeaf(), FindTruePortals(), FindVisibleLeaves(), and InvertPortals(). |
|
Definition at line 26 of file bsp.h. Referenced by AddPortal(), BuildBSP(), FindCurrentLeaf(), MakePortalList(), and RenderBSP(). |
|
Definition at line 34 of file bsp.h. Referenced by AddPortal(), CalculatePVS(), CheckForSinglePortals(), DeleteBSP(), FindTruePortals(), FindVisibleLeaves(), and InvertPortals(). |
|
Definition at line 25 of file bsp.h. Referenced by BuildBSP(), CalculatePVS(), CountVisibleLeaves(), FindVisibleLeaves(), InitGL(), RenderBSP(), and UpdateBullets(). |