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
↓ 5 callers
Function
at_dgn_entrance
* This returns true if the hero is on the same level as the entrance to * the named dungeon. * * Called from do.c and mklev.c. * * Assumes that e
src/dungeon.c:1896
↓ 5 callers
Function
at_your_feet
helper to print "str appears at your feet", or appropriate */
src/pray.c:787
↓ 5 callers
Function
attack_checks
FALSE means it's OK to attack */
src/uhitm.c:188
↓ 5 callers
Function
automiss
* These are never directly affected by a bridge or portcullis. */
src/dbridge.c:485
↓ 5 callers
Function
autoreturn_weapon
src/weapon.c:519
↓ 5 callers
Function
bc_order
* Return the stacking of the hero's ball & chain. This assumes that the * hero is being punished. */
src/ball.c:353
↓ 5 callers
Function
bhitpile
returns nonzero if something was hit */
src/zap.c:2427
↓ 5 callers
Function
breakmsg
src/dothrow.c:2611
↓ 5 callers
Function
briefname
util/sfctool.c:623
↓ 5 callers
Function
buffer_fill_to_end
sys/windows/consoletty.c:851
↓ 5 callers
Function
builds_up
returns True iff the branch 'lev' is in a branch which builds up */
src/dungeon.c:1476
↓ 5 callers
Function
buried_ball
src/dig.c:1884
↓ 5 callers
Function
buried_ball_to_freedom
src/dig.c:1957
↓ 5 callers
Function
calc_capacity
* Returns 0 if below normal capacity, or the number of "capacity units" * over the normal capacity the player is loaded. Max is 5. */
src/hack.c:4371
↓ 5 callers
Function
cannot_push
src/hack.c:261
↓ 5 callers
Function
check_caitiff
it is unchivalrous for a knight to attack the defenseless or from behind */
src/uhitm.c:330
↓ 5 callers
Function
cl_eos
must only be called with curx = 1 */
win/tty/termcap.c:838
↓ 5 callers
Function
clear_fcorr
try to remove the temporary corridor (from vault to rest of map) being maintained by guard 'grd'; if guard is still in it, removal will fail, to
src/vault.c:47
↓ 5 callers
Function
clear_no_charge
clear the no_charge bit on all of the objects in the list */
src/shk.c:376
↓ 5 callers
Function
cmap_to_roguecolor
src/display.c:2698
↓ 5 callers
Function
cmdq_peek
get the top entry without popping it */
src/cmd.c:423
↓ 5 callers
Function
cnv_trap_obj
Replace trap with object(s). Helge Hafting */
src/trap.c:5340
↓ 5 callers
Function
com_pager_core
src/questpgr.c:467
↓ 5 callers
Function
compress_bonesfile
assume we're compressing the recently read or created bonesfile, so the * file name is already set properly */
src/files.c:1005
↓ 5 callers
Function
conditionbitmask2str
src/botl.c:3140
↓ 5 callers
Function
conjoined_pits
src/trap.c:6551
↓ 5 callers
Function
consume_arg
move argv[ndx] to end of argv[] array, then reduce argc to hide it; prevents process_options() from encountering it after early_options() has pr
src/earlyarg.c:148
↓ 5 callers
Function
consume_oeaten
reduce obj's oeaten field, making sure it never hits or passes 0 */
src/eat.c:3807
↓ 5 callers
Function
container_weight
recalculate weight of object, which doesn't have to be a container itself; if it is contained, recursively handle _its_ container(s) */
src/mkobj.c:2732
↓ 5 callers
Function
copy_file
copy file if destination does not exist */
sys/windows/windmain.c:699
↓ 5 callers
Function
copy_of
* Allocate a copy of the given string. If null, return a string of * zero length. */
win/X11/winmenu.c:1154
↓ 5 callers
Function
could_move_onto_boulder
can hero move onto a spot containing one or more boulders? used for m<dir> and travel and during boulder push failure */
src/hack.c:144
↓ 5 callers
Function
couldnt_open_file
src/rumors.c:769
↓ 5 callers
Function
count_contents
count everything inside a container, or just shop-owned items inside */
src/invent.c:3619
↓ 5 callers
Function
count_level_features
count the tracked features (sinks, fountains) present on the level */
src/mklev.c:827
↓ 5 callers
Function
create_levelfile
src/files.c:620
↓ 5 callers
Function
create_region
* Create a region. It does not activate it. */
src/region.c:78
↓ 5 callers
Function
curr_mon_load
src/mon.c:1912
↓ 5 callers
Function
curs_reset_windows
win/curses/cursmain.c:1255
↓ 5 callers
Function
curses_create_window
win/curses/curswins.c:60
↓ 5 callers
Function
curses_del_nhwin
win/curses/curswins.c:457
↓ 5 callers
Function
curses_del_wid
win/curses/curswins.c:483
↓ 5 callers
Function
dealloc_monst
src/mon.c:2675
↓ 5 callers
Function
deferred_goto
handle something like portal ejection */
src/do.c:2074
↓ 5 callers
Function
delayed_killer
set a delayed killer, ensure non-delayed killer is cleared out */
src/end.c:1706
↓ 5 callers
Function
describe_decor
handle 'mention_decor' (when walking onto a dungeon feature such as stairs or altar, describe it even if it isn't covered up by an object) */
src/pickup.c:352
↓ 5 callers
Function
desecrate_altar
src/pray.c:1500
↓ 5 callers
Function
dighole
src/dig.c:881
↓ 5 callers
Function
directionname
src/cmd.c:4312
↓ 5 callers
Function
discard_broken_wand
src/apply.c:3875
↓ 5 callers
Function
discard_minvent
throw away all of a monster's inventory */
src/mkobj.c:2524
↓ 5 callers
Function
display_trap_map
src/detect.c:955
↓ 5 callers
Function
dissolve_bars
src/monmove.c:2169
↓ 5 callers
Function
disturb_buried_zombies
reduce zombification timeout of buried zombies around px, py */
src/hack.c:1797
↓ 5 callers
Function
dlord
src/minion.c:404
↓ 5 callers
Function
dmgtype_fromattack
does monster-type deal out a particular type of damage from a particular type of attack? */
src/mondata.c:699
↓ 5 callers
Function
do_clear_area
* AREA OF EFFECT "ENGINE" * * Calculate all possible visible locations as viewed from the given location * (srow,scol) within the range specified.
src/vision.c:2106
↓ 5 callers
Function
do_entity
src/dbridge.c:553
↓ 5 callers
Function
do_reset_eat
src/eat.c:421
↓ 5 callers
Function
do_screen_description
src/pager.c:1246
↓ 5 callers
Function
doaltarobj
obj is an object dropped on an altar */
src/do.c:362
↓ 5 callers
Function
docall
src/do_name.c:635
↓ 5 callers
Function
docorner
win/tty/wintty.c:3649
↓ 5 callers
Function
doorless_door
check for a doorway which lacks its door (NODOOR or BROKEN) */
src/hack.c:4062
↓ 5 callers
Function
drain_item
Remove a positive enchantment or charge from obj, * possibly carried by you or a monster */
src/zap.c:1381
↓ 5 callers
Function
drop_upon_death
called by savebones(); also by finish_paybill(shk.c) */
src/bones.c:258
↓ 5 callers
Function
drown
return TRUE iff player relocated */
src/trap.c:5058
↓ 5 callers
Function
end_of_input
src/cmd.c:5182
↓ 5 callers
Function
escapes
* escapes(): escape expansion for showsyms. C-style escapes understood * include \n, \b, \t, \r, \xnnn (hex), \onnn (octal), \nnn (decimal). * (Not
src/options.c:6895
↓ 5 callers
Function
extcmds_match
find extended command entries matching findstr. if findstr is NULL, returns all available entries. returns: number of matching extended commands
src/cmd.c:2522
↓ 5 callers
Function
find_branch
Find the branch that links the named dungeon. */
src/dungeon.c:310
↓ 5 callers
Function
find_glyphs
src/glyphs.c:1270
↓ 5 callers
Function
find_hell
sets *lev to be the gateway to Gehennom... */
src/dungeon.c:1948
↓ 5 callers
Function
findpriest
src/priest.c:391
↓ 5 callers
Function
finish_splitting
src/wield.c:345
↓ 5 callers
Function
flashburn
light[ning] causes blindness */
src/zap.c:3059
↓ 5 callers
Function
foundone
update the map for something which has just been found by wand of secret door detection or wizard mode ^E; will be called multiple times during a
src/detect.c:1609
↓ 5 callers
Function
free_data_block
win/share/giftiles.c:493
↓ 5 callers
Function
free_saved_games
src/files.c:1542
↓ 5 callers
Function
fruit_from_name
look up a named fruit by name */
src/objnam.c:442
↓ 5 callers
Function
fruitname
convert player specified fruit name into corresponding fruit juice name ("slice of pizza" -> "pizza juice" rather than "slice of pizza juice") */
src/objnam.c:413
↓ 5 callers
Function
gd_move_cleanup
return 1: guard moved, -2: died */
src/vault.c:835
↓ 5 callers
Function
get_map
src/mkmap.c:54
↓ 5 callers
Function
get_mtraits
returns a pointer to a new monst structure based on * the one contained within the obj. */
src/mkobj.c:2200
↓ 5 callers
Function
get_next_line
read next line; repeat until it's a non-comment; populates 'inbuf[]'; the buffer might already have data (first line after colormap) */
win/share/tiletext.c:99
↓ 5 callers
Function
get_othersym
src/symbols.c:130
↓ 5 callers
Function
get_table_mapchr_opt
src/nhlua.c:255
↓ 5 callers
Function
get_table_region
src/sp_lev.c:5281
↓ 5 callers
Function
get_value_widget
win/X11/winval.c:110
↓ 5 callers
Function
getpos_help_keyxhelp
src/getpos.c:136
↓ 5 callers
Function
ggetobj
Interactive version of getobj - used for Drop, Identify, and Takeoff (A). Return the number of times fn was called successfully. If combo is TRU
src/invent.c:2201
↓ 5 callers
Function
glow_verb
src/artifact.c:2450
↓ 5 callers
Function
glyphrep_to_custom_map_entries
* Return value: * 1 = success * 0 = failure */
src/glyphs.c:111
↓ 5 callers
Function
has_dnstairs
src/mkroom.c:639
↓ 5 callers
Function
has_shrine
src/priest.c:375
↓ 5 callers
Function
has_upstairs
src/mkroom.c:652
↓ 5 callers
Function
hitval
* hitval returns an integer representing the "to hit" bonuses * of "otmp" against the monster. */
src/weapon.c:148
↓ 5 callers
Function
ing_suffix
construct a gerund (a verb formed by appending "ing" to a noun) */
src/hacklib.c:362
↓ 5 callers
Function
init_hilite
win/tty/termcap.c:937
↓ 5 callers
Function
init_uhunger
used for hero init, life saving (if choking), and prayer results of fix starving, fix weak from hunger, or golden glow boon (if u.uhunger < 900) */
src/eat.c:125
← previous
next →
1,401–1,500 of 8,785, ranked by callers