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
toggle_displacement
putting on or taking off an item which confers displacement, or gaining or losing timed displacement after eating a displacer beast corpse or tin;
src/do_wear.c:147
↓ 4 callers
Function
toggle_menu_attr
support menucolor in addition to caller-supplied attribute */
win/tty/wintty.c:1314
↓ 4 callers
Function
topl_replace
outdated/sys/mac/macwin.c:1066
↓ 4 callers
Function
topl_resp_key
outdated/sys/mac/macwin.c:1175
↓ 4 callers
Function
topl_set_resp
outdated/sys/mac/macwin.c:1148
↓ 4 callers
Function
toss_wsegs
* toss_wsegs() * * Get rid of all worm segments on and following the given pointer curr. * The display may or may not need to be updated as we f
src/worm.c:145
↓ 4 callers
Function
touchfood
src/eat.c:359
↓ 4 callers
Function
tport_spell
add/hide/remove/unhide teleport-away on behalf of dotelecmd() to give more control to behavior of ^T when used in wizard mode */
src/spell.c:1706
↓ 4 callers
Function
try_disarm
0: doesn't even try; 1: tries and fails; 2: succeeds */
src/trap.c:5440
↓ 4 callers
Function
tty_create_nhwindow
win/tty/wintty.c:847
↓ 4 callers
Function
tty_destroy_nhwindow
win/tty/wintty.c:2008
↓ 4 callers
Function
tty_invent_box_glyph_init
win/tty/wintty.c:3478
↓ 4 callers
Function
tty_nhgetch
win/tty/wintty.c:4044
↓ 4 callers
Function
u_handsy
src/pickup.c:2942
↓ 4 callers
Function
u_on_sstairs
place you on the special staircase */
src/stairs.c:112
↓ 4 callers
Function
ubuzz
src/zap.c:4758
↓ 4 callers
Function
udeadinside
how hero feels "inside" after self-genocide of role or race */
src/polyself.c:2272
↓ 4 callers
Function
under_water
* under_water() * * Similar to swallowed() in operation. Shows hero when underwater * except when in water level. Special routines exist for that
src/display.c:1394
↓ 4 callers
Function
unknow_object
some init for a brand new object, or partial re-init when hero loses potentially known info about an object (called when an unseen monster picks
src/mkobj.c:853
↓ 4 callers
Function
unleash_all
player is about to die (for bones) */
src/apply.c:745
↓ 4 callers
Function
unplacebc_core
src/ball.c:146
↓ 4 callers
Function
untouchable
hero has changed form or alignment; an item which is worn/wielded or an artifact which conveys something via being carried or which has an #invo
src/artifact.c:2597
↓ 4 callers
Function
untrap
hero is able to attempt untrap, so do so */
src/trap.c:5847
↓ 4 callers
Function
unturn_dead
try to revive all corpses and eggs carried by `mon' */
src/zap.c:1155
↓ 4 callers
Function
update_fancy_status_field
* Update the displayed status. The current code in botl.c updates * two lines of information. Both lines are always updated one after * the other.
win/X11/winstat.c:1847
↓ 4 callers
Function
update_mapseen_for
for some cases where deferred update needs to be done immediately; hide details from caller */
src/dungeon.c:2942
↓ 4 callers
Function
update_monster_region
* Ditto for a specified monster. */
src/region.c:597
↓ 4 callers
Function
use_pick_axe2
MRKR: use_pick_axe() is split in two to allow autodig to bypass */ the "In what direction do you want to dig?" query. */ use_pick_axe2() uses t
src/dig.c:1161
↓ 4 callers
Function
uswapwepgone
src/wield.c:887
↓ 4 callers
Function
vesa_SwitchMode
* Switches modes of the video card. * * If mode == MODETEXT (0x03), then the card is placed into text * mode. Otherwise, the card is placed in the
sys/msdos/vidvesa.c:1259
↓ 4 callers
Function
vfprintf
outdated/sys/wince/celib.c:776
↓ 4 callers
Function
vga_DrawCursor
sys/msdos/vidvga.c:1348
↓ 4 callers
Function
violated_vegetarian
src/eat.c:1375
↓ 4 callers
Function
wake_msg
Indicate via message that a monster has awoken. */
src/mon.c:4321
↓ 4 callers
Function
water_prayer
either blesses or curses water on the altar, * returns true if it found any water here. */
src/pray.c:1386
↓ 4 callers
Function
weapon_hit_bonus
* Return hit bonus/penalty based on skill of weapon. * weapon can be null, meaning bare-handed combat. * Treat restricted weapons as unskilled. */
src/weapon.c:1544
↓ 4 callers
Function
where_name
src/mkobj.c:3295
↓ 4 callers
Function
win_choices_find
src/windows.c:252
↓ 4 callers
Function
wr32
sys/amiga/bmp2iff_host.c:98
↓ 4 callers
Function
wr_chunk
sys/amiga/bmp2iff_host.c:105
↓ 4 callers
Function
write_chunk
sys/amiga/xpm2iff_host.c:182
↓ 4 callers
Function
xlev_to_rank
convert experience level (1..30) to rank index (0..8) */
src/botl.c:297
↓ 4 callers
Function
xputc_core
sys/windows/consoletty.c:1241
↓ 4 callers
Function
xwaitforspace
win/tty/getline.c:229
↓ 4 callers
Function
xy_set_wall_state
called for every <x,y> by set_wall_state() and for specific <x,y> during vault wall repair */
src/display.c:3275
↓ 4 callers
Function
zap_over_floor
Burn floor scrolls, evaporate pools, etc... in a single square. * Used both for normal bolts of fire, cold, etc... and for fireballs. * Sets shopdam
src/zap.c:5140
↓ 4 callers
Function
zombie_maker
return True if mon is capable of converting other monsters into zombies */
src/mon.c:361
↓ 3 callers
Function
Blindf_on
src/do_wear.c:1460
↓ 3 callers
Function
DispCol
sys/amiga/winreq.c:732
↓ 3 callers
Method
Display
outdated/win/Qt3/qt3_win.cpp:1464
↓ 3 callers
Method
ForceResize
used when label (most status fields) or pixmap (alignment, hunger, encumbrance) changes value
win/Qt/qt_icon.cpp:227
↓ 3 callers
Function
FreeImageFile
sys/amiga/winchar.c:255
↓ 3 callers
Function
GetWinKind
outdated/sys/mac/maccurs.c:154
↓ 3 callers
Function
H2Opotion_dip
handle item dipped into water potion or steed saddle splashed by same */
src/potion.c:1497
↓ 3 callers
Function
HiliteField
highlight a tty-style status field (or condition) */
win/X11/winstat.c:294
↓ 3 callers
Function
NHSPhoneSetKeypadDefault
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1514
↓ 3 callers
Function
Popeye
Tin of <something> to the rescue? Decide whether current occupation is an attempt to eat a tin of something capable of saving hero's life. We d
src/eat.c:3919
↓ 3 callers
Method
PutStr
outdated/win/Qt3/qt3_win.cpp:1467
↓ 3 callers
Function
RetrieveSize
outdated/sys/mac/maccurs.c:106
↓ 3 callers
Function
SetDialogResponse
set the default response */
win/X11/dialogs.c:261
↓ 3 callers
Function
SetMenuType
-----------------------------------------------------------------------------*/
win/win32/mhmenu.c:812
↓ 3 callers
Function
SetMenuType
outdated/sys/wince/mhmenu.c:708
↓ 3 callers
Function
ToggleMenuListItemSelected
* Add item to selection list if it's not selected already * If it is selected already, remove it from the list. */
outdated/sys/mac/macwin.c:1480
↓ 3 callers
Method
TopAscii
outdated/win/Qt3/qt3_win.cpp:846
↓ 3 callers
Function
X11_create_nhwindow
win/X11/winX.c:1041
↓ 3 callers
Function
X11_player_selection_randomize
win/X11/winmisc.c:474
↓ 3 callers
Function
X11_player_selection_setupOthers
win/X11/winmisc.c:549
↓ 3 callers
Function
_get_cmd_arg
win/win32/NetHackW.c:260
↓ 3 callers
Method
add
outdated/win/Qt3/qt3_clust.cpp:43
↓ 3 callers
Function
add_dirty_rect
outdated/win/gem/gr_rect.c:45
↓ 3 callers
Function
add_menu_cmd_alias
* Add the given mapping to the menu command map list. Always keep the * maps valid C strings. */
src/options.c:8079
↓ 3 callers
Function
add_menu_coloring_parsed
src/coloratt.c:582
↓ 3 callers
Function
add_one_tobill
add 'obj' to 'shkp's bill */
src/shk.c:3308
↓ 3 callers
Function
add_to_billobjs
src/shk.c:3365
↓ 3 callers
Function
addinv_core2
* Adjust hero intrinsics (and perform other side effects) as if this * object was being added to the hero's inventory. Called _after_ the * object
src/invent.c:1024
↓ 3 callers
Function
adjust_menu_promptstyle
src/windows.c:1768
↓ 3 callers
Function
after_shk_move
called after shopkeeper moves, in case move causes re-entry into shop */
src/shk.c:4996
↓ 3 callers
Function
alreadynamed
check whether user-supplied name matches or nearly matches an unnameable monster's name, or is an attempt to delete the monster's name; if so, give
src/do_name.c:157
↓ 3 callers
Function
amii_add_menu
Add a string to a menu */
sys/amiga/winamenu.c:64
↓ 3 callers
Function
amii_cliparound
XXX still to do: suppress scrolling if we violate the boundary but the * edge of the map is already displayed */
sys/amiga/winfuncs.c:2231
↓ 3 callers
Function
amii_end_glyphout
* General cleanup routine -- flushes and restores cursor */
sys/amiga/winchar.c:763
↓ 3 callers
Function
amii_flush_glyph_buffer
* Begin Revamped Text display routines * * Up until version 3.1, the only method for displaying text on the playing * field was by using the consol
sys/amiga/winchar.c:889
↓ 3 callers
Function
amikbhit
sys/amiga/amiwind.c:545
↓ 3 callers
Function
animate_statue
* Animate the given statue. May have been via shatter attempt, trap, * or stone to flesh spell. Return a monster if successfully animated. * If th
src/trap.c:725
↓ 3 callers
Function
append_price_quote
Appends price-quote information to the given buffer, updating the given end of string position. *eos mut be buf + strlen(buf). If the update wou
src/shk.c:453
↓ 3 callers
Function
append_text_buffer
Append a line to the text buffer. */
win/X11/wintext.c:358
↓ 3 callers
Function
arti_invoke
src/artifact.c:2130
↓ 3 callers
Function
artifact_score
called twice; first to calculate total, then to list relevant items */
src/end.c:906
↓ 3 callers
Function
assess_dmg
src/mhitu.c:2354
↓ 3 callers
Function
assure_syscf_file
src/cfgfiles.c:2030
↓ 3 callers
Function
attach_fig_transform_timeout
Attach a fig_transform timeout to the given figurine. */
src/timeout.c:1203
↓ 3 callers
Function
attk_protection
"aggressive defense"; what type of armor prevents specified attack from touching its target? */
src/mhitm.c:1474
↓ 3 callers
Function
autopick_testobj
src/pickup.c:929
↓ 3 callers
Function
awaken_monsters
src/music.c:66
↓ 3 callers
Function
back_on_ground
print a message about being back on the ground after leaving a pool */
src/trap.c:4975
↓ 3 callers
Function
bagotricks
release monster from bag of tricks; return number of monsters created */
src/makemon.c:2553
↓ 3 callers
Function
bail
clean up and quit */
outdated/sys/wince/mswproc.c:1696
↓ 3 callers
Function
ballrelease
src/ball.c:22
↓ 3 callers
Function
bflush
src/sfstruct.c:477
↓ 3 callers
Function
bind_mousebtn
src/cmd.c:2623
← previous
next →
2,001–2,100 of 8,785, ranked by callers