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
ready_weapon
src/wield.c:168
↓ 3 callers
Function
real_getresgid
sys/unix/unixres.c:38
↓ 3 callers
Function
real_getresuid
sys/unix/unixres.c:26
↓ 3 callers
Function
recalc_telepat_range
calc the range of hero's unblind telepathy */
src/worn.c:49
↓ 3 callers
Function
recharge
recharge an object; curse_bless is -1 if the recharging implement was cursed, +1 if blessed, 0 otherwise. */
src/read.c:728
↓ 3 callers
Function
reconstrain_map
put hero back underwater or underground or engulfed */
src/detect.c:84
↓ 3 callers
Function
redraw_map
for panning beyond a clipped region; resend the current map data to the interface rather than use docrt()'s regeneration of that data */
src/display.c:1777
↓ 3 callers
Function
redraw_message_window
win/X11/winmesg.c:447
↓ 3 callers
Function
release_hold
hero is held by a monster or engulfed or holding a monster and has zapped opening/unlocking magic at holder/engulfer/holdee or at self */
src/zap.c:577
↓ 3 callers
Function
relobj
release the objects the creature is carrying */
src/steal.c:874
↓ 3 callers
Function
remove_region
* Remove a region from the list & free it. */
src/region.c:343
↓ 3 callers
Function
rename
(old_name, new_name)
sys/vms/oldcrtl.c:144
↓ 3 callers
Function
reorder_invent
sort the inventory; used by addinv() and doorganize() */
src/invent.c:738
↓ 3 callers
Function
rescham
force all chameleons and mimics to become themselves and werecreatures to revert to human form; called when Protection_from_shape_changers gets
src/mon.c:4620
↓ 3 callers
Function
rescued_from_terrain
life-saving or divine rescue has attempted to get the hero out of hostile terrain and put hero in an unexpected spot or failed due to overfull leve
src/trap.c:5013
↓ 3 callers
Function
reset_commands
called at startup and after number_pad is twiddled */
src/cmd.c:3343
↓ 3 callers
Function
reset_eat
called when eating interrupted by an event */
src/eat.c:308
↓ 3 callers
Function
reset_faint
call when a faint must be prematurely terminated */
src/eat.c:3353
↓ 3 callers
Function
reset_needed_visuals
src/options.c:8979
↓ 3 callers
Function
reset_status_hilites
called by options handling when 'statushilites' value is changed */
src/botl.c:2320
↓ 3 callers
Function
resists_blnd_by_arti
True iff monster is resistant to light-induced blindness due to worn or wielded magical equipment (used to decide whether to show sparkle animat
src/mondata.c:277
↓ 3 callers
Function
restore_cham
called when restoring a monster from a saved level; protection against shape-changing might be different now than it was at the time the level w
src/mon.c:4648
↓ 3 callers
Function
restore_colors
outdated/sys/atari/tos.c:334
↓ 3 callers
Function
restore_menu
put up a menu listing each character from this player's saved games; returns 1: use svp.plname[], 0: new game, -1: quit */
src/restore.c:1535
↓ 3 callers
Function
restrap
unwatched hiders may hide again; if so, returns True */
src/mon.c:4661
↓ 3 callers
Function
reward_untrap
src/trap.c:5529
↓ 3 callers
Function
rewind_nhfile
src/files.c:533
↓ 3 callers
Function
rhack
src/cmd.c:3626
↓ 3 callers
Function
rloc_pos_ok
check whether monster can arrive at location <x,y> via Tport (or fall) */
src/teleport.c:1574
↓ 3 callers
Function
rnd_rect
src/rect.c:103
↓ 3 callers
Function
rnd_treefruit_at
called when a tree is kicked; never returns Null */
src/mkobj.c:1983
↓ 3 callers
Function
rndmonnum_adj
select a random, common monster type, with adjusted difficulty */
src/mkobj.c:394
↓ 3 callers
Function
rndmonst_adj
select a random monster type, with adjusted difficulty */
src/makemon.c:1658
↓ 3 callers
Function
row_refresh
used by tty after menu or text popup has temporarily overwritten the map and it has been erased so shows spaces, not necessarily S_unexplored */
src/display.c:2146
↓ 3 callers
Function
run_timers
* Pick off timeout elements from the global queue and call their functions. * Do this until their time is less than or equal to the move count. */
src/timeout.c:2221
↓ 3 callers
Function
savelife
try to get the player back in a viable state after being killed */
src/end.c:703
↓ 3 callers
Function
sco_mapoff
sys/share/unixtty.c:375
↓ 3 callers
Function
see_monster_closeup
mark individual monster type as seen from close-up, if we haven't seen it nearby before */
src/mon.c:5970
↓ 3 callers
Function
see_with_infrared
src/display.c:193
↓ 3 callers
Function
see_wsegs
* see_wsegs() * * Refresh all of the segments of the given worm. This is only called * from see_monster() in display.c or when a monster goes m
src/worm.c:486
↓ 3 callers
Function
selection_clear
clear selection, setting all locations to value val */
src/selvar.c:47
↓ 3 callers
Function
selection_clone
src/selvar.c:64
↓ 3 callers
Function
selection_iterate
src/selvar.c:725
↓ 3 callers
Function
selection_size_description
return a description of the selection size */
src/selvar.c:763
↓ 3 callers
Function
self_lookat
shared by monster probing (via query_objlist!) as well as lookat() */
src/pager.c:107
↓ 3 callers
Function
sengr_at
Decide whether a particular string is engraved at a specified * location; a case-insensitive substring match is used. * Ignore headstones, in case t
src/engrave.c:250
↓ 3 callers
Method
setBackgroundColor
outdated/win/Qt3/qt3tableview.cpp:187
↓ 3 callers
Method
setColor
outdated/win/Qt3/tileedit.cpp:179
↓ 3 callers
Method
setSize
win/Qt/qt_glyph.cpp:244
↓ 3 callers
Function
set_circle_buf
* Set the information buffer size to count lines. We do this by creating * a circular linked list of elements, each of which represents a line of *
win/X11/winmesg.c:284
↓ 3 callers
Function
set_cknown_lknown
set the cknown and lknown flags on an object if they're applicable */
src/invent.c:2623
↓ 3 callers
Function
set_cost
calculate how much the shk will pay when buying [all of] an object */
src/shk.c:3147
↓ 3 callers
Function
set_grayscale
win/share/tiletext.c:91
↓ 3 callers
Function
set_menuobjsyms_flags
iflags.menuobjsyms also controls iflags.menu_head_objsym, and iflags.use_menu_glyphs; they affect execution but are no longer options */
src/options.c:7445
↓ 3 callers
Function
set_message_slider
Move the message window's vertical scrollbar's slider to the bottom. */
win/X11/winmesg.c:58
↓ 3 callers
Function
set_residency
src/shk.c:271
↓ 3 callers
Function
set_voice
src/sounds.c:2160
↓ 3 callers
Function
set_wall
Return wall mode for a horizontal or vertical wall. */
src/display.c:3186
↓ 3 callers
Function
set_wallprop_from_str
set wall under hero undiggable/unphaseable from string */
src/objnam.c:3538
↓ 3 callers
Function
setctty
sys/vms/vmstty.c:369
↓ 3 callers
Function
shk_impaired
is shopkeeper impaired, so they cannot act? */
src/shk.c:4440
↓ 3 callers
Function
shopdig
You are digging in the shop. */
src/shk.c:5018
↓ 3 callers
Function
show_conduct
display conducts; for doconduct(), also disclose() and dump_everything() */
src/insight.c:2088
↓ 3 callers
Function
show_map_spot
used by magic mapping, clairvoyance, and wand of probing */
src/detect.c:1371
↓ 3 callers
Function
show_overview
called for #overview or for end of game disclosure */
src/dungeon.c:3304
↓ 3 callers
Function
show_transient_light
lit 'obj' has been thrown or kicked and is passing through x,y on the way to its destination; show its light so that hero has a chance to rememb
src/light.c:256
↓ 3 callers
Function
shrink_worm
* shrink_worm() * * Remove the tail segment of the worm (the starting segment of the list). */
src/worm.c:174
↓ 3 callers
Function
skinback
src/polyself.c:1953
↓ 3 callers
Function
sliparm
creature will slide out of armor */
src/mondata.c:631
↓ 3 callers
Function
sokoban_in_play
return True if sokoban branch has been entered, False otherwise */
src/insight.c:2516
↓ 3 callers
Function
some_armor
src/do_wear.c:2629
↓ 3 callers
Function
spec_abon
special attack bonus */
src/artifact.c:1075
↓ 3 callers
Function
spec_applies
decide whether an artifact's special attacks apply against mtmp */
src/artifact.c:1008
↓ 3 callers
Function
spec_m2
return the M2 flags of monster that an artifact's special attacks apply * against */
src/artifact.c:1064
↓ 3 callers
Function
spell_would_be_useless
Some spells are useless under some circumstances. */
src/mcastu.c:908
↓ 3 callers
Function
splash_lit
called when lit object is hit by water */
src/apply.c:1517
↓ 3 callers
Function
splitsubfields
splitsubfields(): splits str in place into '+' or '&' separated strings. returns number of strings, or -1 if more than maxsf or MAX_SUBFIELDS */
src/botl.c:2687
↓ 3 callers
Function
spo_endroom
src/sp_lev.c:4118
↓ 3 callers
Function
spot_time_expires
* When is the spot timer of type func_index going to expire? * Returns 0L if no such timer. */
src/timeout.c:2444
↓ 3 callers
Function
srandom
(x)
sys/share/random.c:203
↓ 3 callers
Function
stairway_free_all
src/stairs.c:26
↓ 3 callers
Function
standoutbeg
win/tty/termcap.c:692
↓ 3 callers
Function
standoutend
win/tty/termcap.c:699
↓ 3 callers
Function
start_melt_ice_timeout
* Usually start a melt_ice timer; sometimes the ice will become * permanent instead. */
src/zap.c:5087
↓ 3 callers
Function
status_hilite2str
src/botl.c:3589
↓ 3 callers
Function
status_hilite_add_threshold
src/botl.c:2783
↓ 3 callers
Function
stop_donning
called by steal() during theft from hero; interrupt donning/doffing */
src/do_wear.c:1687
↓ 3 callers
Function
str_end_is
determine whether 'str' ends in 'chkstr' */
src/hacklib.c:240
↓ 3 callers
Function
strbuf_empty
strbuf_empty() frees allocated memory and set strbuf to initial state */
src/strutil.c:48
↓ 3 callers
Function
strbuf_reserve
strbuf_reserve() ensure strbuf->str has storage for len characters */
src/strutil.c:27
↓ 3 callers
Function
stumble_on_door_mimic
src/lock.c:758
↓ 3 callers
Function
swallowit
src/dothrow.c:1467
↓ 3 callers
Function
tc_field
look for a particular field name */
sys/share/tclib.c:316
↓ 3 callers
Function
teleport_pet
src/teleport.c:785
↓ 3 callers
Function
temp_resist
if 'prop' is only set because of a timed value (so not an intrinsic attribute or because of polymorph shape or worn or carried gear), return its
src/eat.c:452
↓ 3 callers
Function
tended_shop
src/shk.c:1117
↓ 3 callers
Function
term_clear_screen
sys/msdos/video.c:220
↓ 3 callers
Function
term_start_screen
sys/msdos/video.c:548
↓ 3 callers
Function
tgetflag
look up a boolean entry */
sys/share/tclib.c:232
↓ 3 callers
Function
tgoto
produce a string which will position the cursor at <row,col> if output */
sys/share/tclib.c:344
← previous
next →
2,501–2,600 of 8,785, ranked by callers