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
display_cursor
* Display the cursor on the map window. */
win/X11/winmap.c:982
↓ 3 callers
Function
display_map_window
* Check if there are any changed characters. If so, then plaster them on * the screen. */
win/X11/winmap.c:993
↓ 3 callers
Function
display_monster
* display_monster() * * Note that this is *not* a map_XXXX() function! Monsters sort of float * above everything. * * Yuck. Display body parts
src/display.c:513
↓ 3 callers
Function
display_pickinv
* Internal function used by display_inventory and getobj that can display * inventory and return a count as well as a letter. */
src/invent.c:3056
↓ 3 callers
Function
dispose_ptr
* Dispose a pointer using the set memory-allocator */
outdated/sys/mac/mactty.c:97
↓ 3 callers
Function
distfleeck
src/monmove.c:532
↓ 3 callers
Function
dlb_cleanup
src/dlb.c:446
↓ 3 callers
Function
dmore
win/tty/wintty.c:1153
↓ 3 callers
Function
do_makedefs
util/makedefs.c:298
↓ 3 callers
Function
do_mapping
src/detect.c:1421
↓ 3 callers
Function
do_rnd_access_file
util/makedefs.c:1080
↓ 3 callers
Function
dochugw
move a monster; if a threat to busy hero, stop doing whatever it is */
src/monmove.c:203
↓ 3 callers
Function
dofiretrap
src/trap.c:4232
↓ 3 callers
Function
dog_nutrition
src/dogmove.c:155
↓ 3 callers
Function
dogushforth
Gushing forth along LOS from (u.ux, u.uy) */
src/fountain.c:119
↓ 3 callers
Function
dohistory
the 'V' command; also a choice for '?' */
src/pager.c:2960
↓ 3 callers
Function
donate_gold
opposite of costly_gold(); hero has dropped gold in a shop; called from sellobj(); ought to be called from subfrombill() too */
src/shk.c:3876
↓ 3 callers
Method
done
outdated/win/Qt3/qt3_win.cpp:1316
↓ 3 callers
Function
done2
"#quit" command or keyboard interrupt */
src/end.c:89
↓ 3 callers
Function
done_eating
src/eat.c:543
↓ 3 callers
Function
done_object_cleanup
deal with some objects which may be in an abnormal state at end of game */
src/end.c:850
↓ 3 callers
Function
dopotion
src/potion.c:617
↓ 3 callers
Function
dosave
the #save command */
src/save.c:42
↓ 3 callers
Function
dosdoor
src/mklev.c:614
↓ 3 callers
Function
doset_add_menu
doset(#optionsfull command) menu entries for compound options */
src/options.c:9017
↓ 3 callers
Function
dowhatis
src/pager.c:2318
↓ 3 callers
Function
dragon_armor_handling
handle extra abilities for hero wearing dragon scale armor */
src/do_wear.c:797
↓ 3 callers
Function
drain_en
src/trap.c:5201
↓ 3 callers
Function
drop
src/do.c:713
↓ 3 callers
Function
drop_boulder_on_monster
src/read.c:2340
↓ 3 callers
Function
drop_boulder_on_player
src/read.c:2293
↓ 3 callers
Function
drop_uswapwep
uswapwep has become cursed while in two-weapon combat mode or hero is attempting to dual-wield when it is already cursed or hands are slippery */
src/wield.c:808
↓ 3 callers
Function
droppables
pick a carried item for pet to drop */
src/dogmove.c:27
↓ 3 callers
Function
dungeon_branch
* Return the branch for the given dungeon. * * This function assumes: * + This is not called with "Dungeons of Doom". * + There is only
src/dungeon.c:1869
↓ 3 callers
Function
dxdy_moveok
grid bug handling */
src/cmd.c:3901
↓ 3 callers
Function
dynamic_multi_reason
multi_reason is usually a literal string; here we generate one that has the causing monster's type included */
src/uhitm.c:103
↓ 3 callers
Function
eat_brains
handle side-effects of mind flayer's tentacle attack */
src/eat.c:602
↓ 3 callers
Function
eating_conducts
src/eat.c:575
↓ 3 callers
Function
emit_return_to_default
sys/windows/consoletty.c:658
↓ 3 callers
Function
end_engulf
src/uhitm.c:4948
↓ 3 callers
Function
endgamelevelname
get the name of an endgame level; topten.c does something similar */
src/dungeon.c:3409
↓ 3 callers
Function
endmultishot
if in midst of multishot shooting/throwing, stop early */
src/dothrow.c:589
↓ 3 callers
Function
engulf_target
return True if magr is allowed to swallow mdef, False otherwise */
src/mhitm.c:806
↓ 3 callers
Function
eraseoldlocks
sys/unix/unixunix.c:79
↓ 3 callers
Function
experience
return # of exp points for mtmp after nk killed */
src/exper.c:84
↓ 3 callers
Function
explode_oil
lit potion of oil is exploding; extinguish it as a light source before possibly killing the hero and attempting to save bones */
src/explode.c:973
↓ 3 callers
Function
expulsion
* Expel the player to the stairs on the parent of the quest dungeon. * * This assumes that the hero is currently _in_ the quest dungeon and that *
src/quest.c:185
↓ 3 callers
Function
ext_func_tab_from_func
src/cmd.c:3015
↓ 3 callers
Function
extcmd_initiator
'#' or whatever has been bound to doextcmd() in its place */
src/cmd.c:456
↓ 3 callers
Function
extcmd_via_menu
src/cmd.c:739
↓ 3 callers
Function
extcmds_getentry
get entry i in the extended commands list. for windowport use. */
src/cmd.c:2100
↓ 3 callers
Function
fatal_corpse_mistake
check whether hero is bare-handedly touching a cockatrice corpse */
src/pickup.c:284
↓ 3 callers
Function
figurine_location_checks
src/apply.c:2510
↓ 3 callers
Function
file_exists
sys/unix/unixunix.c:465
↓ 3 callers
Function
file_newer
sys/windows/windmain.c:1150
↓ 3 callers
Function
fill_special_room
* Fill a room (shop, zoo, etc...) with appropriate stuff. */
src/sp_lev.c:2730
↓ 3 callers
Function
find_justpicked
src/pickup.c:647
↓ 3 callers
Function
find_optparam
find the '=' or ':' */
src/cfgfiles.c:587
↓ 3 callers
Function
findfirst
* Functions to get filenames using wildcards */
sys/windows/windsys.c:146
↓ 3 callers
Function
findit
returns number of things found */
src/detect.c:1791
↓ 3 callers
Function
findtravelpath
* Find a path from the destination (u.tx,u.ty) back to (u.ux,u.uy). * A shortest path is returned. If guess is TRUE, consider various * inaccessibl
src/hack.c:1265
↓ 3 callers
Function
finish_quest
Either you've returned to quest leader while carrying the quest artifact or you've just thrown it to/at him or her. If quest completion text ha
src/quest.c:225
↓ 3 callers
Function
fire_damage_chain
* Apply fire_damage() to an entire chain. * * Return number of objects destroyed. --ALI */
src/trap.c:4549
↓ 3 callers
Function
fix_shop_damage
normally repair is done when a shopkeeper moves, but we also try to catch up for lost time when reloading a previously visited level */
src/shk.c:4849
↓ 3 callers
Function
fixup_oil
potions of oil use their obj->age field differently from other potions so changing potion type to or from oil needs to have that fixed up */
src/mkobj.c:2024
↓ 3 callers
Function
flash_hits_mon
returns 1 if light flash has noticeable effect on 'mtmp', 0 otherwise */
src/uhitm.c:6340
↓ 3 callers
Function
flip_level
transpose top with bottom or left with right or both; sometimes called for new special levels, or for any level via the #wizfliplevel command */
src/sp_lev.c:532
↓ 3 callers
Function
flip_level_rnd
randomly transpose top with bottom or left with right or both; caller controls which transpositions are allowed */
src/sp_lev.c:966
↓ 3 callers
Function
floor_trigger
is trap type ttyp triggered by touching the floor? */
src/trap.c:1060
↓ 3 callers
Function
floorfood
Returns an object representing food. * Object may be either on floor or in inventory. */
src/eat.c:3578
↓ 3 callers
Function
flushout
sys/share/pcsys.c:44
↓ 3 callers
Function
foodword
src/eat.c:2497
↓ 3 callers
Function
fopen_xpm_file
Open an XPM file and parse its header + color table. * Populates XpmScreen and ttable[]. * Returns 1 on success, 0 on failure. */
sys/amiga/xpm2iff_host.c:81
↓ 3 callers
Function
free_maildata
src/mail.c:89
↓ 3 callers
Function
free_ttlist
src/topten.c:614
↓ 3 callers
Function
freefruitchn
src/restore.c:486
↓ 3 callers
Function
fry_by_god
src/pray.c:693
↓ 3 callers
Function
gainstr
strength gain */
src/attrib.c:202
↓ 3 callers
Function
gd_move
* return 1: guard moved, 0: guard didn't, -1: let m_move do it, -2: died */
src/vault.c:887
↓ 3 callers
Function
gender
returns 3 values (0=male, 1=female, 2=none) */
src/mondata.c:1179
↓ 3 callers
Function
generate_stairs_find_room
src/mklev.c:2218
↓ 3 callers
Function
genl_status_finish
src/windows.c:908
↓ 3 callers
Function
genl_status_init
src/windows.c:892
↓ 3 callers
Function
get_atkdam_type
src/mondata.c:1659
↓ 3 callers
Function
get_bkglyph_and_framecolor
src/display.c:2506
↓ 3 callers
Function
get_msg_line
win/curses/cursmesg.c:981
↓ 3 callers
Function
get_rnd_text
Gets a random line of text from file 'fname', and returns it. rng is the random number generator to use, and should act like rn2 does. */
src/rumors.c:498
↓ 3 callers
Function
get_saved_games
get list of saved games owned by current user */
src/files.c:1398
↓ 3 callers
Function
get_strength_str
src/botl.c:20
↓ 3 callers
Function
get_table_objclass
src/sp_lev.c:3454
↓ 3 callers
Function
get_traptype_byname
src/sp_lev.c:4378
↓ 3 callers
Function
getcad
src/shk.c:5137
↓ 3 callers
Function
getrumor
src/rumors.c:109
↓ 3 callers
Function
ghack_init_glyphs
outdated/win/gnome/gnglyph.c:50
↓ 3 callers
Function
glow_strength
relative strength that Sting is glowing (0..3), to select verb */
src/artifact.c:2441
↓ 3 callers
Method
glyph
mis-named routine to get the pixmap for a particular glyph
win/Qt/qt_glyph.cpp:204
↓ 3 callers
Function
glyph2ttychar
src/windows.c:1409
↓ 3 callers
Function
glyph_find_core
src/glyphs.c:233
↓ 3 callers
Function
gods_angry
src/pray.c:1428
↓ 3 callers
Function
golemhp
src/makemon.c:2232
← previous
next →
2,201–2,300 of 8,785, ranked by callers