00001 #ifndef LISTNODE_H 00002 #define LISTNODE_H 00003 00004 #include "bsp.h" 00005 00006 class ListNode // Wraps the BSP_node to allow the nodes to be included in a linked list 00007 { 00008 public: 00009 int Compare(const ListNode& Node); 00010 int GetMyPosition() const {return linkPosition;} 00011 void SetMyPosition(int newPosition) {linkPosition = newPosition;} 00012 int linkPosition; 00013 00014 BSP_node* node; 00015 }; 00016 00017 void MakeNodeLists(BSP_node* node); 00018 00019 #endif