MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 26 callersFunctionmap_object
* map_object() * * Map the given object. This routine assumes that the hero can physically * see the location of the object. Update the screen if
src/display.c:332
↓ 26 callersFunctionmonkilled
another monster has killed the monster mdef */
src/mon.c:3376
↓ 26 callersFunctionnh_qsprintf
win/Qt/qt_str.cpp:84
↓ 26 callersFunctionset_move_cmd
src/cmd.c:1386
↓ 26 callersMethodshow
used to highlight status conditions going from Off (blank) to On as "Worse"
win/Qt/qt_icon.cpp:142
↓ 26 callersFunctionstolen_value
src/shk.c:3753
↓ 26 callersFunctionstr2role
src/role.c:746
↓ 26 callersFunctionwater_damage
Get an object wet and damage it appropriately. Returns an erosion return value (ER_*). */
src/trap.c:4711
↓ 26 callersFunctionyou_have
src/wizard.c:215
↓ 25 callersMethoddissipateHighlight
outdated/win/Qt3/qt3_win.cpp:2144
↓ 25 callersFunctiondropx
dropx - take dropped item out of inventory; called in several places - may produce output (eg ship_object() and dropy() -> sellobj() both produc
src/do.c:785
↓ 25 callersFunctiongetdir
prompt for a direction (specified via movement keystroke) and return it in u.dx, u.dy, and u.dz; function return value is 1 for ok, 0 otherwise */
src/cmd.c:3957
↓ 25 callersFunctionglyph_to_cmap
src/glyphs.c:199
↓ 25 callersFunctionhelm_simple_name
helm vs hat for messages */
src/objnam.c:5512
↓ 25 callersFunctionload_symset
bundle some common usage into one easy-to-use routine */
src/symbols.c:672
↓ 25 callersFunctionmkclass
Make one of the multiple types of a given monster class. The second parameter specifies a special casing bit mask to allow the normal genesis ma
src/makemon.c:1872
↓ 25 callersFunctionnoteleport_level
teleporting is prevented on this level for this monster? */
src/teleport.c:29
↓ 25 callersFunctionrnd_class
src/objnam.c:5402
↓ 25 callersFunctionstrncmpi
util/sftags.c:1924
↓ 24 callersFunctionadd_menu_heading
insert a non-selectable, possibly highlighted line of text into a menu */
src/windows.c:1815
↓ 24 callersFunctioncloak_simple_name
src/objnam.c:5491
↓ 24 callersFunctiondealloc_obj
* Mark object to be deallocated. _All_ objects should be run through here * for them to be deallocated. */
src/mkobj.c:2744
↓ 24 callersFunctionengr_at
src/engrave.c:230
↓ 24 callersFunctionfgets
outdated/sys/wince/celib.c:804
↓ 24 callersFunctionget_table_str_opt
get optional string value from table. return value must be freed by caller. */
src/nhlua.c:1054
↓ 24 callersMethodhighlightWhenChanging
outdated/win/Qt3/qt3_win.cpp:2136
↓ 24 callersFunctionkilled
src/mon.c:3469
↓ 24 callersFunctionnh_XtPopdown
win/X11/winX.c:2795
↓ 24 callersFunctionnhl_pcall_handle
src/nhlua.c:2154
↓ 24 callersFunctionrole_menu_extra
add a "pick alignment first"-type entry to the specified menu */
src/role.c:1815
↓ 24 callersFunctionsafe_qbuf
* Construct a query prompt string, based around an object name, which is * guaranteed to fit within [QBUFSZ]. Takes an optional prefix, three * cho
src/objnam.c:5623
↓ 24 callersFunctionset_levltyp
set map terrain type, handling lava lit, ice melt timers, etc */
src/mkmaze.c:76
↓ 24 callersFunctionspoteffects
src/hack.c:3311
↓ 24 callersFunctiontele_restrict
src/teleport.c:1949
↓ 23 callersFunctionIn_quest
are you in the quest dungeon? */
src/dungeon.c:1848
↓ 23 callersFunctionconfig_error_done
src/cfgfiles.c:1591
↓ 23 callersFunctioncorpse_xname
format a corpse name (xname() omits monster type; doname() calls us); eatcorpse() also uses us for death reason when eating tainted glob */
src/objnam.c:1823
↓ 23 callersFunctionerode_obj
Generic erode-item function. * "ostr", if non-null, is an alternate string to print instead of the * object's name. * "type" is an ERODE_* value
src/trap.c:170
↓ 23 callersFunctioninside_shop
x,y is strictly inside shop */
src/shk.c:567
↓ 23 callersFunctionrehumanize
return to original form, usually either due to polymorph timing out or dying from loss of hit points while being polymorphed */
src/polyself.c:1366
↓ 23 callersFunctionreport_problem_ascii
util/sfexpasc.c:1129
↓ 23 callersFunctionsubfrombill
recursive check of unpaid objects within nested containers. */
src/shk.c:3693
↓ 22 callersFunctionalign_gname
src/pray.c:2529
↓ 22 callersFunctionalign_str
src/insight.c:3178
↓ 22 callersFunctiondropy
dropy - put dropped object at destination; called from lots of places */
src/do.c:799
↓ 22 callersFunctionmswin_hwnd_from_winid
outdated/sys/wince/mswproc.c:821
↓ 22 callersFunctionnoit_Monnam
src/do_name.c:1082
↓ 22 callersFunctiononbill
src/shk.c:1135
↓ 22 callersFunctionreset_menu_count
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:1639
↓ 22 callersFunctionselection_free
src/selvar.c:32
↓ 22 callersFunctionsetuqwep
src/wield.c:275
↓ 22 callersFunctionstrbuf_append
strbuf_append() appends given str to strbuf->str */
src/strutil.c:16
↓ 22 callersFunctionswitch_symbols
src/symbols.c:252
↓ 21 callersFunctionadd_achieveX
add the achievement or conduct comma-separated to string */
src/topten.c:479
↓ 21 callersFunctionadd_to_minv
* Add obj to mon's inventory. If obj is able to merge with something already * in the inventory, then the passed obj is deleted and 1 is returned.
src/mkobj.c:2647
↓ 21 callersFunctionadd_valid_menu_class
src/pickup.c:474
↓ 21 callersFunctionbot
src/botl.c:252
↓ 21 callersFunctioncl_end
win/tty/termcap.c:647
↓ 21 callersFunctioncurses_window_has_border
win/curses/curswins.c:612
↓ 21 callersFunctiondmgval
* dmgval returns an integer representing the damage bonuses * of "otmp" against the monster. */
src/weapon.c:215
↓ 21 callersFunctiondotrap
src/trap.c:2995
↓ 21 callersFunctiondunlevs_in_dungeon
return the lowest level number for *this* dungeon */
src/dungeon.c:1331
↓ 21 callersFunctionfgetc
outdated/sys/wince/celib.c:791
↓ 21 callersFunctionhealmon
Heal the given monster by amt hitpoints, unless it is somehow prevented from healing. "overheal" is the maximum amount by which the max HP will
src/mon.c:4595
↓ 21 callersFunctioninstapetrify
Combine cockatrice checks into single functions to avoid repeating code. */
src/trap.c:3843
↓ 21 callersFunctionmaybe_unhide_at
reveal a hiding monster at x,y, either under nonexistent object, or an eel out of water. */
src/mon.c:4697
↓ 21 callersFunctionpick_align
Pick a random alignment subject to any rolenum/racenum/gendnum constraints; alignment and gender are not comparable (and also not constrainable).
src/role.c:1210
↓ 21 callersFunctionpick_gend
pick a random gender subject to any rolenum/racenum/alignnum constraints */ gender and alignment are not comparable (and also not constrainable) */ If
src/role.c:1145
↓ 21 callersFunctionpick_race
Pick a random race subject to any rolenum/gendnum/alignnum constraints. If pickhow == PICK_RIGID a race is returned only if there is a single po
src/role.c:1080
↓ 21 callersFunctionpolymon
(try to) make a mntmp monster out of the player; return 1 if successful */
src/polyself.c:734
↓ 21 callersFunctionrandrole
src/role.c:718
↓ 21 callersFunctiontrycall
If obj is neither formally identified nor informally called something * already, prompt the player to call its object type. */
src/do.c:394
↓ 21 callersFunctiontty_clear_nhwindow
win/tty/wintty.c:1033
↓ 20 callersFunctionDisplayData
sys/amiga/winamenu.c:1239
↓ 20 callersFunctionGetNhWin
outdated/sys/mac/macwin.c:251
↓ 20 callersFunctionX11_nhbell
issue a beep to alert the user about something */
win/X11/winX.c:1342
↓ 20 callersFunctionX11_raw_print
Global Functions ======================================================= */
win/X11/winX.c:938
↓ 20 callersFunctionaddtopl
win/tty/topl.c:193
↓ 20 callersFunctionfeel_location
* feel_location() * * Feel the given location. This assumes that the hero is blind and that * the given position is either the hero's or one of th
src/display.c:745
↓ 20 callersFunctionfill_pit
a boulder fills a pit or a hole at x,y */
src/trap.c:4009
↓ 20 callersFunctionfingers_or_gloves
plural "fingers" or optionally "gloves" */
src/do_wear.c:59
↓ 20 callersFunctioninv_cnt
src/hack.c:4495
↓ 20 callersFunctionmaketrap
src/trap.c:455
↓ 20 callersFunctionmatch_optname
check whether a user-supplied option string is a proper leading substring of a particular option name; option string might have a colon or equal
src/options.c:6759
↓ 20 callersFunctionmenuitem_invert_test
* Window port helper function for menu invert routines to move the decision * logic into one place instead of 7 different window-port routines. */
src/windows.c:1561
↓ 20 callersFunctiono_in
recursively search obj for an object in class oclass, return 1st found */
src/detect.c:200
↓ 20 callersFunctionprinv
* Print the indicated quantity of the given object. If quan == 0L then use * the current quantity. */
src/invent.c:2874
↓ 20 callersFunctionreleaseobuf
put the most recently allocated buffer back if possible */
src/objnam.c:149
↓ 20 callersMethodrepaint
outdated/win/Qt3/qt3tableview.h:273
↓ 20 callersMethodsetIcon
outdated/win/Qt3/qt3_win.cpp:2115
↓ 20 callersFunctionset_bknown
set the object's bless/curse-state known flag */
src/mkobj.c:1863
↓ 20 callersFunctionsetnotworn
called e.g. when obj is destroyed */ Updated to use the extrinsic and blocked fields. */
src/worn.c:149
↓ 20 callersFunctionxexit
util/dlb_main.c:531
↓ 20 callersFunctionxytodir
convert an x,y pair into a direction code */
src/cmd.c:3846
↓ 19 callersFunctionAddToKeyQueue
* Add key to input queue, force means flush left and replace if full */
outdated/sys/mac/macwin.c:162
↓ 19 callersFunctionIn_W_tower
is <x,y> of `lev' inside the Wizard's tower? */
src/dungeon.c:1922
↓ 19 callersFunction_stricmp
outdated/sys/wince/celib.c:474
↓ 19 callersFunctionartiname
src/artifact.c:150
↓ 19 callersFunctionbad_rock
src/hack.c:938
↓ 19 callersFunctionburn_away_slime
src/timeout.c:445
← previousnext →301–400 of 8,785, ranked by callers