void init_map(char *mapfile);
void parse_map(long def_flags);
void save_map(char *mapfile, int offset);