OpenClonk
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

◆ mape_random_seed()

void mape_random_seed ( unsigned int  seed)

SECTION:mape-random @title: MapeRandom @short_description: Interface to the random number generator mape/random.h @stability: Unstable

These functions provide a simple interface to the random number generator used for map generation in the Clonk engine. mape_random_seed: @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.

43 {
45 }
void c4_random_handle_seed(unsigned int seed)

References c4_random_handle_seed().

Referenced by mape_edit_view_reload().

Here is the call graph for this function:
Here is the caller graph for this function: