version 1.54 | | version 1.55 |
---|
| | |
extern void dump_map(mapstruct *m); | | extern void dump_map(mapstruct *m); |
extern void dump_all_maps(void); | | extern void dump_all_maps(void); |
extern int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny); | | extern int get_map_flags(mapstruct *oldmap, mapstruct **newmap, sint16 x, sint16 y, sint16 *nx, sint16 *ny); |
extern int blocked_link(object *ob, int x, int y); | | extern int blocked_link(object *ob, mapstruct *m, int x, int y); |
extern int arch_blocked(archetype *at, mapstruct *m, sint16 x, sint16 y); | | extern int arch_blocked(archetype *at, mapstruct *m, sint16 x, sint16 y); |
extern void fix_container(object *container); | | extern void fix_container(object *container); |
extern void load_objects(mapstruct *m, FILE *fp, int mapflags); | | extern void load_objects(mapstruct *m, FILE *fp, int mapflags); |
| | |
/* loader.c */ | | /* loader.c */ |
extern int lex_load(object *op, int map_flags); | | extern int lex_load(object *op, int map_flags); |
extern void yyrestart(FILE *input_file); | | extern void yyrestart(FILE *input_file); |
extern void yypop_buffer_state(void); | | extern void yy_load_buffer_state(void); |
extern int yyget_lineno(void); | | |
extern FILE *yyget_in(void); | | |
extern FILE *yyget_out(void); | | |
extern int yyget_leng(void); | | |
extern char *yyget_text(void); | | |
extern void yyset_lineno(int line_number); | | |
extern void yyset_in(FILE *in_str); | | |
extern void yyset_out(FILE *out_str); | | |
extern int yyget_debug(void); | | |
extern void yyset_debug(int bdebug); | | |
extern int yylex_destroy(void); | | |
extern void yyfree(void *ptr); | | |
extern int yyerror(char *s); | | extern int yyerror(char *s); |
extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); | | extern int load_object(FILE *fp, object *op, int bufstate, int map_flags); |
extern int set_variable(object *op, char *buf); | | extern int set_variable(object *op, char *buf); |