Defines | Functions | Variables

dokick.c File Reference

#include "hack.h"
#include "eshk.h"
Include dependency graph for dokick.c:

Defines

#define is_bigfoot(x)   ((x) == &mons[PM_SASQUATCH])
#define martial()

Functions

STATIC_DCL void FDECL (kickdmg,(struct monst *, BOOLEAN_P))
STATIC_DCL void FDECL (kick_monster,(XCHAR_P, XCHAR_P))
STATIC_DCL int FDECL (kick_object,(XCHAR_P, XCHAR_P))
STATIC_DCL char * FDECL (kickstr,(char *))
STATIC_DCL void FDECL (otransit_msg,(struct obj *, BOOLEAN_P, long))
STATIC_DCL void FDECL (drop_to,(coord *, SCHAR_P))
STATIC_OVL void kickdmg (struct monst *mon, boolean clumsy)
STATIC_OVL void kick_monster (xchar x, xchar y)
boolean ghitm (struct monst *mtmp, struct obj *gold)
void container_impact_dmg (struct obj *obj)
STATIC_OVL int kick_object (xchar x, xchar y)
STATIC_OVL char * kickstr (char *buf)
int dokick ()
STATIC_OVL void drop_to (coord *cc, schar loc)
void impact_drop (struct obj *missile, xchar x, xchar y, xchar dlev)
boolean ship_object (struct obj *otmp, xchar x, xchar y, boolean shop_floor_obj)
void obj_delivery ()
STATIC_OVL void otransit_msg (struct obj *otmp, boolean nodrop, long num)
schar down_gate (xchar x, xchar y)

Variables

static NEARDATA struct rmmaploc
static NEARDATA const char * gate_str
boolean notonhead
static NEARDATA struct objkickobj
static const char kick_passes_thru [] = "kick passes harmlessly through"

Define Documentation

#define is_bigfoot (   x )    ((x) == &mons[PM_SASQUATCH])
#define martial (  )

Function Documentation

void container_impact_dmg ( struct obj obj )
int dokick (  )

References A_CON, A_DEX, A_STR, A_WIS, ACURR, ACURRSTR, add_damage(), altar_wrath(), Amonnam(), An(), angry_guards(), b_trapped(), Blind, body_part(), BOTH_SIDES, BOULDER, bp, BUFSZ, canspotmon, CORR, couldsee, cvt_sdoor_to_door(), permonst::cwt, D_BROKEN, D_ISOPEN, D_LOCKED, D_NODOOR, D_TRAPPED, D_WARNED, monst::data, DEADMONSTER, dealloc_obj(), DILITHIUM_CRYSTAL, display_nhwindow, doormask, dunlev(), dunlevs_in_dungeon(), you::dx, you::dy, enexto(), EWounded_legs, exercise(), fall_through(), FALSE, feel_location(), find_drawbridge(), flags, fmon, FOOT, flag::forcefight, G_GONE, getdir(), glyph_is_invisible, hcolor(), hurtle(), in_rooms(), in_town(), inv_weight(), IRONBARS, Is_airlevel, IS_ALTAR, is_animal, IS_DOOR, is_drawbridge_wall(), IS_FOUNTAIN, IS_GRAVE, is_plural, is_pool(), IS_ROCK, IS_SINK, IS_STWALL, IS_THRONE, IS_TREE, Is_waterlevel, isok(), kick_monster(), kick_object(), KICKING_BOOTS, kickstr(), KILLED_BY, LA_DOWN, LADDER, LEFT_SIDE, LEG, Levitation, levl, looted, losehp(), Luck, LUCKSTONE, m_at, makemon(), makeplural(), map_invisible(), martial, MAY_HIT, mkgold(), mkobj_at(), mksobj(), mksobj_at(), permonst::mlet, MM_ANGRY, MON_AT, mon_nam(), Monnam(), mons, flag::move, monst::mx, monst::my, near_capacity(), newsym(), NH_BLACK, monst::nmon, NO_MM_FLAGS, nolimbs, OBJ_AT, obj::otyp, pay_for_damage(), pline(), PM_BLACK_PUDDING, PM_INCUBUS, PM_KILLER_BEE, PM_SUCCUBUS, PM_WATCH_CAPTAIN, PM_WATCHMAN, poly_gender(), obj::quan, RIGHT_SIDE, RING_CLASS, rn1, rn2(), rnd(), rnd_class(), rnd_treefruit_at(), rnl(), ROOM, rust_dmg(), S_LDWASHER, S_LIZARD, S_LPUDDING, S_LRING, scatter(), SCORR, SDOOR, set_wounded_legs(), SHOPBASE, slithy, SLT_ENCUMBER, sobj_at(), Something, something, flag::soundok, STAIRS, T_LOOTED, TREE_LOOTED, TREE_SWARM, TRUE, TT_BEARTRAP, TT_PIT, TT_WEB, rm::typ, u, u_wipe_engr(), uarmf, unblock_point(), unmap_object(), you::ustuck, you::utrap, you::utraptype, you::ux, you::uy, you::uz, flag::verbose, verysmall, wake_nearby(), weight_cap(), WIN_MESSAGE, Wounded_legs, nhcoord::x, trap::x, xname(), nhcoord::y, trap::y, yn_function(), ynchars, and youmonst.

