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
↓ 8 callers
Function
set_tty_attrib
outdated/sys/mac/mactty.c:944
↓ 8 callers
Function
setmnotwielded
src/weapon.c:1813
↓ 8 callers
Function
simple_typename
less verbose result than obj_typename(); either the actual name or the description (but not both); user-assigned name is ignored */
src/objnam.c:297
↓ 8 callers
Method
sizeHint
win/Qt/qt_rip.cpp:62
↓ 8 callers
Function
sokoban_guilt
called when something has been done (breaking a boulder, for instance) which entails a luck penalty if performed on a sokoban level */
src/trap.c:7038
↓ 8 callers
Function
spell_damage_bonus
augment damage for a spell based on the hero's intelligence (and level) */
src/zap.c:3479
↓ 8 callers
Function
stuck_ring
used for praying to check and fix levitation trouble */
src/do_wear.c:2656
↓ 8 callers
Function
swallow_to_glyph
* swallow_to_glyph() * * Convert a monster number and a swallow location into the correct glyph. * If you don't want a patchwork monster while hall
src/display.c:2436
↓ 8 callers
Function
term_end_attr
win/tty/termcap.c:1441
↓ 8 callers
Function
term_start_attr
win/tty/termcap.c:1430
↓ 8 callers
Function
term_start_color
win/tty/termcap.c:1479
↓ 8 callers
Function
tgetnum
look up a numeric entry */
sys/share/tclib.c:214
↓ 8 callers
Function
tty_display_nhwindow
ARGSUSED*/
win/tty/wintty.c:1854
↓ 8 callers
Function
tty_raw_print
win/tty/wintty.c:4003
↓ 8 callers
Function
unbless
src/mkobj.c:1766
↓ 8 callers
Function
unconscious
src/trap.c:6775
↓ 8 callers
Function
unpaid_cost
called from doinv(invent.c) for inventory of unpaid objects */
src/shk.c:3259
↓ 8 callers
Function
upper_bits
Extract next ISAAC64_SZ_LOG bits (starting at bit ISAAC64_SZ_LOG+2). */
src/isaac64.c:45
↓ 8 callers
Function
vesa_MakeColor
sys/msdos/vidvesa.c:486
↓ 8 callers
Function
wipe_engr_at
src/engrave.c:270
↓ 8 callers
Function
write_char
win/curses/curswins.c:773
↓ 8 callers
Function
yn_func_menu_opt
src/cmd.c:5401
↓ 7 callers
Function
Adjmonnam
src/do_name.c:1141
↓ 7 callers
Function
Boots_off
src/do_wear.c:261
↓ 7 callers
Function
CloseShWindow
sys/amiga/amiwind.c:128
↓ 7 callers
Function
CountLines
sys/amiga/winamenu.c:1176
↓ 7 callers
Function
GetMenuControl
outdated/sys/wince/mhmenu.c:832
↓ 7 callers
Method
Selectable
win/Qt/qt_menu.h:98
↓ 7 callers
Function
X11_destroy_nhwindow
win/X11/winX.c:1223
↓ 7 callers
Function
append_slash
* Add a backslash to any name not ending in /, \ or : There must * be room for the \ */
sys/share/pcsys.c:131
↓ 7 callers
Function
armor_simple_name
src/objnam.c:5434
↓ 7 callers
Function
assign_soundlib
src/sounds.c:1797
↓ 7 callers
Function
billable
src/shk.c:3447
↓ 7 callers
Function
breakobj
* Break an object. Breakable armor goes through erosion steps; other * items break unconditionally. Assumes all resistance checks * and break mess
src/dothrow.c:2479
↓ 7 callers
Function
bury_an_obj
move objects from fobj/nexthere lists to buriedobjlist, keeping position information */
src/dig.c:1983
↓ 7 callers
Function
bury_objs
src/dig.c:2049
↓ 7 callers
Function
bypass_objlist
set or clear the bypass bit in a list of objects */
src/worn.c:1126
↓ 7 callers
Function
can_blow
returns True if monster can blow (whistle, etc) */
src/mondata.c:566
↓ 7 callers
Function
can_carry
for restricting monsters' object-pickup. * * to support the new pet behavior, this now returns the max # of objects * that a given monster could pi
src/mon.c:1989
↓ 7 callers
Function
chdirx
sys/vms/vmsmain.c:344
↓ 7 callers
Function
check_gear_next_turn
setting misc_worn_check's I_SPECIAL bit flags a monster to reassess and potentially re-equip gear at the start of its next move; this hides the
src/mon.c:5914
↓ 7 callers
Function
clear_bypasses
all objects with their bypass bit set should now be reset to normal; this can be a relatively expensive operation so is only called if svc.conte
src/worn.c:1069
↓ 7 callers
Function
cmov
win/tty/termcap.c:607
↓ 7 callers
Function
com_pager
src/questpgr.c:623
↓ 7 callers
Function
contained_cost
returns the price of a container's content. the price * of the "top" container is added in the calling functions. * a different price quoted for se
src/shk.c:2994
↓ 7 callers
Function
contained_gold
count amount of gold inside container 'obj' and any nested containers */
src/shk.c:3045
↓ 7 callers
Function
copy_bytes
src/hacklib.c:945
↓ 7 callers
Function
costly_adjacent
called by sanity checking when an unpaid or no_charge item is not at a costly_spot; it might still be within the boundary of the shop; if so, th
src/shk.c:5368
↓ 7 callers
Function
could_reach_item
check if a monster could pick up objects from a location */
src/dogmove.c:1361
↓ 7 callers
Function
curs_pos
* Invert the specified position */
outdated/sys/mac/mactty.c:662
↓ 7 callers
Function
curses_add_menu
add_menu(winid wid, const glyph_info *glyphinfo, const anything identifier, char accel
win/curses/cursmain.c:695
↓ 7 callers
Function
curses_bail
win/curses/cursmisc.c:176
↓ 7 callers
Function
damageum
src/uhitm.c:4834
↓ 7 callers
Function
decode_mixed
src/windows.c:1465
↓ 7 callers
Function
def_char_to_monclass
* Convert a character into a monster class. This returns the _first_ * match made. If there are no matches, return MAXMCLASSES. * Used in detect.c
src/drawing.c:107
↓ 7 callers
Function
dig_typ
When digging into location <x,y>, what are you actually digging into? */
src/dig.c:168
↓ 7 callers
Function
do_pit
Try to make a pit. */
src/music.c:220
↓ 7 callers
Function
dorecover
src/restore.c:788
↓ 7 callers
Function
dosave0
returns 1 if save successful */
src/save.c:73
↓ 7 callers
Function
dropped_container
src/shk.c:3063
↓ 7 callers
Function
dryup
src/fountain.c:200
↓ 7 callers
Function
eaten_stat
src/eat.c:3787
↓ 7 callers
Function
enexto_core
src/teleport.c:218
↓ 7 callers
Function
enlightenment
src/insight.c:382
↓ 7 callers
Function
erosion_matters
used to prevent rust on items where rust makes no difference */
src/objnam.c:1194
↓ 7 callers
Function
error
outdated/sys/amiga/txt2iff.c:93
↓ 7 callers
Function
feel_cockatrice
src/invent.c:4342
↓ 7 callers
Function
find_level
src/dungeon.c:297
↓ 7 callers
Function
find_roll_to_hit
how easy it is for hero to hit a monster, using attack type aatyp and/or weapon. larger value == easier to hit */
src/uhitm.c:364
↓ 7 callers
Function
fix_curse_trouble
src/pray.c:348
↓ 7 callers
Function
float_up
start levitating */
src/trap.c:3936
↓ 7 callers
Function
free_config_sections
src/cfgfiles.c:506
↓ 7 callers
Function
free_oname
release an object's name; retains oextra even if all fields are now null */
src/do_name.c:80
↓ 7 callers
Function
gc_area
outdated/win/gem/gr_rect.c:200
↓ 7 callers
Function
get_configfile
src/cfgfiles.c:142
↓ 7 callers
Function
get_menu
win/curses/cursdial.c:901
↓ 7 callers
Function
get_table_str
src/nhlua.c:1041
↓ 7 callers
Function
hmon
general "damage monster" routine; return True if mon still alive */
src/uhitm.c:818
↓ 7 callers
Function
impact_drop
player or missile impacts location, causing objects to fall down */
src/dokick.c:1510
↓ 7 callers
Function
inhistemple
src/priest.c:160
↓ 7 callers
Function
init_sound_disp_gamewindows
src/allmain.c:698
↓ 7 callers
Function
invert_line
* Invert the count'th line (curr) in the given window. */ ARGSUSED*/
win/X11/winmenu.c:194
↓ 7 callers
Function
invocation_pos
src/hack.c:981
↓ 7 callers
Function
is_home_elemental
src/makemon.c:32
↓ 7 callers
Function
is_rottable
src/mkobj.c:2288
↓ 7 callers
Function
is_unpaid
check whether an object or any of its contents belongs to a shop */
src/shk.c:1166
↓ 7 callers
Function
is_wc2_option
src/options.c:9952
↓ 7 callers
Function
is_wc_option
src/options.c:9898
↓ 7 callers
Function
itimeout_incr
increment `old' by `incr' and force result to be valid intrinsic timeout */
src/potion.c:67
↓ 7 callers
Function
lesshungry
called after eating (and after drinking fruit juice) */
src/eat.c:3288
↓ 7 callers
Function
lopt
approximate 'getopt_long()' for one option; all the comments refer to "-windowtype" but the code isn't specific to that */
src/earlyarg.c:70
↓ 7 callers
Function
m_dowear
Wear the best object of each type that the monster has. During creation, * the monster can put everything on at once; otherwise, wearing takes time.
src/worn.c:756
↓ 7 callers
Function
make_grave
Create a headstone at the given location. * The caller is responsible for newsym(x, y). */
src/engrave.c:1686
↓ 7 callers
Function
makewish
src/zap.c:6311
↓ 7 callers
Function
mar_set_fontbyid
size<0 cellheight; size>0 points */
outdated/win/gem/wingem1.c:423
↓ 7 callers
Function
match_str2attr
src/coloratt.c:373
↓ 7 callers
Function
mattacku
* mattacku: monster attacks you * returns 1 if monster dies (e.g. "yellow light"), 0 otherwise * Note: if you're displaced or invisible th
src/mhitu.c:490
↓ 7 callers
Function
may_passwall
src/hack.c:931
↓ 7 callers
Function
maybe_adjust_light
src/mkobj.c:1703
↓ 7 callers
Function
maybe_destroy_armor
src/do_wear.c:3188
← previous
next →
1,001–1,100 of 8,785, ranked by callers