lib: adds reference to last turn in bucketed_game

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit: cleanup code

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/sdl: use (or not) SDL mouse motion events

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

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib: add `MapRead::get_or_null` to provide a more standard usage of Maps

Signed-off-by: Jean Privat <jean@pryen.org>
Merge remote-tracking branch 'alexis/various-fixes-for-games'

Latest additions to the standard library for Round'n Round.

The Float::abs implemetation corrects a bug present in master.
nitg: fix FFI _is_null functions

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: fix generated signature for FFI cast

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: fix generated code for call to super from C

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: extract toolchain methods into a new ToolChain class

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: refactor the ToolChain class by adding an abstract super class

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
nitg: intro the platform concept

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android: adds support for the android platform

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: minimal test for compilation to android

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: skip android related test in niti

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
Merge remote-tracking branch 'alexis/ffi-fix'

In most cases the generated code use a wrong types (Custom types in
extern classes aren't visible inside the main generated code). Also
fixed an alias.
lib: add `provide_default_value` in Map to allow subclasses to provide
specific behavior when there is no value associated with a key.

The default behavior is to abort, as usual.

Basically this patch factorizes the `abort` in a single function that can
be redefined.

Signed-off-by: Jean Privat <jean@pryen.org>
lib/more_collection: MultiHashMap associates new arrays to unknown keys

Signed-off-by: Jean Privat <jean@pryen.org>
Merge branch 'map'

fixes #303