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
↓ 1 callers
Function
alignAD
outdated/sys/mac/macmenu.c:786
↓ 1 callers
Function
align_shift
* shift the probability of a monster's generation by * comparing the dungeon alignment and monster alignment. * return an integer in
src/makemon.c:1610
↓ 1 callers
Function
all_options_apes
src/options.c:9642
↓ 1 callers
Function
all_options_autocomplete
add changed autocompletions to the string buffer in config file format */
src/cmd.c:3295
↓ 1 callers
Function
all_options_conds
gather all non-default cond_xyz options into one OPTIONS=cond_foo,!cond_bar entry spread across multiple lines with backslash+newline if needed;
src/options.c:9555
↓ 1 callers
Function
all_options_menucolors
append menucolor lines to strbuf */
src/options.c:9594
↓ 1 callers
Function
all_options_msgtypes
src/options.c:9627
↓ 1 callers
Function
all_options_palette
src/options.c:9657
↓ 1 callers
Function
all_options_statushilites
src/botl.c:4476
↓ 1 callers
Function
all_options_strbuf
return strbuf of all options, to write to file */
src/options.c:9677
↓ 1 callers
Function
alloc_bits
* Allocate memory for the bitmap holding the tty window */
outdated/sys/mac/mactty.c:360
↓ 1 callers
Function
alloc_doors
(re)allocate space for svd.doors array */
src/mklev.c:555
↓ 1 callers
Function
allocate_offscreen_world
* Set up a GWorld in the record */
outdated/sys/mac/mactty.c:121
↓ 1 callers
Function
allunworn
called when saving with FREEING flag set has just discarded inventory */
src/worn.c:187
↓ 1 callers
Function
alt_color_spec
src/coloratt.c:1110
↓ 1 callers
Function
alternative_palette
src/coloratt.c:1047
↓ 1 callers
Function
ami_wininit_data
sys/amiga/winfuncs.c:64
↓ 1 callers
Function
amii_display_nhwindow
sys/amiga/winfuncs.c:1536
↓ 1 callers
Function
amii_lprint_glyph
* Glyph buffering routine. Called instead of WindowPuts(). */
sys/amiga/winchar.c:946
↓ 1 callers
Function
amii_putsym
sys/amiga/winstr.c:382
↓ 1 callers
Function
amii_raw_print
sys/amiga/winfuncs.c:2075
↓ 1 callers
Function
amii_setclipped
sys/amiga/winfuncs.c:2192
↓ 1 callers
Function
amii_setdrawpens
sys/amiga/winfuncs.c:1354
↓ 1 callers
Function
amii_sethipens
sys/amiga/winfuncs.c:1290
↓ 1 callers
Function
amii_setpens
sys/amiga/winreq.c:759
↓ 1 callers
Function
amii_start_glyphout
sys/amiga/winchar.c:1021
↓ 1 callers
Function
amiv_start_glyphout
sys/amiga/winchar.c:728
↓ 1 callers
Function
amulet
If you've found the Amulet, make the Wizard appear after some time */ Also, give hints about portal locations, if amulet is worn/wielded -dlc */
src/wizard.c:60
↓ 1 callers
Function
angry_shk_exists
src/shk.c:1330
↓ 1 callers
Function
any_light_source
return true if there exist any light sources */
src/light.c:718
↓ 1 callers
Function
any_worn_armor_ok
getobj callback for blessed destroy armor. suggest any worn armor, even if covered by other armor */
src/do_wear.c:3479
↓ 1 callers
Function
anything_to_s
src/botl.c:1885
↓ 1 callers
Function
append_honorific
src/shk.c:3601
↓ 1 callers
Function
apply_hilite_attributes
win/X11/winstat.c:1806
↓ 1 callers
Function
armcat_to_wornmask
convert an armor category to corresponding wornmask */
src/worn.c:249
↓ 1 callers
Function
armor_status
armor description for status lines */
src/botl.c:558
↓ 1 callers
Function
armoroff
src/do_wear.c:1919
↓ 1 callers
Function
arti_invoke_cost
return TRUE if artifact object's invoke cost can be paid (and pay it) */
src/artifact.c:2105
↓ 1 callers
Function
arti_invoke_cost_pw
return the amount of Pw invoking an object costs. return a negative value, if obj invoking cannot be paid with Pw */
src/artifact.c:2090
↓ 1 callers
Function
arti_reflects
used to check whether a monster is getting reflection from an artifact */
src/artifact.c:536
↓ 1 callers
Function
artifact_has_invprop
src/artifact.c:2298
↓ 1 callers
Function
artitouch
src/quest.c:124
↓ 1 callers
Function
askQuit
outdated/sys/mac/macmenu.c:1104
↓ 1 callers
Function
askSave
outdated/sys/mac/macmenu.c:1077
↓ 1 callers
Function
ask_about_panic_save
caller couldn't find a regular save file but did find a panic one */
sys/unix/unixunix.c:262
↓ 1 callers
Function
ask_do_tutorial
ask user if they want a tutorial, except if tutorial boolean option has been set in config - either on or off - in which case just obey that set
src/options.c:429
↓ 1 callers
Function
ask_enable
Enable the dialog item with the given index */
outdated/sys/mac/macmenu.c:272
↓ 1 callers
Function
assign_candy_wrapper
assign a wrapper to a candy bar stack */
src/read.c:303
↓ 1 callers
Function
assign_rnd_level
dest = src + rn1(range) */
src/dungeon.c:1985
↓ 1 callers
Function
assign_video
* Process defaults.nh OPTIONS=video:xxxx * * where (current) legitimate values are: * * autodetect (attempt to determine the adapter type)
sys/msdos/video.c:1006
↓ 1 callers
Function
assign_videocolors
* Process defaults.nh OPTIONS=videocolors:xxx * Left to right assignments for: * red green brown blue magenta cyan orange br.green yellow *
sys/msdos/video.c:928
↓ 1 callers
Function
assign_videoshades
sys/msdos/video.c:846
↓ 1 callers
Function
attemptingto
outdated/sys/mac/macerrs.c:139
↓ 1 callers
Function
attributes_enlightenment
attributes: intrinsics and the like, other non-obvious capabilities */
src/insight.c:1486
↓ 1 callers
Function
authorize_wizard_mode
validate wizard mode if player has requested access to it */
sys/vms/vmsmain.c:472
↓ 1 callers
Function
autopick
* Pick from the given list using flags.pickup_types. Return the number * of items picked (not counts). Create an array that returns pointers * and
src/pickup.c:974
↓ 1 callers
Function
autoquiver
KMH -- Automatically fill quiver */ Suggested by Jeffrey Bay <jbay@convex.hp.com> */
src/dothrow.c:380
↓ 1 callers
Function
avoid_ceiling
src/dungeon.c:1700
↓ 1 callers
Function
avoid_running_into_trap_or_liquid
when running/rushing, avoid stepping on a known trap or pool of liquid. returns TRUE if avoided. */
src/hack.c:2494
↓ 1 callers
Function
avoid_trap_andor_region
if paranoid_confirm:Trap is enabled, check whether the next step forward needs player confirmation due to visible region or discovered trap; res
src/hack.c:2514
↓ 1 callers
Function
baalz_fixup
fix up Baalzebub's lair, which depicts a level-sized beetle; its legs are walls within solid rock--regular wallification classifies them as supe
src/mkmaze.c:474
↓ 1 callers
Function
back_buffer_allocate
win/win32/mhstatus.c:45
↓ 1 callers
Function
back_buffer_free
win/win32/mhstatus.c:36
↓ 1 callers
Function
back_buffer_init
win/win32/mhstatus.c:64
↓ 1 callers
Function
backfire
src/zap.c:2604
↓ 1 callers
Function
background_enlightenment
ARGSUSED*/ display role, race, alignment and such to en_win */
src/insight.c:467
↓ 1 callers
Function
backstabbable
can monster be stabbed in the back? */
src/uhitm.c:920
↓ 1 callers
Function
basics_enlightenment
hit points, energy points, armor class -- essential information which doesn't fit very well in other categories */ ARGSUSED*/
src/insight.c:727
↓ 1 callers
Function
bc_sanity_check
src/ball.c:1033
↓ 1 callers
Function
bclose
src/sfstruct.c:446
↓ 1 callers
Function
beg
pet makes "I'm hungry" noises */
src/sounds.c:518
↓ 1 callers
Function
beginRecover
outdated/sys/mac/mrecover.c:934
↓ 1 callers
Function
bestow_artifact
src/pray.c:1780
↓ 1 callers
Function
better_not_take_that_off
src/do_wear.c:2989
↓ 1 callers
Function
better_not_try_to_drop_that
src/do.c:946
↓ 1 callers
Function
big_little_match
determine whether two permonst indices are part of the same progression; existence of progressions with more than one step makes it a bit tricky */
src/mondata.c:1330
↓ 1 callers
Function
bill_box_content
recursive billing of objects within containers. */
src/shk.c:3386
↓ 1 callers
Function
bind_specialkey
src/cmd.c:3193
↓ 1 callers
Function
bitmap_to_img
outdated/win/gem/bitmfile.c:50
↓ 1 callers
Function
bl_idx_to_fldname
used by X11 for "tty status" even when STATUS_HILITES is disabled */
src/botl.c:2159
↓ 1 callers
Function
blackout
as a temporary corridor is removed, set stone locations and adjacent spots to unlit; if player used scroll/wand/spell of light while inside the
src/vault.c:122
↓ 1 callers
Function
blengr
src/engrave.c:1764
↓ 1 callers
Function
block_entry
used in domove to block diagonal shop-entry; u.ux, u.uy should always be a door */
src/shk.c:5825
↓ 1 callers
Function
blocked_boulder
assumes isok() at one space away, but not necessarily at two */
src/pray.c:2676
↓ 1 callers
Function
boh_loss
src/pickup.c:2536
↓ 1 callers
Function
bones_include_name
check whether current level contains bones from a particular player */
src/bones.c:761
↓ 1 callers
Function
book_cursed
'book' has just become cursed; if we're reading it, interrupt */
src/spell.c:342
↓ 1 callers
Function
book_disappears
a spellbook has been destroyed or the character has changed levels; the stored address for the current book is no longer valid */
src/spell.c:645
↓ 1 callers
Function
boomhit
process thrown boomerang, which travels a curving path... * A multi-shot volley ought to have all missiles in flight at once, * but we're called sep
src/zap.c:4147
↓ 1 callers
Function
bounce_dir
which direction a ray bounces. current location is sx,sy, direction is ddx, ddy. bounceback is 1/n chance of bouncing back. caller must ensur
src/zap.c:4663
↓ 1 callers
Function
bound_digging
put a non-diggable/non-phaseable boundary around the initial portion * of a level map. assumes that no level will initially put things * beyond the
src/mkmaze.c:1440
↓ 1 callers
Function
br_string2
better br_string */
src/dungeon.c:3387
↓ 1 callers
Function
break_armor
src/polyself.c:1156
↓ 1 callers
Function
breamu
monster breathes at you (ranged) */
src/mthrowu.c:1274
↓ 1 callers
Function
breathwep_name
Return the name of a breath weapon. If the player is hallucinating, return * a silly name instead. * typ is AD_MAGM, AD_FIRE, etc */
src/mthrowu.c:1082
↓ 1 callers
Function
buffer_clear_to_end_of_line
sys/windows/consoletty.c:867
↓ 1 callers
Function
build_bmfh
win/share/tile2bmp.c:274
↓ 1 callers
Function
build_bmih
win/share/tile2bmp.c:287
↓ 1 callers
Function
build_bmptile
win/share/tile2bmp.c:323
↓ 1 callers
Function
build_options
src/mdlib.c:668
← previous
next →
4,101–4,200 of 8,785, ranked by callers