View lcov test coverage results on http://www.ufoot.org/liquidwar/v6/doc/coverage/src/lib/gen/index.html.
seed: a random seed used to generate the map
map_w: width of the screen, in pixels
map_h: height of the screen, in pixels
Builds a complete, usable map from the string passed in seed. Each triplet composed of seed/map_w/map_h should build the same map on any computer, in any context, for a given version of the game (no backwards compatibility).
Return value: new map on success, NULL on failure.
Generate a new random seed. The seed is composed of letters and numbers.
Return value: newly allocated string.
seed: the seed to normalize
Builds a normalized seed from an arbitrary string. The idea is to avoid sending strange stuff on the network and/or storing strange stuff in config files, so we process correct strings only
Return value: newly allocated string.
Returns a random char suitable for seed (letter or digit).
Return value: a single char