 |
Crossfire Server, Trunk
1.75.0
|
void init_type_hole(void)
Initializer for the HOLE object type.
void register_move_on(int ob_type, move_on_func method)
Registers the move_on method for the given type.
void play_sound_map(int8_t sound_type, object *emitter, int dir, const char *action)
Plays a sound on a map.
static method_ret hole_type_move_on(object *trap, object *victim, object *originator)
Move on this Hole object.
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
#define MSG_TYPE_APPLY_TRAP
Have activated a trap.
object * head
Points to the main object of a large body.
int transfer_ob(object *op, int x, int y, int randomly, object *originator)
Move an object (even linked objects) to another spot on the same map.
int8_t wc
Weapon Class, lower WC increases probability of hitting.
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
#define NDI_UNIQUE
Print immediately, don't buffer.
#define SOUND_TYPE_GROUND
living stats
Str, Con, Dex, etc.
#define MSG_TYPE_APPLY
Applying objects.
void common_post_ob_move_on(object *trap, object *victim, object *originator)