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
↓ 6 callers
Function
clear_splitobjs
reset splitobj()/unsplitobj() context */
src/mkobj.c:625
↓ 6 callers
Function
clear_unpaid
clear the unpaid bit on all of the objects in the list */
src/shk.c:318
↓ 6 callers
Function
cmdbind_add
src/cmd.c:2125
↓ 6 callers
Function
cmdname_from_func
return extended command name (without leading '#') for command (*fn)() */
src/cmd.c:3105
↓ 6 callers
Function
confdir
if hero is impaired, pick random movement direction */
src/cmd.c:4299
↓ 6 callers
Function
container_at
Is there a container at x,y. Optional: return count of containers at x,y */
src/pickup.c:2023
↓ 6 callers
Function
corr
src/extralev.c:277
↓ 6 callers
Function
costly_tin
src/eat.c:1388
↓ 6 callers
Function
curses_destroy_win
win/curses/curswins.c:200
↓ 6 callers
Function
curses_get_window_xy
win/curses/curswins.c:583
↓ 6 callers
Function
curses_got_input
win/curses/cursmesg.c:280
↓ 6 callers
Function
curses_menu_color_attr
win/curses/cursmisc.c:159
↓ 6 callers
Function
curses_parse_wid_colors
win/curses/curswins.c:313
↓ 6 callers
Function
cvt_adtyp_to_mseenres
Convert attack damage type AD_foo to M_SEEN_bar */
src/mondata.c:1521
↓ 6 callers
Function
deal_with_overcrowding
src/mon.c:3985
↓ 6 callers
Function
defends_when_carried
used for monsters */
src/artifact.c:686
↓ 6 callers
Function
delete_contents
Delete the contents of the given object. */
src/shk.c:1174
↓ 6 callers
Function
delfloortrap
Destroy a trap that emanates from the floor. */
src/trap.c:6667
↓ 6 callers
Function
destroy_drawbridge
* Let's destroy the drawbridge located at x,y */
src/dbridge.c:887
↓ 6 callers
Function
discover_artifact
add identified artifact to discoveries list */
src/artifact.c:1112
↓ 6 callers
Function
dname_to_dnum
src/dungeon.c:283
↓ 6 callers
Function
dodoor
create a door at x,y in room aroom */
src/mklev.c:1799
↓ 6 callers
Function
domonnoise
src/sounds.c:676
↓ 6 callers
Function
doredraw
the #redraw command */
src/display.c:1693
↓ 6 callers
Function
dos_ioctl
sys/msdos/msdos.c:511
↓ 6 callers
Function
drop_throw
Be sure this corresponds with what happens to player-thrown objects in * dothrow.c (for consistency). --KAA * Returns FALSE if object still exists (
src/mthrowu.c:161
↓ 6 callers
Function
dump_redirect
src/windows.c:1365
↓ 6 callers
Function
e_at
src/dbridge.c:285
↓ 6 callers
Function
e_died
src/dbridge.c:401
↓ 6 callers
Function
e_survives_at
* Simple-minded "can it be here?" routine */
src/dbridge.c:379
↓ 6 callers
Function
empty_handed
description of hands when not wielding anything; also used by #seeweapon (')'), #attributes (^X), and #takeoffall ('A') */
src/wield.c:157
↓ 6 callers
Function
exist_artifact
src/artifact.c:355
↓ 6 callers
Function
fgetline
Read one line from input, up to and including the next newline * character. Returns a pointer to the heap-allocated string, or a * null pointer if n
util/sftags.c:1887
↓ 6 callers
Function
fillholetyp
Return typ of liquid to fill a hole with, or ROOM, if no liquid nearby */
src/dig.c:605
↓ 6 callers
Function
find_delayed_killer
src/end.c:1725
↓ 6 callers
Function
find_oid
* Look for o_id on all lists but billobj. Return obj or NULL if not found. * Its OK for restore_timers() to call this function, there should not *
src/shk.c:2776
↓ 6 callers
Function
find_qarti
src/questpgr.c:72
↓ 6 callers
Function
findgd
src/vault.c:203
↓ 6 callers
Function
fire_damage
Set an item on fire. Return whether the object was destroyed. */
src/trap.c:4454
↓ 6 callers
Function
flush_glyph_buffer
sys/amiga/winchar.c:373
↓ 6 callers
Function
free_glyphid_cache
src/glyphs.c:354
↓ 6 callers
Function
free_nhfile
src/files.c:508
↓ 6 callers
Function
free_omid
src/mkobj.c:150
↓ 6 callers
Function
fully_identify_obj
make an object actually be identified; no display updating */
src/invent.c:2636
↓ 6 callers
Function
gc_combine
outdated/win/gem/gr_rect.c:182
↓ 6 callers
Function
get_palette
win/share/tileset.c:126
↓ 6 callers
Function
get_table_intarray_entry
src/sp_lev.c:5259
↓ 6 callers
Function
getcwd
outdated/sys/wince/celib.c:359
↓ 6 callers
Function
getidx
src/sfstruct.c:383
↓ 6 callers
Function
inaccessible_equipment
decide whether a worn item is covered up by some other worn item, used for dipping into liquid and applying grease and takeoff_ok(); some criter
src/do_wear.c:3341
↓ 6 callers
Function
include
win/Qt/qt_clust.cpp:6
↓ 6 callers
Function
include
outdated/win/Qt3/qt3_clust.cpp:6
↓ 6 callers
Function
init_column
win/X11/winstat.c:2290
↓ 6 callers
Function
initedog
src/dog.c:44
↓ 6 callers
Function
is_main_window
win/curses/curswins.c:751
↓ 6 callers
Function
is_safemon
src/display.c:214
↓ 6 callers
Function
is_undirected_spell
src/mcastu.c:899
↓ 6 callers
Function
keylist_putcmds
src/cmd.c:2801
↓ 6 callers
Function
l_monnam
src/do_name.c:1034
↓ 6 callers
Function
l_selection_clone
Replace the topmost selection in the stack with a clone of it. */ local sel = selection.clone(sel); */
src/nhlsel.c:135
↓ 6 callers
Function
ledger_to_dnum
src/dungeon.c:1398
↓ 6 callers
Function
line_dist_coord
square of distance from line segment (x1,y1, x2,y2) to point (x3,y3) */
src/selvar.c:541
↓ 6 callers
Function
liquid_flow
src/dig.c:831
↓ 6 callers
Function
make_angry_shk
Used when the shkp is teleported or falls (ox == 0) out of his shop, or when the player is not on a costly_spot and he damages something inside
src/shk.c:1469
↓ 6 callers
Function
mapfrag_free
src/sp_lev.c:255
↓ 6 callers
Function
maze1xy
* Select a random coordinate in the maze. * * We want a place not 'touched' by the loader. That is, a place in * the maze outside every part of th
src/sp_lev.c:2899
↓ 6 callers
Function
mb_trapped
monster has triggered trapped door lock or was present when it got triggered remotely (at door spot, door hit by zap); returns True if mtmp dies
src/monmove.c:53
↓ 6 callers
Function
mdrop_special_objs
some monsters bypass the normal rules for moving between levels or even leaving the game entirely; when that happens, prevent them from taking t
src/steal.c:851
↓ 6 callers
Function
menu_operation
win/curses/cursdial.c:1701
↓ 6 callers
Function
mon_is_local
* Return TRUE if the given monster will stay on the level when the * level is saved. */
src/timeout.c:2583
↓ 6 callers
Function
mon_set_minvis
src/worn.c:473
↓ 6 callers
Function
mon_to_stone
changes the monster into a stone monster of the same type this should only be called when poly_when_stoned() is true */
src/mon.c:3747
↓ 6 callers
Function
mon_track_clear
src/monmove.c:88
↓ 6 callers
Function
monst_globals_init
src/monst.c:71
↓ 6 callers
Function
monverbself
construct "<monnamtext> <verb> <othertext> {him|her|it}self" which might be distorted by Hallu; if that's plural, adjust monnamtext and verb */
src/do_name.c:1220
↓ 6 callers
Function
mshot_xname
xname() output augmented for multishot missile feedback */
src/objnam.c:1089
↓ 6 callers
Function
mstatusline
stethoscope or probing applied to monster -- one-line feedback */
src/insight.c:3274
↓ 6 callers
Function
newemin
src/minion.c:16
↓ 6 callers
Function
newoextra
src/mkobj.c:85
↓ 6 callers
Function
newsym_force
FIXME: This is a dirty hack, because newsym() doesn't distinguish * between object piles and single objects, it doesn't mark the location * for upda
src/display.c:1862
↓ 6 callers
Function
nhcoord2display
map nethack map coordinates to the screen location */
outdated/sys/wince/mhmap.c:849
↓ 6 callers
Function
nhl_loadlua
XXX impossible() should be swappable with pline/nothing/panic via flag */ read lua code/data from a dlb module or an external file into a string bu
src/nhlua.c:2183
↓ 6 callers
Function
not_fully_identified
used from invent.c */
src/objnam.c:1786
↓ 6 callers
Function
nothing_special
src/artifact.c:1761
↓ 6 callers
Function
num_genocides
number of monster species which have been genocided */
src/insight.c:2952
↓ 6 callers
Function
o_material
Recursively search obj for an object made of specified material. * Return first found. */
src/detect.c:228
↓ 6 callers
Function
o_on
src/invent.c:1586
↓ 6 callers
Function
obj_ice_effects
If ice was affecting any objects correct that now * Also used for starting ice effects too. [zap.c] */
src/mkobj.c:2396
↓ 6 callers
Function
obj_no_longer_held
things that must change when not held; recurse into containers. Called for both player and monsters */
src/do.c:892
↓ 6 callers
Function
objlist_sanity
sanity check for objects on specified list (fobj, &c) */
src/mkobj.c:3031
↓ 6 callers
Function
oc_to_str
* Convert the given string of object classes to a string of default object * symbols. */
src/options.c:8061
↓ 6 callers
Function
one_characteristic
display one attribute value for characteristics_enlightenment() */
src/insight.c:845
↓ 6 callers
Function
onshopbill
used outside of shk.c when caller wants to know whether item is on bill but doesn't need to know any details about the bill itself */
src/shk.c:1159
↓ 6 callers
Function
open_levelfile
src/files.c:672
↓ 6 callers
Function
opt_out_words
src/mdlib.c:640
↓ 6 callers
Function
outentry
src/topten.c:945
↓ 6 callers
Function
panictrace_setsignals
src/report.c:624
↓ 6 callers
Function
pay
src/shk.c:1296
↓ 6 callers
Function
picked_container
src/shk.c:3084
↓ 6 callers
Function
pline_xy
src/pline.c:125
← previous
next →
1,201–1,300 of 8,785, ranked by callers