Defines | Functions | Variables

pline.c File Reference

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

Defines

#define NEED_VARARGS   /* Uses ... */
#define vpline   pline
#define YouPrefix(pointer, prefix, text)   Strcpy((pointer = You_buf((int)(strlen(text) + sizeof prefix))), prefix)
#define YouMessage(pointer, prefix, text)   strcat((YouPrefix(pointer, prefix, text), pointer), text)

Functions

static char * FDECL (You_buf,(int))
void pline VA_DECL (const char *, if!line)
 if (!iflags.window_inited)
 if (no_repeat &&!strcmp(line, toplines)) return
 if (vision_full_recalc)
void free_youbuf ()
void You VA_DECL (const char *, VA_INIT(line)
 vpline (s, VA_ARGS)
 pline ("Program in disorder; you probably should S)ave and restart the process.")
 VA_END ()
 Vsprintf (str, s, VA_ARGS)
 pline ("Warning: %s\n", str)
const char * align_str (aligntyp alignment)
void mstatusline (struct monst *mtmp)
void ustatusline ()
void self_invis_message ()

Variables

static boolean no_repeat = FALSE
program_state in_impossible = 0

Define Documentation

#define NEED_VARARGS   /* Uses ... */
#define vpline   pline
#define YouMessage (   pointer,
  prefix,
  text 
)    strcat((YouPrefix(pointer, prefix, text), pointer), text)
#define YouPrefix (   pointer,
  prefix,
  text 
)    Strcpy((pointer = You_buf((int)(strlen(text) + sizeof prefix))), prefix)

Function Documentation

const char* align_str ( aligntyp  alignment )
static char* FDECL ( You_buf  ,
(int)   
) [static]
void free_youbuf (  )

Referenced by freedynamicdata().

Here is the caller graph for this function:

if ( no_repeat &&!  strcmpline, toplines )
if ( vision_full_recalc   )
if ( !iflags.  window_inited )

References raw_print().

Here is the call graph for this function:

