#include "bind_eressea.h" #include #include #include #include #include void eressea_free_game(void) { free_gamedata(); } int eressea_read_game(const char * filename) { return readgame(filename, IO_BINARY, 0); } int eressea_write_game(const char * filename) { remove_empty_factions(); return writegame(filename, IO_BINARY); } int eressea_read_orders(const char * filename) { return readorders(filename); }