server/src/gmtool.h
Enno Rehling abf548cecd overdue unicode cleanup.
our new pdcurses can do utf8 output, let's use it.
convert output on a windows tty to codepage 1252.
2021-02-21 20:49:03 +01:00

36 lines
779 B
C

#ifndef H_GMTOOL
#define H_GMTOOL
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
struct lua_State;
struct selection;
struct state;
struct region;
struct terrain_type;
struct newfaction;
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, bool 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(struct newfaction **players, bool new_island);
#ifdef __cplusplus
}
#endif
#endif