Created a collision engine branch. Work in progress.
Made a intersectSegments helper function. Added basic mk file to build system.
Fixed position movement bug in main.cpp, and added double-precision in vectors and rectangles.
Added min wall distance to avoid wall traversal due to FP approximations.
Enable round corner collision on rectangle! Beware, it's not yet working.
Fixed line/circle intersection equation.
Outlines blocks so that collision testing is easier.
Now uses limited angles for circle arcs. Avoid anormal tangents. Should be completed by narrower angle intervals in a later commit.
Added conditional compilation for objects outline highlighting.
Now uses context for geometry interaction, so it'll be possible to define several interaction modes.
Added several interaction modes, including IT_CANCEL to support angle interactions.
Changed round rectangle border order to make segment interactions before circle interactions.
Unified code for circle and line bouncing/sliding through the use of circle tangent as wall.
Added proper sound support when moving!
Fixed sound initialization bug on inexisting file and renamed audio file.
Made engine.cpp compilable. Most of the work is in the physics engine.
Added misc.cpp for helper functions.
Start using engine.
Added wall entities and map loading for OOP engine.
Added texture cache so that walls can be textured.