OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
random.c File Reference
Include dependency graph for random.c:

Go to the source code of this file.

Functions

void mape_random_seed (unsigned int seed)
 

Function Documentation

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: