Added support for non-horizontal rectangles.
Fixed trivial out-of-level bug.
Removed debug outline for collisions.
Now walls are oriented, and so are blocking only in one way.
Removed outline debugging again.
Replaced minWallDistance logic with orientation logic.
Uses natural segment orientation to make oriented walls.
Replaced rectangle-based code with polygon-based code for map boundaries.
Fixed a few standards conformance compile-time errors.
Removed duplicate repulsion code and optimized collision pre-èconditions.
Removed more repulsion code as earlier code does the job.
Removed unused and obsolete functions.
Replace rectangle with polygon everywhere except network (buggy) and load_map.
Adapted network controller to work with rectangular polygons.
Now network is aware of random convex polygons.
Now, loads maps containing random convex polygons.
Tested with a non-vertical orientation of a convex polygon.