docdowm: empty lines are included in blocks

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: test only block of code

Signed-off-by: Jean Privat <jean@pryen.org>
nitunit: protect generated files name a little to avoid name conflicts.

Signed-off-by: Jean Privat <jean@pryen.org>
modelbuilder: force `standard` to be imported

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add base_import_standard*.nit

Signed-off-by: Jean Privat <jean@pryen.org>
lib/tileset: use Numerics for `hspace` and `vspace`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
tests: update and improve tests for nitunit

Signed-off-by: Jean Privat <jean@pryen.org>
lib/bucketed_game: fix error in cache optimization

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
a_star: remove debug options (even unused, they take to much work)

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android_mnit: support more PNG color formats

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
android_mnit: standardize gray PNG files as RGB to please OpenGL ES 1.0

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

Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard: call srand by default

Signed-off-by: Jean Privat <jean@pryen.org>
android_mnit: free textures from main memory after loading in GPU memory

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/jvm: fix returns from C implementations

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/string: allocate enough memory for '\0' in `String::native_int_to_s`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/math: documents `srand` and `srand_from`

Signed-off-by: Jean Privat <jean@pryen.org>
contrib/friendz: update to use new type of `TileSetFont::hspace`

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/mnit: injected_input forces a srand_from(0)

Signed-off-by: Jean Privat <jean@pryen.org>
shoot: headless run forces a `srand_from(0)`

Signed-off-by: Jean Privat <jean@pryen.org>