2015-01-30 20:37:14 +01:00
|
|
|
/*
|
2010-08-08 10:06:34 +02:00
|
|
|
* +-------------------+ Christian Schlittchen <corwin@amber.kn-bremen.de>
|
|
|
|
* | | Enno Rehling <enno@eressea.de>
|
|
|
|
* | Eressea PBEM host | Katja Zedel <katze@felidae.kn-bremen.de>
|
|
|
|
* | (c) 1998 - 2006 |
|
|
|
|
* | | This program may not be used, modified or distributed
|
|
|
|
* +-------------------+ without prior permission by the authors of Eressea.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef H_GMTOOL
|
|
|
|
#define H_GMTOOL
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2014-11-01 13:10:22 +01:00
|
|
|
|
|
|
|
struct lua_State;
|
|
|
|
struct selection;
|
|
|
|
struct state;
|
|
|
|
struct region;
|
|
|
|
struct terrain_type;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
int gmmain(int argc, char *argv[]);
|
2011-03-07 08:02:35 +01:00
|
|
|
int curses_readline(struct lua_State *L, char *buffer, size_t size,
|
|
|
|
const char *prompt);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
void highlight_region(struct region *r, int on);
|
2011-03-07 08:02:35 +01:00
|
|
|
void select_coordinate(struct selection *selected, int x, int y, int on);
|
2010-08-08 10:06:34 +02:00
|
|
|
void run_mapper(void);
|
|
|
|
|
2011-02-26 10:21:10 +01:00
|
|
|
extern int force_color;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2011-03-07 08:02:35 +01:00
|
|
|
struct state *state_open(void);
|
|
|
|
void state_close(struct state *);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
2011-03-07 08:02:35 +01:00
|
|
|
void make_block(int x, int y, int radius, const struct terrain_type *terrain);
|
2012-06-24 07:41:07 +02:00
|
|
|
void seed_players(const char *filename, bool new_island);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|