mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-12-07 19:57:48 +00:00
Refactored clipmap generation, further refactored other files to better use c++
This commit is contained in:
@@ -26,8 +26,16 @@ namespace BSP
|
||||
void loadSubModelCollision(clipMap_t* clipMap, BSPData* bsp);
|
||||
void loadXModelCollision(clipMap_t* clipMap);
|
||||
|
||||
bool loadBrushCollision(clipMap_t* clipMap, BSPData* bsp);
|
||||
std::vector<cplane_s> planeVec;
|
||||
std::vector<cNode_t> nodeVec;
|
||||
std::vector<cLeaf_s> leafVec;
|
||||
std::vector<CollisionAabbTree> AABBTreeVec;
|
||||
int addAABBTreeFromLeaf(BSPTree* node, clipMap_t* clipMap);
|
||||
int16_t loadBSPNode(clipMap_t* clipMap, BSPTree* tree);
|
||||
|
||||
void loadBSPTree(clipMap_t* clipMap, BSPData* bsp);
|
||||
bool loadWorldCollision(clipMap_t* clipMap, BSPData* bsp);
|
||||
void populateBSPTree(clipMap_t* clipMap, BSPTree* tree);
|
||||
bool createPartitions(clipMap_t* clipMap, BSPData* bsp);
|
||||
bool loadPartitions(clipMap_t* clipMap, BSPData* bsp);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user