void spring_trap(object *trap, object *victim)
This function generalizes attacks by runes/traps.
#define UP_OBJ_FACE
Only thing that changed was the face.
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
int rndm(int min, int max)
Returns a number between min and max.
method_ret common_trap_type_process(object *op)
Processes a Rune or Trap.
Global type definitions and header inclusions.
char method_ret
Define some standard return values for callbacks which don't need to return any other results...
int16_t level
Level of creature or object.
#define FLAG_ALIVE
Object can fight (or be fought)
#define QUERY_FLAG(xyz, p)
living stats
Str, Con, Dex, etc.
int16_t invisible
How much longer the object will be invis.
float speed_left
How much speed is left to spend this round.
void common_post_ob_move_on(object *trap, object *victim, object *originator)
void object_update(object *op, int action)
object_update() updates the array which represents the map.
Object type functions and variables.
method_ret common_trap_type_move_on(object *trap, object *victim, object *originator)
Move on this Rune or Trap object.