The units database has been rebuilt again. I disabled the weekly rebuild for a while because I was working on some changes that partially landed on master and took forever to finish up — sorry about that.

One major feature I just added is that add-ons processed by the database build script may check for the __WMLUNITS__ preprocessor symbol using #ifdef in order to, for example, use special code to optimize (or even entirely disable) the unit tree display however they see fit. For example, version 0.9.17 of my add-on After the Storm exposes a single dummy campaign menu item instead of the usual three, skips including all scenarios and some code that is only relevant for scenario code, and lets wmlunits see the full unit tree for all three episodes with some minor exceptions.