Freeciv-3.1: /fast/freeciv/nightly/S3_1/utility/randseed.h Source File

Freeciv-3.1

Loading...
Searching...
No Matches
randseed.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 2021 The Freeciv Team
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13
14/* Random number initialization */
15
16#ifndef FC__RANDSEED_H
17#define FC__RANDSEED_H
18
19#ifdef __cplusplus
20extern "C" {
21#endif /* __cplusplus */
22
23 typedef unsigned int randseed;
24
25 randseed generate_game_seed(void);
26
27#ifdef __cplusplus
28}
29#endif /* __cplusplus */
30
31#endif /* FC__RAND_H */
randseed
unsigned int randseed
Definition randseed.h:23
generate_game_seed
randseed generate_game_seed(void)
Definition randseed.c:192