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
↓ 2 callers
Function
arti_speak
KMH -- Talking artifacts are finally implemented */
src/artifact.c:2278
↓ 2 callers
Function
askchain
* Walk through the chain starting at objchn and ask for all objects * with olet in olets (if nonNULL) and satisfying ckfn (if nonnull) * whether the
src/invent.c:2376
↓ 2 callers
Function
assesstty
* returns TRUE if things are ok */
win/tty/wintty.c:3557
↓ 2 callers
Function
assign_warnings
src/options.c:7540
↓ 2 callers
Function
assigninvlet
src/invent.c:693
↓ 2 callers
Function
authorize_explore_mode
similar to above, validate explore mode access */
sys/vms/vmsmain.c:482
↓ 2 callers
Function
auto_describe
src/getpos.c:637
↓ 2 callers
Function
autokey
pick a tool for autounlock */
src/lock.c:288
↓ 2 callers
Function
avoid_moving_on_liquid
src/hack.c:2462
↓ 2 callers
Function
avoid_moving_on_trap
src/hack.c:2443
↓ 2 callers
Function
awaken_scare
wake up monster, possibly scare it */
src/music.c:44
↓ 2 callers
Function
awaken_soldiers
Awake soldiers anywhere the level (and any nearby monster). */
src/music.c:161
↓ 2 callers
Function
back_buffer_size
win/win32/mhstatus.c:55
↓ 2 callers
Function
bad_location
* Bad if: * pos is occupied OR * pos is inside restricted region (nlx,nly,nhx,nhy) OR * NOT (pos is corridor and a maze level OR pos
src/mkmaze.c:340
↓ 2 callers
Function
bail
clean up and quit */
outdated/win/gem/wingem.c:122
↓ 2 callers
Function
ballfall
ball&chain might hit hero when falling through a trap door */
src/ball.c:42
↓ 2 callers
Function
bane_applies
src/artifact.c:992
↓ 2 callers
Function
bannerc_string
src/mdlib.c:348
↓ 2 callers
Function
base_soundname_to_filename
src/sounds.c:2083
↓ 2 callers
Function
basic_menu_colors
set up a menu for picking a color, one that shows each name in its color; overrides player's MENUCOLORS with a set of "blue"=blue, "red"=red, and
src/coloratt.c:529
↓ 2 callers
Function
beautiful
charisma is supposed to include qualities like leadership and personal magnetism rather than just appearance, but it has devolved to this... */
src/apply.c:996
↓ 2 callers
Function
bee_eat_jelly
killer bee 'mon' is on a spot containing lump of royal jelly 'obj' and will eat it if there is no queen bee on the level; return 1: mon died, 0:
src/monmove.c:393
↓ 2 callers
Function
best_target
src/dogmove.c:837
↓ 2 callers
Function
bfsize
util/sftags.c:1843
↓ 2 callers
Function
bhito
* Object obj was hit by the effect of the wand/spell otmp. Return * non-zero if the wand/spell had any effect. */
src/zap.c:2118
↓ 2 callers
Function
bite
Take a single bite from a piece of food, checking for choking and * modifying usedtime. Returns 1 if they choked and survived, 0 otherwise. */
src/eat.c:3132
↓ 2 callers
Function
bitmap_to_file
outdated/win/gem/bitmfile.c:323
↓ 2 callers
Function
blank_novel
soaking or cancelling a novel converts it into a blank spellbook but needs more than just changing its otyp (caller is responsible for that) */
src/zap.c:1366
↓ 2 callers
Function
blink_cursor
* Blink cursor on window if necessary */
outdated/sys/mac/mactty.c:1056
↓ 2 callers
Function
block_door
used in domove to block diagonal shop-exit */ x,y should always be a door */
src/shk.c:5790
↓ 2 callers
Function
blocking_terrain
return TRUE if terrain at x,y blocks linedup checks */
src/mthrowu.c:1281
↓ 2 callers
Function
bottlename
src/potion.c:1487
↓ 2 callers
Function
boxlock_invent
Lock or unlock all boxes in inventory */
src/zap.c:2686
↓ 2 callers
Function
br_string
Convert a branch type to a string usable by print_dungeon(). */
src/dungeon.c:2239
↓ 2 callers
Function
breakarm
creature will break out of armor */
src/mondata.c:639
↓ 2 callers
Function
breakchestlock
src/lock.c:161
↓ 2 callers
Function
breamm
monster breathes at monster (ranged) */
src/mthrowu.c:1092
↓ 2 callers
Function
bribe
src/minion.c:360
↓ 2 callers
Function
build_pixel
Build a pixel structure, given the mask words in the second header and * a packed 16 or 32 bit pixel */
win/share/bmptiles.c:563
↓ 2 callers
Function
build_savebones_compat_string
src/mdlib.c:392
↓ 2 callers
Function
build_tibtile
sys/msdos/tile2bin.c:233
↓ 2 callers
Function
bwrite
src/sfstruct.c:493
↓ 2 callers
Function
calc_mattacku_vars
calc some variables needed for mattacku() */
src/mhitu.c:447
↓ 2 callers
Function
calc_pole_range
* Calculate allowable range (pole's reach is always 2 steps): * unskilled and basic: orthogonal direction, 4..4; * skilled: as basic, plus knight'
src/apply.c:3370
↓ 2 callers
Function
call_kops
src/shk.c:509
↓ 2 callers
Function
can_do_extcmd
src/cmd.c:462
↓ 2 callers
Function
cancel_doff
despite their names, cancel_don() and cancel_doff() both apply to both donning and doffing... */
src/do_wear.c:1644
↓ 2 callers
Function
cancel_item
cancel obj, possibly carried by you or a monster */
src/zap.c:1238
↓ 2 callers
Function
candy_wrapper_text
return the text of a candy bar's wrapper */
src/read.c:295
↓ 2 callers
Function
cannot_push_msg
src/hack.c:246
↓ 2 callers
Function
cant_wield_corpse
src/wield.c:137
↓ 2 callers
Function
canwearobj
* canwearobj checks to see whether the player can wear a piece of armor * * inputs: otmp (the piece of armor) * noisy (if TRUE give error m
src/do_wear.c:2029
↓ 2 callers
Function
carry_count
could we carry `obj'? if not, could we carry some of it/them? */
src/pickup.c:1569
↓ 2 callers
Function
carry_obj_effects
* Some objects are affected by being carried. * Make those adjustments here. Called _after_ the object * has been added to the hero's or monster's i
src/invent.c:1186
↓ 2 callers
Function
castmu
return values: * 1: successful spell * 0: unsuccessful spell */
src/mcastu.c:129
↓ 2 callers
Function
catch_lit
Called when potentially lightable object is affected by fire_damage(). Return TRUE if object becomes lit and FALSE otherwise --ALI */
src/apply.c:1576
↓ 2 callers
Method
cellHeight
outdated/win/Qt3/qt3tableview.cpp:619
↓ 2 callers
Method
cellWidth
outdated/win/Qt3/qt3tableview.cpp:564
↓ 2 callers
Function
change_palette
src/coloratt.c:1097
↓ 2 callers
Function
chat_with_leader
src/quest.c:281
↓ 2 callers
Function
chdrive
* Chdrive() changes the default drive. */
sys/msdos/msdos.c:451
↓ 2 callers
Function
check_and_set_font
check_and_set_font ensures that the current font will render the symbols * that are currently being used correctly. If they will not be rendered *
sys/windows/consoletty.c:2073
↓ 2 callers
Function
check_contained
obj sanity check: check objects inside container */
src/mkobj.c:3373
↓ 2 callers
Function
check_here
look at the objects at our location, unless there are too many of them */
src/pickup.c:429
↓ 2 callers
Function
check_innate_abil
src/attrib.c:817
↓ 2 callers
Function
check_linux_console
sys/share/unixtty.c:444
↓ 2 callers
Function
check_misc_menu_command
src/options.c:693
↓ 2 callers
Function
check_mongen_order
check that monsters are in correct difficulty order for mkclass() */
src/makemon.c:1782
↓ 2 callers
Function
check_sco_console
sys/share/unixtty.c:388
↓ 2 callers
Function
check_user_string
sys/libnh/libnhmain.c:660
↓ 2 callers
Function
check_user_string
sys/vms/vmsunix.c:385
↓ 2 callers
Function
choose_stairs
pick a destination for a covetous monster to flee to so that it can heal or for guardians (Kops) to congregate at to block hero's progress */
src/wizard.c:331
↓ 2 callers
Function
chr_u_on_lvl
src/dungeon.c:2255
↓ 2 callers
Function
christen_orc
src/do_name.c:1556
↓ 2 callers
Function
cl_end
sys/msdos/video.c:236
↓ 2 callers
Function
classmon
src/topten.c:1355
↓ 2 callers
Function
clearAll
win/win32/mhmap.c:1078
↓ 2 callers
Function
clear_all_glyphmap_colors
src/glyphs.c:1166
↓ 2 callers
Function
clear_glyph_buffer
* Turn the 3rd screen into UNEXPLORED that needs to be refreshed. */
src/display.c:2106
↓ 2 callers
Function
clear_id_mapping
Clear all structures for object and monster ID mapping. */
src/restore.c:1446
↓ 2 callers
Function
clear_map
win/curses/curswins.c:952
↓ 2 callers
Function
clear_path
* Use vision tables to determine if there is a clear path from * (col1,row1) to (col2,row2). This is used by: * m_cansee() * m_canseeu()
src/vision.c:1612
↓ 2 callers
Function
clear_text_buffer
Empty the text buffer */
win/X11/wintext.c:426
↓ 2 callers
Function
clear_tty_window
* Clear an area */
outdated/sys/mac/mactty.c:1099
↓ 2 callers
Function
clearrolefilter
src/role.c:1357
↓ 2 callers
Function
climb_pit
shared code for climbing out of a pit */
src/trap.c:4182
↓ 2 callers
Function
clipbrd_save
outdated/win/gem/wingem1.c:269
↓ 2 callers
Function
cloneu
src/mhitu.c:2615
↓ 2 callers
Method
clusters
win/Qt/qt_clust.h:20
↓ 2 callers
Function
cmap_to_type
convert a display symbol for terrain into topology type; used for remembered terrain when mimics pose as furniture */
src/mkroom.c:911
↓ 2 callers
Function
cmd_from_dir
returns the key bound to a movement command for given DIR_ and MV_ mode */
src/cmd.c:3028
↓ 2 callers
Function
cmd_safety_prevention
src/do.c:2324
↓ 2 callers
Function
cmov
outdated/sys/mac/mttymain.c:376
↓ 2 callers
Function
cnf_parser_done
caller has finished with 'parser' (except for 'rv' so leave that intact) */
src/cfgfiles.c:1676
↓ 2 callers
Function
cnf_parser_init
Initialize config parser data */
src/cfgfiles.c:1661
↓ 2 callers
Function
compactify
compact a string of inventory letters by dashing runs of letters */
src/invent.c:1626
↓ 2 callers
Function
compare_blstats
* This compares the previous stat with the current stat, * and returns one of the following results based on that: * * if prev_value < new_value
src/botl.c:1808
↓ 2 callers
Function
complex_dump
src/sfbase.c:624
↓ 2 callers
Function
cond_menu
display a menu of all available status condition options and let player toggled them on or off; returns True iff any changes are made */
src/botl.c:1375
↓ 2 callers
Function
condattr
win/curses/cursstat.c:1375
← previous
next →
2,801–2,900 of 8,785, ranked by callers