Go to the documentation of this file.
63 if (--
op->stats.wc <= 0) {
65 if (
op->arch->clone.speed)
73 for (part =
op; part != NULL; part = part->
more) {
103 if (
op->arch->clone.speed)
113 if (
op->stats.food) {
114 if (--
op->stats.wc <= 0) {
138 "You are crushed by the %s!",
178 for (part =
op; part != NULL; part = part->
more) {
189 for (part =
op; part != NULL; part = part->
more) {
217 if (--
op->stats.hp <= 0) {
219 if (
op->value != v) {
void LOG(LogLevel logLevel, const char *format,...)
#define QUERY_FLAG(xyz, p)
StringBuffer * stringbuffer_new(void)
#define SET_ANIMATION(ob, newanim)
void draw_ext_info_format(int flags, int pri, const object *pl, uint8_t type, uint8_t subtype, const char *format,...) PRINTF_ARGS(6
void play_sound_map(int8_t sound_type, object *emitter, int dir, const char *action)
void register_process(int ob_type, process_func method)
static method_ret timed_gate_type_process(object *op)
void init_type_gate(void)
char * stringbuffer_finish(StringBuffer *sb)
void object_update(object *op, int action)
short freearr_y[SIZEOFFREE]
void object_dump(const object *op, StringBuffer *sb)
void object_update_speed(object *op)
#define MSG_TYPE_VICTIM_WAS_HIT
int random_roll(int min, int max, const object *op, int goodbad)
object * object_insert_in_map_at(object *op, mapstruct *m, object *originator, int flag, int x, int y)
#define SOUND_TYPE_GROUND
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)
const char * map_get_path(const object *item)
#define CLEAR_FLAG(xyz, p)
#define NUM_ANIMATIONS(ob)
void object_remove(object *op)
void update_all_los(const mapstruct *map, int x, int y)
static method_ret gate_type_process(object *op)
short freearr_x[SIZEOFFREE]