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
get_cnf_role_opt
fetch a saved role|race|gender|alignment value suitable for writing into a new run-time config file */
src/options.c:8020
↓ 4 callers
Function
get_count
gather typed digits into a number in *count; return the next non-digit */
src/cmd.c:5009
↓ 4 callers
Function
get_default_configfile
src/cfgfiles.c:148
↓ 4 callers
Function
get_file_handle
outdated/sys/wince/celib.c:98
↓ 4 callers
Function
get_freeing_nhfile
src/files.c:1298
↓ 4 callers
Function
get_mleash
assuming mtmp->mleashed has been checked */
src/apply.c:879
↓ 4 callers
Function
get_plname_from_file
"name-role-race-gend-algn" occurs very early in a save file; sometimes we want the whole thing, other times just "name" (for svp.plname[]) */
src/restore.c:1337
↓ 4 callers
Function
get_rect_size
win/win32/mhdlg.c:507
↓ 4 callers
Function
get_scr_size
sys/msdos/video.c:76
↓ 4 callers
Function
get_tty_attrib
* Read or change attributes for the tty. Note that some attribs may * very well clear and reallocate the bitmap when changed, whereas * others (colo
outdated/sys/mac/mactty.c:931
↓ 4 callers
Function
get_wall_for_db
* Find the drawbridge wall associated with a drawbridge. */
src/dbridge.c:210
↓ 4 callers
Function
get_wormno
* get_wormno() * * Find an unused worm tail slot and return the index. A zero means that * there are no slots available. This means that the w
src/worm.c:95
↓ 4 callers
Function
getfp
util/makedefs.c:465
↓ 4 callers
Function
getlock
sys/vms/vmsunix.c:98
↓ 4 callers
Function
getlogin
sys/amiga/amidos.c:79
↓ 4 callers
Function
getmailstatus
src/mail.c:96
↓ 4 callers
Function
getmattk
select a monster's next attack, possibly substituting for its usual one */
src/mhitu.c:309
↓ 4 callers
Function
getreturn
sys/share/pcsys.c:146
↓ 4 callers
Function
ghack_image_from_glyph
outdated/win/gnome/gnglyph.c:165
↓ 4 callers
Function
ghack_player_sel_dialog
outdated/win/gnome/gnplayer.c:36
↓ 4 callers
Function
gods_upset
The g_align god is upset with you. */
src/pray.c:1435
↓ 4 callers
Function
grepsearch
util/makedefs.c:763
↓ 4 callers
Function
handle_tip
maybe show a helpful gameplay tip? returns True if tip gets shown */
src/hack.c:1851
↓ 4 callers
Function
hero_breaks
* The hero causes breakage of an object (throwing, dropping it, etc.) * Return 0 if the object didn't break, 1 if the object broke. */
src/dothrow.c:2416
↓ 4 callers
Function
highlight_yn
if 'slow' and 'highlight_prompt', set the yn_label widget to look like part of the map when idle or to invert background and foreground when a p
win/X11/winX.c:2545
↓ 4 callers
Function
hilight_label
this is almost an exact duplicate of hilight_value() */
win/X11/winstat.c:1515
↓ 4 callers
Function
holds_up_web
src/monmove.c:1226
↓ 4 callers
Function
ice_descr
src/pager.c:613
↓ 4 callers
Function
impact_disturbs_zombies
maybe disturb buried zombies when an object is dropped or thrown nearby */
src/hack.c:1786
↓ 4 callers
Function
in_out_region
* check whether player enters/leaves one or more regions. */
src/region.c:479
↓ 4 callers
Function
in_topl_mode
outdated/sys/mac/macwin.c:969
↓ 4 callers
Function
in_trouble
* Return 0 if nothing particular seems wrong, positive numbers for * serious trouble, and negative numbers for comparative annoyances. * This return
src/pray.c:197
↓ 4 callers
Function
inherits
decide whether a shopkeeper will take possession of dying hero's invent; when this returns True, it should call set_repo_loc() before returning;
src/shk.c:2576
↓ 4 callers
Function
init_primary_symbols
initialize defaults for the primary symset */
src/symbols.c:166
↓ 4 callers
Function
init_rogue_symbols
initialize defaults for the rogue symset */
src/symbols.c:186
↓ 4 callers
Function
init_ttycolor
sys/windows/consoletty.c:1616
↓ 4 callers
Function
insufficient_funds
gold+credit checking+feedback common to dopayobj() and buy_container() */
src/shk.c:2454
↓ 4 callers
Function
interesting_to_discover
src/o_init.c:525
↓ 4 callers
Function
is_edible
* Decide whether a particular object can be eaten by the possibly * polymorphed character. Not used for monster checks. */
src/eat.c:90
↓ 4 callers
Function
is_magic_key
Master Key is magic key if its bless/curse state meets our criteria: not cursed for rogues or blessed for non-rogues */
src/artifact.c:2774
↓ 4 callers
Function
is_ok_location
src/sp_lev.c:1279
↓ 4 callers
Function
is_worn
src/invent.c:2155
↓ 4 callers
Function
isatty
outdated/sys/wince/celib.c:405
↓ 4 callers
Function
join
src/mklev.c:438
↓ 4 callers
Function
keyValue
convert a Qt key event into a simple ASCII character
win/Qt/qt_key.cpp:19
↓ 4 callers
Function
kill_genocided_monsters
kill all members of genocided species */
src/mon.c:5638
↓ 4 callers
Function
kind_name
src/timeout.c:1994
↓ 4 callers
Function
known_hitum
really hit target monster; returns TRUE if it still lives */
src/uhitm.c:586
↓ 4 callers
Function
l_selection_push_copy
push a copy of selectionvar tmp to lua stack */
src/nhlsel.c:111
↓ 4 callers
Method
layout
win/Qt/qt_main.cpp:1191
↓ 4 callers
Function
ldrname
return your role leader's name */
src/questpgr.c:49
↓ 4 callers
Function
learn_egg_type
Learn to recognize eggs of the given type. */
src/timeout.c:1192
↓ 4 callers
Function
learnscrolltyp
src/read.c:57
↓ 4 callers
Function
level_tele
src/teleport.c:1164
↓ 4 callers
Function
litroom
src/read.c:2490
↓ 4 callers
Function
litstate_rnd
src/mkmap.c:442
↓ 4 callers
Function
look_all
src/pager.c:1978
↓ 4 callers
Function
lookup_id_mapping
* Global routine to look up a mapping. If found, return TRUE and fill * in the new ID value. Otherwise, return false and return -1 in the new * ID
src/restore.c:1483
↓ 4 callers
Function
lowc
(c)
outdated/sys/wince/winmain.c:95
↓ 4 callers
Function
m_lined_up
src/mthrowu.c:1375
↓ 4 callers
Function
m_poisongas_ok
Would monster be OK with poison gas? */ Does not check for actual poison gas at the location. */ Returns one of M_POISONGAS_foo */
src/mon.c:329
↓ 4 callers
Function
mac_display_nhwindow
* display/select/update the window. * If f is true, this window should be "modal" - don't return * until presumed seen. */
outdated/sys/mac/macwin.c:1295
↓ 4 callers
Function
makemap_prepost
src/cmd.c:985
↓ 4 callers
Function
makeniche
src/mklev.c:739
↓ 4 callers
Function
map_engraving
* map_engraving() * * Map the engraving and print it out if directed. */
src/display.c:312
↓ 4 callers
Function
mapfrag_fromstr
src/sp_lev.c:226
↓ 4 callers
Function
mapfrag_get
src/sp_lev.c:265
↓ 4 callers
Function
mar_cliparound
outdated/win/gem/wingem1.c:2601
↓ 4 callers
Function
mar_iflags_numpad
outdated/win/gem/wingem.c:104
↓ 4 callers
Function
maybe_reset_pick
level change or object deletion; context may no longer be valid */
src/lock.c:268
↓ 4 callers
Function
maybereleaseobuf
used by display_pickinv (invent.c, main whole-inventory routine) to release each successive doname() result in order to try to avoid clobbering
src/objnam.c:166
↓ 4 callers
Function
mdamagem
* See comment at top of mattackm(), for return values. */
src/mhitm.c:1015
↓ 4 callers
Function
mdrop_obj
drop one object taken from a (possibly dead) monster's inventory */
src/steal.c:813
↓ 4 callers
Function
menu_loot
loot current_container (take things out or put things in), using a menu */
src/pickup.c:3264
↓ 4 callers
Function
mesg_add_line
win/curses/cursmesg.c:923
↓ 4 callers
Function
mhitm_ad_sedu
seduce and also steal item */
src/uhitm.c:4622
↓ 4 callers
Function
mhitm_knockback
monster hits another monster hard enough to knock it back? */
src/uhitm.c:5246
↓ 4 callers
Function
mhurtle
Move a monster through the air for a few squares. */
src/dothrow.c:1129
↓ 4 callers
Function
missum
src/uhitm.c:5197
↓ 4 callers
Function
mk_gen_ok
decide whether it's ok to generate a candidate monster by mkclass() */
src/makemon.c:1735
↓ 4 callers
Function
mkcavepos
Change level topology. Messes with vision tables and ignores things like * boulders in the name of a nice effect. Vision will get fixed up again *
src/dig.c:47
↓ 4 callers
Function
mon_aligntyp
get a monster's alignment type without caller needing EPRI & EMIN */
src/priest.c:279
↓ 4 callers
Function
mon_arrive
called from resurrect() in addition to losedogs() */
src/dog.c:419
↓ 4 callers
Function
monster_nearby
something like lookaround, but we are not running */ react only to monsters that might hit us */
src/hack.c:4105
↓ 4 callers
Function
mpoisons_subj
return how a poison attack was delivered */
src/mhitu.c:144
↓ 4 callers
Function
mswin_input_pop
get event from the queue and delete it */
outdated/sys/wince/mhinput.c:65
↓ 4 callers
Function
mswin_map_mode
set map mode */
win/win32/mhmap.c:387
↓ 4 callers
Function
mswin_nh_input_init
initialize input queue */
win/win32/mhinput.c:23
↓ 4 callers
Function
mswin_nh_input_init
initialize input queue */
outdated/sys/wince/mhinput.c:23
↓ 4 callers
Function
mswin_nhbell
nhbell() -- Beep at user. [This will exist at least until sounds are redone, since sounds aren't attributable to windows an
win/win32/mswproc.c:1511
↓ 4 callers
Function
mswin_window_mark_dead
win/win32/mswproc.c:926
↓ 4 callers
Function
my_clear_area
outdated/win/gem/wingem1.c:585
↓ 4 callers
Function
name_to_monclass
monster class from user input; used for genocide and controlled polymorph; returns 0 rather than MAXMCLASSES if no match is found */
src/mondata.c:1089
↓ 4 callers
Function
nartifact_exist
src/artifact.c:461
↓ 4 callers
Function
newedog
src/dog.c:22
↓ 4 callers
Function
neweshk
src/shknam.c:556
↓ 4 callers
Function
newmcorpsenm
allocate a new mcorpsenm field for a monster; only need mextra itself */
src/makemon.c:2369
↓ 4 callers
Function
newoextra
util/sfctool.c:1149
↓ 4 callers
Function
newomid
src/mkobj.c:142
↓ 4 callers
Function
nhmd4_body
src/nhmd4.c:82
← previous
next →
1,801–1,900 of 8,785, ranked by callers