Here is the call graph for this function:

schar down_gate ( xchar  x,
xchar  y 
)
STATIC_OVL void drop_to ( coord cc,
schar  loc 
)

References d_level::dlevel, d_level::dnum, In_endgame, Is_botlevel(), Is_stronghold, MIGR_LADDER_UP, MIGR_NOWHERE, MIGR_RANDOM, MIGR_SSTAIRS, MIGR_STAIRS_UP, sstairs, stairway::tolev, u, you::uz, and valley_level.

Referenced by impact_drop(), and ship_object().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_DCL void FDECL ( kickdmg  ,
(struct monst *, BOOLEAN_P)   
)
STATIC_DCL char* FDECL ( kickstr  ,
(char *)   
)
STATIC_DCL void FDECL ( kick_monster  ,
(XCHAR_P, XCHAR_P)   
)
STATIC_DCL void FDECL ( otransit_msg  ,
(struct obj *, BOOLEAN_P, long)   
)
STATIC_DCL int FDECL ( kick_object  ,
(XCHAR_P, XCHAR_P)   
)
STATIC_DCL void FDECL ( drop_to  ,
(coord *, SCHAR_P)   
)
boolean ghitm ( struct monst mtmp,
struct obj gold 
)
void impact_drop ( struct obj missile,
xchar  x,
xchar  y,
xchar  dlev 
)
STATIC_OVL void kick_monster ( xchar  x,
xchar  y 
)
STATIC_OVL int kick_object ( xchar  x,
xchar  y 
)
STATIC_OVL void kickdmg ( struct monst mon,
boolean  clumsy 
)
STATIC_OVL char* kickstr ( char *  buf )

References distant_name(), doname(), IRONBARS, IS_ALTAR, IS_DOOR, IS_DRAWBRIDGE, IS_FOUNTAIN, IS_GRAVE, IS_ROCK, IS_SINK, IS_STWALL, IS_THRONE, IS_TREE, LADDER, STAIRS, rm::typ, and what.

Referenced by dokick().

Here is the call graph for this function:

Here is the caller graph for this function:

void obj_delivery (  )
STATIC_OVL void otransit_msg ( struct obj otmp,
boolean  nodrop,
long  num 
)

References BUFSZ, CORPSE, eos(), gate_str, mons, otense(), pline(), Sprintf, type_is_pname, and xname().

Referenced by ship_object().

Here is the call graph for this function:

Here is the caller graph for this function:

boolean ship_object ( struct obj otmp,
xchar  x,
xchar  y,
boolean  shop_floor_obj 
)

Variable Documentation

NEARDATA const char* gate_str [static]
const char kick_passes_thru[] = "kick passes harmlessly through" [static]
NEARDATA struct obj* kickobj [static]
NEARDATA struct rm* maploc [static]