void mstatusline ( struct monst mtmp )
pline ( "Program in disorder; you probably should   S )

Referenced by able_to_loot(), accessory_has_effect(), add_menu_cmd_alias(), add_rect(), addtobill(), adjattrib(), altar_wrath(), amulet(), Amulet_on(), angrygods(), animate_statue(), Armor_off(), Armor_on(), arti_invoke(), arti_speak(), artifact_hit(), askchain(), at_your_feet(), attack(), attack_checks(), awaken_soldiers(), b_trapped(), backfire(), badoption(), bagotricks(), ballfall(), bhit(), bhitm(), bhito(), bite_monster(), block_door(), block_entry(), boulder_hits_pool(), boxlock(), breakmsg(), breakobj(), breamu(), burn_floor_paper(), burn_object(), bury_an_obj(), bury_objs(), buzz(), buzzmu(), calm_nymphs(), can_twoweapon(), cancel_item(), cancel_monst(), canletgo(), canwearobj(), cast_cleric_spell(), cast_wizard_spell(), castmu(), catch_lit(), charm_snakes(), check_capacity(), check_leash(), check_special_room(), check_version(), checkfile(), chest_shatter_msg(), chest_trap(), choke_dialogue(), Cloak_off(), Cloak_on(), close_drawbridge(), commit_bonesfile(), confused_book(), container_contents(), corpse_chance(), cpostfx(), cprefx(), create_camera_demon(), create_polymon(), cthulhu_dies(), currentlevel_rewrite(), cursed_book(), cursetxt(), cuss(), cutoff(), cutworm(), damageum(), deadbook(), deferred_goto(), deliver_by_pline(), demon_talk(), demonpet(), destroy_arm(), destroy_drawbridge(), destroy_item(), destroy_mitem(), dig(), dig_up_grave(), digactualhole(), dighole(), dip(), dipfountain(), display_pickinv(), djinni_from_bottle(), do_break_wand(), do_class_genocide(), do_earthquake(), do_entity(), do_genocide(), do_improvisation(), do_look(), do_mname(), do_oname(), do_storms(), doaltarobj(), doapply(), dochat(), dochug(), doclose(), doconsult(), dodip(), dodown(), dodrink(), doeat(), dofiretrap(), dog_eat(), dog_hunger(), dog_invent(), dog_move(), dogaze(), dogushforth(), doidtrap(), dokick(), doloot(), domagictrap(), domindblast(), domonability(), domonnoise(), domove(), done(), done_eating(), doorganize(), doorlock(), dopay(), dopickup(), doread(), doremring(), dorub(), dosacrifice(), dosave(), dosave0(), dosearch0(), dosit(), dosounds(), dosummon(), doswapweapon(), dotakeoff(), dotele(), dotogglepickup(), dotrap(), dotravel(), doturn(), dotypeinv(), dounpaid(), dountrap(), doup(), doversion(), dowaterdemon(), dowaternymph(), dowatersnakes(), dowear(), dowhatdoes(), dowhatdoes_core(), dowield(), dowieldquiver(), dowrite(), dozap(), drinkfountain(), drop_ball(), drop_boulder_on_monster(), drop_boulder_on_player(), drown(), dryup(), e_at(), e_died(), e_jumps(), e_missed(), eataccessory(), eatcorpse(), eatspecial(), emergency_disrobe(), enexto_core_range(), engrave(), enter_explore_mode(), erode_obj(), exerchk(), exercise(), exerper(), expels(), explmm(), explmu(), explode(), explum(), fall_through(), feature_alert_opts(), feel_cockatrice(), fig_transform(), fightm(), final_level(), fire_damage(), fix_attributes_and_properties(), fix_petrification(), fix_worst_trouble(), fixup_special(), flash_hits_mon(), float_down(), float_up(), flooreffects(), food_detect(), forcelock(), fpostfx(), fprefx(), gazemm(), gazemu(), gd_move(), gem_accept(), genl_message_menu(), get_adjacent_loc(), get_wet(), getbones(), getdir(), getlev(), getobj(), getpos(), getrumor(), ggetobj(), ghitm(), ghod_hitsu(), ghost_from_bottle(), god_zaps_you(), golemeffects(), goto_level(), grease_protect(), grow_up(), growl(), gulpmm(), gulpmu(), gulpum(), gush(), hatch_egg(), Helmet_on(), help_monster_out(), hit(), hitfloor(), hitmm(), hitmsg(), hitmu(), hits_bars(), hmon_hitmon(), hmonas(), hold_another_object(), hurtle_step(), impact_drop(), in_container(), in_out_region(), inherits(), initialspell(), inside_gas_cloud(), intemple(), interrupt_multi(), invault(), inven_inuse(), invocation_message(), its_dead(), itsstuck(), jump(), keepdogs(), kick_monster(), kick_object(), kickdmg(), lantern_message(), launch_obj(), lava_effects(), learn(), lesshungry(), level_tele(), lifesaved_monster(), litroom(), look_here(), losexp(), m_dowear_type(), m_initgrp(), m_move(), m_respond(), m_throw(), m_unleash(), make_angry_shk(), make_blinded(), make_corpse(), make_familiar(), make_hallucinated(), make_happy_shk(), make_sick(), makemon(), makewish(), mattackm(), mattacku(), maybe_wail(), Mb_hit(), mb_trapped(), mbag_item_gone(), mbhitm(), mdamagem(), mdrop_obj(), meatmetal(), meatobj(), melt_ice(), menu_identify(), mimic_hit_msg(), minliquid(), minstapetrify(), mintrap(), miss(), missmm(), missmu(), mk_knox_portal(), mkcavearea(), mkportal(), mkshop(), mlevel_tele_trap(), mon_adjust_speed(), mon_break_armor(), mon_consume_unstone(), mon_reflects(), mon_to_stone(), mon_wield_item(), monflee(), monkilled(), monster_detect(), move_special(), moveloop(), moverock(), mpickgold(), mpickobj(), mpickstuff(), mplayer_talk(), mquaffmsg(), mread(), mreadmsg(), mrustm(), mselftouch(), mstatusline(), mswings(), mswingsm(), mtele_trap(), mv_bubble(), mzapmsg(), new_were(), newcham(), newuhs(), nh_timeout(), obj_timer_checks(), observe_quantum_cat(), obstructed(), ohitmon(), onbill(), openit(), opentin(), otransit_msg(), out_container(), outoracle(), outrumor(), parse(), parseoptions(), passive(), passivemm(), passiveum(), pay_for_damage(), paygd(), peek_at_iced_corpse_age(), peffects(), pick_lock(), picklock(), pickup_object(), pleased(), pluslvl(), poisoned(), poisontell(), poly_obj(), polymon(), polyself(), possibly_unwield(), potionbreathe(), potionhit(), prayer_done(), precheck(), price_quote(), priest_talk(), prinv(), prisoner_speaks(), probe_monster(), propagate(), punish(), read_engr_at(), readobjnam(), ready_weapon(), recharge(), rejectoption(), relobj(), remove_damage(), resist(), restgamestate(), restlevelfile(), resurrect(), revive(), revive_corpse(), revive_cthulhu(), reward_untrap(), Ring_off_or_gone(), Ring_on(), rndcurse(), rndmonst(), rottenfood(), rouse_shk(), rust_dmg(), savebones(), scatter(), see_lamp_flicker(), seffects(), select_newcham_form(), self_invis_message(), selftouch(), sellobj(), set_wall_state(), setmangry(), setmnotwielded(), setuwep(), shk_chat(), shk_move(), shk_names_obj(), shkcatch(), shkinit(), shopdig(), showdmg(), silly_thing(), simple_look(), slept_monst(), slime_dialogue(), slip_or_trip(), snuff_candle(), snuff_lit(), spelleffects(), spitmu(), split_mon(), spoteffects(), start_tin(), steal(), steal_it(), stealamulet(), stealarm(), stealgold(), stoned_dialogue(), strange_feeling(), stripspe(), study_book(), stumble_onto_mimic(), summon_minion(), tactics(), tamedog(), tele(), tele_restrict(), test_move(), thitm(), thitmonst(), thitu(), throw_gold(), throw_obj(), throwit(), throwspell(), thrwmu(), tmiss(), toss_up(), touch_artifact(), trickery(), trim_contents(), try_disarm(), try_lift(), u_entered_shop(), u_on_sstairs(), u_slip_free(), u_teleport_mon(), ugolemeffects(), unearth_objs(), unmul(), untrap(), unturn_dead(), update_mon_intrinsics(), uptodate(), ureflects(), urustm(), use_bell(), use_candelabrum(), use_candle(), use_container(), use_cream_pie(), use_crystal_ball(), use_defensive(), use_grapple(), use_grease(), use_lamp(), use_leash(), use_mirror(), use_misc(), use_offensive(), use_pick_axe(), use_pick_axe2(), use_pole(), use_stethoscope(), use_stone(), use_tinning_kit(), use_towel(), use_whip(), ustatusline(), uunstick(), uwepgone(), violated(), wallify_vault(), wary_dog(), watch_on_duty(), water_damage(), water_friction(), water_prayer(), welcome(), whimper(), wield_tool(), wildmiss(), wipeoff(), xkilled(), yelp(), you_aggravate(), zap_dig(), zap_over_floor(), zap_updown(), zapnodir(), zapyourself(), and zhitm().

pline ( "Warning: %s\n"  ,
str   
)
void self_invis_message (  )

References Hallucination, pline(), and See_invisible.

Referenced by cpostfx(), peffects(), Ring_on(), and zapyourself().

Here is the call graph for this function:

Here is the caller graph for this function:

void ustatusline (  )
void pline VA_DECL ( const char *  ,
if !  line 
)

References pbuf, and Vsprintf().

Here is the call graph for this function:

void You VA_DECL ( const char *  ,
VA_INIT(  line 
)
VA_END (  )
vpline ( ,
VA_ARGS   
)
Vsprintf ( str  ,
,
VA_ARGS   
)

Referenced by VA_DECL().

Here is the caller graph for this function:


Variable Documentation

boolean no_repeat = FALSE [static]