lib: Sequence::rand now abort when empty, is more like other services

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/a_star: remove method find_closest which used a closure

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds the abs method to Int

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: fix implementation of Float::abs

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: add the HashMapWithDefault class

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: adds ref to last turn in bucketed game logic

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
mnit: use SDL mouse motion events optionnaly

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/opengles1: cleanup dead code and comments in opengles1 module

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/opengles1: fix duplicated drawing of some triangles

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/opengles1: intro a custom method to draw texture half transparent

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/opengles1: intro methods to set and reset GL color

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>