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
↓ 4 callers
Function
breaks
* The object is going to break for a reason other than the hero doing * something to it. * Return 0 if the object doesn't break, 1 if the object bro
src/dothrow.c:2443
↓ 4 callers
Function
broken_wand_explode
src/apply.c:3887
↓ 4 callers
Function
bufoff
src/sfstruct.c:435
↓ 4 callers
Function
build_known_folder_path
sys/windows/windsys.c:960
↓ 4 callers
Function
can_be_hatched
* Determine if the given monster number can be hatched from an egg. * Return the monster number to use as the egg's corpsenm. Return * NON_PM if th
src/mon.c:5545
↓ 4 callers
Function
can_be_strangled
True if mon is vulnerable to strangulation */
src/mondata.c:590
↓ 4 callers
Function
can_fog
monster can change form into a fog if necessary */
src/monmove.c:2364
↓ 4 callers
Function
can_ride
Can we ride this monster? Caller should also check can_saddle() */
src/steed.c:168
↓ 4 callers
Function
can_set_perm_invent
test whether 'perm_invent' can be toggled On */
src/options.c:5487
↓ 4 callers
Function
can_touch_safely
can monster touch object safely? */
src/mon.c:1957
↓ 4 callers
Function
cancel_monst
* cancel a monster (possibly the hero). inventory is cancelled only * if the monster is zapping itself directly, since otherwise the * effect is to
src/zap.c:3149
↓ 4 callers
Function
candle_light_range
Candlelight is proportional to the number of candles; minimum range is 2 rather than 1 for playability. */
src/light.c:842
↓ 4 callers
Function
cant_revive
some creatures have special data structures that only make sense in their * normal locations -- if the player tries to create one elsewhere, or to *
src/read.c:3111
↓ 4 callers
Function
cap_spe
max spe is +99, min is -99 */
src/read.c:79
↓ 4 callers
Function
center
src/rip.c:75
↓ 4 callers
Function
check_glob
called when 'obj->globby' is set so we don't recheck it here */
src/mkobj.c:3419
↓ 4 callers
Function
check_restriction
src/ball.c:179
↓ 4 callers
Function
check_room
src/sp_lev.c:1406
↓ 4 callers
Function
checkfile
* Look in the "data" file for more info. Called if the user typed in the * whole name (user_typed_name == TRUE), or we've found a possible match *
src/pager.c:829
↓ 4 callers
Function
choke
Created by GAN 01/28/87 * Amended by AKP 09/22/87: if not hard, don't choke, just vomit. * Amended by 3. 06/12/89: if not hard, sometimes choke any
src/eat.c:244
↓ 4 callers
Function
classify_terrain
for status: set up iflags.terrain_typ, an index into terrain_descrp[]; some types need fixing up */
src/hack.c:3089
↓ 4 callers
Method
clear
outdated/win/Qt3/qt3_clust.cpp:38
↓ 4 callers
Function
clear_unpaid_obj
clear the unpaid bit on a single object and its contents */
src/shk.c:308
↓ 4 callers
Function
clone_mon
Note: for long worms, always call cutworm (cutworm calls clone_mon) */
src/makemon.c:836
↓ 4 callers
Function
close_file
outdated/sys/mac/mrecover.c:1318
↓ 4 callers
Function
close_library
src/dlb.c:217
↓ 4 callers
Function
cmdbind_remove
src/cmd.c:2157
↓ 4 callers
Function
collect_coords
make a list of coordinates in expanding distance from <cx,cy>; return value is number of coordinates inserted into ccc[] */
src/teleport.c:577
↓ 4 callers
Function
complain_about_duplicate
src/options.c:6789
↓ 4 callers
Function
corpse_chance
TRUE if corpse might be dropped, magr may die if mon was swallowed */
src/mon.c:3180
↓ 4 callers
Function
count_achievements
used to decide whether there are any achievements to display */
src/insight.c:2493
↓ 4 callers
Function
count_justpicked
src/pickup.c:634
↓ 4 callers
Function
critically_low_hp
critically low hit points if hp <= 5 or hp <= maxhp/N for some N */
src/pray.c:115
↓ 4 callers
Function
cursed_object_at
src/dogmove.c:144
↓ 4 callers
Function
curses_add_nhwin
win/curses/curswins.c:358
↓ 4 callers
Function
curses_alert_win_border
Change colour of window border to alert player to something */
win/curses/curswins.c:723
↓ 4 callers
Function
curses_character_dialog
Prompt user for character race, role, alignment, or gender */
win/curses/cursinit.c:688
↓ 4 callers
Function
curses_clear_unhighlight_message_window
win/curses/cursmesg.c:382
↓ 4 callers
Function
curses_convert_attr
win/curses/cursmisc.c:739
↓ 4 callers
Function
curses_copy_of
win/curses/cursmisc.c:236
↓ 4 callers
Function
curses_destroy_nhwindow
Destroy will dismiss the window if the window has not * already been dismissed. */
win/curses/cursmain.c:516
↓ 4 callers
Function
curses_end_menu
end_menu(window, prompt) -- Stop adding entries to the menu and flushes the window to the screen (brings to front?)
win/curses/cursmain.c:730
↓ 4 callers
Function
curses_get_wid
win/curses/cursmisc.c:187
↓ 4 callers
Function
curses_message_win_puts
win/curses/cursmesg.c:78
↓ 4 callers
Function
curses_read_char
win/curses/cursmisc.c:47
↓ 4 callers
Function
curses_refresh_nethack_windows
win/curses/curswins.c:238
↓ 4 callers
Function
curses_select_menu
int select_menu(winid window, int how, menu_item **selected) -- Return the number of items selected; 0 if none were chosen,
win/curses/cursmain.c:764
↓ 4 callers
Function
datamodel
src/hacklib.c:981
↓ 4 callers
Function
dbon
damage bonus for strength */
src/weapon.c:992
↓ 4 callers
Function
dbterrainmesg
message common to several wizterrainwish() results */
src/objnam.c:3919
↓ 4 callers
Function
deepest_lev_reached
return the lowest level explored in the game*/
src/dungeon.c:1338
↓ 4 callers
Function
destroy_menu_entry_widgets
win/X11/winmenu.c:1385
↓ 4 callers
Function
digactualhole
src/dig.c:639
↓ 4 callers
Function
dismiss_nhwindow
sys/amiga/winfuncs.c:1480
↓ 4 callers
Function
display_message_window
Redraw message window if new lines have been added. */
win/X11/winmesg.c:228
↓ 4 callers
Function
dispmap_sanity
don't use dispmap unless x & y are 8,16,24,32,48 and equal */
sys/amiga/winchar.c:1095
↓ 4 callers
Function
dlb_fread
src/dlb.c:498
↓ 4 callers
Function
do_attack
try to attack; return False if monster evaded; u.dx and u.dy must be set */
src/uhitm.c:447
↓ 4 callers
Function
do_boh_explosion
Scatter most of Bag of holding contents around. Some items will be destroyed with the same chance as looting a cursed bag. */
src/pickup.c:2517
↓ 4 callers
Function
dobjsfree
free all the objects marked for deletion */
src/mkobj.c:2830
↓ 4 callers
Function
dobuzz
* type == 0 to 9 : you zapping a wand * type == 10 to 19 : you casting a spell * type == 20 to 29 : you breathing as a monster * type == -1
src/zap.c:4779
↓ 4 callers
Function
docrt_flags
docrt() with finer control */
src/display.c:1708
↓ 4 callers
Function
doextlist
here after #? - now list all full-word commands and provide some navigation capability through the long list */
src/cmd.c:561
↓ 4 callers
Function
doffing
check whether the target object is currently being taken off, so that stop_donning() and steal() can vary messages and doname() can vary "(being
src/do_wear.c:1602
↓ 4 callers
Function
dog_eat
returns 2 if pet dies, otherwise 1 */
src/dogmove.c:217
↓ 4 callers
Function
domove
src/hack.c:2694
↓ 4 callers
Function
doname_base
core of doname() */
src/objnam.c:1222
↓ 4 callers
Function
doname_with_price
Name of object including price. */
src/objnam.c:1760
↓ 4 callers
Function
done_timeout
when a status timeout is fatal, keep the status line indicator shown during end of game rundown (and potential dumplog); timeout has already cou
src/timeout.c:574
↓ 4 callers
Function
dospellmenu
shows menu of known spells, with options to sort them. return FALSE on cancel, TRUE otherwise. spell_no is set to the internal spl_book index, i
src/spell.c:2074
↓ 4 callers
Function
dotele
src/teleport.c:1033
↓ 4 callers
Function
down_gate
migration destination for objects which fall down to next level */
src/dokick.c:1942
↓ 4 callers
Function
draft_message
draft refers to air currents, but can be a pun on "draft" as conscription for military service (probably not a good pun if it has to be explained)
src/dig.c:1503
↓ 4 callers
Function
drag_ball
return TRUE if the caller needs to place the ball and chain down again */
src/ball.c:559
↓ 4 callers
Function
dump_fmtstr
src/windows.c:1125
↓ 4 callers
Function
enlght_combatinc
format increased chance to hit or damage or defense (Protection) */
src/insight.c:159
↓ 4 callers
Function
equip_ok
not a getobj callback - unifies code among the other 4 getobj callbacks */
src/do_wear.c:3403
↓ 4 callers
Function
extend_spine
* Return 1 (not TRUE - we're doing bit vectors here) if we want to extend * a wall spine in the (dx,dy) direction. Return 0 otherwise. * * To exte
src/mkmaze.c:165
↓ 4 callers
Method
fadeHighlighting
win/Qt/qt_stat.cpp:547
↓ 4 callers
Function
fill_glyphid_cache
src/glyphs.c:302
↓ 4 callers
Function
find_free_window
* Find a free window slot for use. */
win/X11/winX.c:277
↓ 4 callers
Function
find_menu_item
sys/amiga/winamenu.c:192
↓ 4 callers
Function
find_montype
src/sp_lev.c:3142
↓ 4 callers
Function
find_objtype
find object otyp by text s (optionally considering oclass) */
src/sp_lev.c:3467
↓ 4 callers
Function
find_okay_roompos
src/mklev.c:2302
↓ 4 callers
Function
fix_petrification
src/eat.c:866
↓ 4 callers
Function
fix_wall_spines
Correct wall types so they extend and connect to each other */
src/mkmaze.c:228
↓ 4 callers
Function
fix_worst_trouble
src/pray.c:372
↓ 4 callers
Function
fn
util/sftags.c:2066
↓ 4 callers
Function
free_font
sys/msdos/font.c:140
↓ 4 callers
Function
free_menu
win/X11/winmenu.c:1431
↓ 4 callers
Function
free_omonst
src/mkobj.c:127
↓ 4 callers
Function
free_window_info
win/tty/wintty.c:986
↓ 4 callers
Function
freedynamicdata
free a lot of allocated memory which is ordinarily freed during save */
src/save.c:1076
↓ 4 callers
Function
fruitadd
Returns the fid of the fruit type; if that type already exists, it * returns the fid of that one; if it does not exist, it adds a new fruit * type t
src/options.c:8169
↓ 4 callers
Function
g_putch
win/tty/wintty.c:3739
↓ 4 callers
Function
gc_touch
outdated/win/gem/gr_rect.c:175
↓ 4 callers
Function
genl_outrip
src/rip.c:85
↓ 4 callers
Function
genl_player_setup
guts of tty's player_selection() */
src/role.c:2205
↓ 4 callers
Function
get_adjacent_loc
* uses getdir() but unlike getdir() it specifically * produces coordinates using the direction from getdir() * and verifies that those coordinates a
src/cmd.c:3930
← previous
next →
1,701–1,800 of 8,785, ranked by callers