I will be upgrading to A8 this weekend laugh
Sorry to be a pain, but Please, please, please could you help with with reading the BSP data from the WMP file.

These are the structures I need to know about:
Quote:

bsp_leafs
bsp_nodes
aabb_hulls
bsp_blocks


I have spent lots of time hacking it to find out the structure but I cannot make sense of some things. The code you gave me last time did not work since it contained pointers (which cannot be serialized) and did not match the size of the structures written to the file.

For example:
Code:
// Each leaf is 36 bytes
sizeof(BSP_LEAF) == 36;

// I THINK each node is 40 bytes
sizeof(BSP_NODE) == 40;

// Also each data in bsp_blocks is an unsigned integer
uint32_t bsp_blocks[header.bsp_blocks.length];

// NO IDEA ON aabb_hulls AT ALL!