version 1.88 | | version 1.89 |
---|
| | |
/* logger.c */ | | /* logger.c */ |
extern void LOG(LogLevel logLevel, const char *format, ...); | | extern void LOG(LogLevel logLevel, const char *format, ...); |
/* los.c */ | | /* los.c */ |
extern void set_block(int x, int y, int bx, int by); | | |
extern void init_block(void); | | extern void init_block(void); |
extern void clear_los(object *op); | | extern void clear_los(object *op); |
extern void expand_sight(object *op); | | |
extern int has_carried_lights(const object *op); | | extern int has_carried_lights(const object *op); |
extern void expand_lighted_sight(object *op); | | |
extern void blinded_sight(object *op); | | |
extern void update_los(object *op); | | extern void update_los(object *op); |
extern void update_all_map_los(mapstruct *map); | | extern void update_all_map_los(mapstruct *map); |
extern void update_all_los(const mapstruct *map, int x, int y); | | extern void update_all_los(const mapstruct *map, int x, int y); |
| | |
extern int out_of_map(mapstruct *m, int x, int y); | | extern int out_of_map(mapstruct *m, int x, int y); |
extern mapstruct *get_map_from_coord(mapstruct *m, sint16 *x, sint16 *y); | | extern mapstruct *get_map_from_coord(mapstruct *m, sint16 *x, sint16 *y); |
extern void get_rangevector(object *op1, object *op2, rv_vector *retval, int flags); | | extern void get_rangevector(object *op1, object *op2, rv_vector *retval, int flags); |
extern void get_rangevector_from_mapcoord(mapstruct *m, int x, int y, object *op2, rv_vector *retval, int flags); | | extern void get_rangevector_from_mapcoord(const mapstruct *m, int x, int y, const object *op2, rv_vector *retval, int flags); |
extern int on_same_map(object *op1, object *op2); | | extern int on_same_map(const object *op1, const object *op2); |
/* object.c */ | | /* object.c */ |
extern int CAN_MERGE(object *ob1, object *ob2); | | extern int CAN_MERGE(object *ob1, object *ob2); |
extern signed long sum_weight(object *op); | | extern signed long sum_weight(object *op); |