Go to the documentation of this file.
62 if (--
op->stats.wc <= 0) {
64 if (
op->arch->clone.speed)
72 for (part =
op; part != NULL; part = part->
more) {
102 if (
op->arch->clone.speed)
112 if (
op->stats.food) {
113 if (--
op->stats.wc <= 0) {
137 "You are crushed by the %s!",
177 for (part =
op; part != NULL; part = part->
more) {
188 for (part =
op; part != NULL; part = part->
more) {
216 if (--
op->stats.hp <= 0) {
218 if (
op->value != v) {
void object_remove(object *op)
StringBuffer * stringbuffer_new(void)
void object_update(object *op, int action)
#define QUERY_FLAG(xyz, p)
static method_ret timed_gate_type_process(object *op)
void register_process(int ob_type, process_func method)
#define SET_ANIMATION(ob, newanim)
void play_sound_map(int8_t sound_type, object *emitter, int dir, const char *action)
void init_type_gate(void)
short freearr_x[SIZEOFFREE]
short freearr_y[SIZEOFFREE]
void object_dump(const object *op, StringBuffer *sb)
char * stringbuffer_finish(StringBuffer *sb)
const char * map_get_path(const object *item)
#define MSG_TYPE_VICTIM_WAS_HIT
static method_ret gate_type_process(object *op)
int random_roll(int min, int max, const object *op, int goodbad)
#define SOUND_TYPE_GROUND
void LOG(LogLevel logLevel, const char *format,...)
int object_find_free_spot(const object *ob, mapstruct *m, int x, int y, int start, int stop)
int hit_player(object *op, int dam, object *hitter, uint32_t type, int full_hit)
#define CLEAR_FLAG(xyz, p)
#define NUM_ANIMATIONS(ob)
void update_all_los(const mapstruct *map, int x, int y)
void object_update_speed(object *op)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...)