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
↓ 7 callers
Function
mdlib_version_string
src/mdlib.c:299
↓ 7 callers
Function
menu_popdown
win/X11/winmenu.c:607
↓ 7 callers
Function
minuhpmax
minimum value for uhpmax is ulevel but for life-saving it is always at least 10 if ulevel is less than that */
src/attrib.c:1146
↓ 7 callers
Function
miss
src/zap.c:3570
↓ 7 callers
Function
mk_mplayer_armor
src/mplayer.c:94
↓ 7 callers
Function
mkstairs
Create stairs up or down at x,y. If force is TRUE, change the terrain to ROOM first */
src/mklev.c:2158
↓ 7 callers
Function
mon_knows_traps
does monster mtmp know traps of type ttyp */
src/mondata.c:1616
↓ 7 callers
Function
mon_maybe_unparalyze
maybe unparalyze monster */
src/uhitm.c:350
↓ 7 callers
Function
more
win/tty/topl.c:204
↓ 7 callers
Function
mswin_apply_window_style
win/win32/mhmain.c:1283
↓ 7 callers
Function
mswin_get_window_placement
win/win32/mswproc.c:2772
↓ 7 callers
Function
new_light_source
Create a new light source. Caller (and extern.h) doesn't need to know anything about type 'light_source'. */
src/light.c:61
↓ 7 callers
Function
new_were
src/were.c:95
↓ 7 callers
Function
newgame
src/allmain.c:765
↓ 7 callers
Function
newmextra
util/sfctool.c:1068
↓ 7 callers
Function
nhcolor_to_RGB
map nethack color to RGB */
win/win32/mhmap.c:1324
↓ 7 callers
Function
nhl_init
src/nhlua.c:2292
↓ 7 callers
Function
obj_typename
src/objnam.c:200
↓ 7 callers
Function
occupied
src/mklev.c:1805
↓ 7 callers
Function
ordin
return the ordinal suffix of a number */
src/hacklib.c:624
↓ 7 callers
Function
passive_obj
* Special (passive) attacks on an attacking object by monsters done here. * Assumes the attack was successful. */
src/uhitm.c:6126
↓ 7 callers
Function
perm_invent_toggled
src/invent.c:5660
↓ 7 callers
Function
potionhit
potion obj hits monster mon, which might be youmonst; obj always used up */
src/potion.c:1624
↓ 7 callers
Function
quit
util/sftags.c:439
↓ 7 callers
Function
read_u16
Decode an unsigned 16 bit quantity */
win/share/bmptiles.c:537
↓ 7 callers
Function
reassign
give consecutive letters to every item in inventory (for !fixinv mode); gold is always forced to '$' slot at head of list */
src/invent.c:4854
↓ 7 callers
Function
reset_remarm
clear saved context to avoid inappropriate resumption of interrupted 'A' */
src/do_wear.c:3013
↓ 7 callers
Function
reset_trapset
src/apply.c:2812
↓ 7 callers
Function
restobjchn
src/restore.c:230
↓ 7 callers
Function
restore_saved_game
try to open up a save file and prepare to restore it */
src/files.c:1269
↓ 7 callers
Function
safe_typename
typename for debugging feedback where data involved might be suspect */
src/objnam.c:311
↓ 7 callers
Function
saveobjchn
save an object chain; sets head of list to Null when done; handles release_data() for each object in the list */
src/save.c:761
↓ 7 callers
Function
scatter
returns number of scattered objects */
src/explode.c:720
↓ 7 callers
Function
selection_floodfill
src/selvar.c:394
↓ 7 callers
Function
set_item_state
change screen display for selection state of an item; not used or wanted for items that aren't shown by the current page */
win/tty/wintty.c:1176
↓ 7 callers
Function
set_levelfile_name
outdated/sys/mac/mrecover.c:1093
↓ 7 callers
Function
set_mimic_blocking
* Block/unblock light depending on what a mimic is mimicking and if it's * invisible or not. Should be called only when the state of See_invisible
src/display.c:1547
↓ 7 callers
Function
set_uasmon
update the gy.youmonst.data structure pointer and intrinsics */
src/polyself.c:37
↓ 7 callers
Function
skill_name
src/weapon.c:1124
↓ 7 callers
Function
special_dmgval
check whether blessed and/or silver damage applies for *non-weapon* hit; return value is the amount of the extra damage */
src/weapon.c:360
↓ 7 callers
Function
stairway_find_from
src/stairs.c:63
↓ 7 callers
Function
steedintrap
src/trap.c:3101
↓ 7 callers
Function
str2align
src/role.c:942
↓ 7 callers
Function
str2gend
src/role.c:879
↓ 7 callers
Function
swallowed
* swallowed() * * The hero is swallowed. Show a special graphics sequence for this. This * bypasses all of the display routines and messes with b
src/display.c:1331
↓ 7 callers
Function
tabexpand
expand tabs into proper number of spaces (in place) */
src/hacklib.c:428
↓ 7 callers
Function
term_curs_set
win/tty/wintty.c:3986
↓ 7 callers
Function
tp_sensemon
* See display.h for descriptions of tp_sensemon() through * is_safemon(). Some of these were generating an awful lot of * code "behi
src/display.c:165
↓ 7 callers
Function
tty_nhbell
win/tty/termcap.c:750
↓ 7 callers
Function
u_wipe_engr
src/engrave.c:263
↓ 7 callers
Function
usage
util/dlb_main.c:80
↓ 7 callers
Function
uteetering_at_seen_pit
* Returns TRUE if you escaped a pit and are standing on the precipice. */
src/trap.c:6647
↓ 7 callers
Function
vault_occupied
src/vault.c:243
↓ 7 callers
Function
version_string
fill buffer with short version (so caller can avoid including date.h) * buf cannot be NULL */
src/version.c:21
↓ 7 callers
Function
vesa_flush_text
sys/msdos/vidvesa.c:1645
↓ 7 callers
Function
vesa_gotoloc
sys/msdos/vidvesa.c:756
↓ 7 callers
Function
vga_gotoloc
sys/msdos/vidvga.c:450
↓ 7 callers
Function
vision_init
* vision_init() * * The one-time vision initialization routine. * * This must be called before mklev() is called in newgame() [allmain.c], * or b
src/vision.c:120
↓ 7 callers
Function
watch_dig
* Town Watchmen frown on damage to the town walls, trees or fountains. * It's OK to dig holes in the ground, however. * If mtmp is assumed to be a w
src/dig.c:1376
↓ 7 callers
Function
weight_cap
src/hack.c:4294
↓ 7 callers
Function
wishymatch
compare user string against object name string using fuzzy matching */
src/objnam.c:3242
↓ 7 callers
Function
xpmgetline
outdated/win/gem/xpm2img.c:163
↓ 7 callers
Function
you_unwere
src/were.c:212
↓ 7 callers
Function
yyyymmddhhmmss
src/calendar.c:94
↓ 7 callers
Function
zapyourself
src/zap.c:2704
↓ 6 callers
Function
Blindf_off
src/do_wear.c:1494
↓ 6 callers
Function
Can_dig_down
src/dungeon.c:1648
↓ 6 callers
Function
Helmet_off
src/do_wear.c:517
↓ 6 callers
Function
In_V_tower
is `lev' part of Vlad's tower? */
src/dungeon.c:1906
↓ 6 callers
Function
Japanese_item_name
src/objnam.c:5421
↓ 6 callers
Method
Put
outdated/win/Qt3/qt3_win.cpp:798
↓ 6 callers
Method
PutStr
win/Qt/qt_map.cpp:649
↓ 6 callers
Function
Ring_gone
src/do_wear.c:1454
↓ 6 callers
Function
X11_exit_nhwindows
* All done. */ ARGSUSED */
win/X11/winX.c:1672
↓ 6 callers
Function
acid_damage
src/trap.c:4617
↓ 6 callers
Function
activate_statue_trap
* You've either stepped onto a statue trap's location or you've triggered a * statue trap by searching next to it or by trying to break it with a wan
src/trap.c:907
↓ 6 callers
Method
add
win/Qt/qt_clust.cpp:43
↓ 6 callers
Function
add_room
src/mklev.c:303
↓ 6 callers
Function
add_to_buried
src/mkobj.c:2719
↓ 6 callers
Function
add_to_migration
src/mkobj.c:2697
↓ 6 callers
Function
adj_abon
src/do_wear.c:3318
↓ 6 callers
Function
adjust_attrib
src/do_wear.c:1222
↓ 6 callers
Function
amiga_print_glyph
sys/amiga/winchar.c:934
↓ 6 callers
Function
amii_create_nhwindow
sys/amiga/winfuncs.c:339
↓ 6 callers
Function
arti_light_description
adverb describing lit artifact's light; radius varies depending upon curse/bless state; also used for gold dragon scales/scale mail */
src/light.c:915
↓ 6 callers
Function
artifact_exists
an artifact has just been created or is being "un-created" for a chance to be created again later */
src/artifact.c:370
↓ 6 callers
Function
artifact_hit
src/artifact.c:1436
↓ 6 callers
Function
ask_restring
Convert a mixed-case C string to a Capitalized Pascal string */
outdated/sys/mac/macmenu.c:258
↓ 6 callers
Function
assign_graphics
src/symbols.c:216
↓ 6 callers
Function
atexit
(function)
sys/vms/oldcrtl.c:117
↓ 6 callers
Function
back_buffer_flip
sys/windows/consoletty.c:815
↓ 6 callers
Function
bhit
* Called for the following distance effects: * when a weapon is thrown (weapon == THROWN_WEAPON) * when an object is kicked (KICKED_WEAPO
src/zap.c:3826
↓ 6 callers
Function
big_to_little
src/mondata.c:1315
↓ 6 callers
Function
bp_to_obj
src/shk.c:2758
↓ 6 callers
Function
bufon
src/sfstruct.c:414
↓ 6 callers
Function
build_plselection_prompt
src/role.c:1582
↓ 6 callers
Function
case_insensitive_comp
src/hacklib.c:921
↓ 6 callers
Function
check_mapchr
src/nhlua.c:392
↓ 6 callers
Function
check_shop_obj
src/dothrow.c:1180
↓ 6 callers
Function
chest_trap
only called when the player is doing something to the chest directly; returns True if chest is destroyed, False if it remains in play */
src/trap.c:6293
← previous
next →
1,101–1,200 of 8,785, ranked by callers