Go to the documentation of this file.
56 object *payload =
op->inv;
83 if (
op->map == NULL) {
116 && (
rndm(0, 99)) < (90-
op->level/10)) {
150 int left, right, mflags;
182 new_x = x1, new_y = y1;
204 if (
op->speed < 0.05) {
225 if (trap->
inv == NULL) {
#define object_was_destroyed(op, old_tag)
object * object_get_owner(object *op)
void object_clear_owner(object *op)
void object_update_turn_face(object *op)
void LOG(LogLevel logLevel, const char *format,...)
#define QUERY_FLAG(xyz, p)
#define FLAG_REFL_MISSILE
object * object_merge(object *op, object *top)
int rndm(int min, int max)
int events_execute_object_event(object *op, int eventcode, object *activator, object *third, const char *message, int fix)
object * hit_with_arrow(object *op, object *victim)
static event_registration m
void object_free_drop_inventory(object *ob)
short freearr_y[SIZEOFFREE]
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
method_ret common_process_projectile(object *op)
void object_free(object *ob, int flags)
#define GET_MAP_MOVE_BLOCK(M, X, Y)
object * fix_stopped_arrow(object *op)
object * map_find_by_flag(mapstruct *map, int x, int y, int flag)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
method_ret common_projectile_move_on(object *trap, object *victim, object *originator)
#define SCRIPT_FIX_NOTHING
int get_map_flags(mapstruct *oldmap, mapstruct **newmap, int16_t x, int16_t y, int16_t *nx, int16_t *ny)
void stop_projectile(object *op)
void object_remove(object *op)
event
DIALOGCHECK MINARGS 1 MAXARGS 2
#define OB_TYPE_MOVE_BLOCK(ob1, type)
#define FREE_OBJ_FREE_INVENTORY
short freearr_x[SIZEOFFREE]
void common_post_ob_move_on(object *trap, object *victim, object *originator)