MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 2 callersFunctionset_door_orientation
used by sel_set_door() and link_doors_rooms() */
src/sp_lev.c:1041
↓ 2 callersFunctionset_emergency_io
sys/windows/windmain.c:1326
↓ 2 callersFunctionset_error_savefile
change pre-existing savefile name to indicate an error savefile */
src/files.c:1136
↓ 2 callersFunctionset_known_good_console_font
set_known_good_console_font sets the code page and font used by the console * to settings know to work well with NetHack. It also saves the original
sys/windows/consoletty.c:2200
↓ 2 callersFunctionset_levelfile_name
util/recover.c:168
↓ 2 callersFunctionset_lit
* Low-level lit-field update routine. */
src/read.c:2470
↓ 2 callersFunctionset_map_u
src/utf8map.c:36
↓ 2 callersFunctionset_ok_location_func
src/sp_lev.c:1273
↓ 2 callersFunctionset_tilefile_path
win/share/tile2bmp.c:350
↓ 2 callersFunctionset_wall_state
Called from mklev. Scan the level and set the wall modes. */
src/display.c:3329
↓ 2 callersFunctionset_wallprop_in_selection
src/sp_lev.c:5910
↓ 2 callersFunctionset_wear
called in moveloop()'s prologue to set side-effects of worn start-up items; also used by poly_obj() when a worn item gets transformed */
src/do_wear.c:1538
↓ 2 callersFunctionset_widths
win/X11/winstat.c:2270
↓ 2 callersFunctionsetftty
sys/vms/vmstty.c:494
↓ 2 callersFunctionsetgemprobs
src/o_init.c:53
↓ 2 callersFunctionsetrolefilter
src/role.c:1283
↓ 2 callersFunctionsettrack
add to track */
src/track.c:23
↓ 2 callersFunctionsetup_algnmenu
src/role.c:2978
↓ 2 callersFunctionsetup_gendmenu
src/role.c:2942
↓ 2 callersFunctionsetup_racemenu
src/role.c:2904
↓ 2 callersFunctionsetup_rolemenu
add entries a-Archeologist, b-Barbarian, &c to menu being built in 'win' */
src/role.c:2853
↓ 2 callersFunctionshade_aware
src/uhitm.c:1991
↓ 2 callersFunctionshade_glare
decide whether this obj is effective when attacking against shades; does not consider the bonus for blessed objects versus undead */
src/artifact.c:554
↓ 2 callersFunctionshiny_orc_stuff
src/mkmaze.c:747
↓ 2 callersFunctionsho_obj_return_to_u
the currently thrown object is returning to you (not for boomerangs) */
src/dothrow.c:1441
↓ 2 callersFunctionshop_debt
* Figure out how much is owed to a given shopkeeper. * At present, we ignore any amount robbed from the shop, to avoid * turning the `$' command int
src/shk.c:989
↓ 2 callersFunctionshop_obj_sanity
check obj->unpaid and obj->no_charge for shop sanity; caller has verified that at least one of them is set */
src/mkobj.c:3133
↓ 2 callersFunctionshort_oname
xname,doname,&c with long results reformatted to omit some stuff */
src/objnam.c:2008
↓ 2 callersFunctionshould_displace
* should_displace() * * Displacement of another monster is a last resort and only * used on approach. If there are better ways to get to target, *
src/monmove.c:1069
↓ 2 callersFunctionshould_givit
The "do we or do we not give the intrinsic" logic from givit(), extracted * into its own function. Depends on the monster's level and the type of *
src/eat.c:960
↓ 2 callersFunctionshould_mulch_missile
whether or not object should be destroyed when it hits its target */
src/dothrow.c:1975
↓ 2 callersFunctionshow_direction_keys
src/cmd.c:4121
↓ 2 callersFunctionshow_gamelog
#chronicle details */
src/insight.c:2560
↓ 2 callersFunctionshow_menu_controls
display keys for menu actions; used by cmd.c '?i' and pager.c '?k' */
src/options.c:9069
↓ 2 callersFunctionshow_mon_or_warn
display something on monster layer; may need to fixup object layer */
src/display.c:481
↓ 2 callersFunctionshrink_dlvl
win/tty/wintty.c:4870
↓ 2 callersFunctionshrink_enc
win/tty/wintty.c:4859
↓ 2 callersFunctionshrinking_glob_gone
a glob has shrunk away to nothing; handle owornmask, then delete glob */
src/mkobj.c:1672
↓ 2 callersFunctionshuffle
shuffle descriptions on objects o_low to o_high */
src/o_init.c:112
↓ 2 callersFunctionshuffle_tiles
Shuffle tile assignments to match descriptions, so a red potion isn't * displayed with a blue tile and so on. * * Tile assignments are not saved, a
src/o_init.c:34
↓ 2 callersFunctionsilly_thing
src/invent.c:2091
↓ 2 callersFunctionsingplur_compound
searches for common compounds, ex. lump of royal jelly */
src/objnam.c:2782
↓ 2 callersFunctionsingplur_lookup
singularize/pluralize decisions common to both makesingular & makeplural */
src/objnam.c:2707
↓ 2 callersFunctionsink_backs_up
find a ring in a sink */
src/fountain.c:804
↓ 2 callersFunctionsize_monst
src/wizcmds.c:1227
↓ 2 callersFunctionskill_based_spellbook_id
Wizards learn what spellbooks look like based on their skill in the spell's school */
src/spell.c:863
↓ 2 callersFunctionskills_for_role
src/u_init.c:1039
↓ 2 callersFunctionskiprange
src/zap.c:3578
↓ 2 callersFunctionsnuff_light_source
* Snuff an object light source if at (x,y). This currently works * only for burning light sources. */
src/light.c:728
↓ 2 callersFunctionsolidify_map
src/sp_lev.c:314
↓ 2 callersFunctionsomegold
proportional subset of gold; return value actually fits in an int */
src/steal.c:13
↓ 2 callersFunctionsortloot_descr
src/o_init.c:566
↓ 2 callersFunctionsound_matches_message
src/sounds.c:1628
↓ 2 callersFunctionsound_speak
src/sounds.c:2184
↓ 2 callersFunctionsp_amask_to_amask
* Convert a special level alignment mask (an alignment mask with possible * extra values/flags) to a "normal" alignment mask (no extra flags). * *
src/sp_lev.c:1907
↓ 2 callersFunctionspcfn_misc_menu_cmd
src/options.c:5451
↓ 2 callersFunctionspec_dbon
special damage bonus */
src/artifact.c:1090
↓ 2 callersFunctionspeed_up
Character becomes very fast temporarily. */
src/potion.c:2918
↓ 2 callersFunctionspell_let_to_idx
convert a letter into a number in the range 0..51, or -1 if not a letter */
src/spell.c:114
↓ 2 callersFunctionspitmm
monster spits substance at monster */
src/mthrowu.c:1015
↓ 2 callersFunctionsplev_chr2typ
src/nhlua.c:381
↓ 2 callersFunctionsplit_clridx
src/botl.c:2575
↓ 2 callersFunctionspot_checks
src/hack.c:4524
↓ 2 callersFunctionstairway_find_special_dir
src/stairs.c:98
↓ 2 callersFunctionstart_eating
called as you start to eat */
src/eat.c:2021
↓ 2 callersFunctionstart_tin
called when starting to open a tin */
src/eat.c:1722
↓ 2 callersFunctionstatus_hilite_linestr_add
src/botl.c:3416
↓ 2 callersFunctionstatus_hilite_menu_add
src/botl.c:3889
↓ 2 callersFunctionstatus_hilite_menu_choose_updownboth
src/botl.c:3810
↓ 2 callersFunctionstock_room_goodpos
src/shknam.c:694
↓ 2 callersFunctionstore_critical_bytes
src/version.c:675
↓ 2 callersFunctionstore_plname_in_file
write "name-role-race-gend-algn" into save file for menu-based restore; the first dash is actually stored as '\0' instead of '-' */
src/save.c:998
↓ 2 callersFunctionstr_titlecase
win/Qt/qt_str.cpp:29
↓ 2 callersFunctionstripchars
strip all the chars in stuff_to_strip from orig */ caller is responsible for ensuring that bp is a valid pointer to a BUFSZ buffer */
src/hacklib.c:498
↓ 2 callersFunctionstrncmpi
(s1, s2, n)
outdated/sys/wince/winmain.c:101
↓ 2 callersFunctionstuck_in_wall
return True if surrounded by impassible rock, regardless of the state of your own location (for example, inside a doorless closet) */
src/pray.c:160
↓ 2 callersFunctionstuff_prevents_passage
* Inventory prevents passage under door. * Used by can_ooze() and can_fog(). */
src/monmove.c:2318
↓ 2 callersFunctionstyle_to_text
util/sfctool.c:634
↓ 2 callersFunctionswr_add_uricoded
On overflow, truncate to markp (but only if markp != NULL). */
src/report.c:236
↓ 2 callersFunctionsym_val
src/options.c:9384
↓ 2 callersFunctionsync_perminvent
src/invent.c:5564
↓ 2 callersFunctionsysopt_release
src/sys.c:114
↓ 2 callersFunctionsysopt_seduce_set
src/sys.c:163
↓ 2 callersFunctiont_warn
Print out a T wall warning and all interesting info. */
src/display.c:3452
↓ 2 callersFunctiontake_gold
take away the hero's money */
src/sit.c:13
↓ 2 callersFunctiontaking_off
match the prompt for either 'T' or 'R' command */
src/invent.c:1671
↓ 2 callersFunctiontally_BUCX
similar to count_buc(), but tallies all states at once rather than looking for a specific type */
src/invent.c:3579
↓ 2 callersFunctiontc_store
copy the entry into the output buffer */
sys/share/tclib.c:97
↓ 2 callersFunctiontele_jump_ok
* Check for restricted areas present in some special levels. (This might * need to be augmented to allow deliberate passage in wizard mode, but * o
src/teleport.c:385
↓ 2 callersFunctionterm_attr_fixup
suppress nonfunctional highlights so render_status() might be able to optimize more; keep this in sync with s_atr2str() */
win/tty/termcap.c:1410
↓ 2 callersFunctionterm_curs_set
sys/windows/consoletty.c:1526
↓ 2 callersFunctionterm_end_attr
sys/windows/consoletty.c:1687
↓ 2 callersFunctionterm_end_attr
outdated/sys/mac/mttymain.c:409
↓ 2 callersFunctionterm_end_screen
sys/windows/consoletty.c:972
↓ 2 callersFunctionterm_start_attr
sys/windows/consoletty.c:1664
↓ 2 callersFunctionterm_start_attr
outdated/sys/mac/mttymain.c:418
↓ 2 callersFunctiontest_regex_pattern
parse 'str' as a regular expression to check whether it's valid; compiled regexp gets thrown away regardless of the outcome */
src/options.c:7870
↓ 2 callersFunctiontgetch
sys/msdos/msdos.c:64
↓ 2 callersFunctionthrow_obj
Throw the selected object, asking for direction */
src/dothrow.c:86
↓ 2 callersFunctionthrowit_mon_hit
thrown object hits a monster. mon may be NULL. returns TRUE if shopkeeper caught the object. may delete object, clearing gt.thrownobj */
src/dothrow.c:1481
← previousnext →3,701–3,800 of 8,785, ranked by callers