/* vi: set ts=2: * +-------------------+ Christian Schlittchen * | | Enno Rehling * | Eressea PBEM host | Katja Zedel * | (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 struct lua_State; struct selection; struct state; struct region; int gmmain(int argc, char *argv[]); int curses_readline(struct lua_State * L, char * buffer, size_t size, const char * prompt); void highlight_region(struct region *r, int on); void select_coordinate(struct selection * selected, int x, int y, int on); void run_mapper(void); extern int force_color; struct state * state_open(void); void state_close(struct state * ); void make_block(int x, int y, int radius, const struct terrain_type * terrain); void seed_players(const char * filename, boolean new_island); #ifdef __cplusplus } #endif #endif