MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 3 callersFunctionready_weapon
src/wield.c:168
↓ 3 callersFunctionreal_getresgid
sys/unix/unixres.c:38
↓ 3 callersFunctionreal_getresuid
sys/unix/unixres.c:26
↓ 3 callersFunctionrecalc_telepat_range
calc the range of hero's unblind telepathy */
src/worn.c:49
↓ 3 callersFunctionrecharge
recharge an object; curse_bless is -1 if the recharging implement was cursed, +1 if blessed, 0 otherwise. */
src/read.c:728
↓ 3 callersFunctionreconstrain_map
put hero back underwater or underground or engulfed */
src/detect.c:84
↓ 3 callersFunctionredraw_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 callersFunctionredraw_message_window
win/X11/winmesg.c:447
↓ 3 callersFunctionrelease_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 callersFunctionrelobj
release the objects the creature is carrying */
src/steal.c:874
↓ 3 callersFunctionremove_region
* Remove a region from the list & free it. */
src/region.c:343
↓ 3 callersFunctionrename
(old_name, new_name)
sys/vms/oldcrtl.c:144
↓ 3 callersFunctionreorder_invent
sort the inventory; used by addinv() and doorganize() */
src/invent.c:738
↓ 3 callersFunctionrescham
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 callersFunctionrescued_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 callersFunctionreset_commands
called at startup and after number_pad is twiddled */
src/cmd.c:3343
↓ 3 callersFunctionreset_eat
called when eating interrupted by an event */
src/eat.c:308
↓ 3 callersFunctionreset_faint
call when a faint must be prematurely terminated */
src/eat.c:3353
↓ 3 callersFunctionreset_needed_visuals
src/options.c:8979
↓ 3 callersFunctionreset_status_hilites
called by options handling when 'statushilites' value is changed */
src/botl.c:2320
↓ 3 callersFunctionresists_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 callersFunctionrestore_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 callersFunctionrestore_colors
outdated/sys/atari/tos.c:334
↓ 3 callersFunctionrestore_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 callersFunctionrestrap
unwatched hiders may hide again; if so, returns True */
src/mon.c:4661
↓ 3 callersFunctionreward_untrap
src/trap.c:5529
↓ 3 callersFunctionrewind_nhfile
src/files.c:533
↓ 3 callersFunctionrhack
src/cmd.c:3626
↓ 3 callersFunctionrloc_pos_ok
check whether monster can arrive at location <x,y> via Tport (or fall) */
src/teleport.c:1574
↓ 3 callersFunctionrnd_rect
src/rect.c:103
↓ 3 callersFunctionrnd_treefruit_at
called when a tree is kicked; never returns Null */
src/mkobj.c:1983
↓ 3 callersFunctionrndmonnum_adj
select a random, common monster type, with adjusted difficulty */
src/mkobj.c:394
↓ 3 callersFunctionrndmonst_adj
select a random monster type, with adjusted difficulty */
src/makemon.c:1658
↓ 3 callersFunctionrow_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 callersFunctionrun_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 callersFunctionsavelife
try to get the player back in a viable state after being killed */
src/end.c:703
↓ 3 callersFunctionsco_mapoff
sys/share/unixtty.c:375
↓ 3 callersFunctionsee_monster_closeup
mark individual monster type as seen from close-up, if we haven't seen it nearby before */
src/mon.c:5970
↓ 3 callersFunctionsee_with_infrared
src/display.c:193
↓ 3 callersFunctionsee_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 callersFunctionselection_clear
clear selection, setting all locations to value val */
src/selvar.c:47
↓ 3 callersFunctionselection_clone
src/selvar.c:64
↓ 3 callersFunctionselection_iterate
src/selvar.c:725
↓ 3 callersFunctionselection_size_description
return a description of the selection size */
src/selvar.c:763
↓ 3 callersFunctionself_lookat
shared by monster probing (via query_objlist!) as well as lookat() */
src/pager.c:107
↓ 3 callersFunctionsengr_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 callersMethodsetBackgroundColor
outdated/win/Qt3/qt3tableview.cpp:187
↓ 3 callersMethodsetColor
outdated/win/Qt3/tileedit.cpp:179
↓ 3 callersMethodsetSize
win/Qt/qt_glyph.cpp:244
↓ 3 callersFunctionset_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 callersFunctionset_cknown_lknown
set the cknown and lknown flags on an object if they're applicable */
src/invent.c:2623
↓ 3 callersFunctionset_cost
calculate how much the shk will pay when buying [all of] an object */
src/shk.c:3147
↓ 3 callersFunctionset_grayscale
win/share/tiletext.c:91
↓ 3 callersFunctionset_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 callersFunctionset_message_slider
Move the message window's vertical scrollbar's slider to the bottom. */
win/X11/winmesg.c:58
↓ 3 callersFunctionset_residency
src/shk.c:271
↓ 3 callersFunctionset_voice
src/sounds.c:2160
↓ 3 callersFunctionset_wall
Return wall mode for a horizontal or vertical wall. */
src/display.c:3186
↓ 3 callersFunctionset_wallprop_from_str
set wall under hero undiggable/unphaseable from string */
src/objnam.c:3538
↓ 3 callersFunctionsetctty
sys/vms/vmstty.c:369
↓ 3 callersFunctionshk_impaired
is shopkeeper impaired, so they cannot act? */
src/shk.c:4440
↓ 3 callersFunctionshopdig
You are digging in the shop. */
src/shk.c:5018
↓ 3 callersFunctionshow_conduct
display conducts; for doconduct(), also disclose() and dump_everything() */
src/insight.c:2088
↓ 3 callersFunctionshow_map_spot
used by magic mapping, clairvoyance, and wand of probing */
src/detect.c:1371
↓ 3 callersFunctionshow_overview
called for #overview or for end of game disclosure */
src/dungeon.c:3304
↓ 3 callersFunctionshow_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 callersFunctionshrink_worm
* shrink_worm() * * Remove the tail segment of the worm (the starting segment of the list). */
src/worm.c:174
↓ 3 callersFunctionskinback
src/polyself.c:1953
↓ 3 callersFunctionsliparm
creature will slide out of armor */
src/mondata.c:631
↓ 3 callersFunctionsokoban_in_play
return True if sokoban branch has been entered, False otherwise */
src/insight.c:2516
↓ 3 callersFunctionsome_armor
src/do_wear.c:2629
↓ 3 callersFunctionspec_abon
special attack bonus */
src/artifact.c:1075
↓ 3 callersFunctionspec_applies
decide whether an artifact's special attacks apply against mtmp */
src/artifact.c:1008
↓ 3 callersFunctionspec_m2
return the M2 flags of monster that an artifact's special attacks apply * against */
src/artifact.c:1064
↓ 3 callersFunctionspell_would_be_useless
Some spells are useless under some circumstances. */
src/mcastu.c:908
↓ 3 callersFunctionsplash_lit
called when lit object is hit by water */
src/apply.c:1517
↓ 3 callersFunctionsplitsubfields
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 callersFunctionspo_endroom
src/sp_lev.c:4118
↓ 3 callersFunctionspot_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 callersFunctionsrandom
(x)
sys/share/random.c:203
↓ 3 callersFunctionstairway_free_all
src/stairs.c:26
↓ 3 callersFunctionstandoutbeg
win/tty/termcap.c:692
↓ 3 callersFunctionstandoutend
win/tty/termcap.c:699
↓ 3 callersFunctionstart_melt_ice_timeout
* Usually start a melt_ice timer; sometimes the ice will become * permanent instead. */
src/zap.c:5087
↓ 3 callersFunctionstatus_hilite2str
src/botl.c:3589
↓ 3 callersFunctionstatus_hilite_add_threshold
src/botl.c:2783
↓ 3 callersFunctionstop_donning
called by steal() during theft from hero; interrupt donning/doffing */
src/do_wear.c:1687
↓ 3 callersFunctionstr_end_is
determine whether 'str' ends in 'chkstr' */
src/hacklib.c:240
↓ 3 callersFunctionstrbuf_empty
strbuf_empty() frees allocated memory and set strbuf to initial state */
src/strutil.c:48
↓ 3 callersFunctionstrbuf_reserve
strbuf_reserve() ensure strbuf->str has storage for len characters */
src/strutil.c:27
↓ 3 callersFunctionstumble_on_door_mimic
src/lock.c:758
↓ 3 callersFunctionswallowit
src/dothrow.c:1467
↓ 3 callersFunctiontc_field
look for a particular field name */
sys/share/tclib.c:316
↓ 3 callersFunctionteleport_pet
src/teleport.c:785
↓ 3 callersFunctiontemp_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 callersFunctiontended_shop
src/shk.c:1117
↓ 3 callersFunctionterm_clear_screen
sys/msdos/video.c:220
↓ 3 callersFunctionterm_start_screen
sys/msdos/video.c:548
↓ 3 callersFunctiontgetflag
look up a boolean entry */
sys/share/tclib.c:232
↓ 3 callersFunctiontgoto
produce a string which will position the cursor at <row,col> if output */
sys/share/tclib.c:344
← previousnext →2,501–2,600 of 8,785, ranked by callers