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
send_return
outdated/win/gem/wingem1.c:1331
↓ 5 callers
Function
sense_trap
src/detect.c:864
↓ 5 callers
Function
setGlyph
win/win32/mhmap.c:1061
↓ 5 callers
Function
set_tin_variety
src/eat.c:1460
↓ 5 callers
Function
set_wc2_option_mod_status
src/options.c:9934
↓ 5 callers
Function
set_window_position
win* is size and placement of window to change, x/y/w/h is baseline which can decrease depending on alignment of win* in orientation. Negative m
win/curses/cursinit.c:52
↓ 5 callers
Function
shade_miss
used for hero vs monster and monster vs monster; also handles monster vs hero but that won't happen because hero can't be a shade */
src/uhitm.c:2015
↓ 5 callers
Function
shield_simple_name
simplified shield for messages */
src/objnam.c:5569
↓ 5 callers
Function
shieldeff_mon
monster resists something. make a shield effect at monster's location and give a message */
src/mon.c:6057
↓ 5 callers
Method
sizeHint
outdated/win/Qt3/qt3_win.cpp:3217
↓ 5 callers
Function
snuff_candle
call in drop, throw, and put in box, etc. */
src/apply.c:1471
↓ 5 callers
Function
some_mon_nam
in between noit_mon_nam() and mon_nam(); if the latter would pick "it", use "someone" (for humanoids) or "something" (for others) instead */
src/do_name.c:1064
↓ 5 callers
Function
sortloot
* sortloot() - the story so far... * * The original implementation constructed and returned an array * of pointers to objects in the requ
src/invent.c:592
↓ 5 callers
Function
spec_ability
src/artifact.c:515
↓ 5 callers
Function
splittable
some objects shouldn't be split when count given to getobj or askchain */
src/invent.c:1663
↓ 5 callers
Function
stairway_find_dir
src/stairs.c:78
↓ 5 callers
Function
stairway_find_type_dir
src/stairs.c:88
↓ 5 callers
Function
status_version
version info that could be displayed on status lines; "<game name> <git branch name> <x.y.z version number>"; if game name is a prefix of--or
src/version.c:88
↓ 5 callers
Function
still_chewing
* still_chewing() * * Chew on a wall, door, or boulder. [What about statues?] * Returns TRUE if still eating, FALSE when done. */
src/hack.c:646
↓ 5 callers
Function
stone_luck
decide whether there are more blessed luckstones (plus luck-conferring artifacts) than cursed ones; optionally combine uncursed with blessed */
src/attrib.c:422
↓ 5 callers
Function
str_copy
Bounded string copy
win/Qt/qt_str.cpp:15
↓ 5 callers
Function
strprepend
src/objnam.c:122
↓ 5 callers
Function
sub_one_frombill
src/shk.c:3660
↓ 5 callers
Function
term_clear_screen
sys/windows/consoletty.c:1519
↓ 5 callers
Function
the_unique_obj
used for naming "the unique_item" instead of "a unique_item" */
src/objnam.c:1105
↓ 5 callers
Function
u_on_rndspot
place you on a random location when arriving on a level */
src/dungeon.c:1604
↓ 5 callers
Function
u_safe_from_fatal_corpse
* tests: * st_gloves wearing gloves? * st_corpse is it a corpse obj? * st_petrifies does the corpse petrify on touch? * st_resists
src/pickup.c:272
↓ 5 callers
Function
undead_to_corpse
convert the monster index of an undead to its living counterpart */
src/mon.c:416
↓ 5 callers
Function
under_ground
* under_ground() * * Very restricted display. You can only see yourself. */
src/display.c:1444
↓ 5 callers
Function
ureflects
src/muse.c:2835
↓ 5 callers
Function
use_port
* Restore current port/world after a save */
outdated/sys/mac/mactty.c:419
↓ 5 callers
Function
use_skill
src/weapon.c:1423
↓ 5 callers
Function
uunstick
src/polyself.c:1940
↓ 5 callers
Function
validate
* returns: * * SF_UPTODATE (0) everything matched and looks good * SF_OUTDATED (1) savefile is outdated
src/version.c:839
↓ 5 callers
Function
vesa_WriteCharTransparent
* Draw a character with a transparent background * Don't bother caching; only the position bar and the cursor use this */
sys/msdos/vidvesa.c:1631
↓ 5 callers
Function
vesa_WritePixelRow
sys/msdos/vidvesa.c:462
↓ 5 callers
Function
vga_special
sys/msdos/vidvga.c:1305
↓ 5 callers
Function
vomit
Side effects of vomiting */ added nomul (MRS) - it makes sense, you're too busy being sick! */
src/eat.c:3735
↓ 5 callers
Function
vprintf
outdated/sys/wince/celib.c:837
↓ 5 callers
Function
walk_path
* Walk a path from src_cc to dest_cc, calling a proc for each location * except the starting one. If the proc returns FALSE, stop walking * and ret
src/dothrow.c:655
↓ 5 callers
Function
win10_monitor_info
sys/windows/win10.c:104
↓ 5 callers
Function
win10_monitor_scale
sys/windows/win10.c:99
↓ 5 callers
Function
wipeout_text
degrade some of the characters in a string */
src/engrave.c:119
↓ 5 callers
Function
you_were
src/were.c:191
↓ 5 callers
Function
zapdir_to_glyph
* zapdir_to_glyph() * * Change the given zap direction and beam type into a glyph. Each beam * type has four glyphs, one for each of the symbols b
src/display.c:2460
↓ 5 callers
Function
zhitm
used by buzz(); also used by munslime(muse.c); returns damage applied to mon; note: caller is responsible for killing mon if damage is fatal */
src/zap.c:4237
↓ 4 callers
Function
Amulet_off
src/do_wear.c:1089
↓ 4 callers
Function
Armor_off
src/do_wear.c:908
↓ 4 callers
Function
CASE2
i/o error */
sys/vms/vmsfiles.c:264
↓ 4 callers
Function
ClosingWindowChar
outdated/sys/mac/macwin.c:963
↓ 4 callers
Method
Drain
win/Qt/qt_key.cpp:121
↓ 4 callers
Function
DrawScrollbar
outdated/sys/mac/macwin.c:501
↓ 4 callers
Method
Get
win/Qt/qt_click.cpp:38
↓ 4 callers
Function
GetCode
win/share/gifread.c:289
↓ 4 callers
Function
GetFromKeyQueue
* Get key from queue */
outdated/sys/mac/macwin.c:182
↓ 4 callers
Function
HandleEvent
outdated/sys/mac/macwin.c:3210
↓ 4 callers
Function
InitWinFile
outdated/sys/mac/maccurs.c:31
↓ 4 callers
Function
LWZReadByte
win/share/gifread.c:330
↓ 4 callers
Function
MenwUpdate
outdated/sys/mac/macwin.c:2680
↓ 4 callers
Function
MsgUpdate
outdated/sys/mac/macwin.c:2361
↓ 4 callers
Function
MyAllocBitMap
sys/amiga/winchar.c:286
↓ 4 callers
Function
MyFreeBitMap
sys/amiga/winchar.c:315
↓ 4 callers
Function
NHSPhoneTranslateKbdMessage
special keypad input handling for SmartPhone the phone keypad maps to VK_* as shown below. some keys might not be present, e.g. VK_TFLIP sof
outdated/sys/wince/mhcmd.c:1334
↓ 4 callers
Function
NH_abort
src/end.c:1895
↓ 4 callers
Function
N_times
"once" vs "twice" vs "17 times", used in several places */
src/insight.c:361
↓ 4 callers
Function
OpenShWindow
sys/amiga/amiwind.c:102
↓ 4 callers
Function
Shirt_off
src/do_wear.c:777
↓ 4 callers
Function
ToggleMenuSelect
* Routine used to select and de-select elements in a menu window, used by * KeyMenu, * ClickMenu, and UpdateMenu. Takes the NhWindow and a line ref
outdated/sys/mac/macwin.c:1442
↓ 4 callers
Function
WindowFontStruct
win/X11/Window.c:177
↓ 4 callers
Function
_get_main_menu
outdated/sys/wince/mhmain.c:1113
↓ 4 callers
Function
_strdup
outdated/sys/wince/celib.c:456
↓ 4 callers
Function
a_gname_at
returns the name of an altar's deity */
src/pray.c:2513
↓ 4 callers
Function
add_mon_to_reg
* Add a monster to the region */
src/region.c:160
↓ 4 callers
Function
add_rect
src/rect.c:160
↓ 4 callers
Function
add_rect_to_reg
* Add rectangle to region. */
src/region.c:132
↓ 4 callers
Function
addinv_nomerge
return value will always be 'obj' */
src/invent.c:1168
↓ 4 callers
Function
addupbill
src/shk.c:495
↓ 4 callers
Function
adj_lev
adjust strength of monsters based on u.uz and u.ulevel */
src/makemon.c:2015
↓ 4 callers
Function
adjabil
src/attrib.c:1003
↓ 4 callers
Function
adjust_soundargs_for_compiler
sound/windsound/windsound.c:253
↓ 4 callers
Function
alignTemplate
align a window-related template to the main screen */
outdated/sys/mac/mrecover.c:426
↓ 4 callers
Function
altarmask_at
src/pray.c:2489
↓ 4 callers
Function
angry_priest
src/priest.c:876
↓ 4 callers
Function
armor_to_dragon
src/polyself.c:2190
↓ 4 callers
Function
artifact_origin
set artifact tracking flags; calling sequence: oname() -> artifact_exists() -> artifact_origin() or mksobj(),others -> mk_artifact() -> artifact
src/artifact.c:477
↓ 4 callers
Function
ask_redraw
outdated/sys/mac/macmenu.c:290
↓ 4 callers
Function
attach_egg_hatch_timeout
Attach an egg hatch timeout to the given egg. * when = Time to hatch, usually only passed if re-creating an * existing hatch timer.
src/timeout.c:980
↓ 4 callers
Function
attr2attrname
src/coloratt.c:319
↓ 4 callers
Function
attrcurse
remove a random INTRINSIC ability from hero. returns the intrinsic property which was removed, or 0 if nothing was removed. */
src/sit.c:643
↓ 4 callers
Function
attrval
format a characteristic value, accommodating Strength's strangeness */
src/insight.c:286
↓ 4 callers
Function
backsp
win/tty/termcap.c:744
↓ 4 callers
Function
badman
src/objnam.c:3193
↓ 4 callers
Function
bail
clean up and quit */
win/tty/wintty.c:343
↓ 4 callers
Function
bail
clean up and quit */
win/win32/mswproc.c:2180
↓ 4 callers
Function
bel_copy1
src/end.c:1808
↓ 4 callers
Function
bhitm
bhitm: monster mtmp was hit by the effect of wand or spell otmp */
src/zap.c:159
↓ 4 callers
Function
bind_key_fn
bind key by ext cmd function */
src/cmd.c:2731
↓ 4 callers
Function
boots_simple_name
boots vs shoes; depends upon discovery state */
src/objnam.c:5550
↓ 4 callers
Function
boulder_hits_pool
Called when a boulder is dropped, thrown, or pushed. If it ends up * in a pool, it either fills the pool up or sinks away. In either case, * it's
src/do.c:49
↓ 4 callers
Function
boxlock
box obj was hit with spell or wand effect otmp; returns true if something happened */
src/lock.c:1055
← previous
next →
1,601–1,700 of 8,785, ranked by callers