engine uses final (?) SDL 2 APIs, new events and types added. Touch input broke by the way, and system events should be handled differently
engine compiles for ios again, but SDL bindings are outdated. Fix some warnings
bug #668 + reorder conditions for kick slightly, to call the math last