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
light_hits_gremlin
src/uhitm.c:6424
↓ 2 callers
Function
link_doors_rooms
link all doors in the map to their corresponding rooms */
src/sp_lev.c:1121
↓ 2 callers
Function
linux_mapon
sys/share/unixtty.c:424
↓ 2 callers
Function
list_view_height
win/win32/mhdlg.c:384
↓ 2 callers
Function
litter
ball&chain cause hero to randomly lose stuff from inventory */
src/ball.c:964
↓ 2 callers
Function
livelog_newform
log a message if non-poly'd hero's gender has changed */
src/polyself.c:306
↓ 2 callers
Function
load_boldfont
win/X11/winX.c:695
↓ 2 callers
Function
load_font
sys/msdos/font.c:13
↓ 2 callers
Function
load_lua
src/nhlua.c:2391
↓ 2 callers
Function
load_special
* General loader */
src/sp_lev.c:6453
↓ 2 callers
Function
loadfruitchn
src/restore.c:467
↓ 2 callers
Function
lock_mouse_buttons
save&clear the mouse button actions, or restore the saved ones */
src/cmd.c:3325
↓ 2 callers
Function
long_to_any
src/hack.c:80
↓ 2 callers
Function
longest_option_name
src/options.c:8507
↓ 2 callers
Function
look_at_monster
src/pager.c:421
↓ 2 callers
Function
look_at_object
src/pager.c:379
↓ 2 callers
Function
look_engrs
display of discovered engravings including headstones, even when they're covered provided they've been read */
src/pager.c:2143
↓ 2 callers
Function
look_traps
give a /M style display of discovered traps, even when they're covered */
src/pager.c:2077
↓ 2 callers
Function
lookaround_known_room
describe the room at x,y */
src/cmd.c:1275
↓ 2 callers
Function
lookup_novel
figure out canonical novel title from player-specified one */
src/do_name.c:1626
↓ 2 callers
Function
loot_mon
loot_mon() returns amount of time passed. */
src/pickup.c:2430
↓ 2 callers
Function
loot_xname
sortloot() formatting routine; for alphabetizing, not shown to user */
src/invent.c:308
↓ 2 callers
Function
lose_guardian_angel
guardian angel has been affected by conflict so is abandoning hero */
src/minion.c:467
↓ 2 callers
Function
losedogs
src/dog.c:303
↓ 2 callers
Function
losespells
forget a random selection of known spells due to amnesia; they used to be lost entirely, as if never learned, but now we just set the memory ret
src/spell.c:1762
↓ 2 callers
Function
losestr
strength loss, may kill you; cause may be poison or monster like 'a' */
src/attrib.c:220
↓ 2 callers
Function
m_avoid_kicked_loc
monster avoids a location nx, ny, if hero kicked that location */
src/monmove.c:1296
↓ 2 callers
Function
m_bad_boulder_spot
attempt to screen out locations where a mimic-as-boulder shouldn't occur */
src/sp_lev.c:1863
↓ 2 callers
Function
m_break_boulder
monster mtmp breaks boulder at x,y */
src/monmove.c:142
↓ 2 callers
Function
m_detach
'mtmp' is going away; remove effects of mtmp from other data structures */
src/mon.c:2733
↓ 2 callers
Function
m_digweapon_check
have monster wield a pick-axe if it wants to dig and it has one; return True if it spends this move wielding one, False otherwise */
src/monmove.c:1107
↓ 2 callers
Function
m_everyturn_effect
called every turn for each living monster on the map, and the hero; caller makes sure that we're not called for DEADMONSTER() */
src/monmove.c:649
↓ 2 callers
Function
m_is_steadfast
check whether equipment protects against knockback */
src/uhitm.c:5217
↓ 2 callers
Function
m_move
Handles the movement of a standard monster. * Return values: * 0: did not move, but can still attack and do other stuff; * 1: moved, possibly can a
src/monmove.c:1714
↓ 2 callers
Function
m_move_aggress
The part of m_move that deals with a monster attacking another monster (and * that monster possibly retaliating). * Extracted into its own function
src/monmove.c:2087
↓ 2 callers
Function
m_postmove_effect
do whatever effects monster has after moving. called for both monsters and polyed hero. for hero, called after location changes, to prevent s
src/monmove.c:671
↓ 2 callers
Function
m_slips_free
check whether slippery clothing protects from hug or wrap attack */ [currently assumes that you are the attacker] */
src/uhitm.c:2055
↓ 2 callers
Function
m_use_healing
src/muse.c:336
↓ 2 callers
Function
m_useupall
remove an entire item from a monster's inventory; destroy that item */
src/mthrowu.c:1153
↓ 2 callers
Function
mac_clear_nhwindow
outdated/sys/mac/macwin.c:886
↓ 2 callers
Function
mac_doprev_message
outdated/sys/mac/macwin.c:1632
↓ 2 callers
Function
macronamelimit
limit a name to 30 characters (26 if "xyz_" prefix precedes it) */
util/makedefs.c:2178
↓ 2 callers
Function
magic_negation
armor that sufficiently covers the body might be able to block magic */
src/mhitu.c:1088
↓ 2 callers
Function
main
outdated/sys/mac/macmain.c:35
↓ 2 callers
Function
make_corpse
src/mon.c:563
↓ 2 callers
Function
make_gas_cloud
details of gas cloud creation which are common to create_gas_cloud() and create_gas_cloud_selection() */
src/region.c:1181
↓ 2 callers
Function
make_happy_shoppers
called by make_happy_shk() and also by losedogs() for migrating shk */
src/shk.c:1439
↓ 2 callers
Function
make_lockname
src/files.c:2223
↓ 2 callers
Function
make_version
src/mdlib.c:247
↓ 2 callers
Function
makecorridors
create random corridors between rooms */
src/mklev.c:521
↓ 2 callers
Function
makemap_unmakemon
src/wizcmds.c:72
↓ 2 callers
Function
makeroguerooms
src/extralev.c:192
↓ 2 callers
Function
map_cleanup
do a post-level-creation cleanup of map, such as removing boulders and traps from lava */
src/sp_lev.c:327
↓ 2 callers
Function
map_input
* Keyboard and button event handler for map window. */
win/X11/winmap.c:1156
↓ 2 callers
Function
map_monst
extracted from monster_detection() so can be shared by do_vicinity_map() */
src/detect.c:121
↓ 2 callers
Function
mapfrag_error
src/sp_lev.c:280
↓ 2 callers
Function
mapfrag_match
src/sp_lev.c:297
↓ 2 callers
Function
mapmode2menuid
win/win32/mhmain.c:1261
↓ 2 callers
Function
mapmode2menuid
outdated/sys/wince/mhmain.c:1103
↓ 2 callers
Function
mar_change_button_char
outdated/win/gem/wingem1.c:1011
↓ 2 callers
Function
mar_destroy_nhwindow
(window)
outdated/win/gem/wingem1.c:2539
↓ 2 callers
Function
mar_get_msg_history
outdated/win/gem/wingem.c:110
↓ 2 callers
Function
mar_hol_inv
outdated/win/gem/wingem1.c:1496
↓ 2 callers
Function
mar_menu_set_slider
outdated/win/gem/wingem1.c:2079
↓ 2 callers
Function
mar_more
outdated/win/gem/wingem1.c:1396
↓ 2 callers
Function
mar_raw_print
(str)
outdated/win/gem/wingem1.c:3274
↓ 2 callers
Function
mar_set_dir_keys
outdated/win/gem/wingem1.c:1018
↓ 2 callers
Function
mar_set_inv_win
(Anzahl, Breite)
outdated/win/gem/wingem1.c:1545
↓ 2 callers
Function
mar_set_msg_align
outdated/win/gem/wingem1.c:403
↓ 2 callers
Function
mar_set_msg_visible
outdated/win/gem/wingem1.c:411
↓ 2 callers
Function
mar_set_rogue
(what)
outdated/win/gem/wingem1.c:2887
↓ 2 callers
Function
mar_set_status_align
outdated/win/gem/wingem1.c:395
↓ 2 callers
Function
mar_update_value
outdated/win/gem/wingem1.c:2626
↓ 2 callers
Function
match_glyph
src/glyphs.c:457
↓ 2 callers
Function
match_maptyps
Does typ match with levl[][].typ, considering special types MATCH_WALL and MAX_TYPE (aka transparency)? */
src/sp_lev.c:216
↓ 2 callers
Function
match_sym
src/symbols.c:851
↓ 2 callers
Function
max_mon_load
src/mon.c:1926
↓ 2 callers
Function
maybe_dunk_boulders
if x,y has lava or water, dunk any boulders at that location into it */
src/apply.c:3896
↓ 2 callers
Function
maybe_finish_sokoban
called when a trap has been deleted or had its ttyp replaced */
src/trap.c:7058
↓ 2 callers
Function
maybe_finished_meal
called when eatfood occupation has been interrupted, or in the case of theft, is about to be interrupted */
src/eat.c:3876
↓ 2 callers
Function
maybe_lvltport_feedback
usually called from goto_level(); might be called from Sting_effects() */
src/do.c:2031
↓ 2 callers
Function
maybe_sdoor
do we want a secret door/corridor? */
src/mklev.c:1792
↓ 2 callers
Function
maybe_skip_seps
the change in format when this extended role selection was converted from tty-only to tty+curses+? made the role selection menu require two pages
src/role.c:2776
↓ 2 callers
Function
maybe_tame
monster is hit by scroll of taming's effect */
src/read.c:1043
↓ 2 callers
Function
maybe_wail
src/hack.c:4210
↓ 2 callers
Function
maybe_write_ls
* Part of the light source save routine. Count up the number of light * sources that would be written. If write_it is true, actually write * the l
src/light.c:570
↓ 2 callers
Function
maybe_write_timer
src/timeout.c:2626
↓ 2 callers
Function
maybewakesteed
when attempting to saddle or mount a sleeping steed, try to wake it up (for the saddling case, it won't be u.usteed yet) */
src/steed.c:826
↓ 2 callers
Function
maze_inbounds
src/mkmaze.c:893
↓ 2 callers
Function
mbag_explodes
* Decide whether an object being placed into a magic bag will cause * it to explode. If the object is a bag itself, check recursively. */
src/pickup.c:2487
↓ 2 callers
Function
md_ignored_features
src/mdlib.c:235
↓ 2 callers
Function
md_rush
* Make the mail daemon run through the dungeon. The daemon will run over * any monsters that are in its path, but will replace them later. Return
src/mail.c:287
↓ 2 callers
Function
mdisplacem
* mdisplacem() -- attacker moves defender out of the way; * returns same results as mattackm(). */
src/mhitm.c:178
↓ 2 callers
Function
mem_err
* Memory-related error */
outdated/sys/mac/mactty.c:60
↓ 2 callers
Function
menuError
outdated/sys/mac/macmenu.c:822
↓ 2 callers
Function
menu_get_accel
win/curses/cursdial.c:916
↓ 2 callers
Function
menu_max_height
win/curses/cursdial.c:1780
↓ 2 callers
Function
menu_win_size
win/curses/cursdial.c:1031
↓ 2 callers
Function
menudrop_split
src/do.c:963
↓ 2 callers
Function
mfind0
src/detect.c:1964
← previous
next →
3,301–3,400 of 8,785, ranked by callers