Refactored: BaseView::countConnected() and Base::checkConnected() are combined into getDisconnectedFacilities()
Ok, let's put all brackets for the sake of standard, + unfold the typedef, + change all left handed comparisons to right handed, and rename checkModuleConnections() to destroyDisconnectedFacilities()
move all ufoextender range info to weapons

and stop displayed/actual values from dropping below 0.
no longer hidden options, they are now defined on a per-weapon basis.

dropoff intensity may be set

dropoff distances may be set for each fire mode

aimed shot falloff distance will be enforced for all shot types,
  IF the ufoextender range option is disabled.
  this adds an "effective max range" to weapons that will not restrict fire,
  as opposed to the maxRange which WILL.

minimum effective range will observe falloff rules for shots taken at ranges
  under the limit.
set display accuracy to 0 past maxRange

and change the default max range to 200, so we can simplify the places
where the variable is checked.
haha, math
yeah, it's late over here
Let's count in that we can't step from an incomplete building to a complete one.
Merge pull request #776 from fenyo1/getDisconnectedFacilities

Refactored: BaseView::countConnected() and Base::checkConnected() are combined into Base::getDisconnectedFacilities()
fix build error