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
↓ 3 callers
Function
there_cmd_menu
offer choice of actions to perform at adjacent location <x,y>; a few choices can be farther away */
src/cmd.c:4842
↓ 3 callers
Function
throwit
throw an object, NB: obj may be consumed in the process */
src/dothrow.c:1509
↓ 3 callers
Function
time_from_yyyymmddhhmmss
src/calendar.c:119
↓ 3 callers
Function
timer_is_local
* Return TRUE if the timer is attached to something that will stay on the * level when the level is saved. */
src/timeout.c:2602
↓ 3 callers
Function
tin_variety
src/eat.c:1488
↓ 3 callers
Function
tinnable
src/apply.c:2166
↓ 3 callers
Function
tipcontainer
src/pickup.c:3687
↓ 3 callers
Function
tmpdup
util/makedefs.c:2363
↓ 3 callers
Function
toggle_blindness
blindness has just started or just ended--caller enforces that; called by Blindf_on(), Blindf_off(), and make_blinded() */
src/potion.c:335
↓ 3 callers
Function
traditional_loot
loot current_container (take things out or put things in), by prompting */
src/pickup.c:3229
↓ 3 callers
Function
transform_img
outdated/win/gem/load_img.c:143
↓ 3 callers
Function
transient_light_cleanup
delete any camera flash light sources and draw "remembered, unseen monster" glyph at locations where a monster was flagged for being visible dur
src/light.c:329
↓ 3 callers
Function
trapeffect_level_telep
src/trap.c:2087
↓ 3 callers
Function
trapnote
src/trap.c:3062
↓ 3 callers
Function
trapped_chest_at
this is checking whether a trap symbol represents a trapped chest, not whether a trapped chest is actually present */
src/detect.c:138
↓ 3 callers
Function
trquan
randomizes the quantity given a trobj description */
src/u_init.c:1108
↓ 3 callers
Function
tty_wait_synch
win/tty/wintty.c:3623
↓ 3 callers
Function
txt_get_cursor
* get cursor position * * This is implemented as a macro under DJGPPFAST. */
sys/msdos/vidtxt.c:404
↓ 3 callers
Function
u_rooted
src/hack.c:1693
↓ 3 callers
Function
u_slip_free
check whether slippery clothing protects from hug or wrap attack */
src/mhitu.c:1046
↓ 3 callers
Function
u_slow_down
called when your intrinsic speed is taken away */
src/mhitu.c:162
↓ 3 callers
Function
u_teleport_mon
you teleport a monster (via wand, spell, or poly'd q.mechanic attack); return false iff the attempt fails */
src/teleport.c:2262
↓ 3 callers
Function
uchangealign
change hero's alignment type, possibly losing use of artifacts */
src/attrib.c:1319
↓ 3 callers
Function
ugenocided
True iff hero's role or race has been genocided */
src/polyself.c:2264
↓ 3 callers
Function
unearth_objs
move objects from buriedobjlist to fobj/nexthere lists; if caller converts terrain from ice to something, it should call obj_ice_effects() */
src/dig.c:2085
↓ 3 callers
Function
unlink_file
outdated/sys/mac/mrecover.c:1330
↓ 3 callers
Function
unset_all_on_page
(start, page)
outdated/win/gem/wingem1.c:1756
↓ 3 callers
Function
update_lastseentyp
update the lastseentyp at x,y */
src/dungeon.c:2926
↓ 3 callers
Function
update_rest_on_space
called when 'rest_on_space' is toggled, also called by reset_commands() from initoptions_init() which takes place before key bindings have been
src/cmd.c:3482
↓ 3 callers
Function
use_lamp
light a lamp or candle */
src/apply.c:1627
↓ 3 callers
Function
use_pole
Distance attacks by pole-weapons */
src/apply.c:3425
↓ 3 callers
Function
validvamp
prevent wizard mode user from specifying invalid vampshifter shape when using monpolycontrol to assign a new form to a vampshifter */
src/mon.c:5027
↓ 3 callers
Function
vesa_DrawCursor
sys/msdos/vidvesa.c:2155
↓ 3 callers
Function
vesa_GetModeInfo
Retrieve the mode info block */
sys/msdos/vidvesa.c:201
↓ 3 callers
Function
vesa_WriteChar
* Write character 'ch', at (x,y) and * do it using the colour 'colour'. * */
sys/msdos/vidvesa.c:1582
↓ 3 callers
Function
vesa_WritePixel32
sys/msdos/vidvesa.c:386
↓ 3 callers
Function
vesa_redrawmap
sys/msdos/vidvesa.c:803
↓ 3 callers
Function
vga_DisplayCell
* This is the routine that displays a high-res "cell" pointed to by 'gp' * at the desired location (col,row). * * Note: (col,row) in this case refe
sys/msdos/vidvga.c:1054
↓ 3 callers
Function
vga_SwitchMode
* Switches modes of the video card. * * If mode == MODETEXT (0x03), then the card is placed into text * mode. If mode == 640x480, then the card is
sys/msdos/vidvga.c:833
↓ 3 callers
Function
view_from
* Calculate all possible visible locations from the given location * (srow,scol). NOTE this is (y,x)! Mark the visible locations in the * array pr
src/vision.c:2001
↓ 3 callers
Function
wallify_map
src/sp_lev.c:2864
↓ 3 callers
Function
wallify_vault
src/vault.c:645
↓ 3 callers
Function
wand_explode
overcharging any wand or zapping/engraving cursed wand */
src/read.c:2413
↓ 3 callers
Function
warning_of
src/display.c:653
↓ 3 callers
Function
wary_dog
* Called during pet revival or pet life-saving. * If you killed the pet, it revives wild. * If you abused the pet a lot while alive, it revives wild
src/dog.c:1291
↓ 3 callers
Function
wash_hands
dipping '-' in fountain, pool, or sink */
src/fountain.c:557
↓ 3 callers
Function
wearing_armor
src/invent.c:2148
↓ 3 callers
Function
weffects
called for various wand and spell effects - M. Stephenson */
src/zap.c:3430
↓ 3 callers
Function
were_beastie
convert monsters similar to werecritters into appropriate werebeast */
src/were.c:69
↓ 3 callers
Function
width_string
Return a string for the initial width, so use longest possible value. */
win/X11/winstat.c:2106
↓ 3 callers
Function
wish_history_add
add string to wish history list */
src/zap.c:6226
↓ 3 callers
Function
wl_new
src/windows.c:156
↓ 3 callers
Function
wormgone
* wormgone() * * Kill a worm tail. Also takes the head off the map. Caller needs to * keep track of what its coordinates were if planning to p
src/worm.c:307
↓ 3 callers
Function
wr32
sys/amiga/xpm2iff_host.c:173
↓ 3 callers
Function
write_savefile
outdated/sys/mac/mrecover.c:1304
↓ 3 callers
Function
writeentry
src/topten.c:300
↓ 3 callers
Function
xdrainenergym
hero or monster has successfully hit target mon with drain energy attack */
src/mhitm.c:1460
↓ 3 callers
Function
xpmgetline
Read the next quoted line from the XPM file. * Returns a pointer to the content between the first pair of double-quotes, * or NULL on EOF. Trailing
sys/amiga/xpm2iff_host.c:53
↓ 3 callers
Function
xputc
See note above. xputc() is a special function for overlays. */
win/tty/termcap.c:616
↓ 3 callers
Function
xputs
sys/windows/consoletty.c:1205
↓ 3 callers
Function
youhiding
src/insight.c:2021
↓ 3 callers
Function
zap_map
zap_map() occurs before hitting monsters or objects and handles wands or spells that don't dish out 'elemental' damage */
src/zap.c:3627
↓ 3 callers
Function
zappable
* zappable - returns 1 if zap is available, 0 otherwise. * it removes a charge from the wand if zappable. * added by GAN 11/03/86 */
src/zap.c:2513
↓ 2 callers
Method
Accept
outdated/win/Qt3/qt3_win.cpp:2667
↓ 2 callers
Function
ActivateCell
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1011
↓ 2 callers
Method
AddToStr
append to the last message; usually the user's answer to a prompt
win/Qt/qt_msg.cpp:186
↓ 2 callers
Function
Amulet_on
src/do_wear.c:962
↓ 2 callers
Function
Armor_gone
The gone functions differ from the off functions in that if you die from * taking it off and have life saving, you still die. [Obsolete reference *
src/do_wear.c:938
↓ 2 callers
Function
BIOSgetch
outdated/sys/os2/os2.c:124
↓ 2 callers
Function
BaseClick
outdated/sys/mac/macwin.c:2161
↓ 2 callers
Function
BaseCursor
outdated/sys/mac/macwin.c:2183
↓ 2 callers
Function
BufferGetchar
sys/amiga/amiwind.c:151
↓ 2 callers
Function
CalculateCellSize
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1152
↓ 2 callers
Function
Can_rise_up
* True if one can rise up a level (e.g. cursed gain level). * This happens on intermediate dungeon levels or on any top dungeon * level that has a s
src/dungeon.c:1673
↓ 2 callers
Function
CapitalMon
is 'word' a capitalized monster name that should be preceded by "the"? (non-unique monster like Mordor Orc, or capitalized title like Norn rathe
src/rumors.c:790
↓ 2 callers
Function
CellFromPoint
-------------------------------------------------------------------------*/
outdated/sys/wince/mhcmd.c:1131
↓ 2 callers
Method
Clear
[re-]init map display to unexplored with no changed cells
win/Qt/qt_map.cpp:483
↓ 2 callers
Method
Clear
XXX Use "expected ..." for now, abort or default later.
outdated/win/Qt3/qt3_win.cpp:1463
↓ 2 callers
Function
CloseHandleFile
outdated/sys/mac/macfile.c:94
↓ 2 callers
Function
ConvertKey
sys/amiga/amiwind.c:179
↓ 2 callers
Function
Delay
outdated/sys/wince/celib.c:394
↓ 2 callers
Method
Display
win/Qt/qt_map.cpp:510
↓ 2 callers
Function
DoMenuEvt
outdated/sys/mac/macmenu.c:980
↓ 2 callers
Function
DoMenuScroll
sys/amiga/winamenu.c:229
↓ 2 callers
Function
DoScrollBar
outdated/sys/mac/macwin.c:1590
↓ 2 callers
Function
DrawCol
sys/amiga/winreq.c:650
↓ 2 callers
Function
DrawCursor
The check for iflags.grmode is made BEFORE calling these. */
sys/msdos/video.c:745
↓ 2 callers
Method
Exec
win/Qt/qt_yndlg.cpp:77
↓ 2 callers
Function
FITSuint_
src/alloc.c:275
↓ 2 callers
Function
FlashButton
Flash a dialog button when its accelerator key is pressed */
outdated/sys/mac/mmodal.c:15
↓ 2 callers
Function
FlushWinFile
outdated/sys/mac/maccurs.c:62
↓ 2 callers
Function
FreeTileImageFiles
sys/amiga/winchar.c:351
↓ 2 callers
Method
FuncAsCommand
queue up the command name for a function, as if user had typed it
win/Qt/qt_main.cpp:1118
↓ 2 callers
Function
Gem_create_nhwindow
(type)
outdated/win/gem/wingem.c:540
↓ 2 callers
Function
Gem_destroy_nhwindow
(window)
outdated/win/gem/wingem.c:635
↓ 2 callers
Function
Gem_display_nhwindow
ARGSUSED*/
outdated/win/gem/wingem.c:608
↓ 2 callers
Function
Gem_raw_print
(str)
outdated/win/gem/wingem.c:936
↓ 2 callers
Function
Gem_start_menu
Gem_start_menu *******************************/
outdated/win/gem/wingem1.c:1425
↓ 2 callers
Method
GetAscii
win/Qt/qt_key.cpp:87
↓ 2 callers
Function
GetDialogResponse
get what the user typed; caller must free the response */
win/X11/dialogs.c:247
← previous
next →
2,601–2,700 of 8,785, ranked by callers