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
↓ 3 callers
Function
blow_up_landmine
some actions common to both player and monsters for triggered landmine */
src/trap.c:3171
↓ 3 callers
Function
bogon_is_pname
check bogusmon prefix to decide whether it's a personal name */
src/do_name.c:1414
↓ 3 callers
Function
bogusmon
fake monsters used to be in a hard-coded array, now in a data file */
src/do_name.c:1368
↓ 3 callers
Function
bounded_increase
increment a combat intrinsic with limits on its growth */
src/eat.c:2220
↓ 3 callers
Function
break_statue
handle statue hit by striking/force bolt/pick-axe */
src/zap.c:5581
↓ 3 callers
Function
breaksink
convert a sink into a fountain */
src/fountain.c:580
↓ 3 callers
Function
buffer_write
sys/windows/consoletty.c:882
↓ 3 callers
Function
build_dlb_filename
src/dlb.c:262
↓ 3 callers
Function
build_english_list
src/end.c:1822
↓ 3 callers
Function
burn_floor_objects
* burn objects (such as scrolls and spellbooks) on floor * at position x,y; return the number of objects burned */
src/zap.c:4597
↓ 3 callers
Function
buzz
src/zap.c:4764
↓ 3 callers
Function
bydoor
src/mklev.c:1749
↓ 3 callers
Function
c_eos
version of eos() which takes a const* arg and returns that result */
src/hacklib.c:202
↓ 3 callers
Function
cad
src/shk.c:5907
↓ 3 callers
Function
call_ok
getobj callback for object to call (name its type) */
src/do_name.c:479
↓ 3 callers
Function
can_center_cloud
Callback for getpos_sethilite, also used in determining whether a scroll * should have its regular effects, or not because it was out of range. */
src/read.c:1079
↓ 3 callers
Function
can_chant
for casting spells and reading scrolls while blind */
src/mondata.c:579
↓ 3 callers
Function
can_hide_under_obj
returns TRUE if a mon can hide under the obj */
src/monmove.c:2120
↓ 3 callers
Function
can_ooze
src/monmove.c:2355
↓ 3 callers
Function
can_pray
determine prayer results in advance; also used for enlightenment */
src/pray.c:2123
↓ 3 callers
Function
can_twoweapon
src/wield.c:760
↓ 3 callers
Function
cant_squeeze_thru
caller has already decided that it's a tight diagonal; check whether a monster--who might be the hero--can fit through, and if not then return t
src/hack.c:952
↓ 3 callers
Function
cantvomit
some monster-types can't vomit */
src/mondata.c:662
↓ 3 callers
Function
cause_known
check whether hero is wearing something that player definitely knows confers the target property; item must have been seen and its type discover
src/insight.c:266
↓ 3 callers
Function
change_sex
src/polyself.c:270
↓ 3 callers
Function
chdirx
sys/libnh/libnhmain.c:461
↓ 3 callers
Function
check_credit
src/shk.c:1277
↓ 3 callers
Function
check_cursor_visibility
* Make sure the map's cursor is always visible. */
win/X11/winmap.c:705
↓ 3 callers
Function
check_enhanced_colors
returns -1 on no-match. * buf is NONNULLARG1 */
src/coloratt.c:722
↓ 3 callers
Function
check_gold_symbol
src/botl.c:39
↓ 3 callers
Function
check_in_air
return TRUE if monster mtmp is up in the air, considering trap flags */
src/trap.c:1085
↓ 3 callers
Function
check_invent_gold
invent gold sanity check; used by doorganize() to control how getobj() deals with gold and also by wizard mode sanity_check() */
src/invent.c:4888
↓ 3 callers
Function
check_leash
src/apply.c:930
↓ 3 callers
Function
check_strangling
for changing into form that's immune to strangulation */
src/polyself.c:167
↓ 3 callers
Function
check_unpaid_usage
src/shk.c:5680
↓ 3 callers
Function
check_user_string
sys/unix/unixmain.c:695
↓ 3 callers
Function
child
sys/unix/unixunix.c:369
↓ 3 callers
Function
choose_disco_sort
src/o_init.c:610
↓ 3 callers
Function
clamp_hole_destination
limit the destination of a hole or trapdoor to the furthest level you should be able to fall to */
src/trap.c:592
↓ 3 callers
Function
clear_dknown
set obj->dknown to 0 for most types of objects, to 1 otherwise; split off from unknow_object() */
src/mkobj.c:834
↓ 3 callers
Function
clear_level_structures
clear out various globals that keep information on the current level. * some of this is only necessary for some types of levels (maze, normal, * spe
src/mklev.c:849
↓ 3 callers
Function
clear_regions
* Remove all regions and clear all related data. This must be done * when changing level, for instance. */
src/region.c:393
↓ 3 callers
Function
clear_stale_map
* When doing detection, remove stale data from the map display (corpses * rotted away, objects carried away by monsters, etc) so that it won't * rea
src/detect.c:317
↓ 3 callers
Function
clear_tty
* Clear the screen. Immediate. */
outdated/sys/mac/mactty.c:1039
↓ 3 callers
Function
click_to_cmd
src/cmd.c:4905
↓ 3 callers
Function
close_drawbridge
* Close the drawbridge located at x,y */
src/dbridge.c:774
↓ 3 callers
Function
closeholdingtrap
for magic locking; returns true if targeted monster (which might be hero) gets hit by a trap (might avoid actually becoming trapped) */
src/trap.c:6209
↓ 3 callers
Function
cmdbind_swapkeys
swap key bindings for key1 and key2. both bindings must exist. */
src/cmd.c:2194
↓ 3 callers
Function
cmdq_add_userinput
add placeholder to the command queue, allows user input there */
src/cmd.c:315
↓ 3 callers
Function
coldist
sys/amiga/bmp2iff_host.c:72
↓ 3 callers
Function
collect_menu_keys
get keystrokes that are used for menu scrolling operations which apply; printable: for use in a prompt, non-printable: for yn_function() choices */
src/options.c:8125
↓ 3 callers
Function
collect_obj_classes
src/pickup.c:100
↓ 3 callers
Function
commit_windowchain
src/windows.c:371
↓ 3 callers
Function
condattr
win/X11/winstat.c:215
↓ 3 callers
Function
condcolor
win/X11/winstat.c:202
↓ 3 callers
Function
consume_offering
src/pray.c:1445
↓ 3 callers
Function
container_contents
used for disclosure and for the ':' choice when looting a container */
src/end.c:1593
↓ 3 callers
Function
container_impact_dmg
container is kicked, dropped, thrown or otherwise impacted by player. * Assumes container is on floor. Checks contents for possible damage. */
src/dokick.c:411
↓ 3 callers
Function
conv_image
sys/amiga/xpm2iff_host.c:141
↓ 3 callers
Function
convert_line
src/questpgr.c:327
↓ 3 callers
Function
cooldown
outdated/sys/mac/mrecover.c:854
↓ 3 callers
Function
copy_bytes
outdated/sys/mac/mrecover.c:1165
↓ 3 callers
Function
copy_mextra
src/mon.c:2596
↓ 3 callers
Function
costly_gold
src/shk.c:5744
↓ 3 callers
Function
could_untrap
preliminary checks for dountrap(); also used for autounlock */
src/trap.c:5257
↓ 3 callers
Function
count_alt_palette
src/coloratt.c:1035
↓ 3 callers
Function
count_apes
src/options.c:9190
↓ 3 callers
Function
count_menucolors
src/coloratt.c:708
↓ 3 callers
Function
counter_were
src/were.c:47
↓ 3 callers
Function
courtmon
src/mkroom.c:782
↓ 3 callers
Function
cp437
win/Qt/qt_str.cpp:45
↓ 3 callers
Function
cpostfx
src/eat.c:1128
↓ 3 callers
Function
create_maze
Create a maze with specified corridor width and wall thickness * TODO: rewrite walkfrom so it works on temp space, not levl */
src/mkmaze.c:949
↓ 3 callers
Function
create_widget
win/X11/winstat.c:2176
↓ 3 callers
Function
cures_stoning
decide whether obj can cure petrification; also used when picking up */
src/muse.c:2984
↓ 3 callers
Function
curs_purge_perminv_data
discard saved persistent inventory data */
win/curses/cursinvt.c:45
↓ 3 callers
Function
curs_stat_conds
win/curses/cursstat.c:1076
↓ 3 callers
Function
curs_update_invt
Runs when the game indicates that the inventory has been updated */
win/curses/cursinvt.c:64
↓ 3 callers
Function
curses_clear_nhwin
win/curses/curswins.c:703
↓ 3 callers
Function
curses_convert_keys
Convert special keys into values that NetHack can understand. Currently this is limited to arrow keys, but this may be expanded. */
win/curses/cursmisc.c:779
↓ 3 callers
Function
curses_create_nhmenu
win/curses/cursdial.c:524
↓ 3 callers
Function
curses_del_menu
win/curses/cursdial.c:853
↓ 3 callers
Function
curses_getch
win/curses/cursmisc.c:33
↓ 3 callers
Function
curses_line_input_dialog
win/curses/cursdial.c:109
↓ 3 callers
Function
curses_map_borders
win/curses/curswins.c:971
↓ 3 callers
Function
curses_more
win/curses/cursmesg.c:373
↓ 3 callers
Function
death_inflicted_by
give a reason for death by some monster spells */
src/mcastu.c:357
↓ 3 callers
Function
decal_planar
sys/msdos/vidvga.c:732
↓ 3 callers
Function
decl_globals_init
src/decl.c:1079
↓ 3 callers
Function
decode_glyph
src/windows.c:1438
↓ 3 callers
Function
delallobj
drawbridge is destroying all objects at <x,y> */
src/invent.c:1412
↓ 3 callers
Function
delta_cwt
* How much the weight of the given container will change when the given * object is removed from it. Use before and after weight amounts rather *
src/pickup.c:1543
↓ 3 callers
Function
depack_img
Loads & depacks IMG (0 if succeded, else error). */ Bitplanes are one after another in address IMG_HEADER.addr. */
outdated/win/gem/load_img.c:163
↓ 3 callers
Function
destroy_text_window
win/X11/wintext.c:325
↓ 3 callers
Function
dig_check
src/dig.c:206
↓ 3 callers
Function
dig_corridor
* Dig a corridor between two points, using terrain ftyp. * if nxcor is TRUE, he corridor may be blocked by a boulder, * or just end without reaching
src/sp_lev.c:2548
↓ 3 callers
Function
dirty
win/win32/mhmap.c:1097
↓ 3 callers
Function
disco_append_typename
append typename(dis) to buf[], possibly truncating in the process; also append price quote information if it fits */
src/o_init.c:693
↓ 3 callers
Function
diseasemu
src/mhitu.c:1032
↓ 3 callers
Function
disp_artifact_discoveries
display a list of discovered artifacts; return their count */
src/artifact.c:1146
← previous
next →
2,101–2,200 of 8,785, ranked by callers