2012-03-12 12:55:53 +00:00
|
|
|
#ifndef __WMUD_MAIN_H__
|
|
|
|
# define __WMUD_MAIN_H__
|
|
|
|
|
|
|
|
# include <glib.h>
|
|
|
|
|
|
|
|
extern GMainContext *game_context;
|
2012-03-12 22:51:17 +00:00
|
|
|
extern guint32 elapsed_seconds;
|
2012-03-14 19:19:05 +00:00
|
|
|
extern GRand *main_rand;
|
|
|
|
|
|
|
|
#define random_number(a, b) g_rand_int_range(main_rand, (a), (b) + 1)
|
2012-03-12 12:55:53 +00:00
|
|
|
|
|
|
|
#endif /* __WMUD_MAIN_H__ */
|
|
|
|
|