# bspdiff

by Marc Rousseau

NOTE: This page is designed to use CSS styles - you may want to upgrade your browser.

## Description

Ever wonder what happened when you changed a minor part of the BSP code? Probably not, but if you are, this utility may help show what happened. bspinfo compares the BSP tree of two .wad files and displays the point at which they differ. Since the BSP is essentially a binary tree, a single difference in a partition for a given group of SEGS will create a tree that is radically different for all pointes below that node. bspinfo compares the partition lines at each node and if they are different, prints them out and aborts the rest of the tree below that point. If the partition lines are the same (It does not compare the entire node), it will recursively compare the contents of the leaf nodes. If you're not really curious about the BSP tree, this is probably not going to be very interesting to you.