Very rough draft. Invaders tend to overdestroy buildings. They also overdig. Also they only do it on user request. Also it happens instantly. Also they can't dig through constructions. Also I have tabs in the indentation.
Converted tabs to spaces.
Warning: does not work. Temp commit!
Merge branch 'master' into diggingInvaders
Merge branch 'eventManager' into diggingInvaders
diggingInvaders: cleanup.
diggingInvaders: int -> int32_t
diggingInvaders: starting a rewrite. Unstable
Merge branch 'canWalkBetween' into diggingInvaders
diggingInvaders: fixed a major bug with edge sorting.
Merge branch 'canWalkBetween' into diggingInvaders
diggingInvaders: sadly, it seems that minimum spanning tree is a terrible heuristic for vertex Steiner tree in this case.
diggingInvaders: reimplemented path-based digging. Works kind of ok.
Digging invaders: multi-dimensional edge cost: always prefer walking over digging, no matter how far.
More fiddling. Almost kind of works.
Reverted the silly changes to Buildings module that didn't work anyway.
Minor changes.
Digging Invaders: kind of works, but WAAAAAY too slow.
Digging Invaders: a bit faster.
Digging Invaders: more optimizations.