Merge branch 'resources' into bots+resources
Add mine rate display for humans.
Fix warning and don't show meters for non builders.
Merge branch 'resources' into bots+resources
Give g_initialMineRate in BP/min.
g_mineRateHalfLife defaults to 15 minutes.
Return BP on instant deconstruct.
Merge branches 'bots2' and 'resources' into bots+resources
Fix repairing structures. Repairing costs half of building

Previously, one needed the full BP to repair a structure, now one only needs enough to repair that portion. Further, it now only costs half of the total cost to fully repair a structure.
Queue decimal BP when instantly deconstructing.
Store build points as float and use functions to check and modify them.

The client still gets told the integer value.
RGS generate BP once instead of twice a second.
Missing return value (G_CanAffordBuildPoints).
Move repair cost into a separate function.
Merge branch 'resources' into bots+resources (with fixup)
Stop bots from trying to repair when there are insufficient build points.
Team stages are based on map control. Stages can be lost.

For now there is a fixed threshold for each stage.
Adjust resource related default values.
Only recalculate RGS rate/efficiency if necessary.

If the state of a RGS changes, its neighbors recalculate immediately.
Add a hysteresis factor to stage down.

For stage up, efficiency ≥ threshold, as before;
for stage down, efficiency < threshold - hysteresis factor.