All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
random.h File Reference
#include <glib.h>
Include dependency graph for random.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


G_BEGIN_DECLS void mape_random_seed (unsigned int seed)

Function Documentation

G_BEGIN_DECLS void mape_random_seed ( unsigned int  seed)

SECTION:mape-random : MapeRandom : Interface to the random number generator mape/random.h : Unstable

These functions provide a simple interface to the random number generator used for map generation in the Clonk engine. mape_random_seed: : Value to seed the random number generator with.

Sets the random seed for the Clonk random number generator that is used when generating a map with C4MapCreatorS2.

Definition at line 42 of file random.c.

References c4_random_handle_seed().

Referenced by main(), and mape_edit_view_reload().

43 {
45 }
void c4_random_handle_seed(unsigned int seed)

Here is the call graph for this function:

Here is the caller graph for this function: