2010-08-08 10:06:34 +02:00
|
|
|
#ifndef H_GMTOOL
|
|
|
|
#define H_GMTOOL
|
|
|
|
|
2017-12-29 06:13:28 +01:00
|
|
|
#include <stddef.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
|
2010-08-08 10:06:34 +02:00
|
|
|
#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;
|
2015-06-02 15:29:21 +02:00
|
|
|
struct newfaction;
|
2010-08-08 10:06:34 +02:00
|
|
|
|
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);
|
2018-10-30 20:11:35 +01:00
|
|
|
void select_coordinate(struct selection *selected, int x, int y, bool 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;
|
2016-08-07 19:19:35 +02:00
|
|
|
extern int gm_codepage;
|
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);
|
2015-06-02 15:29:21 +02:00
|
|
|
void seed_players(struct newfaction **players, bool new_island);
|
2010-08-08 10:06:34 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|