MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 4 callersFunctionnoattacks
returns True if monster doesn't attack, False if it does */
src/mondata.c:60
↓ 4 callersFunctionnoname_monnam
return "a dog" rather than "Fido", honoring hallucination and visibility */
src/do_name.c:1101
↓ 4 callersFunctionnotice_all_mons
src/hack.c:1743
↓ 4 callersFunctionnsb_unmung_line
(p)
src/topten.c:1478
↓ 4 callersFunctionnumber_leashed
src/apply.c:697
↓ 4 callersFunctionobj_is_burning
Return TRUE if sheds light AND will be snuffed by end_burn(). */
src/light.c:770
↓ 4 callersFunctionobj_timer_checks
src/mkobj.c:2439
↓ 4 callersFunctionobject_from_map
extracted from lookat(); also used by namefloorobj() */
src/pager.c:283
↓ 4 callersFunctionobserve_recursively
src/detect.c:248
↓ 4 callersFunctionok_to_quest
external hook for do.c (level change check) */
src/quest.c:139
↓ 4 callersFunctionolfaction
* Returns: * True if monster is presumed to have a sense of smell. * False if monster definitely does not have a sense of smell. * * Do
src/mondata.c:1506
↓ 4 callersFunctionon_fire
return phrase describing the effect of fire attack on a type of monster */
src/mondata.c:1410
↓ 4 callersFunctionopen_drawbridge
* Open the drawbridge located at x,y */
src/dbridge.c:839
↓ 4 callersFunctionopen_library
* Open the library of the given name and fill in the given library * structure. Return TRUE if successful, FALSE otherwise. */
src/dlb.c:200
↓ 4 callersFunctionopenfallingtrap
for magic unlocking; returns true if targeted monster (which might be hero) gets hit by a trap (target might avoid its effect) */
src/trap.c:6251
↓ 4 callersFunctionoutmore
sys/amiga/winstr.c:325
↓ 4 callersFunctionparanoid_ynq
for paranoid_confirm:quit,die,attack,&c prompting; allows yes, n|no, or q|quit; result is one of 'y' or 'n' or 'q'; ESC yields 'q' */
src/cmd.c:5587
↓ 4 callersFunctionparse_role_opt
parse 'role' or 'race' or 'gender' or 'alignment' */
src/options.c:7904
↓ 4 callersFunctionpeffects
src/potion.c:1332
↓ 4 callersFunctionpixel_element
Extract one element (red, green, blue or alpha) from a pixel */
win/share/bmptiles.c:576
↓ 4 callersFunctionplace_worm_tail_randomly
* place_worm_tail_randomly() * * Place a worm tail somewhere on a level behind the head. * This routine essentially reverses the order of the ws
src/worm.c:737
↓ 4 callersFunctionplacebc_core
* Place the ball & chain under the hero. Make sure that the ball & chain * variables are set (actually only needed when blind, but what the heck).
src/ball.c:119
↓ 4 callersFunctionpoison_strdmg
combined strength loss and damage from some poisons */
src/attrib.c:273
↓ 4 callersFunctionpoisontell
feedback for attribute loss due to poisoning */
src/attrib.c:293
↓ 4 callersFunctionprivoff
sys/vms/vmsunix.c:366
↓ 4 callersFunctionpromptsep
src/role.c:1383
↓ 4 callersFunctionpropagate_chain_lightning
Given a potential chain lightning zap, moves it one square forward in the given direction, then adds it to the queue unless it would hit an inva
src/spell.c:951
↓ 4 callersFunctionput_ext_cmd
sys/amiga/winami.c:951
↓ 4 callersFunctionquery_arrayvalue
src/botl.c:2746
↓ 4 callersFunctionquery_attr
ask about highlighting attribute; for menu headers and menu coloring patterns, only one attribute at a time is allowed; for status highlighting,
src/coloratt.c:395
↓ 4 callersFunctionquery_category
* For menustyle:Full. * * allow menu-based category (class) selection (for Drop,take off etc.) * * If ParanoidAutoAll, requires confirmation when
src/pickup.c:1225
↓ 4 callersFunctionrafile
util/makedefs.c:411
↓ 4 callersFunctionread_s32
Decode a signed 32 bit quantity */
win/share/bmptiles.c:555
↓ 4 callersFunctionreadobjnam
* Return something wished for. Specifying a null pointer for * the user request string results in a random object. Otherwise, * if asking explicit
src/objnam.c:4909
↓ 4 callersFunctionrecover_savefile
src/files.c:2864
↓ 4 callersFunctionrect_bounds
Put the rectangle containing both r1 and r2 into r3 */
src/rect.c:133
↓ 4 callersFunctionredirect
src/files.c:1562
↓ 4 callersFunctionredraw_map_region
Redraw a rectangular region of the map via newsym(). Used after ScrollRaster() shifts existing pixels — only the exposed strip needs redrawing.
sys/amiga/winfuncs.c:2207
↓ 4 callersFunctionregex_match
sys/share/cppregex.cpp:68
↓ 4 callersFunctionreglyph_darkroom
* ======================================================= */
src/display.c:1817
↓ 4 callersFunctionrelmon
release mon from the display and the map's monster list, maybe transfer it to one of the other monster lists */
src/mon.c:2560
↓ 4 callersFunctionremove_achievement
discard a recorded achievement; return True if removed, False otherwise */
src/insight.c:2475
↓ 4 callersFunctionremove_mon_from_reg
* Remove a monster from the region list (it left or died...) */
src/region.c:191
↓ 4 callersFunctionremove_worm
* remove_worm() * * This function is equivalent to the remove_monster #define in * rm.h, only it will take the worm *and* tail out of the levels
src/worm.c:713
↓ 4 callersFunctionremoved_from_icebox
taking a corpse out of an ice box needs a couple of adjustments */
src/pickup.c:2780
↓ 4 callersFunctionreset_menu_to_default
win/X11/winmenu.c:1442
↓ 4 callersFunctionreset_occupations
If you have moved since initially setting some occupations, they * now shouldn't be able to restart. * * The basic rule is that if you are carrying
src/cmd.c:194
↓ 4 callersFunctionreset_role_filtering
src/role.c:2727
↓ 4 callersFunctionrestfakecorr
src/vault.c:143
↓ 4 callersFunctionreveal_terrain
idea from crawl; show known portion of map without any monsters, objects, or traps occluding the view of the underlying terrain; in explore or w
src/detect.c:2355
↓ 4 callersFunctionrevive_nasty
src/hack.c:104
↓ 4 callersFunctionrider_cant_reach
caller has decided that hero can't reach something while mounted */
src/steed.c:16
↓ 4 callersFunctionrloc_to_core
* rloc_to() * * Pulls a monster from its current position and places a monster at * a new x and y. If oldx is 0, then the monster was not in the
src/teleport.c:1644
↓ 4 callersFunctionrottenfood
called on the "first bite" of rotten food */
src/eat.c:1812
↓ 4 callersFunctionrouse_shk
wakeup and/or unparalyze shopkeeper */
src/shk.c:1380
↓ 4 callersFunctionrunmode_delay_output
delay output based on value of runmode, if hero is running or doing a multi-turn action */
src/hack.c:2995
↓ 4 callersFunctionruntime_info_init
src/mdlib.c:834
↓ 4 callersFunctionsavecemetery
used when saving a level and also when saving dungeon overview data */
src/save.c:616
↓ 4 callersFunctionselect_none
win/X11/winmenu.c:524
↓ 4 callersFunctionselect_rwep
select a ranged weapon for the monster */
src/weapon.c:532
↓ 4 callersFunctionselection_recalc_bounds
recalc the boundary of selection, if necessary */
src/selvar.c:98
↓ 4 callersFunctionselection_rndcoord
src/selvar.c:283
↓ 4 callersFunctionsend_yn_esc
outdated/win/gem/wingem1.c:3103
↓ 4 callersFunctionsetComboBoxValue
outdated/sys/wince/mhdlg.c:438
↓ 4 callersMethodsetPalette
outdated/win/Qt3/qt3tableview.cpp:195
↓ 4 callersFunctionset_altkeyhandling
sys/windows/consoletty.c:2827
↓ 4 callersFunctionset_bc
* set_bc() * * The hero is either about to go blind or already blind and just punished. * Set up the ball and chain variables so that the ball a
src/ball.c:379
↓ 4 callersFunctionset_bonesfile_name
set up "file" to be file name for retrieving bones, and return a * bonesid to be read/written in the bones file. */
src/files.c:768
↓ 4 callersFunctionset_corn
Return a wall mode for a corner wall. (x4,y4) is the "inner" position. */
src/display.c:3207
↓ 4 callersFunctionset_ghostly_objlist
set the ghostly bit in a list of objects */
src/bones.c:783
↓ 4 callersFunctionset_map_size
Adjust the number of rows and columns on the given map window */
win/X11/winmap.c:1628
↓ 4 callersFunctionset_mon_min_mhpmax
give a life-saved monster a reasonable mhpmax value in case it has been the victim of excessive life draining */
src/mon.c:2807
↓ 4 callersFunctionset_selection_floodfillchk
src/selvar.c:371
↓ 4 callersFunctionset_ulycn
lycanthropy is being caught or cured, but no shape change is involved */
src/were.c:231
↓ 4 callersFunctionset_vanq_order
returns -1 if cancelled via ESC */
src/insight.c:2717
↓ 4 callersFunctionsetclipped
win/tty/wintty.c:3808
↓ 4 callersFunctionsetctty
sys/share/unixtty.c:198
↓ 4 callersFunctionsettty
reset terminal to original state */
sys/vms/vmstty.c:458
↓ 4 callersFunctionshirt_simple_name
for completeness */
src/objnam.c:5599
↓ 4 callersFunctionshk_names_obj
src/shk.c:3412
↓ 4 callersMethodshow
outdated/win/Qt3/qt3tableview.cpp:203
↓ 4 callersFunctionshowdamage
show a message how much damage you received */
src/hack.c:4246
↓ 4 callersFunctionsilver_sears
give a "silver <item> sears <target>" message; not used for weapon hit, so we only handle rings */
src/weapon.c:435
↓ 4 callersFunctionskill_level_name
copy the skill level name into the given buffer */
src/weapon.c:1091
↓ 4 callersFunctionslots_required
return the # of slots required to advance the skill */
src/weapon.c:1131
↓ 4 callersFunctionspot_time_left
src/timeout.c:2458
↓ 4 callersFunctionstairway_find_forwiz
src/teleport.c:1785
↓ 4 callersFunctionstart_corpse_timeout
* Start a corpse decay or revive timer. * This takes the age of the corpse into consideration as of 3.4.0. */
src/mkobj.c:1388
↓ 4 callersFunctionstatus_hilite_linestr_gather
src/botl.c:3569
↓ 4 callersFunctionsteed_vs_stealth
riding blocks stealth unless hero+steed fly */
src/polyself.c:157
↓ 4 callersFunctionstore_version
src/version.c:511
↓ 4 callersFunctionstrbuf_init
strbuf_init() initializes strbuf state for use */
src/strutil.c:8
↓ 4 callersFunctionstucksteed
decide whether hero's steed is able to move; doesn't check for holding traps--those affect the hero directly */
src/steed.c:877
↓ 4 callersFunctionsubmit_web_report
src/report.c:289
↓ 4 callersFunctionterm_end_screen
sys/msdos/video.c:473
↓ 4 callersFunctiontgetstr
look up a string entry; update `*outptr' */
sys/share/tclib.c:241
↓ 4 callersFunctionthat_is_a_mimic
src/uhitm.c:6197
↓ 4 callersFunctionthitmonst
* Object thrown by player arrives at monster's location. * Return 1 if obj has disappeared or otherwise been taken care of, * 0 if caller must take
src/dothrow.c:2010
↓ 4 callersFunctionthrowing_weapon
return true for weapon meant to be thrown; excludes ammo */
src/dothrow.c:1429
↓ 4 callersFunctiontimet_to_seconds
convert from time_t to number of seconds */
src/allmain.c:986
← previousnext →1,901–2,000 of 8,785, ranked by callers