Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NetHack/NetHack
/ functions
Functions
8,785 in github.com/NetHack/NetHack
⨍
Functions
8,785
◇
Types & classes
2,379
↓ 26 callers
Function
map_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 callers
Function
monkilled
another monster has killed the monster mdef */
src/mon.c:3376
↓ 26 callers
Function
nh_qsprintf
win/Qt/qt_str.cpp:84
↓ 26 callers
Function
set_move_cmd
src/cmd.c:1386
↓ 26 callers
Method
show
used to highlight status conditions going from Off (blank) to On as "Worse"
win/Qt/qt_icon.cpp:142
↓ 26 callers
Function
stolen_value
src/shk.c:3753
↓ 26 callers
Function
str2role
src/role.c:746
↓ 26 callers
Function
water_damage
Get an object wet and damage it appropriately. Returns an erosion return value (ER_*). */
src/trap.c:4711
↓ 26 callers
Function
you_have
src/wizard.c:215
↓ 25 callers
Method
dissipateHighlight
outdated/win/Qt3/qt3_win.cpp:2144
↓ 25 callers
Function
dropx
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 callers
Function
getdir
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 callers
Function
glyph_to_cmap
src/glyphs.c:199
↓ 25 callers
Function
helm_simple_name
helm vs hat for messages */
src/objnam.c:5512
↓ 25 callers
Function
load_symset
bundle some common usage into one easy-to-use routine */
src/symbols.c:672
↓ 25 callers
Function
mkclass
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 callers
Function
noteleport_level
teleporting is prevented on this level for this monster? */
src/teleport.c:29
↓ 25 callers
Function
rnd_class
src/objnam.c:5402
↓ 25 callers
Function
strncmpi
util/sftags.c:1924
↓ 24 callers
Function
add_menu_heading
insert a non-selectable, possibly highlighted line of text into a menu */
src/windows.c:1815
↓ 24 callers
Function
cloak_simple_name
src/objnam.c:5491
↓ 24 callers
Function
dealloc_obj
* Mark object to be deallocated. _All_ objects should be run through here * for them to be deallocated. */
src/mkobj.c:2744
↓ 24 callers
Function
engr_at
src/engrave.c:230
↓ 24 callers
Function
fgets
outdated/sys/wince/celib.c:804
↓ 24 callers
Function
get_table_str_opt
get optional string value from table. return value must be freed by caller. */
src/nhlua.c:1054
↓ 24 callers
Method
highlightWhenChanging
outdated/win/Qt3/qt3_win.cpp:2136
↓ 24 callers
Function
killed
src/mon.c:3469
↓ 24 callers
Function
nh_XtPopdown
win/X11/winX.c:2795
↓ 24 callers
Function
nhl_pcall_handle
src/nhlua.c:2154
↓ 24 callers
Function
role_menu_extra
add a "pick alignment first"-type entry to the specified menu */
src/role.c:1815
↓ 24 callers
Function
safe_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 callers
Function
set_levltyp
set map terrain type, handling lava lit, ice melt timers, etc */
src/mkmaze.c:76
↓ 24 callers
Function
spoteffects
src/hack.c:3311
↓ 24 callers
Function
tele_restrict
src/teleport.c:1949
↓ 23 callers
Function
In_quest
are you in the quest dungeon? */
src/dungeon.c:1848
↓ 23 callers
Function
config_error_done
src/cfgfiles.c:1591
↓ 23 callers
Function
corpse_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 callers
Function
erode_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 callers
Function
inside_shop
x,y is strictly inside shop */
src/shk.c:567
↓ 23 callers
Function
rehumanize
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 callers
Function
report_problem_ascii
util/sfexpasc.c:1129
↓ 23 callers
Function
subfrombill
recursive check of unpaid objects within nested containers. */
src/shk.c:3693
↓ 22 callers
Function
align_gname
src/pray.c:2529
↓ 22 callers
Function
align_str
src/insight.c:3178
↓ 22 callers
Function
dropy
dropy - put dropped object at destination; called from lots of places */
src/do.c:799
↓ 22 callers
Function
mswin_hwnd_from_winid
outdated/sys/wince/mswproc.c:821
↓ 22 callers
Function
noit_Monnam
src/do_name.c:1082
↓ 22 callers
Function
onbill
src/shk.c:1135
↓ 22 callers
Function
reset_menu_count
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:1639
↓ 22 callers
Function
selection_free
src/selvar.c:32
↓ 22 callers
Function
setuqwep
src/wield.c:275
↓ 22 callers
Function
strbuf_append
strbuf_append() appends given str to strbuf->str */
src/strutil.c:16
↓ 22 callers
Function
switch_symbols
src/symbols.c:252
↓ 21 callers
Function
add_achieveX
add the achievement or conduct comma-separated to string */
src/topten.c:479
↓ 21 callers
Function
add_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 callers
Function
add_valid_menu_class
src/pickup.c:474
↓ 21 callers
Function
bot
src/botl.c:252
↓ 21 callers
Function
cl_end
win/tty/termcap.c:647
↓ 21 callers
Function
curses_window_has_border
win/curses/curswins.c:612
↓ 21 callers
Function
dmgval
* dmgval returns an integer representing the damage bonuses * of "otmp" against the monster. */
src/weapon.c:215
↓ 21 callers
Function
dotrap
src/trap.c:2995
↓ 21 callers
Function
dunlevs_in_dungeon
return the lowest level number for *this* dungeon */
src/dungeon.c:1331
↓ 21 callers
Function
fgetc
outdated/sys/wince/celib.c:791
↓ 21 callers
Function
healmon
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 callers
Function
instapetrify
Combine cockatrice checks into single functions to avoid repeating code. */
src/trap.c:3843
↓ 21 callers
Function
maybe_unhide_at
reveal a hiding monster at x,y, either under nonexistent object, or an eel out of water. */
src/mon.c:4697
↓ 21 callers
Function
pick_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 callers
Function
pick_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 callers
Function
pick_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 callers
Function
polymon
(try to) make a mntmp monster out of the player; return 1 if successful */
src/polyself.c:734
↓ 21 callers
Function
randrole
src/role.c:718
↓ 21 callers
Function
trycall
If obj is neither formally identified nor informally called something * already, prompt the player to call its object type. */
src/do.c:394
↓ 21 callers
Function
tty_clear_nhwindow
win/tty/wintty.c:1033
↓ 20 callers
Function
DisplayData
sys/amiga/winamenu.c:1239
↓ 20 callers
Function
GetNhWin
outdated/sys/mac/macwin.c:251
↓ 20 callers
Function
X11_nhbell
issue a beep to alert the user about something */
win/X11/winX.c:1342
↓ 20 callers
Function
X11_raw_print
Global Functions ======================================================= */
win/X11/winX.c:938
↓ 20 callers
Function
addtopl
win/tty/topl.c:193
↓ 20 callers
Function
feel_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 callers
Function
fill_pit
a boulder fills a pit or a hole at x,y */
src/trap.c:4009
↓ 20 callers
Function
fingers_or_gloves
plural "fingers" or optionally "gloves" */
src/do_wear.c:59
↓ 20 callers
Function
inv_cnt
src/hack.c:4495
↓ 20 callers
Function
maketrap
src/trap.c:455
↓ 20 callers
Function
match_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 callers
Function
menuitem_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 callers
Function
o_in
recursively search obj for an object in class oclass, return 1st found */
src/detect.c:200
↓ 20 callers
Function
prinv
* Print the indicated quantity of the given object. If quan == 0L then use * the current quantity. */
src/invent.c:2874
↓ 20 callers
Function
releaseobuf
put the most recently allocated buffer back if possible */
src/objnam.c:149
↓ 20 callers
Method
repaint
outdated/win/Qt3/qt3tableview.h:273
↓ 20 callers
Method
setIcon
outdated/win/Qt3/qt3_win.cpp:2115
↓ 20 callers
Function
set_bknown
set the object's bless/curse-state known flag */
src/mkobj.c:1863
↓ 20 callers
Function
setnotworn
called e.g. when obj is destroyed */ Updated to use the extrinsic and blocked fields. */
src/worn.c:149
↓ 20 callers
Function
xexit
util/dlb_main.c:531
↓ 20 callers
Function
xytodir
convert an x,y pair into a direction code */
src/cmd.c:3846
↓ 19 callers
Function
AddToKeyQueue
* Add key to input queue, force means flush left and replace if full */
outdated/sys/mac/macwin.c:162
↓ 19 callers
Function
In_W_tower
is <x,y> of `lev' inside the Wizard's tower? */
src/dungeon.c:1922
↓ 19 callers
Function
_stricmp
outdated/sys/wince/celib.c:474
↓ 19 callers
Function
artiname
src/artifact.c:150
↓ 19 callers
Function
bad_rock
src/hack.c:938
↓ 19 callers
Function
burn_away_slime
src/timeout.c:445
← previous
next →
301–400 of 8,785, ranked by callers