MCPcopy Create free account

hub / github.com/NetHack/NetHack / functions

Functions8,785 in github.com/NetHack/NetHack

↓ 3 callersFunctionblow_up_landmine
some actions common to both player and monsters for triggered landmine */
src/trap.c:3171
↓ 3 callersFunctionbogon_is_pname
check bogusmon prefix to decide whether it's a personal name */
src/do_name.c:1414
↓ 3 callersFunctionbogusmon
fake monsters used to be in a hard-coded array, now in a data file */
src/do_name.c:1368
↓ 3 callersFunctionbounded_increase
increment a combat intrinsic with limits on its growth */
src/eat.c:2220
↓ 3 callersFunctionbreak_statue
handle statue hit by striking/force bolt/pick-axe */
src/zap.c:5581
↓ 3 callersFunctionbreaksink
convert a sink into a fountain */
src/fountain.c:580
↓ 3 callersFunctionbuffer_write
sys/windows/consoletty.c:882
↓ 3 callersFunctionbuild_dlb_filename
src/dlb.c:262
↓ 3 callersFunctionbuild_english_list
src/end.c:1822
↓ 3 callersFunctionburn_floor_objects
* burn objects (such as scrolls and spellbooks) on floor * at position x,y; return the number of objects burned */
src/zap.c:4597
↓ 3 callersFunctionbuzz
src/zap.c:4764
↓ 3 callersFunctionbydoor
src/mklev.c:1749
↓ 3 callersFunctionc_eos
version of eos() which takes a const* arg and returns that result */
src/hacklib.c:202
↓ 3 callersFunctioncad
src/shk.c:5907
↓ 3 callersFunctioncall_ok
getobj callback for object to call (name its type) */
src/do_name.c:479
↓ 3 callersFunctioncan_center_cloud
Callback for getpos_sethilite, also used in determining whether a scroll * should have its regular effects, or not because it was out of range. */
src/read.c:1079
↓ 3 callersFunctioncan_chant
for casting spells and reading scrolls while blind */
src/mondata.c:579
↓ 3 callersFunctioncan_hide_under_obj
returns TRUE if a mon can hide under the obj */
src/monmove.c:2120
↓ 3 callersFunctioncan_ooze
src/monmove.c:2355
↓ 3 callersFunctioncan_pray
determine prayer results in advance; also used for enlightenment */
src/pray.c:2123
↓ 3 callersFunctioncan_twoweapon
src/wield.c:760
↓ 3 callersFunctioncant_squeeze_thru
caller has already decided that it's a tight diagonal; check whether a monster--who might be the hero--can fit through, and if not then return t
src/hack.c:952
↓ 3 callersFunctioncantvomit
some monster-types can't vomit */
src/mondata.c:662
↓ 3 callersFunctioncause_known
check whether hero is wearing something that player definitely knows confers the target property; item must have been seen and its type discover
src/insight.c:266
↓ 3 callersFunctionchange_sex
src/polyself.c:270
↓ 3 callersFunctionchdirx
sys/libnh/libnhmain.c:461
↓ 3 callersFunctioncheck_credit
src/shk.c:1277
↓ 3 callersFunctioncheck_cursor_visibility
* Make sure the map's cursor is always visible. */
win/X11/winmap.c:705
↓ 3 callersFunctioncheck_enhanced_colors
returns -1 on no-match. * buf is NONNULLARG1 */
src/coloratt.c:722
↓ 3 callersFunctioncheck_gold_symbol
src/botl.c:39
↓ 3 callersFunctioncheck_in_air
return TRUE if monster mtmp is up in the air, considering trap flags */
src/trap.c:1085
↓ 3 callersFunctioncheck_invent_gold
invent gold sanity check; used by doorganize() to control how getobj() deals with gold and also by wizard mode sanity_check() */
src/invent.c:4888
↓ 3 callersFunctioncheck_leash
src/apply.c:930
↓ 3 callersFunctioncheck_strangling
for changing into form that's immune to strangulation */
src/polyself.c:167
↓ 3 callersFunctioncheck_unpaid_usage
src/shk.c:5680
↓ 3 callersFunctioncheck_user_string
sys/unix/unixmain.c:695
↓ 3 callersFunctionchild
sys/unix/unixunix.c:369
↓ 3 callersFunctionchoose_disco_sort
src/o_init.c:610
↓ 3 callersFunctionclamp_hole_destination
limit the destination of a hole or trapdoor to the furthest level you should be able to fall to */
src/trap.c:592
↓ 3 callersFunctionclear_dknown
set obj->dknown to 0 for most types of objects, to 1 otherwise; split off from unknow_object() */
src/mkobj.c:834
↓ 3 callersFunctionclear_level_structures
clear out various globals that keep information on the current level. * some of this is only necessary for some types of levels (maze, normal, * spe
src/mklev.c:849
↓ 3 callersFunctionclear_regions
* Remove all regions and clear all related data. This must be done * when changing level, for instance. */
src/region.c:393
↓ 3 callersFunctionclear_stale_map
* When doing detection, remove stale data from the map display (corpses * rotted away, objects carried away by monsters, etc) so that it won't * rea
src/detect.c:317
↓ 3 callersFunctionclear_tty
* Clear the screen. Immediate. */
outdated/sys/mac/mactty.c:1039
↓ 3 callersFunctionclick_to_cmd
src/cmd.c:4905
↓ 3 callersFunctionclose_drawbridge
* Close the drawbridge located at x,y */
src/dbridge.c:774
↓ 3 callersFunctioncloseholdingtrap
for magic locking; returns true if targeted monster (which might be hero) gets hit by a trap (might avoid actually becoming trapped) */
src/trap.c:6209
↓ 3 callersFunctioncmdbind_swapkeys
swap key bindings for key1 and key2. both bindings must exist. */
src/cmd.c:2194
↓ 3 callersFunctioncmdq_add_userinput
add placeholder to the command queue, allows user input there */
src/cmd.c:315
↓ 3 callersFunctioncoldist
sys/amiga/bmp2iff_host.c:72
↓ 3 callersFunctioncollect_menu_keys
get keystrokes that are used for menu scrolling operations which apply; printable: for use in a prompt, non-printable: for yn_function() choices */
src/options.c:8125
↓ 3 callersFunctioncollect_obj_classes
src/pickup.c:100
↓ 3 callersFunctioncommit_windowchain
src/windows.c:371
↓ 3 callersFunctioncondattr
win/X11/winstat.c:215
↓ 3 callersFunctioncondcolor
win/X11/winstat.c:202
↓ 3 callersFunctionconsume_offering
src/pray.c:1445
↓ 3 callersFunctioncontainer_contents
used for disclosure and for the ':' choice when looting a container */
src/end.c:1593
↓ 3 callersFunctioncontainer_impact_dmg
container is kicked, dropped, thrown or otherwise impacted by player. * Assumes container is on floor. Checks contents for possible damage. */
src/dokick.c:411
↓ 3 callersFunctionconv_image
sys/amiga/xpm2iff_host.c:141
↓ 3 callersFunctionconvert_line
src/questpgr.c:327
↓ 3 callersFunctioncooldown
outdated/sys/mac/mrecover.c:854
↓ 3 callersFunctioncopy_bytes
outdated/sys/mac/mrecover.c:1165
↓ 3 callersFunctioncopy_mextra
src/mon.c:2596
↓ 3 callersFunctioncostly_gold
src/shk.c:5744
↓ 3 callersFunctioncould_untrap
preliminary checks for dountrap(); also used for autounlock */
src/trap.c:5257
↓ 3 callersFunctioncount_alt_palette
src/coloratt.c:1035
↓ 3 callersFunctioncount_apes
src/options.c:9190
↓ 3 callersFunctioncount_menucolors
src/coloratt.c:708
↓ 3 callersFunctioncounter_were
src/were.c:47
↓ 3 callersFunctioncourtmon
src/mkroom.c:782
↓ 3 callersFunctioncp437
win/Qt/qt_str.cpp:45
↓ 3 callersFunctioncpostfx
src/eat.c:1128
↓ 3 callersFunctioncreate_maze
Create a maze with specified corridor width and wall thickness * TODO: rewrite walkfrom so it works on temp space, not levl */
src/mkmaze.c:949
↓ 3 callersFunctioncreate_widget
win/X11/winstat.c:2176
↓ 3 callersFunctioncures_stoning
decide whether obj can cure petrification; also used when picking up */
src/muse.c:2984
↓ 3 callersFunctioncurs_purge_perminv_data
discard saved persistent inventory data */
win/curses/cursinvt.c:45
↓ 3 callersFunctioncurs_stat_conds
win/curses/cursstat.c:1076
↓ 3 callersFunctioncurs_update_invt
Runs when the game indicates that the inventory has been updated */
win/curses/cursinvt.c:64
↓ 3 callersFunctioncurses_clear_nhwin
win/curses/curswins.c:703
↓ 3 callersFunctioncurses_convert_keys
Convert special keys into values that NetHack can understand. Currently this is limited to arrow keys, but this may be expanded. */
win/curses/cursmisc.c:779
↓ 3 callersFunctioncurses_create_nhmenu
win/curses/cursdial.c:524
↓ 3 callersFunctioncurses_del_menu
win/curses/cursdial.c:853
↓ 3 callersFunctioncurses_getch
win/curses/cursmisc.c:33
↓ 3 callersFunctioncurses_line_input_dialog
win/curses/cursdial.c:109
↓ 3 callersFunctioncurses_map_borders
win/curses/curswins.c:971
↓ 3 callersFunctioncurses_more
win/curses/cursmesg.c:373
↓ 3 callersFunctiondeath_inflicted_by
give a reason for death by some monster spells */
src/mcastu.c:357
↓ 3 callersFunctiondecal_planar
sys/msdos/vidvga.c:732
↓ 3 callersFunctiondecl_globals_init
src/decl.c:1079
↓ 3 callersFunctiondecode_glyph
src/windows.c:1438
↓ 3 callersFunctiondelallobj
drawbridge is destroying all objects at <x,y> */
src/invent.c:1412
↓ 3 callersFunctiondelta_cwt
* How much the weight of the given container will change when the given * object is removed from it. Use before and after weight amounts rather *
src/pickup.c:1543
↓ 3 callersFunctiondepack_img
Loads & depacks IMG (0 if succeded, else error). */ Bitplanes are one after another in address IMG_HEADER.addr. */
outdated/win/gem/load_img.c:163
↓ 3 callersFunctiondestroy_text_window
win/X11/wintext.c:325
↓ 3 callersFunctiondig_check
src/dig.c:206
↓ 3 callersFunctiondig_corridor
* Dig a corridor between two points, using terrain ftyp. * if nxcor is TRUE, he corridor may be blocked by a boulder, * or just end without reaching
src/sp_lev.c:2548
↓ 3 callersFunctiondirty
win/win32/mhmap.c:1097
↓ 3 callersFunctiondisco_append_typename
append typename(dis) to buf[], possibly truncating in the process; also append price quote information if it fits */
src/o_init.c:693
↓ 3 callersFunctiondiseasemu
src/mhitu.c:1032
↓ 3 callersFunctiondisp_artifact_discoveries
display a list of discovered artifacts; return their count */
src/artifact.c:1146
← previousnext →2,101–2,200 of 8,785, ranked by callers