Functions

fountain.c File Reference

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

Functions

STATIC_DCL void NDECL (dowatersnakes)
STATIC_DCL void NDECL (dowaterdemon)
STATIC_DCL void NDECL (dowaternymph)
STATIC_PTR void FDECL (gush,(int, int, genericptr_t))
STATIC_DCL void NDECL (dofindgem)
void floating_above (char *what) const
STATIC_OVL void dowatersnakes ()
STATIC_OVL void dowaterdemon ()
STATIC_OVL void dowaternymph ()
void dogushforth (int drinking)
STATIC_PTR void gush (int x, int y, genericptr_t poolcnt)
STATIC_OVL void dofindgem ()
void dryup (xchar x, xchar y, boolean isyou)
void drinkfountain ()
void dipfountain (struct obj *obj)

Function Documentation

void dipfountain ( struct obj obj )
STATIC_OVL void dofindgem (  )

References A_WIS, Blind, DILITHIUM_CRYSTAL, exercise(), FALSE, LUCKSTONE, mksobj_at(), newsym(), rnd_class(), SET_FOUNTAIN_LOOTED, TRUE, u, you::ux, and you::uy.

Referenced by dipfountain(), and drinkfountain().

Here is the call graph for this function:

Here is the caller graph for this function:

void dogushforth ( int  drinking )

References do_clear_area(), gush(), pline(), u, you::ux, and you::uy.

Referenced by digactualhole(), dipfountain(), and drinkfountain().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_OVL void dowaterdemon (  )

References a_monnam(), Blind, FALSE, G_GONE, level_difficulty(), makemon(), makewish(), mhe, mhis, mintrap(), mongone(), mons, monst::mx, monst::my, NO_MM_FLAGS, pline(), PM_WATER_DEMON, rnd(), t_at(), u, you::ux, and you::uy.

Referenced by dipfountain(), and drinkfountain().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_OVL void dowaternymph (  )

References a_monnam(), Blind, G_GONE, makemon(), mintrap(), mons, monst::mx, monst::my, NO_MM_FLAGS, pline(), PM_WATER_NYMPH, t_at(), u, you::ux, and you::uy.

Referenced by dipfountain(), and drinkfountain().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_OVL void dowatersnakes (  )

References Blind, G_GONE, Hallucination, makemon(), makeplural(), mintrap(), mons, monst::mx, monst::my, NO_MM_FLAGS, pline(), PM_WATER_MOCCASIN, rn1, rndmonnam(), something, t_at(), u, you::ux, and you::uy.

Referenced by dipfountain(), and drinkfountain().

Here is the call graph for this function:

Here is the caller graph for this function:

void drinkfountain (  )
void dryup ( xchar  x,
xchar  y,
boolean  isyou 
)
STATIC_PTR void FDECL ( gush  ,
(int, int, genericptr_t  
)
void floating_above ( char *  what ) const

Referenced by dipfountain(), dodip(), dodown(), and drinkfountain().

Here is the caller graph for this function:

STATIC_PTR void gush ( int  x,
int  y,
genericptr_t  poolcnt 
)

References BOULDER, del_engr_at(), delfloortrap(), distmin(), FALSE, level, levl, m_at, minliquid(), newsym(), nexttodoor(), dlevel_t::objects, pline(), POOL, rn2(), ROOM, sobj_at(), t_at(), TRUE, u, you::ux, you::uy, water_damage(), trap::x, and trap::y.

Referenced by dogushforth().

Here is the call graph for this function:

Here is the caller graph for this function:

STATIC_DCL void NDECL ( dowaterdemon   )
STATIC_DCL void NDECL ( dowaternymph   )
STATIC_DCL void NDECL ( dowatersnakes   )
STATIC_DCL void NDECL ( dofindgem   )